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
..
acp.rs
stop writing and attaching per-agent and per-hive bao policies
2026-10-27 10:11:02 +01:00
archive.rs
swarm-archive: grant only once an archive is up; keep logins across a gap in placements
2026-11-10 08:18:45 +01:00
attic.rs
copy the cache's pull facts to each hive and create them in the in-swarm cache
2026-10-28 01:19:56 +01:00
backend_env.rs
fetch the agent's backend env file from the store, seeded from the existing file
2026-10-28 01:24:29 +01:00
backend_secrets.rs
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
builder.rs
name the mint, not the publisher, as the writer of the client secrets
2026-10-30 16:57:58 +01:00
cert.rs
build the test certificate in code instead of committing one
2026-10-25 19:02:49 +01:00
cert_metrics.rs
build the test certificate in code instead of committing one
2026-10-25 19:02:49 +01:00
ci.rs
swarm-ci-runner: run the forge CI runner as a swarm service
2026-10-05 13:55:37 +02:00
ci_metrics.rs
name the mint, not the publisher, as the writer of the client secrets
2026-10-30 16:57:58 +01:00
claude_login.rs
derive a missing client digest from the secret that exists
2026-10-30 16:57:58 +01:00
client.rs
gate ssh signing per agent: ssh permission, signing policy on the login role, ca key endpoint
2026-11-16 20:31:18 +01:00
forge.rs
swarm-controller: stop minting the per-hive matrix sender account and token nothing reads
2026-11-12 15:38:34 +01:00
github.rs
stop writing and attaching per-agent and per-hive bao policies
2026-10-27 10:11:02 +01:00
gitlab.rs
add external gitlab accounts: stored in bao, linked per agent, allowed in squid, usable with glab
2026-11-02 16:44:56 +01:00
grafana.rs
swarm UI: an alerts page, read by the controller with a Viewer Grafana token from bao
2026-10-15 15:16:21 +02:00
health.rs
readiness follows a cached store check instead of a constant or a login per probe
2026-11-19 08:43:43 +01:00
lib.rs
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
matrix.rs
swarm-controller: stop minting the per-hive matrix sender account and token nothing reads
2026-11-12 15:38:34 +01:00
meter_provider.rs
swarm-notify-router: export event, todo, review request and consumer metrics
2026-11-05 01:31:23 +01:00
mtls.rs
stop writing and attaching per-agent and per-hive bao policies
2026-10-27 10:11:02 +01:00
observability.rs
responder checks the logs or metrics permission per surface
2026-11-01 18:40:35 +01:00
path.rs
drop the shared hive agent login
2026-10-24 14:00:26 +02:00
policy.rs
cut off hives that left the roster: forge token, team seat, token secret, login role
2026-11-17 06:48:05 +01:00
proxy.rs
render squid's unrestricted-users list from each agent's flag
2026-10-28 17:23:33 +01:00
queue.rs
name the mint, not the publisher, as the writer of the client secrets
2026-10-30 16:57:58 +01:00
review_classifier.rs
swarm-ui: set the review classifier's keys from the classifier settings
2026-11-11 19:01:01 +01:00
shutdown.rs
swarm-secret-client: add shutdown_signal, serve_bounded and InFlight
2026-11-18 09:45:21 +01:00
startup_read.rs
swarm daemons exit 0 when told to stop while still waiting for the store at startup
2026-11-19 08:06:36 +01:00
stored_secret.rs
name the mint, not the publisher, as the writer of the client secrets
2026-10-30 16:57:58 +01:00