feat(tui): glasspane attention tiers 1-4 — bar, jump, filter, row highlight #191
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/glasspane-attention-tiers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Attention system for
colibri-tui— makes "does this agent need me right now?" impossible to miss. All changes in a single file (crates/colibri-glasspane-tui/src/main.rs, +340/-25).needs_attention()— single source of truthBlocked is included because the glasspane doc comments say Blocked = "operator attention needed" (queue_update / pending steering / approval).
Tier 1 — Attention bar (replaces header)
Red-bordered panel with
⚠ ATTENTION (N)title. Replaces the normal header when any pane needs attention — same 3-line footprint, no extra space consumed. Shows pane id, reason (Error/Blocked/Stalled), and agent name.Tier 2 — Jump keys (
n/N)n= next attention pane,N= previous (wrapping). Respects session scope viafiltered_panes(). Detail pane follows the jump.Tier 3 — Attention filter (
akey)Toggles
attention_only: bool. Composes with session filter (AND) infiltered_panes().Tier 4 — Row highlight (invert on selection)
bg(Red) + fg(White)bg(DarkGray) + fg(LightRed) + boldbg(DarkGray)(current)Per-row styling handled manually;
row_highlight_styleset to default.Test coverage
14 TUI tests (was 10). Added:
needs_attention_detects_error_blocked_and_stalledattention_bar_renders_when_panes_need_attentionattention_filter_hides_healthy_panesattention_bar_does_not_render_when_all_healthyGate
cargo fmt --check— cleancargo clippy --workspace --all-targets -- -D warnings— 0 warningscargo test --workspace— all passDesign doc: PR #189 (
docs/GLASSPANE-TUI-ENHANCEMENTS.md)(Sam & Claude)
2f9b088395to22c16b811c2d37132d55toc858cde01c