This commit is contained in:
parent
dca62fda40
commit
0460bbe9ec
2 changed files with 9 additions and 3 deletions
|
|
@ -57,7 +57,9 @@ hive-c0re/ host daemon + CLI (one binary, subcommand-dispatched)
|
||||||
/state/hyperhive-events.sqlite
|
/state/hyperhive-events.sqlite
|
||||||
src/crash_watch.rs poll every 10s; fire HelperEvent::ContainerCrash
|
src/crash_watch.rs poll every 10s; fire HelperEvent::ContainerCrash
|
||||||
when a previously-running container disappears
|
when a previously-running container disappears
|
||||||
without an operator-initiated transient
|
without an operator-initiated transient (or a
|
||||||
|
RECENT_TRANSIENT_GRACE tombstone within the
|
||||||
|
last 30s, closes #425)
|
||||||
src/container_view.rs ContainerView struct + build_all helper;
|
src/container_view.rs ContainerView struct + build_all helper;
|
||||||
shared between dashboard.rs (cold-load via
|
shared between dashboard.rs (cold-load via
|
||||||
/api/state) and coordinator.rs's
|
/api/state) and coordinator.rs's
|
||||||
|
|
|
||||||
|
|
@ -418,8 +418,12 @@ regular claude turn so the manager can react. Variants
|
||||||
- `Destroyed { agent }` — `actions::destroy`.
|
- `Destroyed { agent }` — `actions::destroy`.
|
||||||
- `ContainerCrash { agent, note }` — `crash_watch`: a previously-
|
- `ContainerCrash { agent, note }` — `crash_watch`: a previously-
|
||||||
running container went away with no operator-initiated transient
|
running container went away with no operator-initiated transient
|
||||||
state (Stopping / Restarting / Destroying / Rebuilding). Manager
|
state (Stopping / Restarting / Destroying / Rebuilding) AND no
|
||||||
can `start` it again or escalate.
|
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.
|
- `NeedsLogin { agent }` — sub-agent has no claude session yet.
|
||||||
Manager can't act directly (interactive OAuth); typically flags
|
Manager can't act directly (interactive OAuth); typically flags
|
||||||
the operator.
|
the operator.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue