Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/nix
Author SHA1 Message Date
atlas
0370076463 semi-spread vm test: a controller journal entry with no message cannot crash the settle loop 2026-11-19 14:27:59 +01:00
atlas
9e04477ec7 squid vm test: derive the relay's source address from the agent's, and assert a no-lease source is refused, never forwarded 2026-11-19 14:05:02 +01:00
atlas
887ea26c56 swarm-nats: the units the responder requires uphold it
A start job of swarm-nats-auth that fails on a dependency (the server, or
the container's trust bundle, failing first) leaves the unit inactive
rather than failed, so Restart=always never applies. Its recovery was a
set of one-shot host kicks; when the last of them still found a
dependency down, the responder stayed dead and the queue refused every
client (nightly full-setup, runs 8058 and 7917).

upheldBy the units it requires: whichever comes up last starts it.
2026-11-19 12:26:13 +01:00
atlas
7c2f7443fb semi-spread: wait for the pushed repo, bound the settle, name swarm faults
The test created its agents 0.5 s after pushing hyperhive/hyperhive, while
the forge still read the repo as empty, so the create's update_meta failed
and the next try came on the controller's 10-minute round. It now waits for
the two forge reads update_meta makes.

settle_hive_agents waited 3600 s, the CI job's own limit, so a stall was
killed rather than reported. It now waits 1200 s and also stops on a swarm
fault: a build the builder did not push to the cache, or an update_meta or
build_meta failure no later round got past. Timeouts and faults dump the
swarm builder's journal from heavyduty too.

Refs #6627
2026-11-19 12:25:39 +01:00
atlas
70a8ef77a7 squid vm test: the web node's nginx serves its certificate with addSSL 2026-11-19 12:25:07 +01:00
atlas
891a1cd5b1 antispoof vm test: nft is on the host's PATH 2026-11-19 12:24:44 +01:00
atlas
29ca381114 images: slim OCI images of the swarm daemons from nix 2026-11-19 12:23:54 +01:00
atlas
c78d73ccd1 ephemeral-rootfs vm test: the drop-in runs the check from /run/hive-rootfs-check 2026-11-19 10:59:45 +01:00
maia
2eacb83b21 a removed hive's OIDC client secret is deleted with its other store credentials 2026-11-19 08:42:46 +01:00
maia
c7d37ca455 grant-bootstrap re-applies the granter and restarts failed policy units; setup treats a refused granting unit as not done 2026-11-19 08:17:02 +01:00
maia
ca734f8ea0 bash OOM order: the stale +1000/task (0) comments say 900 and 1000 2026-11-19 08:03:07 +01:00
maia
dfe8f9eac0 memory-cap: keep the header comment under the block limit 2026-11-19 08:03:07 +01:00
maia
77f33a23d8 bash tasks are the OOM killer's first victims: score 1000, subagent runs 900, MemoryHigh on the bash daemon 2026-11-19 08:03:07 +01:00
damocles
fc8ec13620 docs: drop the turn-stats sqlite section and stale mentions, point the grafana check at the daemon 2026-11-18 20:53:12 +01:00
maia
188dbcea8b swarm-victorialogs: own network namespace, gateway over a unix socket 2026-11-18 19:17:58 +01:00
maia
a3682a5e9a ship the cache's init units' journal from a host with no collector, with the cache's own client 2026-11-18 09:43:57 +01:00
atlas
e9e71a09ac bao-grants: allow the hive forge token delete in the hives metadata check 2026-11-17 06:48:05 +01:00
atlas
11fec06a50 cut off hives that left the roster: forge token, team seat, token secret, login role 2026-11-17 06:48:05 +01:00
iris
fe4d68c13f the harness no longer publishes the agent's icon; the controller is its only writer 2026-11-17 06:47:48 +01:00
maia
6b3e1f0fb2 revoking a linked Matrix account also deletes its key-backup passphrase; a plain unlink keeps it for a relink 2026-11-16 22:49:16 +01:00
atlas
a4420d80d5 run the ssh cert script test under bash 2026-11-16 20:31:18 +01:00
atlas
3d7541c0af sign ssh certificates on demand from ssh itself, warn before setup, say what to do when a host key changes 2026-11-16 20:31:18 +01:00
atlas
fc29fc89c0 shorten the controller grant comment 2026-11-16 20:31:18 +01:00
atlas
e621397252 swarm ui ssh row with target snippets, docs for the per-agent switch 2026-11-16 20:31:18 +01:00
atlas
624d5f24f8 agent ssh unit on every agent with a store, one ssh_config, controller reads the ca key 2026-11-16 20:31:18 +01:00
atlas
aeb9317ad1 correct the ssh revocation docs and say the sign permission is shared 2026-11-16 20:31:18 +01:00
atlas
0afb111862 add an ssh ca to bao, agent ssh certificates and a target module 2026-11-16 20:31:18 +01:00
iris
d9323ff158 the movie's logo is rendered at 96 px 2026-11-16 20:12:03 +01:00
iris
6ed714a0a7 remove the agent's stats page and its endpoint 2026-11-16 19:00:52 +01:00
atlas
299b922039 disable a destroyed agent's identity entity and delete its login role 2026-11-16 17:09:08 +01:00
iris
49ee678117 name what is true in three more comments, and test the old event log's removal 2026-11-16 08:06:47 +01:00
iris
6289b8d64b remove the agent's live terminal page and the endpoints only it used 2026-11-16 08:06:47 +01:00
iris
b239500f88 swarm: an agent's open todos, mirrored to the queue and served by the controller 2026-11-16 01:21:52 +01:00
iris
8f11a38d17 swarm: the commands and skills an agent's message box offers
GET /api/agents/{name}/commands answers with the swarm's own commands, a table
in the controller, then the skills the agent's harness published to its key of
the agent-commands bucket. The published part is untrusted and cut down: plain
names only, no repeats, never a command's name, a capped list and one short line
per description. The agent credential may publish its own key. Nothing publishes
yet; the harness half and the swarm UI menu follow.
2026-11-15 20:05:54 +01:00
iris
1779fa0568 swarm: the contract for an agent's bash task status and output
A status key per task in the bash-task-status bucket and the task's output rows
in a per-agent stream, kept apart as for subagents. The controller creates the
bucket and the streams, and the agent credential may publish its own keys and
subjects. Nothing publishes yet; the bash MCP half follows.
2026-11-15 18:22:16 +01:00
atlas
ca51bb9d54 hive-priv: write a configured stable exe path into unit drop-ins
HIVE_PRIV_EXE, set by the module to the /run/hive-rootfs-check link, is
checked at start and used for the drop-in's ExecStartPre. Without it the
running binary's path is used as before, and an unlinked one gets an
error that names the cause.
2026-11-15 17:31:03 +01:00
iris
91cf4d2ae1 icons for the swarm's own forge accounts, and a default agent icon
The builder, ci-metrics and review-classifier forge accounts get an avatar: an
icon each in a hexagonal frame, the hyperhive logo when one is missing. The
controller sets them with a short-lived write:user token it mints for the
account, since only an account can set its own avatar.

An agent with no icon of its own shows a default agent icon in the swarm UI, a
robot head in a round frame, instead of the dimmed hyperhive mark.
2026-11-15 17:14:16 +01:00
iris
c7d7f0df55 swarm: subagent-status KV bucket, the run state of each subagent
One key per subagent (<agent>.<subagent>) holding running/finished, since,
exit, model, effort and the publish time. The controller creates the bucket,
and the agent credential may publish its own keys. Nothing reads or writes
it yet; the daemon publisher and the controller list follow.
2026-11-15 15:36:12 +01:00
atlas
4bd02ea14d agents keep their github token in /run, fetched on every start, not in the state dir 2026-11-15 14:08:57 +01:00
atlas
adc61c9043 remove the swarm wireguard mesh; tombstone its options 2026-11-15 02:17:44 +01:00
atlas
fbfc6f392a egress anti-spoof: the vm test pins drop under the new option path 2026-11-15 01:43:50 +01:00
atlas
2325ae6a50 egress anti-spoof: the legacy-name case pins drop, the non-default 2026-11-15 01:43:50 +01:00
atlas
a812e4dd21 egress anti-spoof: the vm test names drop as explicit, and the log default waits for the stale-delete lines 2026-11-15 01:43:50 +01:00
atlas
bbe6f11cb9 egress anti-spoof: the drop description no longer says a leased container is never affected 2026-11-15 01:43:50 +01:00
atlas
b8098686c4 egress anti-spoof: back to log by default; the lease set does not survive a suspend/resume 2026-11-15 01:43:50 +01:00
damocles
7468aa4cff nix: move the egress firewall options under deploy.hive-controller.egress 2026-11-15 01:22:35 +01:00
atlas
1cef99e992 egress anti-spoof: renewals from the leased address pass, a stale lease delete is skipped 2026-11-15 01:20:41 +01:00
atlas
3fa926d7d6 otel: collectors drop their own export-failure lines instead of shipping them 2026-11-15 01:20:18 +01:00
atlas
f5e99fe248 gateway: cache authelia's 200 verdicts on the log and metric ingest routes 2026-11-14 22:05:08 +01:00
atlas
60aede950b egress anti-spoof: drop by default again 2026-11-14 13:27:13 +01:00