Repository navigation
The lane listing reads a row's state phrase when its log is missing, so a migrated PAUSED row stops showing NO LOG (#89) - #206
Merged
Conversation
…so a migrated PAUSED row stops showing NO LOG (#89) `lanes_rows` took a lane's STATE from its log's last lane verb alone and fell back to `NO LOG`. A row `migrate-state-cells` left behind has the Amendment 13(a) phrase in its cell (`PAUSED · <UTC> · …`) and only NOTED lines in its log, so it listed as `NO LOG` with its real state one field along in column 16. The pick then filed it AVAILABLE on the workstation column alone, and `lane --dir <d> <lane> <profile>` launched it. A new rung, below the Amendment 19 class and the hide filter, reads the cell's leading word where the log gave none and `mig_cell_is_phrase` proves the cell is the phrase, and prints it as `<WORD> (row)`. `LIVE` stays `NO LOG` (a cell cannot prove a session is running), and so do `ENDED`, `RETIRED` and `MIGRATED`, the DORMANT rows 19(b) shows as `NO LOG`. The conservative call, for Brett Heap to confirm: a cell-derived state is displayed, never picked or resumed. ` (row)` keeps every reader that keys on the log's own `PAUSED` (column 10, `lane_groups`, the `bind it:` line) from treating it as one. `lane_groups` files it `rowonly`, which `lane` never numbers and refuses by name. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reviewer's GuideThe PR makes migrated, no-log rows display their authoritative cell state with a Sequence diagram for refusing a row-only lanesequenceDiagram
actor User
participant lane
participant lanes_edit as lanes-edit.sh
participant Launcher as pclaude
User->>lane: lane name
lane->>lanes_edit: register-row name
lanes_edit-->>lane: no lane-kind line
lane-->>User: refuse with exit 2 and manual start
Note over Launcher: Not called
State diagram for migrated no-log row handlingstateDiagram-v2
[*] --> NoLog
NoLog --> RowOnly: cell is phrase and state is not LIVE or dormant
NoLog --> NoLog: cell is LIVE
NoLog --> NoLog: cell is ENDED, RETIRED, or MIGRATED
RowOnly --> Displayed: render WORD (row)
RowOnly --> Unpickable: lane_groups = rowonly
Unpickable --> ManualStart: no log available to resume
Flow diagram for displaying and handling row-derived lane statesflowchart TD
A[lanes_rows reads log state] --> B{STATE is NO LOG?}
B -- No --> C[Keep log-derived STATE]
B -- Yes --> D{mig_cell_is_phrase proves cell state?}
D -- No --> E[Keep NO LOG]
D -- Yes --> F{Cell state is LIVE or dormant?}
F -- Yes --> E
F -- No --> G[Display cell word with row marker]
G --> H[lane_groups assigns rowonly]
H --> I[lane never numbers or resumes rowonly]
I --> J[lane refuses and directs manual pickup]
File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
…s this PR on today's main Main moved 15 commits past this branch's base f87fd5a, through the suite's machinery and pin (.github/workflows/tests.yml, contracts/openreposhape-pin.yaml, tests/conftest.py, tests/test_repo_hygiene.py, upstream/openRepoShape), after this PR's last green run. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s this PR on today's main Main moved 4 commits past this branch's base 2cb14a9, through the suite's machinery and pin (), after this PR's last green run. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
brettheap
added a commit
that referenced
this pull request
Oct 18, 2026
…ane holds the object (#74) (#204) Landed on Brett Heap's word "land #204 #206 #208 #218 #220 #221 when green" (2026-10-18), by lane openRepoTools-5. Required Linux CI (guard-launch-mode, tests, tests-no-submodule; run 39137725493) was green on head af5b7ce with main 586dea2 in its tree. Independent review (lane 5, Opus, of 4996156; the merges of main add nothing to the PR's diff): LAND. Closes #74 Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap
marked this pull request as ready for review
October 18, 2026 15:56
|
Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days. You can request another review in 1 day and 9 hours by commenting |
brettheap
added a commit
that referenced
this pull request
Oct 18, 2026
…or binding log instead of guessing a branch (#60) (#208) Landed on Brett Heap's word "land #204 #206 #208 #218 #220 #221 when green" (2026-10-18), by lane openRepoTools-5. Required Linux CI (guard-launch-mode, tests, tests-no-submodule; run 39137741203) was green on head 3edaf0a with main 586dea2 in its tree. Main be82c20 merged with head 3edaf0a is tree cfd2ee6, which queue run 39137988005 (workflow_dispatch of tests on 9db4863) tested whole and green. Independent review (lane 5, Opus, of c252a3c; the merges of main add nothing to the PR's diff): LAND. Closes #60 Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap
added a commit
that referenced
this pull request
Oct 18, 2026
…s why refuse it before writing, and the deferred lane-start command keeps --agent (#85, #72 items 5, 6) (#218) Landed on Brett Heap's word "land #204 #206 #208 #218 #220 #221 when green" (2026-10-18), by lane openRepoTools-5. Required Linux CI (guard-launch-mode, tests, tests-no-submodule; run 39137747959) was green on head bfc5ddd with main 586dea2 in its tree. Main fca60f5 merged with head bfc5ddd is tree b188309, which queue run 39137992777 (workflow_dispatch of tests on 586df3b) tested whole and green. Independent review (lane 5, Opus, of 99f3853; the merges of main add nothing to the PR's diff): LAND. Brett Heap confirmed refusing CR/LF at the door (2026-10-18). Part of #85. Part of #72 (items 5-6). Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap
added a commit
that referenced
this pull request
Oct 18, 2026
…ane-handoff renames the window only once the handoff can no longer be refused (#80 slices B and C) (#220) Landed on Brett Heap's word "land #204 #206 #208 #218 #220 #221 when green" (2026-10-18), by lane openRepoTools-5. Required Linux CI (guard-launch-mode, tests, tests-no-submodule; run 39137756635) was green on head 0b531e5 with main 586dea2 in its tree. Main 01eff2c merged with head 0b531e5 is tree a388312, which queue run 39137998354 (workflow_dispatch of tests on f335793) tested whole and green. Independent review (lane 5, Opus, of 9f6fd2d; the merges of main add nothing to the PR's diff): LAND. Brett Heap confirmed the rename trade as built (2026-10-18). Part of #80 (slices B and C). Co-Authored-By: Claude Opus 5.5 <[email protected]>
brettheap
added a commit
that referenced
this pull request
Oct 18, 2026
…ession ids, so the dead-lane --force check and duplicate-holder fail closed (#67) (#221) Landed on Brett Heap's word "land #204 #206 #208 #218 #220 #221 when green" (2026-10-18), by lane openRepoTools-5. Required Linux CI (guard-launch-mode, tests, tests-no-submodule; run 39137764839) was green on head 14696c7 with main 586dea2 in its tree. Main be0743b merged with head 14696c7 is tree 0052eff, which queue run 39138003629 (workflow_dispatch of tests on 147cbf6) tested whole and green. Independent review (lane 5, Opus, of fbd2bb1; the merges of main add nothing to the PR's diff): LAND. Closes #67 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Lane: openRepoTools-5 (claim on #89 held by the lane's coordinator).
What was wrong
lanes_rowstook a lane's STATE only from its log's last lane verb, and fell back toNO LOG. A row thatmigrate-state-cellsleft behind has Amendment 13(a)'s phrase in its cell and onlyNOTEDlines in its log, so the listing printedNO LOGover a cell that saysPAUSED. Amendment 13 exists to make that column authoritative, and the listing never read it. #93 (c1bac0d) stopped such rows being hidden as DORMANT. It did not change the word they were shown under.Evidence at f87fd5a, using the suite's own Amendment 19 seed (
repo19b-1: no log, cellPAUSED · 2026-09-13T00:00:00Z · migrated; …):The last line matters most. A row whose log records no directory, profile or binding was numbered in the pick, and
lanelaunched it.What changed
lanes-edit.shlanes_rows: a new rung, placed below the Amendment 19 class decision and the hide filter. Where the state isNO LOGandmig_cell_is_phraseproves the cell is the phrase, the STATE becomes the cell's leading word followed by(row), for examplePAUSED (row)orLANDING #12 (row).mig_cell_is_phraseis called, not changed (migrate-state-cells: the ~HH:MM start form is dated midnight, the first log write skips Amendment 15's rename, and a malformed phrase counts as migrated (#82 round 4, suppressed) #88 owns it).LIVEstaysNO LOG. A cell cannot prove a session is running; only a live record can, and that read has already been made by this point. Column 17 still flags the cell.ENDED,RETIREDandMIGRATEDstayNO LOG. These are Amendment 19(a)'s DORMANT rows, which 19(b) and the manual show asNO LOG, with the cell's head on its own line.lanes-edit.shlane_groups: a state ending in(row)is filed in a new group,rowonly. The check runs before the workstation test. The partition comment above the function names the new group.lane: newgo_rowonly, plus arowonly)branch ingo_row.available,liveandelsewhere, so it never numbers arowonlyrow.lane <name>refuses with 2. The refusal nameslanes-edit.sh register-row <lane>as the read, and gives the by-hand start:cd <the lane's checkout> && pclaude --lane <lane> <profile>.docs/README-lanes.md: one paragraph underlane's three-branch table, and one under Amendment 19's "One row with no log is NOT dormant".The design call, for Brett to confirm
The brief's conservative call is implemented: a cell-derived state is DISPLAYED, but
lanenever picks or resumes it, because there is no log to resume from.The
(row)mark is my implementation choice for that call, and I think it is the safer one. It goes in the STATE word itself rather than a new column, and the word is not the barePAUSED, for these reasons:PAUSED(column 10'slane <name>line,lane_groups'sPAUSED -> available, andlanes'sbind it:line) passesPAUSED (row)by without any change of its own.lanegiven a newerlanes-edit.shreachesgo_row's existing*)refusal ("no branch for"). A newerlanegiven an older helper never sees the mark.lanes,laneandlane-endeach read the row as exactly 17 named fields.Behaviour change to note: before this PR, such a row on this workstation was numbered under AVAILABLE, and
lanewould launch it when given--dirand a profile. That is no longer possible.If Brett would rather a cell-derived
PAUSEDbe pickable, the switch is small: drop therowonlyarm inlane_groupsand the refusal ingo_row, and decide what column 10 should offer.Left untouched on purpose: the liveness-failure note at
lanes-edit.sh:7377still calls the STATE column "the LOG's verb alone". That line is inside lane 4's #138 hunk, so I did not reword it. Its safety intent holds, because a(row)state is never pickable either way.Functions and regions edited
lanes-edit.sh: lanes_rows: one block inserted after the Amendment 19 hide filter (new lines 7607–7643). Thelr_verbcase at ~7500 and the class block are untouched, and nothing is reflowed.lanes-edit.sh: the partition comment abovelane_groups, 4 lines (new 7816–7819).lanes-edit.sh: lane_groups: one awk rule plus its comment, after the ENDED/RETIRED drop (new 7841–7849).lane: the header comment, 5 lines (new 69–73).lane: go_rowonly: new function, inserted beforego_row(new 1192–1212).lane: go_row: comment and one case arm (new 1214–1215 and 1222).docs/README-lanes.md: thelanesection after the three-branch table (new 253–257), and the Amendment 19 section after "One row with no log is NOT dormant" (new 2969–2980).tests/test_lane_helpers.sh: the Amendment 19 section, after therepo19b-1case (new 12070–12103), and at the end of the section afterrepo19ret-1(new 12572–12582).Tests
These are in the Amendment 19 section of
tests/test_lane_helpers.sh.repo19b-1(the PAUSED case):PAUSED (row)nonelane-groupsfiles itrowonlylaneslisting showsPAUSED (row)and notNO LOGThe
lanepicker case (the conservative call):laneinside arepo19bcheckout exits 8 and never numbers the rowlane --dir <d> repo19b-1 team-05aexits 2, says "no lane-kind line" and nameslanes-edit.sh register-row repo19b-1A guard for the asymmetric case: a new no-log row
repo19live-1, whose cell isLIVE · …and which has no live record. Its STATE staysNO LOG, and column 17 isLIVE. This assertion passes before the fix as well; it is there to keep the asymmetry from being removed later.Fail-before / pass-after, run locally in isolation (temp
$HOME, temp bare repositories, the LANES_* seams unset; not the full suite):E/LOGDandLANE/pclaudedefinitions, the whole Amendment 19 section, and the footer. I ran it once against the f87fd5a scripts and once against this branch, both times with this branch's test file.194 passed, 10 failed. The 10 failures are exactly the new regression assertions:expected [PAUSED (row)], got [NO LOG],expected [rowonly], got [available],expected [8], got [0],expected [2], got [0], and the launcher log non-empty.204 passed, 0 failed.7 passed, 10 failed; this branch17 passed, 0 failed.bash -npasses onlanes-edit.sh,laneandtests/test_lane_helpers.sh.python3 -m pytest tests/test_repo_hygiene.py -qreports152 passed.Closes #89
🤖 Generated with Claude Code
Summary by Sourcery
Show authoritative state-cell values for migrated no-log rows while keeping those rows read-only and unavailable for automatic lane startup.
New Features:
PAUSED (row).Bug Fixes:
NO LOGwhen their authoritative state cell contains a non-dormant state phrase.Enhancements:
LIVE,ENDED,RETIRED, andMIGRATEDno-log rows on their existing handling while routing cell-derived states into a distinctrowonlygroup.Documentation:
Tests:
LIVEcase.