You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
shape-doctor.py: a shape root whose own .git is a link into a folder this user cannot search reads DRIFTED, its legs as having no gitlink, and both of its validators crash with PermissionError #1146
Found by: r1144, the independent review of #1144 (#1110 slice A), in its "outside this PR" observation (#1144 issuecomment-6328153279). 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").
The case: an assembly root (project.yaml) whose own .git is a link into a folder at mode 000, so this user cannot search it.
Measured: on main 038dafba and on #1144's head eb3f098c, on Python 3.12.3 and under a 3.14-like shim. All four reports are identical. <root> stands for the root's path:
FINDING manifest the project's own scripts/validate-manifest.py crashed before reaching a verdict (exit 1): PermissionError: [Errno 13] Permission denied: ...
FINDING pins the project's own scripts/validate-pins.py crashed before reaching a verdict (exit 1): PermissionError: [Errno 13] Permission denied: ...
FINDING legs spec: no gitlink recorded, so this leg is not mounted as a submodule at all; code: no gitlink recorded, so this leg is not mounted as a submodule at all
n/a placement no leg could be read, so nothing was classified: spec: it is not a git repository, ...
ok agent files AGENTS-shape.md present, AGENTS.md present, CLAUDE.md present
DRIFTED (2 leg(s) not at the pin) (exit 1)
The legs row says "no gitlink recorded". It means the root's index could not be read: the gitlinks are unknown, not absent.
Both of the project's own validators crash with a PermissionError traceback, where they should refuse the path by name. They are scripts/validate-manifest.py and scripts/validate-pins.py, copied from templates/assembly-root/scripts/. They are pinned copies, so a fix changes the pin.
The rule is #430's: stat the path. ENOENT, ENOTDIR, EBADF and ELOOP (and Windows 21, 123 and 1921) mean absent. Any other OSError is said by name, <path>: cannot be read (<strerror>), with the chmod cure.
The probe is _lane1-scratch/r1144/probes/fx/sc/pG/ on the lane's bench, with base and head reports for both Pythons.
CLAIMED — lane openRepoShape-1, session 300f8f46-004a-4e72-8587-4f192be2e108@Eagle, 2026-10-22T02:04:12Z, for #1146
Logged in lanes/log/openRepoShape-1.md at f09b816fc5df7b5e617316fbefd2e49e1cbea7a2.
The three reads (lane-collision-protocol Rule 1):
1. existing `CLAIMED —` comments on opensoft/openRepoShape#1146:
none
2. `gh pr list --repo opensoft/openRepoShape --state all --search "#1146"`, kept where the row or its body names `#1146`:
none
3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `1146` as a whole token:
none
Activity
brettheap commentedon Oct 22, 2026
CLAIMED — lane openRepoShape-1, session 300f8f46-004a-4e72-8587-4f192be2e108@Eagle, 2026-10-22T02:04:12Z, for #1146
Logged in
lanes/log/openRepoShape-1.mdatf09b816fc5df7b5e617316fbefd2e49e1cbea7a2.The three reads (lane-collision-protocol Rule 1):
tests/test_doctor_unreadable_paths.py: the mount row refuses only the…
shape-doctor.py: with the root's `.git` unreadable, `placement` still…
tests/test_root_git_unreadable.py: in process, on every platform and …
Merge main into #1146's branch
shape-doctor.py: over #1200, `placement` gives a leg whose git direct…
Merge #1146's branch into #1148's branch
shape-doctor.py and shape_advisory.py: a `.git` or an agent file link…
shape-doctor.py: over #1146, `placement` gives the root's line only t…
shape-doctor.py: `root_git_read` opens the root's own `.git/HEAD` onc…
bootstrap.py, validate-family.py and siblings.py: a root or holder wh…