Skip to content

Graduated attention levels (🔴 urgent / 🟡 warning / 🟢 info) #195

@maxbeizer

Description

@maxbeizer

Goal

Implement graduated attention levels (🔴 urgent / 🟡 warning / 🟢 info) replacing the current binary SessionNeedsAttention() logic.

Scope

Acceptance Criteria

  • AttentionLevel enum: Urgent (failed, needs-input), Warning (running but idle >2h, queued >30min), Info (completed with notes), None
  • New SessionAttentionLevel(s Session) AttentionLevel function in internal/data/session.go
  • Existing SessionNeedsAttention() preserved as convenience wrapper (level == Urgent)
  • Filter tab and header badge count updated to use graduated levels
  • Mission dashboard shows graduated colors/icons
  • Task detail attention banner shows level-appropriate styling
  • Unit tests for all attention level derivations
  • Extensible design so Investigate finer-grained session status: running vs awaiting-user #121 awaiting-user status slots in as Urgent when available

Dependencies

Validation

Run go test ./internal/data/... ./internal/tui/... — all pass. Visual inspection of attention indicators across views.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions