Metadata
| Status | done |
|---|---|
| Assigned | agent-739 |
| Agent identity | f51439356729d112a6c404803d88015d5b44832c6c584c62b96732b63c2b0c7e |
| Model | claude:sonnet |
| Created | 2026-04-27T16:01:15.717360393+00:00 |
| Started | 2026-04-27T16:15:28.776767878+00:00 |
| Completed | 2026-04-27T16:48:47.049640855+00:00 |
| Tags | tui,chat-redesign, eval-scheduled |
Description
Description
Add two discoverability paths for opening chat tabs without typing keybindings:
- Click '+' button on tab bar → opens new chat (same action as 'n' in command mode).
- Click a '.chat-N' node in the graph viewer → opens that chat as a tab (or focuses it if already open).
For (2), research-tui-chat will report whether the graph viewer (src/tui/viz_viewer/) currently supports node-click actions. If it does, add an 'open as chat tab' action specifically for nodes whose task id starts with '.chat-' (or whose task type is chat). If it doesn't, add minimal click dispatch alongside this work.
The '+' button rendering: if not already present in the tab bar, add it. Visible affordance, not just a hidden hotspot.
Validation
- Failing test first: clicking '+' on tab bar dispatches new-chat action
- Failing test: clicking a '.chat-N' node in graph viewer opens (or focuses) that chat tab
- Clicking a non-chat node in graph viewer does NOT try to open a chat
- If '.chat-N' is already open, click focuses the existing tab instead of duplicating
- cargo build + cargo test pass
- Live-smoke: launch TUI, click '+' (chat opens), navigate to graph view, click a '.chat-N' node (chat opens/focuses)
Depends on
Required by
- (none)
Log
- 2026-04-27T16:01:15.708159182+00:00 Task paused
- 2026-04-27T16:02:34.309303002+00:00 Task published
- 2026-04-27T16:03:40.095799056+00:00 Lightweight assignment: agent=Careful Programmer (f5143935), exec_mode=full, context_scope=task, reason=Careful Programmer best fits TUI implementation requiring correctness-critical file modifications, event handling, and live-smoke testing of UI interactions.
- 2026-04-27T16:15:28.776773238+00:00 Spawned by coordinator --executor claude --model sonnet
- 2026-04-27T16:15:39.262805134+00:00 Starting implementation of TUI open-chat features: '+' button on tab bar and click '.chat-N' node in graph viewer
- 2026-04-27T16:21:45.169770568+00:00 Code audit complete: '+' button already implemented in render/event. Need to: 1) Fix sync_coordinator_from_selection for .chat-N in state.rs, 2) Add Enter key + click handling for .chat-N in event.rs, 3) Write tests
- 2026-04-27T16:29:56.677877047+00:00 Code changes complete, building...
- 2026-04-27T16:41:17.839152129+00:00 All 6 new tests pass, all 590 TUI tests pass, installing binary...
- 2026-04-27T16:48:00.791483853+00:00 Committed c722230a8 and pushed to remote
- 2026-04-27T16:48:29.575933150+00:00 Validation: all 6 unit tests pass (plus-button, chat-node click, non-chat-node, already-active, enter-key variants). cargo build + cargo test pass. Live-smoke skipped (no running TUI service in agent env). Pre-existing provenance test failure unrelated to this change.
- 2026-04-27T16:48:47.049661013+00:00 Task pending eval (agent reported done; awaiting `.evaluate-*` to score)
- 2026-04-27T16:51:28.256502078+00:00 PendingEval → Done (evaluator passed; downstream unblocks)