components C2: resume picker wired end-to-end - #293
Merged
Conversation
The dormant resume screen becomes real: /resume (alias /continue) lists persisted sessions and selection swaps the live conversation. - listing/filtering live in UI-neutral services/session_listing (headless /resume loads zero Textual modules); metadata-only sessions (message_count==0) are filtered with an honest hidden count per the standing critic condition; duplicate ids deduped - AgentBridge.resume_session: busy-gated swap using the TS-parity reader (orphan repair, snip boundaries, path adjustment), then switch_session + restore_cost_state_for_session in TS lockstep (ResumeConversation.tsx:224-227), advisor scan cursor pinned to the list tail (index 0 would replay historical advisor events), persister re-targeted (title/counters preserved); unreadable transcripts refuse instead of crashing the callback chain - degraded replay renders dict AND dataclass text blocks (the reader yields TextBlock dataclasses) and counts skipped tool/attachment blocks honestly; session-preview pane explicitly parked in the module docstring - registry command: TS-verbatim metadata incl. aliases=[continue], substring search-term filter, output-style pattern (no ctx.ui) 19 resume/doctor tests (incl. a production-pipeline replay test and the persister round-trip asserting title survival + no count double-bump); full suite baseline-identical (12 known failures). Critic-approved after one REQUEST CHANGES round (B1 dataclass-block render bug, dependency direction, advisor replay, cost restore). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
singlaamitesh
pushed a commit
to singlaamitesh/clawcodex
that referenced
this pull request
Jul 7, 2026
…-resume-picker components C2: resume picker wired end-to-end
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.
Summary
/resume(alias/continue) lists persisted sessions; selection swaps the live conversation (TSLogSelector/ResumeConversationdegraded scope)services/session_listing(headless/resumeloads zero Textual modules); metadata-only sessions filtered with an honest hidden count (standing critic condition §5 Q2)AgentBridge.resume_session: busy-gated swap via the TS-parity reader (orphan repair, snip boundaries, path adjustment) →switch_session+restore_cost_state_for_sessionin TS lockstep → advisor scan cursor pinned to tail → persister re-target (title/counters preserved)Test plan
🤖 Generated with Claude Code