atlas
89a5d65119
agents: persistent /agents/<n>/work dir outside state/
...
Agents keep git worktrees and cargo target dirs under /home/<agent>,
which lives in the container rootfs and is deleted on destroy. They
can't move them under state/, because a claude started there walks up
into state/CLAUDE.md and takes on the agent's identity.
Add a per-agent work/ dir next to state/ on the host
(/var/lib/hyperhive/agents/<n>/work), bind-mounted RW at
/agents/<n>/work. hive-c0re creates it in ensure_state_dir and in
set_nspawn_flags (the rebuild path reaches only the latter), the
agent's activation chowns it to the agent user like state/ and
harness/, and measure_agent_disk counts it. destroy never touches the
agent root, so work/ survives it; purge removes the whole root, so
work/ goes with it.
Closes #4977
2026-10-05 12:56:02 +02:00
..
agent-forge-bao.nix
forge: external forge accounts live in swarm bao; the agent fetches them itself
2026-10-01 18:05:33 +02:00
agent-github-bao.nix
github swarm bao: address argus review on #4892
2026-10-02 17:54:45 +02:00
agent-icon.nix
nix: split module-eval into per-subsystem checks
2026-09-20 04:25:54 +02:00
agent-matrix.nix
nix: comments state current behaviour, not history
2026-10-05 09:58:50 +02:00
agent-memory.nix
nix: split module-eval into per-subsystem checks
2026-09-20 04:25:54 +02:00
agent-otel.nix
module-eval: assert the severity table once, not once per tier
2026-09-20 14:23:56 +02:00
agent-plugins.nix
nix: split module-eval into per-subsystem checks
2026-09-20 04:25:54 +02:00
agent-queue-bao.nix
hive-agent: the swarm queue connection is required; retry, then exit
2026-10-04 22:24:51 +02:00
agent-runtime.nix
module-eval: pin a claude agent's subagent store identity
2026-10-03 01:34:01 +02:00
agent-user.nix
agents: persistent /agents/<n>/work dir outside state/
2026-10-05 12:56:02 +02:00
bao-basics.nix
matrix: drop the per-hive appservice and its unused token
2026-10-05 07:48:17 +02:00
bao-controller.nix
swarm-controller: revoke matrix admin from former operators
2026-10-05 12:39:02 +02:00
bao-grants.nix
module-eval: set the hive-controller option only in tests that need a hive
2026-10-05 09:58:13 +02:00
bao-matrix-reader.nix
module-eval: set the hive-controller option only in tests that need a hive
2026-10-05 09:58:13 +02:00
bao-otel-collector.nix
nix: finish the current-behaviour comment sweep in touched files
2026-10-05 09:58:57 +02:00
core-toggle.nix
module-eval: set the hive-controller option only in tests that need a hive
2026-10-05 09:58:13 +02:00
forge-placement.nix
nix: comments state current behaviour, not history
2026-10-05 09:58:50 +02:00
grafana.nix
nix: comments state current behaviour, not history
2026-10-05 09:58:50 +02:00
hive-otel.nix
swarm-bao: give the store's collector an explicit self-telemetry port
2026-09-23 18:04:33 +02:00
hive-tls.nix
module-eval: set the hive-controller option only in tests that need a hive
2026-10-05 09:58:13 +02:00
journald-severity.nix
module-eval: assert the severity table once, not once per tier
2026-09-20 14:23:56 +02:00
lib.nix
module-eval: set the hive-controller option only in tests that need a hive
2026-10-05 09:58:13 +02:00
matrix-core.nix
module-eval: set the hive-controller option only in tests that need a hive
2026-10-05 09:58:13 +02:00
name-guards.nix
nix: finish the current-behaviour comment sweep in touched files
2026-10-05 09:58:57 +02:00
nats-authelia.nix
nix: finish the current-behaviour comment sweep in touched files
2026-10-05 09:58:57 +02:00
nats-tls.nix
module-eval: set the hive-controller option only in tests that need a hive
2026-10-05 09:58:13 +02:00
secret-publisher.nix
nix: comments state current behaviour, not history
2026-10-05 09:58:50 +02:00
swarm-otel-core.nix
nix: comments state current behaviour, not history
2026-10-05 09:58:50 +02:00
swarm-otel-identity.nix
swarm-bao: refuse a remote reader that named seven of the eight leaves
2026-09-23 10:11:42 +02:00
swarm-services-switch.nix
module-eval: set the hive-controller option only in tests that need a hive
2026-10-05 09:58:13 +02:00