Skip to content

skills_install --report follow-ups: stamp-less live report, bootstrap remedy text, --intended guard test #1759

Closed

Description

@ptr727

Follow-ups to #1755 from its final local review pass. They were deferred because that PR had used up its review budget, and the maintainer chose to stop editing there.

  1. A missing or bad stamp suppresses the live report. report() returns before live_channel() runs when the stamp is missing, unreadable, or at an unrecognized stampVersion. The live channel doesn't depend on the stamp. In those cases the machine gets no answer about what Claude Code loads, and fleet-conformance-check asks the reader to read live.
  2. The bootstrap message offers a fix that can't work in the cannot-judge case. On any non-zero --report, host-setup/bootstrap.sh and bootstrap.ps1 say the install is missing or stale and that --host or --skills lands it. When resolve_ref falls back to an empty RESOLVED after a rate-limited lookup, nothing resolves to judge against, and a re-install stamps commit: null and reads not current again. That dead end predates Report the Skills Snapshot and the Live Checkout Separately #1755. What is new is that scripts/README.md now says a re-install does not fix this case, and the bootstrap message says it does.
  3. --intended without --report has no test. If the parser.error guard is dropped, the command silently runs a full install.

Unverified risk: git rev-parse --end-of-options needs a git version around 2.30 or later. On an older git, every candidate ref fails and the snapshot always reads as not judgeable. spec/host-tools.json sets no git floor.

Activity

  1. ptr727 commented on Sep 24, 2026

    @ptr727
    OwnerAuthor

    A further follow-up, raised by Copilot on #1755: no_snapshot() emits snapshot with only current and reason, while the normal path emits the full schema (installedFrom, installedDirty, intended, intendedRef). Emitting the full schema with explicit nulls, and resolving intended on those paths too, would give a parser a single shape. Item 3 above, the missing test for --intended without --report, was raised there as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions