hyperhive/hive-c0re/src
müde 63e8a98df2 meta: stage before lock, single commit per change
git+file://'s dirty-tree fetcher reads tracked + staged content
from the index (not the working tree, not untracked files). so
staging is enough to make a new flake.nix or flake.lock visible
to nix without committing first. sync_agents now stages flake
.nix, runs lock, stages the resulting flake.lock, then commits
both together in a single 'regenerate meta flake' (or 'seed
meta from N agents') commit — no more two-commit churn.

prepare_deploy applies the same trick to the two-phase deploy:
runs nix flake update, stages flake.lock so nixos-container
update sees it, doesn't commit yet. finalize_deploy commits
with the deployed/<id> message on build success; abort_deploy
git-restores the staged lock back to HEAD on failure. meta
history continues to record only successful deploys (and now
one commit per success instead of one + amend).
2026-05-16 01:02:47 +02:00
..
actions.rs actions::run_apply_commit through meta two-phase 2026-05-16 00:32:16 +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 dashboard: diff against applied/proposal/<id>, prefer fetched_sha 2026-05-15 23:18:17 +02:00
auto_update.rs auto_update: bump meta hyperhive input before per-agent rebuilds 2026-05-16 00:32:55 +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 dashboard: deployed sha chip per container 2026-05-16 00:36:52 +02:00
events_vacuum.rs events.sqlite vacuum moves host-side 2026-05-15 20:10:34 +02:00
lifecycle.rs final docs + cleanup sync for meta-flake era 2026-05-16 00:40:06 +02:00
main.rs startup auto-migration from pre-meta layout 2026-05-16 00:34:58 +02:00
manager_server.rs manager_server: fetch+tag at request_apply_commit submit 2026-05-15 22:57:43 +02:00
meta.rs meta: stage before lock, single commit per change 2026-05-16 01:02:47 +02:00
migrate.rs startup auto-migration from pre-meta layout 2026-05-16 00:34:58 +02:00
operator_questions.rs ask_operator: ttl_seconds auto-cancel + remaining-time chip 2026-05-15 20:38:02 +02:00
server.rs actions: deny plants annotated denied/<id> tag 2026-05-15 23:01:22 +02:00