Metadata
| Status | done |
|---|---|
| Assigned | agent-744 |
| Agent identity | f51439356729d112a6c404803d88015d5b44832c6c584c62b96732b63c2b0c7e |
| Model | claude:sonnet |
| Created | 2026-04-27T16:01:17.769036780+00:00 |
| Started | 2026-04-27T16:15:32.125229516+00:00 |
| Completed | 2026-04-27T16:43:50.501659043+00:00 |
| Tags | tui,chat-redesign,naming, eval-scheduled |
Description
Description
Sweep remaining user-visible 'coordinator' strings to 'chat' wherever it refers to the chat-agent role-noun (NOT the activity 'coordination', which is fine per CLAUDE.md).
Targets identified by research-tui-chat:
- New chat ids: must be '.chat-N', not '.coordinator-N'
- TUI display strings, tab labels, status lines, dialog titles
- Display names like 'wg-workgraph-coordinator-3' → 'wg-workgraph-chat-3'
- On-disk paths if research finds any (e.g. .workgraph/chat/coordinator-N/)
Run 'wg migrate chat-rename' if research finds graph data still using old ids. If gaps exist in the migration itself, fix the migration (or add a follow-up migration step) so it covers all current sources.
CRITICAL: the legacy aliases on CLI flags / config keys / IPC commands stay (per CLAUDE.md deprecation policy). Only user-visible strings + new chat creation ids need to change.
Validation
- Failing test first: creating a new chat produces id '.chat-N', never '.coordinator-N'
- grep -r 'coordinator-' src/tui/ returns no user-visible string matches (only legacy alias / migration code)
- Display name format is 'wg--chat-N' for new chats
- Existing graphs with '.coordinator-N' tasks still work (deprecation aliases honored) — verify via test
- 'wg migrate chat-rename' on a sample graph with legacy ids produces a clean rename
- cargo build + cargo test pass
- Live-smoke: launch TUI, create a chat, observe display name + tab label both say 'chat' not 'coordinator'
Depends on
Required by
- (none)
Log
- 2026-04-27T16:01:17.764540314+00:00 Task paused
- 2026-04-27T16:02:34.327254561+00:00 Task published
- 2026-04-27T16:04:30.835793907+00:00 Lightweight assignment: agent=Careful Programmer (f5143935), exec_mode=full, context_scope=task, reason=Careful Programmer has proven track record (111 tasks, 0.72 score) and Careful tradeoff matches this correctness-critical refactoring requiring test-first development, backward-compatibility verification, and thorough live-smoke validation across TUI and chat ID generation.
- 2026-04-27T16:15:32.125233824+00:00 Spawned by coordinator --executor claude --model sonnet
- 2026-04-27T16:15:44.258554696+00:00 Starting implementation: sweep coordinator→chat user-visible strings
- 2026-04-27T16:25:20.004429229+00:00 Audit complete. Changes needed: register_coordinator_session (chat-N canonical alias), TUI state.rs (chat_ref), TUI render.rs (display strings), nex.rs, chat_compactor.rs, quickstart.rs
- 2026-04-27T16:41:31.769506039+00:00 cargo install running in background; verifying final grep checks and migration
- 2026-04-27T16:43:00.135755597+00:00 Committed 9f91c83d3 and pushed. All 2026 unit tests pass.
- 2026-04-27T16:43:15.805530200+00:00 Validated: 1. register_creates_chat_n_alias_as_canonical test passes (NEW test) 2. grep -r 'coordinator-' src/tui/ shows only legacy/backward-compat/test code, no user-visible runtime strings 3. Display name: chat_ref='chat-{n}' → session_name='wg-project-chat-N' ✓ 4. New chats use .chat-N (create_chat_in_graph unchanged, tests verify) 5. Existing coordinator-N aliases kept (register_coordinator_session adds all three) 6. wg migrate chat-rename tests pass (4 tests) 7. cargo build + cargo test --lib: 2026 passed, 0 failed
- 2026-04-27T16:43:50.501672308+00:00 Task pending eval (agent reported done; awaiting `.evaluate-*` to score)
- 2026-04-27T16:45:48.364809677+00:00 PendingEval → Done (evaluator passed; downstream unblocks)