Skip to content

family.py init: AGENTS.md's own command lands the holder inside the openRepoShape checkout, and init's NEXT prints python3 family.py add, which cannot run #488

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. 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. Two things about where family.py init puts the holder and what it prints after.

  1. AGENTS.md's own command lands the holder INSIDE the openRepoShape checkout.
    • AGENTS.md:362 spells the command python3 scripts/family.py init --org <org> --family <Name> …. That relative path means it runs from the standard's root.
    • --into defaults to "where you are standing" (AGENTS.md:374, docs/cli.md:642). So, followed as written, it prints landing <std>/Orbit/Orbit with no warning, and make siblings would then clone every member into the standard's checkout too.
    • README's example passes --into .. (README.md:903), and setup-project.py defaults to .. when run from a checkout. No test covers it.
  2. init's NEXT STEPS prints a command that cannot run. It prints python3 family.py add …, built from Path(__file__).name (family.py about :1038). From the standard's root that fails: can't open file '…/family.py', exit 2. Every other place prints scripts/family.py add.

Proposed fix.

  • For 1: AGENTS.md's init command passes --into .. as README does, or says where to stand. Better still, init refuses to land inside a checkout of openRepoShape itself unless --into or --work-dir was given, and names --into .. in the remedy. That is a fact it can check (scripts/family.py beside a templates/family-root/).
  • For 2: print scripts/family.py add …, as the other places do, relative to where the person is standing.
  • Tests: following AGENTS.md's command from the standard's root does not land inside it, and the printed NEXT runs.

Why v1.0.0. The first command of a core procedure, followed exactly, puts the family in the wrong place, and the next command it prints 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:44Z, for #488

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

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

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