Repository navigation
Description
validate-pins.py and validate-family.py are pinned copies, so the three changes go into one shape bump, and every project re-pins once.
From the v1.1.0 triage of the v1.0.0 known limits on #459 and #460. One pull request covers the lines below.
Lines
- validate-pins.py appends THE LOCKSTEP RULE to every findings list, even a lone
shape-copy-drift. Where: templates/assembly-root/scripts/validate-pins.py:1143. Effort S; all. On main3121945: The footer print at :1143 is still unconditional (repo_shape.py, validate-pins.py, family.py: a refusal built without a remedy prints itsREFUSEDline alone, the assembly root'svalidate-pins.pystill adds the lockstep remedy to its own, andaddrefuses a.gitmodulesgit cannot rea (#370) #494 changed only the refusal path); pinned copy, so the digest moves. (source) - validate-pins.py ends pin-digest-mismatch and pin-workflow-ref-mismatch at THE LOCKSTEP RULE, though bump-leg.py cures both. Where: templates/assembly-root/scripts/validate-pins.py. Effort M; all. On main
3121945: Uncommon and recoverable; both findings still end onLOCKSTEPalone (validate-pins.py:514-520, :539-544), and the file is a pinned copy, so every root seesupstream-changed. (source) - validate-family.py remedies that name
family.py add/removeomit thegit switch -cstep they now need. Where: templates/family-root/scripts/validate-family.py ~:358, ~:732. Effort S; all. On main3121945: validate-family.py contains noswitch -c; harm is one recoverable refusal; pinned copy, so the digest moves. (source)
Rides along (backlog; tick it here if the same change covers it)
- The two
git-not-runnablewrappers apply different rules: afilenametest vs anyOSError(source)
Each line above is marked → this issue on its tracking issue. Tick it there too when this closes.
The lines as written on the tracking issues
AT-scaffold N8: validate-pins.py appends THE LOCKSTEP RULE to every non-empty findings list (templates/assembly-root/scripts/validate-pins.py:869-870), so a lone
shape-copy-drift(an edited pinned copy, fixed byupdate-shape.pyor a revert) is followed by a rule about moving a gitlink, a pin and the workflows together; #494 changes the refusal path only, not this footer.
— #459, body
bump-leg.py --to <the gitlink's or the pin's commit>also curespin-workflow-ref-mismatch(a hand-edited@<sha>in a workflow) andpin-digest-mismatch, but the shipped validate-pins.py still ends both findings at THE LOCKSTEP RULE with no command (templates/assembly-root/scripts/validate-pins.py:513 and :538, the rule at :92, on main 5e02abe), andtest_every_other_pins_row_is_the_gates_ownholds that output in place; only a project's own workflows meet the first, since scaffolded workflows carry no leg reference. Outside #478. From the review of #495 (finding 6; the cure is the reviewer's, not re-probed here).
— #460, body
The holder's
scripts/validate-family.pyremedies that tell a person to runfamily.py addorremovename no branch step.
- Where: about
templates/family-root/scripts/validate-family.py:358and:1070.- Since family.py:
initrefuses to land in the standard's checkout and names a runnablescripts/family.py, printed commands quote paths, andadd,bumpandremoverefuse the tracking branch and print their branch's push (#488, #486, #487) #507 (family.pyadd,bumpandremovecommit straight onto the holder's tracking branch, andadd's NEXT pushes a<branch>that does not exist, though AGENTS.md says to land each as a pull request #487), a realadd,bumporremoverefuses the holder's tracking branch (family-on-tracking-branch) with a quotedgit switch -cremedy, so the procedure still finishes. The validator's own remedy just costs one refusal first.- Possible fix: prefix those remedies with the same
git -C <holder> switch -c family/<act>-<member>line thatfamily.pyand the holder's docs now show.
The two
git-not-runnablewrappers use two rules. #412'svalidate-pins.pycounts anOSErrorwhosefilenameisgit, or a namelessFileNotFoundError/PermissionError, around the git calls alone. #406'svalidate-family.pycounts anyOSError, around all of_check_member_tree.
- With git on PATH, a holder whose
members/<P>this user cannot enter is refusedgit-not-runnableand told to put git on PATH.- A project's gate ends in a
PermissionErrortraceback, exit 1, on a leg directory it cannot enter. That half is EveryPath.is_file()/is_dir()/exists()guard in the shipped tools answers False to any OSError on Python 3.14 (3.12 and 3.13 raise PermissionError), so a directory this user cannot search reads as ABSENT: validate-pins.py skips its workflow@<sha>check, update-shape.py sayscopy-missingandupdate-pin-missing("adopt the project") for files that are there, the doctor says DRIFTED (5 copy-missing), and bump-leg.py's remaining guards, and every other tool's, skip or misreport instead of refusing by name #430's group 3.- Windows'
[WinError 193](a git that cannot be executed, with no filename) is counted by one rule and not the other. This is from reading CPython, not a Windows run.- The lasting home for one shared rule is
scripts/repo_shape.py.
Activity
brettheap commentedon Oct 14, 2026
CLAIMED — lane openRepoShape-2, session 81650e29-c906-4fe8-96c9-55580bfe0c44@Eagle, 2026-10-14T22:29:03Z, for #539
Logged in
lanes/log/openRepoShape-2.mdat6d9ea181a0e4c821bcc4c1a238d7051d25968bcc.The three reads (lane-collision-protocol Rule 1):
validate-family.py: a gitlink whose path names no project says `<Proj…
tests/test_doctor_gitlink_repairs.py: the gate's output for `pin-path…
siblings.py and family.py: `make siblings` asks about the family fold…
validate-pins.py and validate-family.py: THE LOCKSTEP RULE closes the…
validate-repository-naming.py, repo_shape.py, validate-pins.py: a bar…
family.py: `add` refuses, before the member is read and on every disk…
Merge main 66267f0 (#589, #582, #576 and eleven more) into fix/540-pi…
family.py and validate-family.py: where an earlier act left the branc…
bootstrap.py and AGENTS-shape.md: a leg with an operation in progress…