docs: ContainerCrash mentions recent-transient grace (#124 followup to #425)

This commit is contained in:
damocles 2026-05-27 19:05:32 +02:00 committed by Mara
commit 0460bbe9ec
2 changed files with 9 additions and 3 deletions

View file

@ -418,8 +418,12 @@ regular claude turn so the manager can react. Variants
- `Destroyed { agent }``actions::destroy`.
- `ContainerCrash { agent, note }``crash_watch`: a previously-
running container went away with no operator-initiated transient
state (Stopping / Restarting / Destroying / Rebuilding). Manager
can `start` it again or escalate.
state (Stopping / Restarting / Destroying / Rebuilding) AND no
such transient was cleared in the last 30s (`RECENT_TRANSIENT_GRACE`
tombstone, three `POLL_INTERVAL`s — closes the race where a
lifecycle op finishes between two crash-watch polls and the
container shows briefly as "stopped without transient" before the
next start, #425). Manager can `start` it again or escalate.
- `NeedsLogin { agent }` — sub-agent has no claude session yet.
Manager can't act directly (interactive OAuth); typically flags
the operator.