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
validate-family.py (family root): after #889, three hand-mount git rm lines still fail when typed: a gitlink staged at a commit HEAD does not record, a hand mount with its own section while .gitmodules is gone, and a hand clone with no section (exit 128) #936
Goal: every git rm line validate-family.py prints for a hand mount works when typed: it exits 0, and the gate that follows passes. None takes uncommitted work in a checkout.
Filed by lane openRepoShape-4, from #889 (#879) round 2 at 29083a5f. It covers lane 1's SHOULD on #889's round 1 (#889 issuecomment-6250664740), and two more states lane 4's writer measured this round. Each is the same on main, so none is a regression. Each is named under "What it cannot tell" in #889's body.
1. A gitlink staged at a commit HEAD does not record (lane 1's SHOULD)
State.git mv members/IRRS members/IRRS2, staged. The index then stages a gitlink at a path, at a commit HEAD does not record there, and something is on disk at it. An empty directory counts.
What happens. The hand mount's printed git rm -- members/IRRS2 exits 1: the following file has changes staged in the index. #889 corrects the sentence: where _staged_over holds, the text now says the line refuses. The line itself still fails.
-f is no cure, because it would take the checkout's uncommitted changes, which the refusal protects.
Git 2.43 takes the same git rm where nothing is on disk.
2. A hand mount with its own section, then a staged removal, with .gitmodules gone
State. A member added by hand with its own .gitmodules section. Then another member's removal is staged, and the work tree's .gitmodules is deleted.
What happens.
The hand mount's git rm cannot take its section out of a file that is gone.
The removal's own put-back brings the section back.
3. A hand mount made by git clone and git add, with no section
State. A member cloned by hand into members/IRQS, whose .git is a directory, then git add members/IRQS. No .gitmodules section gives it.
What happens. The printed git rm -- members/IRQS dies with fatal: could not lookup name for submodule 'members/IRQS', exit 128. The same happens on main 2d372bb5's scripts.
Direction. For each state, print lines that work when typed in order, with the gate passing after the commit. For example:
git rm --cached where the work tree must keep its files, followed by what to do with them;
a remedy that tells a staged move apart from a hand mount.
Never print -f over uncommitted work. Pin each state with a row that types the printed lines and runs the gate, as #889's tests/test_family_holder_remedies_compose.py does.
Files.templates/family-root/scripts/validate-family.py, a pinned copy: a holder takes one upstream-changed row, the same one #889 gives in v1.2.0. It stacks on #889, and on #430's slice E, which is in the same file.
CLAIMED — lane openRepoShape-4, session 11c6c0ef-495a-4a05-94cf-811b7b0a1012@Eagle, 2026-10-18T15:04:17Z, for #936
Logged in lanes/log/openRepoShape-4.md at 043e0a1adb9ed634973121b0c200620b8891479c.
The three reads (lane-collision-protocol Rule 1):
1. existing `CLAIMED —` comments on opensoft/openRepoShape#936:
none
2. `gh pr list --repo opensoft/openRepoShape --state all --search "#936"`, kept where the row or its body names `#936`:
none
3. `git ls-remote --heads [email protected]:opensoft/openRepoShape` branches naming `936` as a whole token:
none
Activity
brettheap commentedon Oct 18, 2026
CLAIMED — lane openRepoShape-4, session 11c6c0ef-495a-4a05-94cf-811b7b0a1012@Eagle, 2026-10-18T15:04:17Z, for #936
Logged in
lanes/log/openRepoShape-4.mdat043e0a1adb9ed634973121b0c200620b8891479c.The three reads (lane-collision-protocol Rule 1):
validate-family.py and bootstrap.py: the holder's remedies, typed as …
Merge main 5b41d44 into fix/936-hand-mount-git-rm-lines, with no conf…
tests/test_family_hand_mount_git_rm_lines.py: a hand edit of `.gitmod…
validate-family.py: `gitmodules-path-unnamed` reads the file git read…