Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

docs(notch-hud): record the working watchdog + interrupted rule

enesbadcef2d7854
diff --git a/docs/notch-hud.md b/docs/notch-hud.md
index 42f938b69..c538942bb 100644
--- a/docs/notch-hud.md
+++ b/docs/notch-hud.md
@@ -59,6 +59,15 @@ Row shape sent to the HUD:
re-enable of the setting) resurrected old finished sessions as fresh green blobs. Only a live done
EDGE — a turn ending while the HUD is running — raises the highlight. A restored `needsYou` still
shows, because it genuinely still needs you.
+- **working watchdog**: a session leaves `working` only when something says so, and some exits say
+ nothing — Esc during a tool call, a killed CLI, a slept machine, a dropped SSH. So a `working`
+ node with no event for `WORKING_STALE_MS` (20 min, well past Claude's ~10 min Bash cap) stops
+ being displayed as working. DISPLAY-ONLY: nothing is mutated, so any later event restores the row
+ instantly; the 60 s sweep re-pushes so a row can age out with no event at all. An **interrupted**
+ done (`NodeStateChange.interrupted`, Esc) never lights the green highlight — nothing was
+ accomplished, so there is nothing to go and read (same rule as the notification path).
+- **dismiss** latches the RAW state, so the watchdog flipping a hidden row's display cannot count
+ as "it changed".
## Indicator + panel (hud renderer) — the DynamicNotch capsule