Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/docs/2-handbook/swarm
Author SHA1 Message Date
atlas
ed2c7d319e run grafana as a pod in the cluster
The Deployment swarm-grafana replaces the swarm-grafana container: one
replica on a static local volume that is the container's data directory,
an init container that fetches the OIDC client secret and creates the
administrator password, the datasources' bearer and the encryption key in
the secret store, and a sidecar that keeps the controller's Viewer token.
The datasources reach the stores through the gateway with that bearer, and
Grafana's /metrics asks for the stores' kind of credential, which the vhost
sends. The five host units, the journal forwarder, its client glue and the
unix-socket directory go with the container.
2026-11-29 14:02:31 +01:00
atlas
ad1ff47b26 run the metrics store and its auth responders as pods 2026-11-29 14:02:31 +01:00
atlas
bf8d77ca86 run the log store and its auth responders as pods
swarm-logs-auth and swarm-metrics-auth take --listen for a TCP address beside
--socket. The log store is a Deployment on a static local volume that is its
old container's data directory, behind a ClusterIP Service the gateway dials by
name. Its two auth_request responders are one unpinned pod with a jwt role.
The renderer gains a plain HTTP listener, a probe path, fsGroupChangePolicy,
and one policy for a pod with both a listener and egress.
2026-11-29 14:02:31 +01:00
atlas
73fba9db8b swarmctl: drop the controller socket target, the host has no socket to reach 2026-11-29 14:02:31 +01:00
atlas
b7fc13a345 full-setup and the host swarmctl reach the controller as a pod, not through a host socket 2026-11-29 14:02:31 +01:00
atlas
2b58c769b5 require k8s: swarm services with a pod run in the cluster only 2026-11-29 14:02:31 +01:00
atlas
a07e50cfe4 remove swarmctl migrate, migrate.json and the migrate docs 2026-11-29 14:02:31 +01:00
atlas
713a89dff7 k8s: the controller pod keeps no volume; the state gate goes 2026-11-29 14:02:31 +01:00
atlas
03369759db docs: migrate status reads the gate from the pod's status 2026-11-29 14:02:31 +01:00
atlas
16dbdbbeef docs: the review classifier and the claude login minter run in the cluster with deploy.<service>.runtime 2026-11-29 14:02:31 +01:00
atlas
4ac5fac9fb docs: the CI run poller's runtime, cursor volume, own telemetry route and CA ConfigMap 2026-11-29 14:02:31 +01:00
atlas
ea16b03a55 docs: the speech-to-text service's runtime, limits and cache volume 2026-11-29 14:02:31 +01:00
atlas
080ea99a54 k8s: deploy.notify-router.runtime moves the router between its container and the cluster 2026-11-29 14:02:31 +01:00
atlas
2cda2d5fc5 k8s: pods log in to the secret store with their ServiceAccount token
The store gets a listener for the pods that asks for no client certificate,
open on the pod network's interfaces only, and a jwt auth mount with one
role per in-cluster service. The rendered pods run under a ServiceAccount
with a projected token in place of their client certificate.
2026-11-29 14:02:31 +01:00
maia
93ccd11bf3 hive-matrix: tuwunel's database open logs RocksDB's own messages
tuwunel hands RocksDB's log to its own logger at `rocksdb_log_level = "error"`,
so the recovery and flush lines of a database open never reached the journal:
a replay that has run for hours looked the same as a wedged open. The module
sets `rocksdb_log_level = "info"` and `rocksdb_log_stderr = true`, which writes
them to stderr, past tracing's filter.

The comment on the unit's start limit said the 30 minutes bound the open.
They don't: tuwunel sends `EXTEND_TIMEOUT_USEC` every 15 s whether or not the
open advanced, so only a stop ends a wedged one. The comment and the handbook
say so.

Refs #6885
Closes #6981
2026-11-28 17:08:09 +01:00
maia
3919de6358 fix(matrix): queue tuwunel's start after the guest's boot is over
The deferred starter was a oneshot that ran `systemctl start --no-block
tuwunel` inside the boot transaction. A --no-block start still queues a
start job, so the guest's job queue stayed non-empty for as long as
tuwunel's start took, and the container (Type=notify, --notify-ready=yes,
one minute) never reported ready and was killed at its limit.

The starter is now Type=simple, so its own start job ends at the fork. It
waits for `systemctl is-system-running --wait` and only then queues the
service. The VM test waits for the daemon to reach `activating` instead of
asserting it the moment the container's start ends.
2026-11-28 09:48:50 +01:00
atlas
ba0f9c6264 start tuwunel after the container is up, under its own 30 min limit 2026-11-28 09:48:50 +01:00
atlas
05e59c1e8c hive-matrix: the fallocate probe works inside tuwunel's sandbox
Refs #6885
2026-11-27 20:38:14 +01:00
atlas
8f7c45d40f add a default archetype, preselected by the clients 2026-11-27 19:40:19 +01:00
atlas
7c7c94d184 hive-matrix: turn off tuwunel's log preallocation on btrfs and zfs
Refs #6885
2026-11-27 17:35:04 +01:00
atlas
870a0a6697 swarmctl bao init: save bao's raw output before parsing, and accept null key lists 2026-11-24 15:38:31 +01:00
atlas
9909e63c2d keep storage detail out of the matrix handbook 2026-11-22 23:38:33 +01:00
atlas
28d847cb7e keep the operator matrix admin grant record in nats kv, not on disk 2026-11-22 23:33:40 +01:00
iris
7bdaea7954 swarm ui: agents page opens an agent's details beside the list
Selecting an agent card opens its details in a column on the right of the
agents list, at /agents/<name>, instead of unfolding the card in place. The
list is full width until an agent is selected, then narrows and the details
slide in. A narrow screen shows the details alone, with a back button. A
card's message is cut to one line.

