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
recorded_gitlink() reads HEAD before the index: a staged leg bump reports a false pin-gitlink-mismatch #20
scripts/repo_shape.py's recorded_gitlink() reads git ls-tree HEAD first and falls back to the index (git ls-files -s) only when HEAD has no gitlink at the path. So at exactly the moment the lockstep rule matters — an operator has bumped a leg (git add legs/<Leg>) and edited the pin file but not yet committed — make validate (validate-pins.py) reports pin-gitlink-mismatch: HEAD still holds the OLD gitlink while the pin file holds the new commit. The same read serves validate-family.py (member-gitlink-mismatch).
Observed during the InkRouter onboarding (lane repo-shape, 2026-09-04) and queued as an upstream fix once that program released openRepoShape.
Fix: read the index FIRST, HEAD second. In a clean tree the two agree; in CI (a clean checkout) nothing changes; in a tree with a staged bump the validator now answers with what is about to be committed, which is what the docstring already says the index fallback is for. Add a test that stages a leg bump plus its pin-file edit and asserts validate-pins.py passes (and one for the family validator if cheap). Existing tests must stay green.
Follow-on (not this issue): projects carry a COPY of repo_shape.py; MedxEHR, MedxGlass, InkRouter, IRRS and IRSS pick the fix up through update-shape on their next shape maintenance.
CLAIMED — lane repo-shape, session session_015WekBEXf55Xv64psGe5t3T, 2026-09-04T04:51:16Z, for the index-first fix to recorded_gitlink() in scripts/repo_shape.py + its tests
Rule 1 reads: (1) this record: new; no prior claims or comments. (2) gh pr list --repo opensoft/openRepoShape --state all --search "gitlink": #1 and #16 only, both MERGED; no open PR. (3) git ls-remote --heads origin | grep -i 'gitlink\\|index': no branch.
(lane repo-shape, 2026-09-04T05:14:29Z) MERGED on Brett's word "merge #24 and #25": PR #25 → squash 49773d80 on main, 2026-09-04T05:13:45Z. Projects take the fix via update-shape on their next shape maintenance (MedxEHR, MedxGlass, InkRouter, IRRS, IRSS).
CLAIMED — lane repo-shape, session session_015WekBEXf55Xv64psGe5t3T, 2026-09-04T05:24:55Z, for the update-shape re-sync of the five roots carrying the shape — MedxSoft/MedxEHR, MedxSoft/MedxGlass, InkRouter/IRRS, InkRouter/IRSS (assembly roots) and InkRouter/InkRouter (family holder) — from openRepoShape d0df8d3 to 122d729b (takes this issue's repo_shape.py fix, #25, plus #24), on Brett's word "update-shape the five repos" (2026-09-04, in session).
Rule 1 reads: (1) this record: closed by #25; no other claim on a re-sync. (2) gh pr list --state open on each of the five: none open; --state all --search shape: only MERGED history (MedxEHR #7/#8/#11, MedxGlass #1/#3/#4, IRRS #1, IRSS #1, InkRouter #1). (3) git ls-remote --heads on each: no shape/update-122d729b branch anywhere. Branch name for all five: shape/update-122d729b.
(lane repo-shape, 2026-09-04T05:34:49Z) Re-sync MERGED on Brett's word "merge all five": MedxGlass #5 → 464e4534, IRRS #2 → 9934b014, IRSS #2 → e577d320, InkRouter holder #2 → db774172 (05:33–05:34Z); MedxEHR #12 (with the spec-leg bump to 07b4362f) merging under the same word. CLAIM EXTENDED to the follow-on: family.py bump of members IRRS (fb381ddf → 9934b014) and IRSS (32db58f9 → e577d320) in InkRouter/InkRouter, branch family/bump-irrs-irss-122d729b. Reads: no open PR on InkRouter/InkRouter; no such branch.
(lane repo-shape, 2026-09-04T05:36:12Z) CLAIM EXTENDED to the aggregation pin sync: opensoft/xFactory xFactories/MedxEHR gitlink d772141 → d9808975, branch sync/medxehr-d980897. Reads: no open xFactory PR moving that gitlink; no such branch before this push.
(lane repo-shape, 2026-09-04T12:25:19Z) Follow-ons MERGED on Brett's word "merge 242 and InkRouter #3": opensoft/xFactory #242 → 2108d2c6 (aggregation xFactories/MedxEHR gitlink now d9808975), InkRouter/InkRouter #3 → 738e3a6e (members IRRS 9934b014, IRSS e577d320). Earlier: MedxEHR #12 → d9808975 (admin; review rule only). The whole shape estate — MedxEHR, MedxGlass, IRRS, IRSS, the InkRouter holder — now carries openRepoShape 122d729b with every leg and member pin current. This claim chain is CLOSED; nothing further in flight on it.
Activity
brettheap commentedon Sep 4, 2026
CLAIMED — lane repo-shape, session session_015WekBEXf55Xv64psGe5t3T, 2026-09-04T04:51:16Z, for the index-first fix to recorded_gitlink() in scripts/repo_shape.py + its tests
Rule 1 reads: (1) this record: new; no prior claims or comments. (2)
gh pr list --repo opensoft/openRepoShape --state all --search "gitlink": #1 and #16 only, both MERGED; no open PR. (3)git ls-remote --heads origin | grep -i 'gitlink\\|index': no branch.brettheap commentedon Sep 4, 2026
(lane repo-shape, 2026-09-04T05:14:29Z) MERGED on Brett's word "merge #24 and #25": PR #25 → squash
49773d80on main, 2026-09-04T05:13:45Z. Projects take the fix viaupdate-shapeon their next shape maintenance (MedxEHR, MedxGlass, InkRouter, IRRS, IRSS).brettheap commentedon Sep 4, 2026
CLAIMED — lane repo-shape, session session_015WekBEXf55Xv64psGe5t3T, 2026-09-04T05:24:55Z, for the
update-shapere-sync of the five roots carrying the shape — MedxSoft/MedxEHR, MedxSoft/MedxGlass, InkRouter/IRRS, InkRouter/IRSS (assembly roots) and InkRouter/InkRouter (family holder) — from openRepoShaped0df8d3to122d729b(takes this issue'srepo_shape.pyfix, #25, plus #24), on Brett's word "update-shape the five repos" (2026-09-04, in session).Rule 1 reads: (1) this record: closed by #25; no other claim on a re-sync. (2)
gh pr list --state openon each of the five: none open;--state all --search shape: only MERGED history (MedxEHR #7/#8/#11, MedxGlass #1/#3/#4, IRRS #1, IRSS #1, InkRouter #1). (3)git ls-remote --headson each: noshape/update-122d729bbranch anywhere. Branch name for all five:shape/update-122d729b.brettheap commentedon Sep 4, 2026
(lane repo-shape, 2026-09-04T05:34:49Z) Re-sync MERGED on Brett's word "merge all five": MedxGlass #5 →
464e4534, IRRS #2 →9934b014, IRSS #2 →e577d320, InkRouter holder #2 →db774172(05:33–05:34Z); MedxEHR #12 (with the spec-leg bump to07b4362f) merging under the same word. CLAIM EXTENDED to the follow-on:family.py bumpof members IRRS (fb381ddf→9934b014) and IRSS (32db58f9→e577d320) in InkRouter/InkRouter, branchfamily/bump-irrs-irss-122d729b. Reads: no open PR on InkRouter/InkRouter; no such branch.brettheap commentedon Sep 4, 2026
(lane repo-shape, 2026-09-04T05:36:12Z) CLAIM EXTENDED to the aggregation pin sync: opensoft/xFactory
xFactories/MedxEHRgitlinkd772141→d9808975, branchsync/medxehr-d980897. Reads: no open xFactory PR moving that gitlink; no such branch before this push.brettheap commentedon Sep 4, 2026
(lane repo-shape, 2026-09-04T12:25:19Z) Follow-ons MERGED on Brett's word "merge 242 and InkRouter #3": opensoft/xFactory #242 →
2108d2c6(aggregationxFactories/MedxEHRgitlink nowd9808975), InkRouter/InkRouter #3 →738e3a6e(members IRRS9934b014, IRSSe577d320). Earlier: MedxEHR #12 →d9808975(admin; review rule only). The whole shape estate — MedxEHR, MedxGlass, IRRS, IRSS, the InkRouter holder — now carries openRepoShape122d729bwith every leg and member pin current. This claim chain is CLOSED; nothing further in flight on it.