Skip to content

bootstrap.py and AGENTS-shape.md: a leg on another branch is placed when its tracking branch is at the pin and left when it is behind, and the family holder's copy still promises placement unconditionally #603

Closed

Description

@brettheap

One placement rule in bootstrap.py, stated in both templates' AGENTS-shape.md, with one re-pin of both.

From the checklist triage of 2026-10-15; Brett Heap approved its recommendations at 2026-10-15T16:49:38Z. One pull request covers the lines below.

Decision applied: the triage's D1, option A: the code follows the sentence. A leg on another branch whose tracking branch is behind the pin (T7) is placed as one whose tracking branch is at the pin (P9) already is: fast-forward the tracking branch to the pin and check it out; the other branch keeps its commits.

Lines

Each line above is marked → this issue on its tracking issue. Tick it there too when this closes.

The lines as written on the tracking issues

templates/family-root/AGENTS-shape.md:63 promises that make bootstrap puts every member on its tracking branch at its pin, unconditionally. PR #556 (#533) removes the same unconditional promise from the assembly root's copy, but the family holder's copy is a separate pinned copy and is not in that PR. Also imprecise in the same way: bump-leg.py:780's docstring (internal), AGENTS.md:102-104, scaffold-project.py:1527 and docs/cli.md:47 (generated from scripts/render-cli-reference.py:182). In the fresh-clone state they describe, each is still true.
— #458, comment

A leg whose tracking branch is BEHIND the pin, checked out on ANOTHER branch (T7), is refused by fast_forward_to_pin as "which is neither", though placing it would lose nothing. A leg on another branch whose tracking branch is AT the pin (P9) is placed. PR #556 keeps that difference, per its brief's ruling 1, and its new templates/assembly-root/AGENTS-shape.md :95-96 sentence ("places each leg on its tracking branch AT the pin where that loses nothing, and leaves one detached at any other commit, saying why") does not cover T7. Whichever way this is ruled, the sentence or the code changes with it (R556's verification of #556 at 8885a29).
— #458, comment

Activity

  1. added this to the v1.1.0 milestone on Oct 15, 2026
  2. brettheap commented on Oct 15, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-4, session 11c6c0ef-495a-4a05-94cf-811b7b0a1012@Eagle, 2026-10-15T17:33:19Z, for #603

    Logged in lanes/log/openRepoShape-4.md at 2063828ef6acd1f8dfa883acb474627f741c6347.

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

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#603:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#603"`, kept where the row or its body names `#603`:
       none
    3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `603` as a whole token:
       none
    
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions