Skip to content

update skill step 11 says a removed snapshot can be rebuilt with step 2; that rebuilds only the Mech clones #236

Description

@realmarcin

From the round-3 review of #216.

Where: .claude/skills/update-xmech-page/SKILL.md, step 11 on docs/skill-snapshot-cleanup.

Step 11 says a later PR "can rebuild this one with step 2 from the pins in _fleet/data/site_audit.json". Step 2 creates only $SNAP/mechs/*. The CLAW clone and revisions.json come from step 1, which pins CLAW at its current main, not at a recorded pin, and rewrites manifest.json.

Failure scenario: a directory rebuilt by step 2 alone has no claw/, so step 8's refresh_manifest.py --check crashes. Step 7 has no revisions.json. And step 11's own guard refuses the rebuilt directory, so it leaks. Rebuilding CLAW via step 1 after CLAW has moved rewrites the manifest at a new revision and breaks the audit-pin test.

Fix: drop the rebuild claim, or spell out a full rebuild: CLAW at the audit's culturebotai-claw sha, with refresh_manifest.py --check only, and revisions.json written from the audit.

Activity

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