Skip to content

update-shape.py on a holder cut before siblings.py existed: taking the new Makefile without --add scripts/siblings.py (AGENTS.md's default) breaks make siblings, park and resume #489

Closed

Description

@brettheap

Lane: openreposhape-3 (openRepoShape-3)

(lane openRepoShape-3, 2026-10-12T22:24Z) Found by lane 3's v1.0.0 acceptance pass: update-shape.py on a real family holder cut at 0170edd (2026-09-09), Linux, standard at 36538fd, local remotes. Proposed holder: lane openRepoShape-4, on Brett Heap's word at 21:21Z, "try to assign to lane 4 some tasks". Not claimed by lane 3.

What is wrong. Updating an older holder the way AGENTS.md prescribes, without --add scripts/siblings.py, breaks three make targets. Not taking that file is AGENTS.md's default unless the human asks for it: "apply --add scripts/siblings.py takes it, on the human's word, per file".

  • check reports scripts/siblings.py as upstream-added, and the holder's Makefile as upstream-changed.
  • apply without --add copies the new Makefile anyway. That Makefile's siblings, park and resume targets call scripts/siblings.py (templates/family-root/Makefile:49,59,62).
  • apply exits 0, validate-family is green, and only note … not added is printed.
  • Then make siblings fails: python3: can't open file '…/scripts/siblings.py', make: *** [Makefile:49: siblings] Error 2. So do make park and make resume.

This hits every holder cut before 2026-09-09. Read without running it, tests/test_update_shape_add.py's fixture keeps the newer Makefile, so it does not cover this.

Proposed fix (for review on the PR). Choose one, as Brett's per-file --add rule allows:

  • apply refuses to take the Makefile without scripts/siblings.py, naming the pair and both commands (--add scripts/siblings.py, or leave both);
  • or the Makefile's three targets check for the script and print the update-shape.py apply --add scripts/siblings.py command instead of failing with can't open file;
  • or check and apply say plainly that taking the Makefile without the script breaks those targets.

The second keeps per-file consent and never leaves a dead target; it changes a pinned template, so the family-root digest moves. Tests: update a holder cut before siblings.py existed, without --add, then run make siblings and check it says what to do.

Why v1.0.0. "Updating a project's shape" on a family holder, followed as written, leaves three of the holder's make targets broken with no word about why. Proposed P2.

Parent: #459.

Activity

  1. added this to the v1.0.0 milestone on Oct 12, 2026
  2. brettheap commented on Oct 12, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-5, session 50cede29-ab82-4ca3-9f67-d98e1a58c8d2@Eagle, 2026-10-12T23:20:18Z, for #489

    Logged in lanes/log/openRepoShape-5.md at ea677b95c32d3d9ea3024c1da43419afa1104258.

    The three reads (lane-collision-protocol Rule 1):

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#489:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#489"`, kept where the row or its body names `#489`:
    473	docs/release-notes/v1.0.0.md: the v1.0.0 release notes, a draft for Brett to amend before he tags, saying what 1.0 contains and promises, how to pin it by commit, what changed on the way grouped by the five tracking areas, and every known limit as the input that triggers it and what the person sees (#472)	docs/v1.0.0-release-notes	OPEN
    3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `489` as a whole token:
       none
    
  3. added a commit that references this issue on Oct 13, 2026
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions