Skip to content

fix(tui): transcript clears the active conversation on ClearedConversationsInTerminalView (#4) - #72

Merged
jwp2987 merged 1 commit into
mainfrom
fix-4-transcript-clear
Aug 5, 2026
Merged

fix(tui): transcript clears the active conversation on ClearedConversationsInTerminalView (#4)#72
jwp2987 merged 1 commit into
mainfrom
fix-4-transcript-clear

Conversation

@jwp2987

@jwp2987 jwp2987 commented Aug 5, 2026

Copy link
Copy Markdown
Owner

First real-bug fix for #4.

TranscriptView::handle_history_event had a _ => {} catch-all that ignored BlocklistAIHistoryEvent::ClearedConversationsInTerminalView, so a cleared conversation kept rendering in the transcript.

Zap's variant carries no cleared-id list — the active_conversation_id is the conversation that was cleared (the same reduction conversation_selection already applies for this event). Now the transcript drops that conversation's blocks, leaving restored/other conversations intact.

Fixes transcript_view::transcript_clear_event_removes_only_named_conversations. Full transcript_view suite 8/8.

(Part of the #4 real-failure set — the remaining serial failures are separate deeper investigations: focus-pair harness, the diff-pipeline ghost-blocks + write-dispatch bugs, and the footer/zero-state trio.)

🤖 Generated with Claude Code

…ationsInTerminalView (#4)

TranscriptView::handle_history_event had a `_ => {}` catch-all that ignored
BlocklistAIHistoryEvent::ClearedConversationsInTerminalView, so a cleared
conversation kept rendering in the transcript.

Zap's variant carries no cleared-id list — the `active_conversation_id` *is* the
conversation that was cleared (the same reduction `conversation_selection`
already uses for this event). Handle it by dropping that conversation's blocks
from the transcript, leaving restored/other conversations intact.

Fixes the #4 "transcript-clear" real bug:
`transcript_clear_event_removes_only_named_conversations` now passes; full
transcript_view suite 8/8.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012gDYSHa4oDvQbfungWwG1h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant