Repository navigation
Description
Surface live Copilot CLI session state in the notch — the reason this fork exists.
The problem: running several agents at once, the expensive failure is an agent sitting blocked on an approval prompt while you look at a different window. That is exactly what a glanceable always-on surface is for.
Prior art
serrrfirat/boring.notch.claude (also open upstream as PR TheBoredTeam#970) did this for Claude Code: tails ~/.claude/projects/*.jsonl via kqueue, renders per-session dots, and flags "needs permission" even with the notch closed. It is a working proof the idea lands — and a warning: 1,162 lines in one manager, 25 stray print() calls, four polling timers, and abandoned after 8 months of parsing an undocumented format.
Do differently
- Verify the data source first. Confirm what Copilot CLI writes to
~/.copilot/session-state/and whether "awaiting approval" is actually derivable. Spike before designing. - Keep parsing, state, and presentation in separate types — the parser must be unit-testable without the notch.
- Treat the on-disk format as unstable: fail soft to "unknown", never crash, never spam logs.
- Prefer file-system events over polling.
Acceptance criteria
- Closed notch indicates when any session needs input
- Open notch lists sessions with per-session state
- Parsing layer has unit tests against fixture files
- Malformed or future-version input degrades gracefully — covered by a test
- Feature is behind a
Defaultstoggle, off by default - No busy-polling; measured idle CPU is negligible
Notes
Fork-local. Upstream's two comparable agent PRs (+4.5k and +8.7k lines) are both conflicting and unreviewed — this is not a good upstream contribution.
Current backlog classification
Priority: P1 (explicit user selection). Root: #13. Priorities describe order, not deletion approval.
Activity