hyperhive/hive-c0re/src
müde 58c3cd853b container crash watcher → HelperEvent::ContainerCrash
new hive_c0re::crash_watch task polls every 10s, builds the set of
currently-running containers, and on running→stopped transitions
checks the transient snapshot: if no Stopping / Restarting /
Destroying / Rebuilding flag is set, the container exited
unexpectedly and we fire HelperEvent::ContainerCrash into the
manager's inbox so it can react (typically: start it again).

first poll is a seeding pass — no events on harness startup. dbus
subscription would be lower-latency but polling is honest and
debuggable, and a 10s delay on crash detection is fine for our
scale.

manager prompt + approvals doc updated to advertise the new
event variant. todo drops the entry (and the journald-viewer
entry that already shipped).
2026-05-15 21:02:05 +02:00
..
actions.rs dashboard: spinners on in-flight lifecycle actions + cleaner row layout 2026-05-15 19:49:43 +02:00
agent_server.rs no nap tool — recv with long wait_seconds replaces it; max raised to 180s 2026-05-15 20:53:15 +02:00
approvals.rs phase 8 step 2: approval-gated spawn + dashboard spinner 2026-05-15 12:53:13 +02:00
auto_update.rs per-agent /state dir for durable notes; manager sees them via /agents 2026-05-15 18:00:08 +02:00
broker.rs agent page: inbox view of last 30 messages addressed to this agent 2026-05-15 20:32:19 +02:00
client.rs hive-c0re: admin socket server + client (stub dispatch) 2026-05-14 20:49:11 +02:00
coordinator.rs agents get a kickoff inbox message on start/restart/rebuild 2026-05-15 20:19:36 +02:00
crash_watch.rs container crash watcher → HelperEvent::ContainerCrash 2026-05-15 21:02:05 +02:00
dashboard.rs model: runtime override via /model slash; fixes for port + bind 2026-05-15 20:59:45 +02:00
events_vacuum.rs events.sqlite vacuum moves host-side 2026-05-15 20:10:34 +02:00
lifecycle.rs model: runtime override via /model slash; fixes for port + bind 2026-05-15 20:59:45 +02:00
main.rs container crash watcher → HelperEvent::ContainerCrash 2026-05-15 21:02:05 +02:00
manager_server.rs no nap tool — recv with long wait_seconds replaces it; max raised to 180s 2026-05-15 20:53:15 +02:00
operator_questions.rs ask_operator: ttl_seconds auto-cancel + remaining-time chip 2026-05-15 20:38:02 +02:00
server.rs destroy --purge: also wipe agent state dirs 2026-05-15 19:29:14 +02:00