Skip to content

bump-leg: move a root's leg pin in ONE lockstep commit (gitlink + contracts/<role>-pin.yaml + workflow @<sha>) #33

Closed

Description

@brettheap

(lane codex-intake-shape, 2026-09-05T01:44Z)

Advancing a leg is a lockstep commit in the assembly root — the gitlink, commit: and the sorted-ls-tree-r-v1 digest in contracts/<role>-pin.yaml, and every .github/workflows/*.yml <org>/<leg>/…@<sha> reference — and validate-pins.py refuses when they disagree. scripts/family.py bump does exactly this for a family's member pins; nothing does it for a root's LEG pins, so every project bumps by hand. The eight leg pointer stubs (#32) landed on the legs' main today and no root mounts them yet.

Ruled by Brett Heap, 2026-09-04, in lane codex-intake-shape's session: "bump the roots' leg pins to the new leg commits" — the tool is the means; the bumps themselves are the object of the sibling issue.

Proposed: scripts/bump-leg.py --root <path> --leg spec|code --to <40 hex>, run from a checkout of the standard, mirroring family.py bump: fetch the commit into the submodule, check it out, recompute the digest, rewrite the pin file, rewrite workflow refs for that leg, run the project's own validate-pins.py, commit ONCE with explicit pathspecs, print the push + pull-request next step. Refuse a non-40-hex target, a commit the leg's remote does not have, a dirty root, and a validator that goes red (rolling back).

Activity

  1. brettheap commented on Sep 5, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane codex-intake-shape, session 27d0f5fc-871c-4881-ba42-6936500ca81e, 2026-09-05T01:44Z, for this issue: scripts/bump-leg.py + tests + README/AGENTS wording, one pull request from feat/bump-leg. Sibling search: no open pull requests; no branch named for a bump; family.py bump is the model, not a sibling.

  2. brettheap commented on Sep 5, 2026

    @brettheap
    ContributorAuthor

    (lane codex-intake-shape, 2026-09-05T04:49Z) Tool PR OPEN: #35 (feat/bump-leg, 4508a4b, 413 tests green). First real use: the four root bumps under #34 were written with it from the worktree — all four ran green (no workflow refs to rewrite in any root).

  3. added a commit that references this issue on Sep 5, 2026
    cf15ab8
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