iris
33fdd5205e
swarm: an agent's backend secrets get a store leaf of their own, and its backend environment reads back
...
The credentials of an agent's backend (ANTHROPIC_API_KEY and the like) move to their own leaf, swarm/agents/<agent>/backend-secrets, written through new PUT, GET and DELETE routes on /api/hives/{hive}/agents/{agent}/backend-secrets. GET says only whether any are stored. The backend environment at backend-env now reads back as stored through GET on its route, so it holds configuration only.
The agent's hive-agent-backend-env unit now runs on every agent with a store, reads both leaves and writes the configuration and then the secrets into the one file the harness and the subagent daemon load, so a secret wins over a variable of the same name. It removes the file when the store holds neither. The harness counts an agent whose environment holds ANTHROPIC_API_KEY or ANTHROPIC_AUTH_TOKEN as API-billed, so it tries the key instead of waiting for a Claude login; a real 401 still sets needs-login. The controller's policy may delete the new leaf.
Tests: the secret-client path, the controller routes, the script test of the unit with a stub bao, the module-eval cases and the harness's mode check. Docs: the swarm UI routes, the credentials reference and the API-key provider page.
2026-11-20 20:36:33 +01:00
..
agent-service.nix
swarm: an agent's backend secrets get a store leaf of their own, and its backend environment reads back
2026-11-20 20:36:33 +01:00
backend-env.nix
swarm: an agent's backend secrets get a store leaf of their own, and its backend environment reads back
2026-11-20 20:36:33 +01:00
bao.nix
containers reach network-online only with a dhcp lease, and bao users wait for it
2026-11-01 11:06:41 +01:00
bash-env.nix
nix: move the agent option namespace under services.hyperhive.agent
2026-09-17 20:19:30 +02:00
claude-settings.nix
move the meta flake render into the hive-meta-flake crate
2026-10-24 21:13:24 +02:00
dashboard-links.nix
docs: sort the top-level directories into five sections by what the reader wants
2026-11-06 18:46:57 +01:00
default.nix
add an ssh ca to bao, agent ssh certificates and a target module
2026-11-16 20:31:18 +01:00
docs.nix
the meta flake takes docs from the pinned hyperhive input
2026-10-18 20:09:14 +02:00
egress-proxy.nix
send agent traffic through squid once its hive announces it
2026-10-28 17:24:34 +01:00
forge-accounts.nix
agents: re-pull the agent's own bao mTLS leaf on a timer
2026-10-11 10:00:43 +02:00
forge-token.nix
forge-token: exit 1 when the store read fails for any reason but "not there"
2026-11-06 09:19:33 +01:00
forge.nix
remove the swarm wireguard mesh; tombstone its options
2026-11-15 02:17:44 +01:00
frontend.nix
nix: move the agent option namespace under services.hyperhive.agent
2026-09-17 20:19:30 +02:00
github-token.nix
agents keep their github token in /run, fetched on every start, not in the state dir
2026-11-15 14:08:57 +01:00
github.nix
agents keep their github token in /run, fetched on every start, not in the state dir
2026-11-15 14:08:57 +01:00
gitlab-accounts.nix
add external gitlab accounts: stored in bao, linked per agent, allowed in squid, usable with glab
2026-11-02 16:44:56 +01:00
hive-ca.nix
agent trust bundle: retry the root fetch inside its start job so a dns blip at boot queues the harness instead of failing it
2026-11-01 13:35:01 +01:00
hive-facts.nix
send agent traffic through squid once its hive announces it
2026-10-28 17:24:34 +01:00
logs.nix
swarm-logs: authenticate as the agent with its own queue secret
2026-10-13 08:38:05 +02:00
matrix.nix
docs: persistence and config changes become one operator page
2026-11-11 01:50:35 +01:00
mcp.nix
swarm: an agent's backend secrets get a store leaf of their own, and its backend environment reads back
2026-11-20 20:36:33 +01:00
memory-cap.nix
memory-cap: keep the header comment under the block limit
2026-11-19 08:03:07 +01:00
metrics.nix
add swarm-metrics, an agent CLI for the metrics store
2026-10-17 10:10:17 +02:00
network.nix
add external gitlab accounts: stored in bao, linked per agent, allowed in squid, usable with glab
2026-11-02 16:44:56 +01:00
nix-builds.nix
move nixBuilds into its own agent module, and have the vm test's agent import it
2026-11-06 09:18:42 +01:00
otel-removed.nix
remove otel.metricIntervalMs and the host-level otel.debug
2026-10-17 08:00:14 +02:00
otel.nix
otel: collectors drop their own export-failure lines instead of shipping them
2026-11-15 01:20:18 +01:00
packages.nix
add rea agent module and reverse-engineer archetype
2026-10-27 11:33:04 +01:00
queue-identity.nix
drop the shared hive agent login
2026-10-24 14:00:26 +02:00
rea.nix
add rea agent module and reverse-engineer archetype
2026-10-27 11:33:04 +01:00
screen.nix
nix: move the agent option namespace under services.hyperhive.agent
2026-09-17 20:19:30 +02:00
ssh.nix
agent ssh connections: declare per agent, render into the agent's ssh config
2026-11-20 03:10:41 +01:00
user.nix
docs: persistence and config changes become one operator page
2026-11-11 01:50:35 +01:00
weston-vnc.nix
docs: the hive dashboard and agent page shrink to overviews
2026-11-11 01:50:55 +01:00