Skip to content

Surface Copilot CLI agent session status in the notch #5

Open

Description

@jdylanmc

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

  1. Closed notch indicates when any session needs input
  2. Open notch lists sessions with per-session state
  3. Parsing layer has unit tests against fixture files
  4. Malformed or future-version input degrades gracefully — covered by a test
  5. Feature is behind a Defaults toggle, off by default
  6. 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

  1. added
    fork-local
    agent-status
    priority:unranked
    area:agents
    on Sep 9, 2026
  2. added
    priority:P1
    and removed
    priority:unranked
    on Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-statusarea:agentsfork-localpriority:P1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions