hyperhive/hive-c0re/src
müde c92108a11c lifecycle: fetch into checked-out main with --update-head-ok
setup_applied does `git init --initial-branch=main` then
`git fetch <proposed> main:refs/heads/main` to seed the
applied repo with proposed's initial commit. git's default
safeguard refuses to fetch into the currently-checked-out
branch, even though the working tree is empty (we just init'd).
add --update-head-ok to bypass — the read-tree-reset
immediately after fetches the right state, so the safeguard
the flag bypasses isn't relevant here anyway.

repro from the user: spawn of 'dmatrix' failed with
  fatal: refusing to fetch into branch 'refs/heads/main'
  checked out at '/var/lib/hyperhive/applied/dmatrix'
2026-05-16 02:58:34 +02:00
..
actions.rs operator pronouns: configurable free-text, threaded into prompts 2026-05-16 02:05:22 +02:00
agent_server.rs ask_operator: any agent can call it, answer routes by asker 2026-05-16 01:48:10 +02:00
approvals.rs dashboard: diff against applied/proposal/<id>, prefer fetched_sha 2026-05-15 23:18:17 +02:00
auto_update.rs operator pronouns: configurable free-text, threaded into prompts 2026-05-16 02:05:22 +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 operator pronouns: configurable free-text, threaded into prompts 2026-05-16 02:05:22 +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: terminal compose with @-mention sticky recipient 2026-05-16 01:55:00 +02:00
events_vacuum.rs events.sqlite vacuum moves host-side 2026-05-15 20:10:34 +02:00
lifecycle.rs lifecycle: fetch into checked-out main with --update-head-ok 2026-05-16 02:58:34 +02:00
main.rs operator pronouns: configurable free-text, threaded into prompts 2026-05-16 02:05:22 +02:00
manager_server.rs agent flake.nix: forward inputs as flakeInputs module arg 2026-05-16 02:23:43 +02:00
meta.rs meta: serialize all ops behind a tokio mutex + clear stale lock at startup 2026-05-16 02:44:39 +02:00
migrate.rs meta: serialize all ops behind a tokio mutex + clear stale lock at startup 2026-05-16 02:44:39 +02:00
operator_questions.rs ask_operator: any agent can call it, answer routes by asker 2026-05-16 01:48:10 +02:00
server.rs operator pronouns: configurable free-text, threaded into prompts 2026-05-16 02:05:22 +02:00