Skip to content

shape-doctor.py, NOT A SHAPE ROOT on a git repository: print both ways in, as AGENTS.md says, and add --org to the adopt line when there is no origin #545

Closed

Description

@brettheap

Both are in check_the_way_in. The answer is incomplete, and pasting its adopt line on a repository with no origin is refused adopt-no-org.

From the v1.1.0 triage of the v1.0.0 known limits on #460. One pull request covers the lines below.

Lines

  • NOT A SHAPE ROOT on a git repository prints only the adopt line; AGENTS.md says report both commands. Where: shape-doctor.py check_the_way_in; AGENTS.md:255-261. Effort S; all. On main 3121945: An ordinary path with a recoverable, incomplete answer; the is_repo branch still sets only the adopt line (sd.py:6146-6150). (source)
  • On a repository with no origin, the adoption NEXT lacks --org, so pasting it is refused adopt-no-org. Where: shape-doctor.py check_the_way_in. Effort S; all. On main 3121945: An ordinary path with a recoverable refusal (adopt-project.py:2321-2324 says "pass --org"); the adopt line has no --org (sd.py:6147-6149). (source)

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

AT-adopt N8: on an ordinary git repository NOT A SHAPE ROOT prints one NEXT, the adopt-project.py plan command, though AGENTS.md:254-259 says to "report the verdict and both commands" and check_the_way_in's own docstring says "both are named and the human chooses" (shape-doctor.py:5265-5322; a directory that is not a repository gets only the scaffold line).
— #460, body

On a git repository with no origin, the doctor's adoption NEXT (adopt-project.py plan --source <path> --project <name>) carries no --org. Pasted, it is refused adopt-no-org, exit 2.
— #460, comment

Activity

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

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-3, session b30e8b49-f249-4668-adb1-1dbfa93c09e1@Eagle, 2026-10-14T16:30:04Z, for #545

    Logged in lanes/log/openRepoShape-3.md at dc5a11e4fbf57d2c7a4c2254c7e9174b17879006.

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

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#545:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#545"`, kept where the row or its body names `#545`:
       none
    3. `git ls-remote --heads git@github.com:opensoft/openRepoShape` branches naming `545` 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