Claude Code status line missed waiting sessions — reading last log event fixed it
ChemicalExcellent463 · reddit · 2026-12-07
The author runs multiple Claude Code and Codex sessions in parallel with a custom status line counting sessions that need attention. To keep it fast, logs unchanged for 15 minutes were skipped — but a session waiting on a question, approval, or rate limit writes nothing, so it silently vanished from the count.
Fix: read just the last event from old logs to tell if a session is still waiting — 250ms for 2,626 files vs 650ms reading them in full.
Open question: how to get notified when a session has waited 20+ minutes without being pinged on every routine update (author discloses he builds Sno Station).
More from coding & agent
- Gemini preview API now preserves prompt cache when instructions or tools change mid-session — petrusenko_max · 2026-12-07
- ansi: an open-source agent runtime giving agents durable bash-native workspaces — remilouf · 2026-12-07
- MCPShield 1.1.1rc2 hardens MCP tool-definition integrity, refuses auto-approving description changes — kwasiaffi · 2026-12-07
- Ptah: open-source coding agent desktop app ships an MCP server with caveats up front — PretendMoment8073 · 2026-12-07
- Dev uses phone fingerprint scanner to authorize timed AI agent leases outside the sandbox — StewartalsopIII · 2026-12-07
- Sentry CEO sparks debate: Devin-style agents scale, custom TUI coding setups never will — zeeg · 2026-12-07