Repository navigation
Description
Lane: openRepoTools-3 (openRepoTools-3)
Copilot's round 9 review of PR #81 (opensoft/openRepoTools#81, commit 352caa6, submitted 2026-09-16T13:10:36Z) posted this as an inline thread. Filed rather than taken in-PR, under Brett Heap's ruling of 2026-09-16: Copilot is capped at two rounds per pull request and #81 is at nine — this is filed and claimed instead of fixed in-PR. Measured below, so the next round does not have to re-derive it: this one looks like a false positive, but the measurement and the reasoning are left here for a person to confirm rather than closed on this filing's own say-so.
Finding (Copilot, PR #81 thread on lanes-edit.sh:9322)
commit_pushonly handles a moved log whenLOG_RENAMED_FROMis populated: it force-removes that index entry and omits the nonexistent old path fromgit add. This rename path addsrl_log_old_reltorl_pathsbut never sets the variable, so staging receives the just-movedlanes/log/<old>.mdpath and the four-file rename fails instead of creating the tested commit. SetLOG_RENAMED_FROMtorl_log_old_relbefore this call (empty when there was no old log).
Why this looks like it already works
commit_push's LOG_RENAMED_FROM branch exists for a narrower problem than "the old path is gone": its own comment (lanes-edit.sh:~1418) says the old path "matches neither the index nor a directory read that compares exactly" — the case-insensitive-filesystem hazard of a case-only rename (core.ignorecase=false a few lines below is the same guard). rename-lane cannot produce a case-only old/new log pair at all — clause (a)'s own refusal table treats "<old> and <new> are one name under any case" as not a rename (that is Amendment 15(d)'s separate hand act) — so the log's old and new basenames always differ by more than case, on any filesystem.
For that ordinary case, plain git add -- <tracked, now-missing path> already stages the removal — which is exactly what an existing comment two screens above this call already establishes, from a prior round on this same PR (lanes-edit.sh:~9143, Copilot round 3 on #81): "A TRACKED path that has been moved away still matches in the index and git add stages its deletion." rl_log_old_rel is only ever added to rl_paths when that same git ls-files --error-unmatch check confirms it is tracked (lanes-edit.sh:9146-9148), so by the time commit_push sees it, it is exactly the shape that comment already relies on.
Measured directly (a throwaway repo, core.ignorecase=false, no LOG_RENAMED_FROM/update-index --force-remove involved):
$ printf 'a\n' > old.md && git add old.md && git commit -q -m init
$ mv old.md new.md && git add new.md
$ git -c core.ignorecase=false add -- old.md # the old, now-gone, tracked path
$ echo exit=$?
exit=0
$ git -c core.ignorecase=false diff --cached --name-status
R100 old.md new.md
git add on the explicit, tracked, now-absent path succeeds and git even detects the rename on its own. Nothing here needed LOG_RENAMED_FROM or a force-removed index entry.
What's left to check
This filing does not rule out every path through rename-lane; in particular it does not re-verify the case where a lane has no old log at all (rl_log_old_rel empty, not added to rl_paths) or interaction with refuse_dirty_checkout's exemption list. bash tests/test_lane_helpers.sh passed at 2803/2803 on this branch (commit 352caa6, and again on a from-scratch rerun after an unrelated sandbox contamination invalidated the first run's tail), which exercises rename-lane committing a moved log without LOG_RENAMED_FROM set — consistent with this being already correct rather than untested. Left for a person to confirm and close, or to say what this filing missed.
Activity
brettheap commentedon Nov 10, 2026
Lane: openRepoTools-3
Verdict: obsolete. It was never a bug (the title says "likely already correct"), and
commit_pushno longer exists. Closing as not planned.LOG_RENAMED_FROMis given a value in one place, for the case-onlyensure_logrename (lanes-edit.sh:4343), andcommit_publishreads it at:3178(both at codemain9a219ed).rename-lanecannot produce a case-only old and new log pair, which is the only case the variable exists for, so it does not need to set it.rename-laneadds the old log torl_pathsonly when git tracks it (lanes-edit.sh:18862at9a219ed) and publishes withcommit_publish "$rl_msg" "${rl_paths[@]}"(:19029).addof the live paths and the old tracked-but-gone path under-c core.ignorecase=false, thendiff --cached --quiet, thencommitby pathspec. Result at86d635b: add rc 0, commit rc 0,R100 lanes/log/repoOld-1.mdrenamed torepoNew-1.md, status clean.refuse_dirty_checkouthas 0 hits at9a219ed;cs_own_pendingis asked over everyrl_pathsentry before the first byte (:18874).commit_pushbecamecommit_publishin8652321(Amendment 23 S4, 2026-10-20), landed by Amendment 23 slice 1b: every writer fetches and fast-forwards under its lock or refuses with nothing written, pushes with no pull and reads origin back, a refused push replays the one edit, andcommitwith nothing staged is the publish act openRepoTools-code#17 (mergea8f6f01, 2026-11-10).Method: read, not run. Lane 3's triage read code
mainat86d635bon 2026-11-10 and ran no tests; one cite per issue was re-read at9a219ed.Brett Heap's word, given in lane openRepoTools-3's session on 2026-11-10 (the NEEDS-BRETT dialog, "Closing the six fixed or obsolete issues": #304, #145, #125, #124, #127 and #91, answered by 12:11:11Z): "Close all six (Recommended)". Its description: "Each gets one evidence comment and is closed, and lane 3 releases its claim on it."
🤖 Generated with Claude Code
brettheap commentedon Nov 10, 2026
RELEASED — lane openRepoTools-3, session 83619980-06bb-4469-ae73-2a8c5e61981a@Eagle, 2026-11-10T12:44:38Z, for #124 — closed as obsolete; evidence 6767596277