hyperhive/nix
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 1f602d5fda hive-c0re: back agent state dirs with btrfs subvolumes
Progressive enhancement: a brand-new agent's state root under
/var/lib/hyperhive/agents is created as a btrfs subvolume when the host
filesystem is btrfs, otherwise it falls back to a plain directory. No
existing agent is auto-migrated — the new path only fires when the root
does not yet exist, so plain-dir agents are left untouched until an
explicit opt-in upgrade.

Two new privileged ops (subvolume create/delete are root-only):
EnsureAgentSubvolume statfs-gates on btrfs, creates the subvolume, and
chowns it to the hive-core user so the normal state/claude/harness
mkdirs succeed inside it; DeleteAgentSubvolume btrfs-subvolume-deletes
the root iff it is actually a subvolume. hive-c0re calls Ensure before
the per-agent dirs are created (spawn/rebuild/InitConfig) and Delete on
the purge path only — destroy keeps the subvolume for revival, matching
plain-dir semantics. btrfs-progs added to the hive-priv unit PATH.

Per-subvolume usage accounting + optional quota is a separate
follow-up.
2026-06-19 13:46:39 +02:00
..
docs refactor(gateway): make the gateway unconditional — remove gateway.enable 2026-06-09 00:11:10 +02:00
forge-theme forge: use branding/hyperhive.svg for logo and favicon 2026-05-21 17:50:46 +02:00
modules hive-c0re: back agent state dirs with btrfs subvolumes 2026-06-19 13:46:39 +02:00
packages docs: drop stale hive-m1nd references (single hive binary) 2026-06-10 19:52:19 +02:00
templates hive-bash-mcp: run tasks under bash instead of sh 2026-06-19 02:06:13 +02:00
assets.nix docs/gotchas.md: extract nix/{assets,docs,templates/weston-vnc} prose (#718 batch 3) 2026-05-31 15:24:39 +02:00
frontend.nix refactor(frontend): move ST4TS to its own /stats.html page (#1464 step 2) 2026-06-09 00:11:43 +02:00