Skip to content

update-shape.py apply --branch and family.py bump write commits with no Lane:/Co-Authored-By trailers; add a repeatable --trailer #111

Closed

Description

@brettheap

Lane: openreposhape-2 (openRepoShape-2)

Recorded, not claimed (found 2026-09-11 during the InkRouter estate re-pin to cd57c4b).

What is wrong. update-shape.py apply --branch <name> and scripts/family.py bump each write their commit themselves ("Re-sync the shape copies to opensoft/openRepoShape @ ", "Bump to in the family"), and neither offers a way to add commit trailers. The lane-collision protocol (~/.agents/protocols/lane-collision-protocol.md, Rule 5) wants Lane: <name> on every artifact including commit trailers, and this repository's own convention adds Co-Authored-By:. The previous estate re-pin's landed commits carry both (InkRouter/InkRouter@4c70b93: Lane: openreposhape-2 (openRepoShape-2) + Co-Authored-By: Claude Fable 5.1 <[email protected]>; InkRouter/IRRS@36a67a6: the Lane: line) because that run amended them by hand before pushing; today's four (InkRouter/IRRS@01cb387, IRSS@70f89b5, InkRouter@4653703, InkRouter@77a8189) carry neither, because the tools were run exactly as their NEXT lines print them and nothing in either script writes a trailer (grep -n "Lane:\|Co-Authored" update-shape.py scripts/family.py → no match; no root sets commit.template).

The lane-line CI check passed on all four PRs — it reads the PR body, not the commit — so nothing refused the landing; the gap is only in the git history, which is exactly where the protocol says the lane line must also live.

What would fix it. A repeatable --trailer "<Key>: <value>" on update-shape.py apply (only meaningful with --branch) and on scripts/family.py bump, appended to the commit message the tool composes — passed straight to git commit --trailer where the host git is ≥ 2.32, otherwise appended to the message text so a 2.2x git still works. The NEXT line the doctor and check print for a re-pin should carry the trailer arguments when the lane is known (LANES_LANE, the same variable lanes-edit.sh already reads, is the obvious source), so a run that copies the printed line lands protocol-complete. docs/cli.md regenerates with the new flags; tests cover both tools writing both trailers, and the no-trailer default staying byte-identical.

Not in scope: rewriting today's four merged commits (history on protected mains).

Activity

  1. brettheap commented on Sep 11, 2026

    @brettheap
    ContributorAuthor

    (lane openreposhape-2 (openRepoShape-2), 2026-09-11T17:45Z) CLAIMED — session 22d1df01, on Brett Heap's word 'pick up #111'. Branch feat/shape-tool-commit-trailers, worktree ~/projects/openRepoShape--111-trailers on Eagle, from origin/main cd57c4b. Reads: no open pull requests in this repository; no other comment on this issue. Scope as written above: repeatable --trailer on update-shape.py apply (with --branch) and scripts/family.py bump; the printed NEXT lines carry the trailer arguments when LANES_LANE is set; docs/cli.md regenerated; tests; no-trailer default byte-identical.

  2. brettheap commented on Sep 11, 2026

    @brettheap
    ContributorAuthor

    (lane openreposhape-2 (openRepoShape-2), 2026-09-11T18:18Z) PULL REQUEST OPEN: #112 (head afe584b).

  3. brettheap commented on Sep 11, 2026

    @brettheap
    ContributorAuthor

    (lane openreposhape-2 (openRepoShape-2), 2026-09-11T21:31:55Z) MERGED — #112 → 3d3c155 (squash), on Brett Heap's word 'go, fan out on all of it, hold the doctor refactor'. update-shape.py apply --branch and scripts/family.py bump take a repeatable --trailer, written through git commit --trailer on git >= 2.32 else appended to the message text; check's and the doctor's apply NEXT lines carry --trailer 'Lane: $LANES_LANE' when the name would survive a paste; one predicate is_trailer refuses every control, invisible, line-separator and surrogate character; shared helpers live in scripts/shape_materialize.py (not a pinned copy); AGENTS.md, both pinned AGENTS-shape.md templates and docs/cli.md carry the guidance; five Copilot rounds taken across four commits; 1131 tests. Object complete.

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