docs: concrete attention system design for colibri-tui #189

Merged
clawdie merged 1 commit from docs/tui-attention-plan into main 2026-06-25 18:44:31 +02:00

1 commit

Author SHA1 Message Date
Sam & Claude
0ac07a864c docs: add concrete attention system design to TUI enhancements
Some checks failed
CI / rust (pull_request) Has been cancelled
CI / markdown (pull_request) Has been cancelled
CI / port (pull_request) Has been cancelled
CI / agent-jail-pkgs (pull_request) Has been cancelled
Resolved decisions from brainstorm (Sam & Claude):
- needs_attention = Error + Blocked + Stalled (free function on &Pane)
- Stall threshold stays at 4h (Stalled is rare/critical, not frequent)
- Attention bar replaces header when active (same 3-line footprint)
- Row highlight inverts on selection (red bg → bright red fg on DarkGray)
- Filter composes with session filter (AND), not replaces

Implementation plan: 4 tiers in main.rs (~100-120 lines added):
  T1: needs_attention() + attention bar (replaces header)
  T2: n/N jump keys
  T3: a key attention filter
  T4: per-row highlight (invert on selection)
  T5: answer-from-dashboard (separate PR)

Also documents pre-existing 'All sessions' unreachable bug.
2026-06-25 17:18:13 +02:00