hyperhive/hive-c0re/src
müde 315d4289c7 actions: tag-driven approve(ApplyCommit) flow
run_apply_commit walks the approval through the tag state
machine in applied: approved/<id> + building/<id> stamped
before the build, then git read-tree --reset to proposal/<id>
populates the working dir without moving HEAD. on rebuild
success deployed/<id> is planted and refs/heads/main fast-
forwards to the proposal. on failure failed/<id> is annotated
with the build error and the working tree resets back to main
so the agent stays evaluable. helper events Rebuilt +
ApprovalResolved both carry the terminal tag so the manager
can git-show the exact tree (and read the failure note from
an annotated tag) against its read-only applied.git mount.
finish_approval grows a terminal_tag param; spawn path passes
None. lifecycle::apply_commit deleted.
2026-05-15 23:00:01 +02:00
..
actions.rs actions: tag-driven approve(ApplyCommit) flow 2026-05-15 23:00:01 +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 approvals: persist fetched_sha alongside the queue 2026-05-15 22:49:04 +02:00
auto_update.rs wire types: add sha + tag to Approval and HelperEvent 2026-05-15 22:47:39 +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 manager: needs_login / logged_in / needs_update events + update tool 2026-05-15 21:42:13 +02:00
dashboard.rs surface agent-vs-agent port collisions (manager:8000 can't collide) 2026-05-15 22:08:19 +02:00
events_vacuum.rs events.sqlite vacuum moves host-side 2026-05-15 20:10:34 +02:00
lifecycle.rs actions: tag-driven approve(ApplyCommit) flow 2026-05-15 23:00:01 +02:00
main.rs container crash watcher → HelperEvent::ContainerCrash 2026-05-15 21:02:05 +02:00
manager_server.rs manager_server: fetch+tag at request_apply_commit submit 2026-05-15 22:57:43 +02:00
operator_questions.rs ask_operator: ttl_seconds auto-cancel + remaining-time chip 2026-05-15 20:38:02 +02:00
server.rs wire types: add sha + tag to Approval and HelperEvent 2026-05-15 22:47:39 +02:00