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
bootstrap.py, and the family root's validate-family.py, bootstrap.py and siblings.py: a root whose own .git this user cannot read is a PermissionError traceback on 3.12, or not-a-git-repo where exists() answers False, not refused by name #1148
Found by: w1146, writing #1147 (the fix for #1146), and measured on main 038dafba. 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").
#1147 makes the assembly root's validate-pins.py and validate-manifest.py refuse a root whose own .git this user cannot read, by name: git-repo-unreadable, exit 2. Each does so through its own _is_a, before scripts/repo_shape.py's find_repo_root asks (candidate / ".git").exists().
Four other pinned callers of find_repo_root still fail as the two did. The case is a root whose .git is a link into a folder at mode 000, or a .git directory at 000:
on Python 3.12, a PermissionError traceback;
under a 3.14-like shim, where exists() answers False to any OSError, not-a-git-repo ("no .git found at or above "), which reads a .git that IS there as absent.
Also left by #1147: a family holder whose own .git this user cannot read. shape-doctor.py's family rows, members among them, are unchanged by #1147. Measure them with the same fixture.
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 refused by name, <path>: cannot be read (<strerror>), with the chmod cure.
#1147's _refuse_an_unreadable_root in each validator is the model. It asks every .git that find_repo_root would ask, in the same order, and stops at the first that is there. scripts/repo_shape.py is itself a pinned copy that an older pinned caller may not rely on (#370, #610). All four are pinned copies, so a fix changes the pin, and holders see upstream-changed rows.
CLAIMED — lane openRepoShape-1, session 300f8f46-004a-4e72-8587-4f192be2e108@Eagle, 2026-10-22T12:06:42Z, for #1148
Logged in lanes/log/openRepoShape-1.md at 91dad919eafd31500723905af835b9add0fc695b.
Posted by hand. This claim's own push lost to register contention after the 12:00Z usage reset (lanes-edit.sh exit 6, before its comment step). Its line landed on brett-wip main at 12:14:23Z, in the same push as the claim on #1136 (ca28cd79).
The three reads (lane-collision-protocol Rule 1), taken again at 2026-10-22T12:16:44Z:
1. existing `CLAIMED —` comments on opensoft/openRepoShape#1148:
none
2. `gh pr list --repo opensoft/openRepoShape --state all --search "#1148"`, kept where the row or its body names `#1148`:
1147 shape-doctor.py, validate-pins.py and validate-manifest.py: a root whose own `.git` this user cannot read is named `.git: cannot be read (<reason>)` (#1146) fix/1146-root-git-unreadable-not-drift OPEN
3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `1148` as a whole token:
none
#1147 is lane 1's own PR for #1146, which names this issue as left for later.
Activity
brettheap commentedon Oct 22, 2026
CLAIMED — lane openRepoShape-1, session 300f8f46-004a-4e72-8587-4f192be2e108@Eagle, 2026-10-22T12:06:42Z, for #1148
Logged in
lanes/log/openRepoShape-1.mdat91dad919eafd31500723905af835b9add0fc695b.Posted by hand. This claim's own push lost to register contention after the 12:00Z usage reset (
lanes-edit.shexit 6, before its comment step). Its line landed on brett-wipmainat 12:14:23Z, in the same push as the claim on #1136 (ca28cd79).The three reads (lane-collision-protocol Rule 1), taken again at 2026-10-22T12:16:44Z:
#1147 is lane 1's own PR for #1146, which names this issue as left for later.
Lane: openreposhape-1 (openRepoShape-1)
tests/test_pinned_root_git_unreadable.py: a root's `.git` named whole…
tests/test_validate_family_unreadable.py: the in-process gate is give…
tests/test_pinned_root_git_unreadable.py: a root whose `.git` is a gi…
Merge #1146's branch into #1148's branch
shape-doctor.py, validate-pins.py and validate-manifest.py: a root wh…
Merge #1147's final head into #1148's branch
Merge #1147's squash into #1148's branch (ours for #1147's files)
Merge main into #1164's branch after #1172 landed (both siblings.py r…
family.py and the family root's siblings.py: a holder's `.gitmodules`…
siblings.py and validate-repository-naming.py: the layout table, the …
validate-family.py: a member whose `.git` file this user cannot open,…