Skip to content

family.py add, bump and remove commit straight onto the holder's tracking branch, and add's NEXT pushes a <branch> that does not exist, though AGENTS.md says to land each as a pull request #487

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: an assistant following AGENTS.md's "Creating a family, and adding a member" literally, on Linux, standard at 36538fd, local bare remotes, a refusing gh stub. 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. AGENTS.md says each of add, bump and remove "writes ONE commit … Land it as a pull request; never suggest a push to the default branch" (AGENTS.md:383-388). No step makes the branch that pull request needs, and the tool does not ask for one:

  • After init, the holder stands on its tracking branch (main). add, bump and remove commit straight onto it. Nothing refuses, though the sibling tool bump-leg.py refuses exactly this (bump-leg-on-tracking-branch, scripts/bump-leg.py:1021).
  • add prints NEXT git -C <holder> push -u origin <branch> && open a pull request (family.py about :2282). There is no such branch, so the push fails (error: src refspec family/add-atlas does not match any, exit 1). It prints the same <branch> placeholder even when the person IS on a branch.
  • bump and remove print no NEXT line at all.
  • The tests codify committing on main: the tests/test_family.py fixture commits and pushes main, and tests/test_family_add_refusals.py:68 asserts the <branch> line.

Proposed fix (for review on the PR). Make the three acts behave like bump-leg.py:

  • the real run refuses to commit onto the holder's tracking branch, with the git -C <holder> switch -c <branch> remedy, quoted;
  • --dry-run runs anywhere;
  • each act's NEXT names the branch it actually committed on, as one pasteable line.

Then AGENTS.md's family section (within its cap) and README's matching section make creating the branch an explicit step before the act. The test fixtures must stop committing on main.

Why v1.0.0. The documented landing route ("land it as a pull request") cannot be followed as written for any family act, and the printed NEXT fails. 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:19:08Z, for #487

    Logged in lanes/log/openRepoShape-5.md at 41faa759f6a877ebff705dd9a7e793994aa502d5.

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

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#487:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#487"`, kept where the row or its body names `#487`:
    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 `487` 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

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions