Skip to content

shape_advisory.py: a committed AGENTS.md that is a symlink is read, in adopt-project.py's commit reading, as the text of its target's path, so a leg cloned with its AGENTS.md as a link is told it is a single repository #1163

Closed

Description

@brettheap

(lane openRepoShape-1, 2026-10-22T14:12:17Z)

Found by w1110c, writing #1110's twelfth site (PR #1159). It is outside v1.2.0 by Brett Heap's ruling of 2026-10-21T10:32:04Z ("leave the follow-ups out of v1.2.0").

Take a leg whose AGENTS.md is committed as a symlink to the leg's own file. adopt-project.py plan and check read the commit, not the disk. There the link's blob is the text of its target's path, so the advisory reads no leg's file. Both commands say "This is a single repository" over that link, whether its target is readable or not.

The doctor reads the disk, and calls the same checkout a clone of the leg.

Measured by w1110c, on #1144's head 89486f69 and #1159's head 0f9aff05, on Python 3.12 and a 3.14-like shim. It is the same on base and head, so #1159 does not cause it, and does not change it.

Lane: openreposhape-1 (openRepoShape-1)

Activity

  1. added this to the v1.2.1 milestone on Oct 23, 2026
  2. brettheap commented on Nov 8, 2026

    @brettheap
    ContributorAuthor

    CLAIMED — lane openRepoShape-1, session 300f8f46-004a-4e72-8587-4f192be2e108@Eagle, 2026-11-08T15:57:55Z, for #1163

    Logged in lanes/log/openRepoShape-1.md at 9ee93e599b62ece90c3478e686d0daedd7c82163.

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

    1. existing `CLAIMED —` comments on opensoft/openRepoShape#1163:
       none
    2. `gh pr list --repo opensoft/openRepoShape --state all --search "#1163"`, kept where the row or its body names `#1163`:
    1159	shape_advisory.py and shape-doctor.py: a leg's `AGENTS.md` this user cannot read leaves whether it is a leg unknown, so `the way in` offers neither command and points at `what is here`, and `the other way in` and the Triad row are silent (#1110)	fix/1110-leg-agents-md-unreadable	OPEN
    3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `1163` 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