Repository navigation
Closed
Milestone
Description
Goal: typed as printed, the gate's remedy for a section no row names leaves no gitlink that no section names. A gitlink outside members/ that no section names is a finding of its own.
Filed by lane openRepoShape-5, from rv865b's re-check of #865's fix round 2 (#865 issuecomment-6246368125, "The issue line for check 4").
- Measured on main
3bf2d3c9with git 2.43.0 and 2.47.1, and on the family root's bootstrap.py and validate-family.py: the credential advice and a member's exit code say what happened, and the gate'sgit rm --cached, guardedmvand section lines type as printed where they failed (#839) #876's head77f8a6c8with git 2.43.0. the family root's bootstrap.py and validate-family.py: the credential advice and a member's exit code say what happened, and the gate'sgit rm --cached, guardedmvand section lines type as printed where they failed (#839) #876 does not change it. path:lineis at mainfc289dd7, where these lines are unchanged from3bf2d3c9.
Lines
- The gate's
gitmodules-path-unnamedremedy takes out the section of a submodule no row names and leaves its gitlink, which no finding names. A plain clone'sgit submodule update --init --recursivethen exits 128 before it checks out any member, and the holder's CI skips the member half of the gate.- Why the gate misses it:
_member_gitlinks(templates/family-root/scripts/validate-family.py:1417) lists only gitlinks under a spelling ofmembers/.- So
_check_gitlinks_named(:1634) never asks about a gitlink anywhere else. gitmodules-path-unnamed(:1849-1869) prints only thegit config -f .gitmodules --unset-alllines.
- Measured:
- The state:
git submodule add <IRSS> tools/x, committed. Or IRSS added atMembers/IRRSand then moved by hand withgit mvtorenamed-1. - The gate exits 1 in all three modes (
gitmodules-path-unnamed) and printsgit config -f .gitmodules --unset-all submodule.tools/x.pathand.url. - After those lines are typed, then
git add .gitmodulesand a commit, the gate exits 0 in all three modes. git submodule statusexits 128:fatal: no submodule mapping found in .gitmodules for path 'tools/x'.- A plain clone's
git submodule update --init --recursiveexits 128,fatal: No url found for submodule path 'tools/x' in .gitmodules, with no member checked out. - A recursive clone exits 0, because it sets
submodule.active.
- The state:
- Who pays: the holder's own CI.
templates/family-root/.github/workflows/validate.yml:46checks out withsubmodules: false, and:236-238runsgit submodule update --init --recursive.- When that fails, CI sets
members_available=false(:245) and runs only the--no-membershalf. bootstrap.py'sinit_stop(templates/family-root/scripts/bootstrap.py:387) already names this state; the gate does not.
- Direction:
- Where a section's path is a gitlink in the index that no row names, print
git rm --cached -- <path>and a commit before the--unset-alllines, asmember-gitlink-unnameddoes for a second path. - Give a gitlink outside
members/that no section names a finding of its own. - Where the index stages that gitlink at a commit HEAD does not record and a checkout is on disk at it, the
git rmtakes-f, with family.py add: the move back of a member's gitlink points its section of.gitmodulesback, sets aside first what the index holds in its way and puts back a member whose removal is staged, its closingmvis guarded and leaves a checkout to delete by hand, and--sparsefollows the sparse rules, so no printed line leaves a section naming another spelling or un-registers a member (#761) #828's clause, as the family root's bootstrap.py and validate-family.py: the credential advice and a member's exit code say what happened, and the gate'sgit rm --cached, guardedmvand section lines type as printed where they failed (#839) #876's_forceddoes.
- Where a section's path is a gitlink in the index that no row names, print
- Verify:
- Both states above, typed as printed, then the gate in every mode.
- A plain clone plus
git submodule update --init --recursiveexits 0 with every member checked out, andgit submodule statusexits 0. - A mutant that drops the
git rm --cachedis caught. templates/family-root/scripts/validate-family.pyis pinned in every holder (FAMILY_COPIED_VERBATIM), so each holder takes oneupstream-changedrow for it.- No Windows or macOS run, since CI is Linux only (ci: run the test suite on Linux only #597).
- Why the gate misses it:
Overlaps.
- the family root's bootstrap.py and validate-family.py: the credential advice and a member's exit code say what happened, and the gate's
git rm --cached, guardedmvand section lines type as printed where they failed (#839) #876 (the family root's bootstrap.py and validate-family.py: the credential advice prints beside "not for want of a credential", a member's refusal and finding both readmake bootstrap exited 2, and the wrong-case move'sgit rm --cachedmay refuse #839,fix/839-holder-bootstrap-texts) and lane 3's bootstrap.py: a.gitmodulesblob with a line git cannot parse is read up to that line, as git reads it, and a parity test holds the value rules both family scripts write to one answer (#856) #877 (bootstrap.py and validate-family.py (family root): a.gitmodulesin the index or HEAD with one bad line is read as no sections where git reads those before it, so a no-credential run fails wrongly, and the value rules are written twice #856, stacked on the family root's bootstrap.py and validate-family.py: the credential advice and a member's exit code say what happened, and the gate'sgit rm --cached, guardedmvand section lines type as printed where they failed (#839) #876) edit the same validator, and neither changes this. - family.py add: a section astray beside its gitlink, a variant of a row's path under
members/, a link or checkout in a move's way, an unmerged entry and a staged or unmerged.gitmodulesare named first, so each remedy types clean (#840) #865 (family.pyadd: six states its case-spelling remedies still miss after #828, from a section that names a variant beside a correct gitlink to aMembersthat is a link to a directory outside the holder #840) editsscripts/family.py, not the validator. Its fix round 2 stoppedaddfrom making this state through its own remedy. - Land after the family root's bootstrap.py and validate-family.py: the credential advice and a member's exit code say what happened, and the gate's
git rm --cached, guardedmvand section lines type as printed where they failed (#839) #876, or stack on it.
Parent: #459.
Milestone: v1.1.1. It takes a submodule added outside members/, or a hand git mv of one, and then the gate's own remedy typed as printed. It is not a regression, and the gate's other findings are unchanged.
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
No labels
Activity
brettheap commentedon Oct 18, 2026
CLAIMED — lane openRepoShape-4, session 11c6c0ef-495a-4a05-94cf-811b7b0a1012@Eagle, 2026-10-18T06:23:58Z, for #878
Logged in
lanes/log/openRepoShape-4.mdat64a5655b24ff02f88f9568b00f730d84780f95c8.The three reads (lane-collision-protocol Rule 1):
docs/release-notes/v1.1.1.md: the v1.1.1 notes take RV883's NIT list …
validate-family.py: `gitmodules-path-unnamed` takes the gitlink at a …
docs/release-notes/v1.1.1.md: the v1.1.1 notes take RV883's round 3 a…
validate-family.py and bootstrap.py: the holder's remedies, typed as …