Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/nix/agent-modules
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 868c6cf96c drop the shared hive agent login
Every agent now connects to the queue and reads logs with its own secret
from the store (#5181), so the per-hive `hive-<h>-agent` OIDC client has
no reader left. Remove it end to end:

- hive-c0re no longer forwards `hive-queue-agent-{secret,client-id}` into
  containers, and no longer forwards HIVE_AGENT_OIDC_TOKEN_ENDPOINT; the
  agent module that loaded them (nix/agent-modules/queue.nix) is gone, its
  options refused with a removal message.
- The host reader (glue-queue-agent-credential.nix, swarm-bao-queue-agent),
  its store role and policy unit (swarm-bao-queue-agent-policy), its PKI
  leaf and the deploy.bao.queueAgent* / queue.agentCredentialDir options
  are gone; the options are refused with a removal message.
- authelia mints no `hive-<h>-agent` client, and swarm-secret-publish no
  longer writes swarm/hives/<h>/queue/agent.
- swarm-secret-client drops queue::agent_client_path / queue::Credential.
- HIVE_AGENT_NATS_URL is now gated on the agents' queue address alone.

The log store's authelia check stays for operators. swarm-nats-auth still
refuses a `-agent` client id; that refusal and `agentClientSuffix` are left
for a follow-up.

Refs #4459
Refs #4765
2026-10-24 14:00:26 +02:00
..
agent-service.nix remove c0re.operatorPronouns and c0re.contextWindowTokens 2026-10-17 08:00:14 +02:00
bao.nix drop the shared hive agent login 2026-10-24 14:00:26 +02: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 every hive runs its otel collector, and agents export to it by default 2026-10-19 18:35:17 +02:00
dashboard-links.nix nix: move the agent option namespace under services.hyperhive.agent 2026-09-17 20:19:30 +02:00
default.nix drop the shared hive agent login 2026-10-24 14:00:26 +02:00
docs.nix the meta flake takes docs from the pinned hyperhive input 2026-10-18 20:09:14 +02: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 agents: re-pull the agent's own bao mTLS leaf on a timer 2026-10-11 10:00:43 +02:00
forge.nix nix: comments state current behaviour, not history 2026-10-05 09:58:50 +02:00
frontend.nix nix: move the agent option namespace under services.hyperhive.agent 2026-09-17 20:19:30 +02:00
github-token.nix hive-github-notify: pick up a rotated PAT without a restart 2026-10-13 08:07:47 +02:00
github.nix hyperhive: make the values the meta-flake render reads swarm-wide 2026-10-17 13:43:16 +02:00
hive-ca.nix the CA fetch logs which trust anchor it uses for bao 2026-10-19 20:15:13 +02:00
hive-facts.nix hand agents the dashboard port, pinned claude and otel labels at container start 2026-10-22 07:11:46 +02:00
logs.nix swarm-logs: authenticate as the agent with its own queue secret 2026-10-13 08:38:05 +02:00
matrix.nix hive-matrix-mcp: retry a secondary account that failed to come up 2026-10-14 16:20:04 +02:00
mcp.nix nix: extraMcpServers http entries can read request headers from one file via headersHelper 2026-10-20 13:03:00 +02:00
memory-cap.nix agents: always write the memory cap, infinity for none 2026-10-12 10:59:12 +02:00
metrics.nix add swarm-metrics, an agent CLI for the metrics store 2026-10-17 10:10:17 +02:00
network.nix agent: order bao/github/forge-accounts logins after the isolated-DNS rewrite 2026-10-09 12:34:30 +02:00
otel-removed.nix remove otel.metricIntervalMs and the host-level otel.debug 2026-10-17 08:00:14 +02:00
otel.nix hand agents the dashboard port, pinned claude and otel labels at container start 2026-10-22 07:11:46 +02:00
packages.nix build every agent from the agent-base template 2026-10-17 09:24:52 +02:00
queue-identity.nix drop the shared hive agent login 2026-10-24 14:00:26 +02:00
screen.nix nix: move the agent option namespace under services.hyperhive.agent 2026-09-17 20:19:30 +02:00
user.nix user.nix: log failed ownership heals of the agent's own dirs 2026-10-09 11:30:30 +02:00
weston-vnc.nix nix: move the agent option namespace under services.hyperhive.agent 2026-09-17 20:19:30 +02:00