Found in #959 review. EventLogger fires on PostToolUse/Stop/UserPromptSubmit — there is NO periodic heartbeat, so a genuinely-alive orphan session inside one >30-min tool call (long build, sub-agent dispatch) emits zero events for the window and reapStuckRunningOrphans can cancel it at STUCK_RUNNING_TTL (30min). Bounded: non-terminal harm only (wrong tile state; no process kill; 7-day delete grace; late events still attach). Options: raise TTL, or add a periodic observed-session heartbeat (PreToolUse-anchored or timer), or reap only when the last event is a terminal-ish signal. Refs #952/#955.
Found in #959 review. EventLogger fires on PostToolUse/Stop/UserPromptSubmit — there is NO periodic heartbeat, so a genuinely-alive orphan session inside one >30-min tool call (long build, sub-agent dispatch) emits zero events for the window and
reapStuckRunningOrphanscan cancel it at STUCK_RUNNING_TTL (30min). Bounded: non-terminal harm only (wrong tile state; no process kill; 7-day delete grace; late events still attach). Options: raise TTL, or add a periodic observed-session heartbeat (PreToolUse-anchored or timer), or reap only when the last event is a terminal-ish signal. Refs #952/#955.