The shell treats /agents/<name> as the agents page, so the nav tab stays lit
and the page is not rebuilt on each selection.
2026-11-22 18:58:05 +01:00
atlas
58236e1b7f default the host's swarmctl to the gateway; login takes a callback port 2026-11-22 15:01:14 +01:00
damocles
f3ab3abdc1 docs: re-wrap the builder paragraph in services.md 2026-11-21 21:40:56 +01:00
damocles
627e07cf82 docs: swarm-builder merge gate wording in the active voice 2026-11-21 21:40:56 +01:00
damocles
5814f177c8 docs: the swarm-builder status gates the merge now, and no promise about rebasing a PR branch 2026-11-21 21:40:56 +01:00
iris
797e6e3137 swarm ui: the messages cards move to the swarm page and the messages tab goes
The broadcast, schedules and message log cards now sit on the swarm page, after the notification router; the message log opens its stream on its first open instead of when the page loads, and its connection badge moves into its filter bar. The messages tab is removed from the header, and the old /messages address redirects to /swarm next to /schedules, which now does too. MessagesPage becomes MessageCards, and comments, tests and the swarm UI docs say the swarm page where they said the messages tab.
2026-11-20 22:10:42 +01:00
maia
c9204ad0e0 android-dev archetype: ship the Android SDK and nix-ld so a Gradle build runs
The archetype installed Gradle, a JDK and android-tools but no SDK, no
ANDROID_HOME/JAVA_HOME and no nix-ld, so the aapt2 Gradle downloads could not
start on NixOS and an agent could not build an app.

It now builds an SDK (build-tools 36.1.0, platform 35, no emulator or system
images), sets ANDROID_HOME, ANDROID_SDK_ROOT and JAVA_HOME, and enables
programs.nix-ld. The SDK's unfree names are read off the SDK and added to
allowUnfreePackages, which adds to the claude-code allowance instead of
replacing it.

Closes #6696
2026-11-20 19:35:47 +01:00
maia
ffbd2f4dea swarm-controller: an opt-in plain /healthz and /readyz listener a kubelet can probe 2026-11-19 12:23:17 +01:00
maia
b0239914b8 readiness follows a cached store check instead of a constant or a login per probe 2026-11-19 08:43:43 +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
atlas
c21b158884 swarm daemons: opt-in /healthz and /readyz listener, and /readyz on the controller 2026-11-18 19:06:04 +01:00
atlas
b6dc46d315 document the hive cut-off 2026-11-17 06:48:05 +01:00
iris
db924d9e77 swarm ui: a fire now button on each schedule 2026-11-16 11:29:23 +01:00
iris
5175d3663e swarm: set the fresh-session threshold per agent 2026-11-16 10:50:13 +01:00
iris
750535db8a docs: use a contraction in the swarm UI commands paragraph 2026-11-16 03:21:20 +01:00
iris
fb9d4b5040 swarm: /clear starts an agent's next turn on a fresh session 2026-11-16 03:21:20 +01:00
damocles
7b62f2c22a docs: the config repo grant is read in the persistence and forge handbook pages 2026-11-16 01:34:25 +01:00
damocles
07c66e3a1c agents get read, not write, on their own agent-configs repo; an existing grant is left alone 2026-11-16 01:34:25 +01:00
iris
144d958208 swarm ui: format the section list the way treefmt does, and say the todos are not editable in active voice 2026-11-16 01:21:52 +01:00
iris
fa2a75d499 swarm ui: an open todos section on the agent card 2026-11-16 01:21:52 +01:00
atlas
1edeb5c55d agents get a per-agent repo limit in their permissions record, orgs are locked
max_repos (default 0, 0..=100) lives in the agent's agent-permissions record and is edited on its permissions panel. The controller applies each agent's own value as max_repo_creation at CreateForgeUser and to existing accounts on change, restart and every five minutes; agent accounts may not create organizations.
2026-11-16 01:21:25 +01:00
damocles
dc0d08b7fb add a /clear-todos command that marks the agent's todos done 2026-11-16 01:06:02 +01:00
iris
275009b64e docs: the swarm UI's command menu 2026-11-15 21:37:59 +01:00
damocles
1e03979836 swarm: a soft context limit per agent, as a percent of the window, applied at turn end 2026-11-15 17:21:13 +01:00
iris
e9ddfd61ec swarm ui: a log in button in the claude login row of an agent's settings
An agent with no stored login, or one to log in again, can be logged in from
the settings panel instead of waiting for its turns to fail with a login needed
badge first. The button opens the same dialog as the card's.
2026-11-15 16:13:15 +01:00
atlas
adc61c9043 remove the swarm wireguard mesh; tombstone its options 2026-11-15 02:17:44 +01:00