Repository navigation
Description
(lane openRepoShape-1, 2026-10-21T12:52:01Z)
Found by: w430z, writing #430's closing slice Z (tests/test_path_guard_hygiene.py, branch fix/430-path-guard-hygiene at 3c292362). Its scan of the 25 shipped tools finds sites where a name in the root that is a link into a folder this user cannot search is still read as absent. There are eleven: w430z found five, and r1111's independent review of #1111 (issuecomment-6317431355) found six more, which the fix round f1111 moved from the allowlist to KNOWN_OPEN at b4484647. Slice Z lists all eleven in its KNOWN_OPEN table under this issue, so the hygiene test passes while they stay open. They are a follow-up of #430, outside v1.2.0 by Brett Heap's ruling of 2026-10-21T10:32:04Z ("leave the follow-ups out of v1.2.0").
Sites
-
scripts/family.py_gitmodules_names(measured).- Python 3.12 raises
PermissionErrorout ofremove. - A 3.14-like shim, where
is_fileanswers False to anyOSError, returns "no section". Soremove --dry-runsays nothing is removed. - A fix needs a new refusal threaded through
removeand its rollback.
- Python 3.12 raises
-
scripts/family.py_sections_giving. Same file and same case: the file is read as giving the path to no section. -
templates/family-root/scripts/siblings.pysubmodule_urls. Same case, in a pinned copy. A fix changes the pin. -
shape-doctor.pycheck_agent_files((ctx.root / name).is_file()). The file reads as "absent" in a note. It does not change the verdict. -
shape-doctor.pycheck_what_is_here((root / name).exists()). The file reads as "absent" in an n/a row. It does not change the verdict.
Six more, found by r1111. Each asks (root / ".git").exists(), which follows a .git that is a link into a folder this user cannot search. Line numbers are at #1111's head.
-
shape-doctor.pycheck_the_way_in(line 11476, measured). The.gitis read as no repository.- On a 3.14-like shim, the
way-inrow sends the person tosetup.shto scaffold three new repositories. - On 3.12, the row says
.git: cannot be read.
- On a 3.14-like shim, the
-
shape-doctor.pycheck_the_other_way_in(line 11599,(ctx.root / ".git").exists()). The same.gitdrops theway-in-scaffoldrow on 3.14. -
shape-doctor.pyorigin_org(line 11008, measured). The same.gitgivesNoneon 3.14, the answer for a folder that is not a repository. 3.12 raisesPermissionError. -
shape-doctor.pyrepo_local_origin_name(line 10977, measured). The same.gitgivesNoneon 3.14, so thenamingrow checks the folder's name alone and drops the origin's. 3.12 raisesPermissionError. -
scripts/shape_advisory.pyrepository_names(line 495, measured). The same.gitdrops the origin's name from the Triad advice on 3.14:['Atlas'], not['Atlas', 'Orbit']. 3.12 raisesPermissionError. -
scripts/shape_advisory.py_read(line 779, measured). The same.gitmakesread()answernot-a-repositoryon 3.14, so the Triad advisory row is left out.
One more, found by r1144 (the review of #1144, S1; #1144 issuecomment-6328153279). It is not a bare guard, so the hygiene test does not list it.
-
scripts/shape_advisory.py_leg_by_agents_md(except Exception: return None, measured). Take anAGENTS.mdin the root that is a spec or code leg's own, linked into a folder this user cannot search. It is read as no leg's file. Sothe way inoffers adoption (adopt-project.py plan ... --project Orbit),the other way inoffers the scaffold, and the Triad row says this is a single repository. A readable one gives "this is a clone of the spec leg" and offers neither command. Base and shape-doctor.py and shape_advisory.py: a.gitor an agent file linked into a folder this user cannot search is said once inwhat is hereoragent files,<name>: cannot be read (<reason>), never absent; a.gitoffers no way in (#1110) #1144's head behave alike. shape-doctor.py and shape_advisory.py: a.gitor an agent file linked into a folder this user cannot search is said once inwhat is hereoragent files,<name>: cannot be read (<reason>), never absent; a.gitoffers no way in (#1110) #1144'swhat is hererow names the file and the cure, and its fix round narrows its title to say so.
The rule they should follow is #430's own. 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.
When a site is fixed, take its entry out of KNOWN_OPEN in tests/test_path_guard_hygiene.py. Its stale-entry check fails until that is done.
Lane: openreposhape-1 (openRepoShape-1)
Progress (lane openRepoShape-1, 2026-11-10): all twelve sites are mended on main. The eight in shape-doctor.py and scripts/shape_advisory.py were mended by #1144 (b1f45fa), _leg_by_agents_md by #1159 (46fe6ac), and the three .gitmodules sites (_gitmodules_names, _sections_giving, submodule_urls) by #1164 (370a23c). KNOWN_OPEN in tests/test_path_guard_hygiene.py is empty. The note of 2026-11-09 kept _leg_by_agents_md open in error: #1159 had mended it on 2026-11-08.
Activity
tests/test_path_guard_hygiene.py: the five sites `KNOWN_OPEN` lists a…
tests/test_path_guard_hygiene.py: the root's `.git`, asked by a `stat…
[-]family.py, the family root's siblings.py and shape-doctor.py: a name in the root that is a link into a folder this user cannot search is still read as absent at five sites (follow-up of #430 slice Z)[/-][+]family.py, the family root's siblings.py, shape-doctor.py and shape_advisory.py: a name in the root that is a link into a folder this user cannot search is still read as absent at eleven sites (follow-up of #430 slice Z)[/+]tests/test_path_guard_hygiene.py and shape-doctor.py: a bare is_file/…
brettheap commentedon Oct 21, 2026
CLAIMED — lane openRepoShape-1, session 300f8f46-004a-4e72-8587-4f192be2e108@Eagle, 2026-10-21T21:11:17Z, for #1110
Logged in
lanes/log/openRepoShape-1.mdat807fb631be96aaf97186782b685fb546e9d16435.The three reads (lane-collision-protocol Rule 1):
[-]family.py, the family root's siblings.py, shape-doctor.py and shape_advisory.py: a name in the root that is a link into a folder this user cannot search is still read as absent at eleven sites (follow-up of #430 slice Z)[/-][+]family.py, the family root's siblings.py, shape-doctor.py and shape_advisory.py: a name in the root that is a link into a folder this user cannot search is still read as absent at twelve sites (follow-up of #430 slice Z)[/+]tests/test_doctor_unsearchable_links.py: rows for the seven mutants t…
tests/test_doctor_unsearchable_links.py: the two composite asserts ar…
docs/release-notes/v1.2.0.md: the fix round on #1155's four section r…
tests/test_doctor_unsearchable_links.py: control rows hold `what is h…
shape_advisory.py: where git cannot give a commit's `AGENTS.md`, a fo…
shape-doctor.py: `the way in` over a leg's `AGENTS.md` this user cann…
tests/test_doctor_unsearchable_links.py: the row for a leg known by i…
tests/test_doctor_unsearchable_links.py: the docstring of the control…
family.py: remove's rollback types the index's copy of a .gitmodules …
tests: a .gitmodules that is a directory is no file to family.py's tw…
family.py: `_stages_as` asks `_gitmodules_on_disk` before `git hash-o…
family.py: a `gitmodules-unreadable` met by remove's rollback is name…
family.py: the `gitmodules-unreadable` code constant is `GITMODULES_U…
tests: a rollback that meets a `family.yaml` at mode 000 types the in…
shape-doctor.py and shape_advisory.py: a `.git` or an agent file link…
shape_advisory.py and shape-doctor.py: a leg's `AGENTS.md` this user …
bootstrap.py, validate-family.py and siblings.py: a root or holder wh…
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`…
brettheap commentedon Nov 10, 2026
(lane openRepoShape-1, 2026-11-10T03:49:10Z) All twelve sites are mended on main, so lane 1 is closing this issue as completed.
.gitor an agent file linked into a folder this user cannot search is said once inwhat is hereoragent files,<name>: cannot be read (<reason>), never absent; a.gitoffers no way in (#1110) #1144 (b1f45fa, 2026-11-08) mended the eight sites inshape-doctor.pyandscripts/shape_advisory.py.AGENTS.mdthis user cannot read leaves whether it is a leg unknown, sothe way inoffers neither command and points atwhat is here, andthe other way inand the Triad row are silent (#1110) #1159 (46fe6ac, 2026-11-08) mended_leg_by_agents_md. A leg'sAGENTS.mdthis user cannot read now leaves whether it is a leg unknown, sothe way inoffers neither command and points atwhat is here, andthe other way inand the Triad row are silent. Its rows are intests/test_doctor_unsearchable_links.py..gitmodulesthis user cannot read, as through a link into a folder it cannot search, isgitmodules-unreadable, never no section forremove's rollback or no url formake siblings(#1110) #1164 (370a23c, 2026-11-09) mended the three.gitmodulessites.KNOWN_OPENintests/test_path_guard_hygiene.pyis empty on main.The progress note of 2026-11-09 kept
_leg_by_agents_mdopen in error. The body now ticks it. Each of the three PRs is logged LANDED against #1110 in lane 1's register log.Lane: openreposhape-1 (openRepoShape-1)
family.py: the dry runs' `member-duplicate-id` remedies and `init`'s …