Metadata
| Status | done |
|---|---|
| Assigned | agent-743 |
| Agent identity | f51439356729d112a6c404803d88015d5b44832c6c584c62b96732b63c2b0c7e |
| Model | claude:sonnet |
| Created | 2026-04-27T16:01:48.090421670+00:00 |
| Started | 2026-04-27T16:15:31.424042133+00:00 |
| Completed | 2026-04-27T16:40:25.586723274+00:00 |
| Tags | tui,chat-redesign,visual, eval-scheduled |
Description
Description
In the TUI, '.chat-' tasks are first-class chat agents. '.coordinator-' tasks are legacy/deprecated and should look visually distinct so users (and we) can tell them apart at a glance during the deprecation window.
Apply different visual treatment in:
- Tab labels (tab bar)
- Graph viewer node rendering
- Task list / status views
- Anywhere a chat task id is rendered
Suggested treatment (adjust based on existing palette):
- '.chat-*' → primary/accent color, full opacity, bold-ish
- '.coordinator-*' → muted/dim color (grey or desaturated), maybe with a 'legacy' marker or strikethrough
The styling should be minimal — a single style helper that maps task-id-prefix → style — not a sprinkle of conditionals across the rendering code.
Validation
- Failing test first: a tab/node rendered for '.coordinator-N' has a different style than one for '.chat-N' (assert via style attrs in unit test)
- Style helper is a single function/lookup, not duplicated logic
-
Live-smoke: open a graph containing both '.coordinator-3' and '.chat-1', visually verify they look different in:
- tab bar (if both happen to be open as tabs)
- graph viewer
- status/list views
- cargo build + cargo test pass
Depends on
Required by
- (none)
Log
- 2026-04-27T16:01:48.076686993+00:00 Task paused
- 2026-04-27T16:02:34.351811716+00:00 Task published
- 2026-04-27T16:15:31.424045980+00:00 Spawned by coordinator --executor claude --model sonnet
- 2026-04-27T16:15:42.261490731+00:00 Starting implementation: TUI visual treatment for .chat-* vs .coordinator-* tasks
- 2026-04-27T16:19:42.674169329+00:00 Plan: (1) Add is_legacy_coordinator_id to chat_id.rs, (2) Add chat_task_label_color helper to chat_palette.rs, (3) Update list_coordinator_ids_and_labels to use canonical IDs, (4) Update tab bar to use muted style for legacy tabs, (5) Update graph viz (ascii.rs, graph.rs) to differentiate colors, (6) Fix coordinator_lines highlight in render.rs to catch .chat-* too, (7) Write unit tests
- 2026-04-27T16:39:15.271519542+00:00 All tests pass (2937 pass, 1 pre-existing failure in provenance test unrelated to TUI). Installing updated binary.
- 2026-04-27T16:39:50.420113179+00:00 Committed: 1b76a2d43 — pushed to remote
- 2026-04-27T16:40:08.432771287+00:00 Validated: all criteria met — style helper is single function (chat_task_label_color), 7 new unit tests pass asserting .coordinator-N has different style than .chat-N, cargo build + cargo test pass (2937 pass, 1 pre-existing unrelated failure)
- 2026-04-27T16:40:25.586735927+00:00 Task pending eval (agent reported done; awaiting `.evaluate-*` to score)
- 2026-04-27T16:40:48.214300401+00:00 PendingEval → Done (evaluator passed; downstream unblocks)