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 fae9398295 start the forge and github pollers when their token lands late
Both pollers wait about ten minutes for the agent's token, then exit 0.
Under Restart=on-failure that exit is final, and nothing started them
again, so a token minted or placed after the window left the agent
without notifications until its container restarted.

Add a path unit per poller with PathChanged on the token file(s) the
poller reads, the shape forge-avatar-sync already uses. A path unit
starts its service only when it is not running, so a poller that found
its token is untouched. The github path unit is gated on
github.enable like its service.

Container-side: it ships with the agent's next rebuild, and an agent on
an older rev keeps the old behaviour.

Closes #6179
2026-11-07 08:40:05 +01:00
..
agent-service.nix docs: per-agent options page picks services.hyperhive.agent, and fails the eval if it goes empty 2026-11-06 20:58:13 +01:00
backend-env.nix state the heal_own_dir cause in the backend env comments 2026-10-28 02:22:55 +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 docs: the trust-boundary pages keep the operator guidance, the mechanism moves to implementation 2026-11-06 19:45:11 +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 start the forge and github pollers when their token lands late 2026-11-07 08:40:05 +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 hive-github-notify: pick up a rotated PAT without a restart 2026-10-13 08:07:47 +02:00
github.nix start the forge and github pollers when their token lands late 2026-11-07 08:40:05 +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: sort the top-level directories into five sections by what the reader wants 2026-11-06 18:46:57 +01:00
mcp.nix docs: sort the top-level directories into five sections by what the reader wants 2026-11-06 18:46:57 +01: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 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 merge the self-scrape into each collector's settings instead of defining them twice 2026-10-28 23:02: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
user.nix docs: the trust-boundary pages keep the operator guidance, the mechanism moves to implementation 2026-11-06 19:45:11 +01:00
weston-vnc.nix docs: sort the top-level directories into five sections by what the reader wants 2026-11-06 18:46:57 +01:00