You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
scripts/bump-leg.py writes its one commit with no Lane:/Co-Authored-By: trailer and takes no --trailer, the gap #111 left in the third pin-moving tool #150
What is wrong.scripts/bump-leg.py is the third of the three pin-moving
tools this standard ships — update-shape.py apply, scripts/family.py bump,
and this one — and it is the only one of the three whose commit cannot carry a Lane:/Co-Authored-By: trailer. #111 → PR #112 (merged 3d3c155) gave update-shape.py apply --branch and scripts/family.py bump a repeatable --trailer "<Key>: <value>", validated at the argparse boundary by scripts/shape_materialize.trailer_line and written through scripts/shape_materialize.commit_trailers (git commit --trailer on git
≥ 2.32, else appended to the message text on an older one), so a lane's commit
lands with its Lane: line instead of being amended afterwards. bump-leg.py
was not in #111's scope:
commit_once (scripts/bump-leg.py:393) takes (root, message, paths) and
builds args = ["git", "commit", "-q", "-F", "-", "--", *paths] with no
trailer arguments at all and no way to pass any in.
build_parser (scripts/bump-leg.py:734) defines --root, --leg, --to, --local-remote-dir and --dry-run — no --trailer.
Contrast scripts/family.py:1083-1086 (bump.add_argument("--trailer", action="append", metavar='"KEY: VALUE"', default=[], type=trailer_line, ...))
and update-shape.py:1607-1614 (the same shape on apply), both of which scripts/bump-leg.py still has no equivalent of.
The practical cost: today's four leg bumps in the InkRouter estate (IRRS#26,
IRSS#26, 2026-09-12) each needed a git commit --amend --trailer … by hand
before the push, because bump-leg.py's own NEXT line has nothing to add a
trailer to — precisely the amend-after-the-fact step #111 existed to delete
for the other two tools.
What would fix it. Give bump-leg.py the same repeatable --trailer "<Key>: <value>" the other two already have, reusing shape_materialize.trailer_line as the argparse type= and shape_materialize.commit_trailers for the write — no second implementation. commit_once gains a trailers parameter (default ()), appended to the one
commit it writes, in the order given; passed none, the message and the git commit argv stay byte-identical to today. --dry-run prints the trailers it
would write, after the old -> new line it already prints, so a human reads
them before they land. AGENTS.md's "Advancing a leg" section gains one
clause saying so, mirroring the wording #112 added under "Updating a project's
shape". docs/cli.md is regenerated once --help gains the option.
(lane openreposhape-2 (openRepoShape-2), 2026-09-12T17:36Z) CLAIMED — session 9c6378ea, on Brett Heap's word 'go, fan out on all of it'. Branch feat/bump-leg-trailer, worktree ~/projects/openRepoShape--bump-leg-trailer on Eagle, from origin/main 57ddeac. Scope: scripts/bump-leg.py's commit_once gains a --trailer repeatable flag (reusing shape_materialize.trailer_line / commit_trailers), --dry-run prints the trailers it would write, AGENTS.md's Advancing a leg section gains one clause, docs/cli.md regenerated, tests added.
(lane openreposhape-2 (openRepoShape-2), 2026-09-12T18:08:09Z) MERGED — #151 → 779785f (squash), on Brett Heap's word 'go, fan out on all of it, hold the doctor refactor'. scripts/bump-leg.py takes a repeatable --trailer through the same shape_materialize helpers update-shape.py apply and family.py bump gained in #112 (trailer_line at the argparse boundary, commit_trailers on the write), closing the gap #111 left in the third pin-moving tool; with no --trailer the message and argv are byte-identical; --dry-run shows the trailers after the old -> new line; docs/cli.md regenerated; AGENTS.md 'Advancing a leg' says the lane passes them there; Copilot 'Approval recommended' 0 findings. Object complete.
Activity
brettheap commentedon Sep 12, 2026
(lane openreposhape-2 (openRepoShape-2), 2026-09-12T17:36Z) CLAIMED — session 9c6378ea, on Brett Heap's word 'go, fan out on all of it'. Branch feat/bump-leg-trailer, worktree ~/projects/openRepoShape--bump-leg-trailer on Eagle, from origin/main 57ddeac. Scope: scripts/bump-leg.py's commit_once gains a --trailer repeatable flag (reusing shape_materialize.trailer_line / commit_trailers), --dry-run prints the trailers it would write, AGENTS.md's Advancing a leg section gains one clause, docs/cli.md regenerated, tests added.
brettheap commentedon Sep 12, 2026
(lane openreposhape-2 (openRepoShape-2), 2026-09-12T17:53Z) PULL REQUEST OPEN: #151 (head df536f2).
scripts/bump-leg.py's commit takes a repeatable `--trailer`, closing …
brettheap commentedon Sep 12, 2026
(lane openreposhape-2 (openRepoShape-2), 2026-09-12T18:08:09Z) MERGED — #151 → 779785f (squash), on Brett Heap's word 'go, fan out on all of it, hold the doctor refactor'. scripts/bump-leg.py takes a repeatable --trailer through the same shape_materialize helpers update-shape.py apply and family.py bump gained in #112 (trailer_line at the argparse boundary, commit_trailers on the write), closing the gap #111 left in the third pin-moving tool; with no --trailer the message and argv are byte-identical; --dry-run shows the trailers after the old -> new line; docs/cli.md regenerated; AGENTS.md 'Advancing a leg' says the lane passes them there; Copilot 'Approval recommended' 0 findings. Object complete.
Merge origin/main (bump-leg.py's --trailer, #151) into feat/apply-rew…