Repository navigation
Session relaunch: base completion on the final live list; a registered-then-exited session is absent (#1116 follow-up a) - #1140
Merged
seathatflowsinourveins merged 1 commit intoOct 15, 2026
Conversation
…hat registered and exited is absent #1116 follow-up (a), the local review's P2 at 7aad5a0 :533 (the final pass at c8d7fa9 :547-553; review_output.json sha256 7e01f04a). A session seen running earlier in a run and missing from the final live list kept its running outcome, so the run said complete and plan() refused every later rerun as already relaunched. - The final pass marks such a session absent and moves its resolved_through past its calls: it was seen listed, so its tab start registered, and a rerun opens it again without a --reopen (unresolved() is unchanged for a session never seen listed). - complete needs a final list that was read; an unreadable one leaves the run partial (exit 1, the alert), and a rerun reads it again. - README: the absent outcome, the status sentence and the rerun list. The decision's test line and the evidence README count: 53. Fail-first: both new tests failed on c8d7fa9 ('complete' != 'partial'); the module runs 53 tests OK. Own logic; no upstream mechanism changes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 15, 2026
seathatflowsinourveins
deleted the
claude/cc-native-practice-relaunch-complete-reconcile-20261015
branch
October 15, 2026 12:16
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.
Scope
absent, so the run ispartialand a rerun brings it back. An unreadable final list never completes a run.0f4ee075blane:foundationtools/session-relaunch/session_relaunch.pyandtools/session-relaunch/README.md;tests/test_session_relaunch.py;docs/decisions/2026-10-14-session-relaunch-after-wsl-restart.md(the tests line);evidence/artifacts/session-relaunch-20261014/README.md(the test count);manifests/evidence.json.This is #1116 follow-up (a), the first in the command center's order (2026-10-15T02:55Z): (a) completion, then (b) the roster lock and (c) the carry after a partial run, then (d) the P3s.
Finding: the local review's P2 at 7aad5a0, line 533; at c8d7fa9 it is the final pass, lines 547-553. Source: the local review,
review_output.jsonunder/var/tmp/ns2604-local-review-20261013/.runningoutcome stood.complete, andplan()refused every later rerun as already relaunched.Fix:
absent.resolved_throughmoves past its calls, because its tab start was seen to register. A rerun therefore opens it again without a--reopen.unresolved()is unchanged for a session never seen listed, so the double-launch closure of the earlier rounds holds.completenow requires a final list that was read. An unreadable one leaves the runpartial(exit 1, the alert), and a rerun reads it again.SOTA sources
c8d7fa9e42c62bffc24446e7829ecc5933ec945d,tools/session-relaunch/session_relaunch.py:547-553(the final pass) and:320-327(unresolved()).claude agents --json, the client's own session list. Its shape was measured at Claude Code 2.1.299, in Session relaunch after an unplanned WSL restart: a roster timer and a boot oneshot on the systemd user manager #1116'sevidence/artifacts/session-relaunch-20261014/receipts/probes.json(:4; client also atsources.json:3).Evidence-class table
completeat c8d7fa9synthetictest_a_session_that_registers_and_then_exits_leaves_a_recoverable_partial_state(stand-in client and PowerShell; the fake opener removes the command center's row as the next tab opens), failed on c8d7fa9 with'complete' != 'partial'synthetictest_an_unreadable_final_list_never_completes_a_run, failed on c8d7fa9 the same waysyntheticpython3 -m unittest tests.test_session_relaunch: 53 tests OKLocal commands run
Decision record
docs/decisions/2026-10-14-session-relaunch-after-wsl-restart.md: its tests line gains this follow-up and the count of 53.Follow-ups
relaunch.lock.Checklist
🤖 Generated with Claude Code