Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/docs
Author SHA1 Message Date
atlas
ec7514fc5a egress: the forward chain accepts the flows the host publishes for the agents
On a host with the egress intercept on, the forward chain rejected an agent's traffic to the queue once the queue ran as a pod: the pod's hostPort rewrites the destination to the pod, and the packet then leaves the bridge for the cluster. The chain now accepts TCP that the host's NAT redirected whose original destination is the bridge's address at a published port, which the queue adds when it runs in the cluster. Everything else from the bridge to the cluster stays refused. The nats switch test runs with the intercept on.
2026-11-28 09:59:09 +01:00
atlas
22dfefd70e k8s: the queue's exporter is a ClusterIP service only the node reaches
The exporter's metrics port was a hostPort on the bridge's address, which Pod Security baseline and restricted forbid. It is a ClusterIP Service now, and the pod has a NetworkPolicy that admits the client port from any source and nothing else, so only the node reads the exporter, as the raw-table rules made it. The gateway's /metrics location dials the Service by name through nginx's resolver. The raw-table rules no longer name the exporter's port.
2026-11-28 09:59:09 +01:00
atlas
8de33b7212 k8s: the controller's listener is a ClusterIP service the host dials by name
The controller's api port was a hostPort on the node, which Pod Security baseline and restricted forbid. It is a ClusterIP Service now, behind a NetworkPolicy that admits only the node. The host's resolver (the hive's dnsmasq) forwards cluster.local to CoreDNS, and the gateway dials the Service by name through nginx's resolver. tcp.hostAddress goes.
2026-11-28 09:59:09 +01:00
atlas
7a45c7f1b4 k8s: stt's pod runs in a user namespace of its own 2026-11-28 09:59:09 +01:00
atlas
975d4941ef k8s: stt's pod gets a network policy: dns and four host ports out, nothing in 2026-11-28 09:59:09 +01:00
atlas
a8ed3d96e9 k8s: the controller pod keeps no volume; the state gate goes 2026-11-28 09:59:09 +01:00
atlas
72d9cf93ef k8s: the queue's pod mounts the host unit's store in place 2026-11-28 09:59:09 +01:00
atlas
658c7fe384 k8s: stt and ci-metrics start without a state gate 2026-11-28 09:59:09 +01:00
atlas
dcbfadd644 docs: migrate status reads the gate from the pod's status 2026-11-28 09:59:09 +01:00
atlas
560b68ea56 docs: say what the nats pod does and doesn't isolate 2026-11-28 09:59:09 +01:00
atlas
966671426f docs: the start gate describes what the pod runs 2026-11-28 09:59:09 +01:00
atlas
1271920f38 docs: the queue in the cluster 2026-11-28 09:59:09 +01:00
atlas
e36b526335 docs: the controller's runtime, hostPort hop, listener leaf, state and rev rollout 2026-11-28 09:59:09 +01:00
atlas
a7ffbd328e docs: the review classifier and the claude login minter run in the cluster with deploy.<service>.runtime 2026-11-28 09:59:08 +01:00
atlas
9d7a3fd958 docs: the CI run poller's runtime, cursor volume, own telemetry route and CA ConfigMap 2026-11-28 09:59:08 +01:00
atlas
a542498510 k8s: a pod's requests are explicit, so its limits cap and reserve nothing 2026-11-28 09:59:08 +01:00
atlas
2be4ba1a09 docs: the speech-to-text service's runtime, limits and cache volume 2026-11-28 09:59:08 +01:00
atlas
0a65778c85 k8s: deploy.notify-router.runtime moves the router between its container and the cluster 2026-11-28 09:59:08 +01:00
atlas
d4eab3348c k8s: a pod's public CA files come from a ConfigMap, not a Secret 2026-11-28 09:59:08 +01:00
atlas
e5a863ce79 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-28 09:59:08 +01:00
atlas
e3098e0d03 vm-tests: a running collector keeps its cursor when it switches to the static user 2026-11-28 09:59:08 +01:00
atlas
96b2634a4e k8s: pod logs and metrics reach the hive collector 2026-11-28 09:59:08 +01:00
atlas
c316851466 k8s: pods resolve the swarm names of host-run services to the hive bridge 2026-11-28 09:59:08 +01:00
atlas
24aa9dbc4e vm-tests: k8s-node boots a node through deploy.k8s.enable 2026-11-28 09:59:08 +01:00
atlas
408cfa7353 k8s: deploy.k8s.enable runs a single-node k3s that holds the service images 2026-11-28 09:59:08 +01:00
atlas
8021d8395a docs: describe swarmctl migrate, the all-local swarm's move onto k8s 2026-11-28 09:59:08 +01:00
atlas
cf3627718e k8s: render the in-cluster services' manifests from their units
services.hyperhive.k8s.enable renders a Deployment (swarm-controller,
swarm-notify-router) or CronJob (swarm-ci-metrics) per service this host
deploys into system.build.k8sManifests. The renderer reads each evaluated
unit: its environment, LoadCredential ids, state and runtime directories,
ExecStart and timer. Files the unit names are mounted at the same paths, so
the environment carries over as it is. Secrets are referenced by name only.

No unit changes. checks: k8s-manifests-all-local (kubeconform -strict,
offline schemas) and module-eval-k8s; the allLocal fixture turns the
rendering on.
2026-11-28 09:59:08 +01:00
atlas
70fe505b9b vm-tests: a k3s node harness, and the swarm images boot as pods 2026-11-28 09:59:08 +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
iris
c1d182daa0 swarm-ui: the two retry buttons that said try again say retry
Eight failed reads offer a retry button; the claude login dialog and the
instructions editor worded the same action try again.
2026-11-28 09:48:24 +01:00
iris
f6a0bb4bb3 swarm-ui: the three toasts that didn't match read like the rest
Two toasts started with a capital and ended with a full stop (the stored login
dialog's and the login delete's), and the API key removal had no tone. They are
short lowercase phrases with the ok tone now, and the design guide says so.
2026-11-28 09:48:07 +01:00
iris
963ec65bbc swarm-ui: a toast waits while the pointer is on it
A toast left after four seconds (eight for an error) whether it had been read or
not. The countdown stops while the pointer rests on it and runs on for at least
1.5 seconds after the pointer leaves.
2026-11-28 09:47:54 +01:00
iris
868b8743d8 swarm-ui: the browser chrome takes the theme's background colour
The theme-color meta was a fixed mauve, so a phone's status bar and an installed
app's title bar stayed mauve under every theme, light ones included. The theme
effect sets it from the computed --bg after each change, and again when the OS
scheme changes under auto.
2026-11-28 09:47:36 +01:00
damocles
73ef63a5e5 matrix daemon: stay up when the primary account is down and say why in the tools 2026-11-28 09:46:56 +01:00
iris
9fdde2ec63 swarm-ui: menus, popovers, toasts and dialogs fade in, with one motion guard
Dialogs, toasts, popovers, dropdowns and the filter popover appeared with no
transition, and the header menu had a keyframe of its own. theme.css holds
--enter and --fade, off under reduced motion and the motion setting's reduce,
and each floating box uses them.
2026-11-28 09:46:32 +01:00
iris
c77904362d swarm-ui: an agent card is no longer a button around buttons
The card row had role=button and tabindex=0 and held the terminal button, the
wanted menu and the login button, which axe reports as nested interactive
controls and which a screen reader can't walk. The row is no control now; the
agent's name is a real button, so Tab, Enter and Space open the agent, and a
press anywhere on the card still does. Picking stays one checkbox per card.
2026-11-28 09:45:23 +01:00
iris
5b597b782f swarm-ui: text on badge and button fills reaches 4.5:1 in the default themes
axe found the neutral badge, the primary button and a selected card's message
under AA in hyperhive light (4.39:1 and 3.82:1) and in the Mocha themes. A
light palette now lightens the --purple-dim fill, the Mocha palettes darken it,
and the muted text keeps more of the text colour.
2026-11-28 02:38:01 +01:00
iris
e701be870a swarm-ui: with an agent open, the list's filters sit behind one filter button
An open agent narrows the list to a column, where the filter boxes and menus
took three rows. They now stack in a popover under one button that shows how
many filters are active; the full-width list keeps them in the bar.
2026-11-28 01:14:01 +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
eabcaab930 swarm-controller: move the agents concern into its own module
Refs #6897
2026-11-27 18:24:57 +01:00
atlas
6d0c0dc391 swarm-controller: move the secrets concern into its own module
Refs #6897
2026-11-27 17:35: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
damocles
82710f4fa8 memory-cap: give claude a heap ceiling of at most 3 GiB instead of 75% of the container cap 2026-11-27 17:22:17 +01:00
iris
608eb9dcd9 shared: a dropdown that would run past the window's right edge hangs from the right of its trigger
The state menu on an agent card that fills the width hung from the
trigger's left edge, so the window cut the list off. The list now measures
itself when it opens and flips to the trigger's right edge when it would
overflow.
2026-11-27 17:10:27 +01:00
atlas
a9df331469 swarm-controller: move the forge concern into its own module
Refs #6897
2026-11-27 16:45:16 +01:00
damocles
ca16980a06 subagent: split session.rs into state, config, run, goal and status modules, and its tests by topic 2026-11-27 16:44:39 +01:00
maia
b52fc0ec8e docs: use the contractions vale asks for in the egress endpoints paragraph
Closes #6902
2026-11-27 11:45:43 +01:00
maia
ecfc21b962 egress: let every agent reach the swarm's own endpoints under forward reject
With the egress intercept on, the forward chain rejects what `agent_allow`
does not hold, and `agent_allow` only held an agent's ssh connections. An
agent whose secret store, queue, logs or metrics endpoint is not on the
bridge was refused, so no agent started on a hive away from the swarm host.

hive-c0re's egress worker now also renders a `* <ipv4> <port>` line for each
endpoint URL it hands to agents (HIVE_AGENT_BAO_ADDR, HIVE_AGENT_LOGS_QUERY_URL,
HIVE_AGENT_METRICS_URL, HIVE_AGENT_NATS_URL), resolved like the ssh hosts.
`hive-priv egress-pin` expands a `*` line to the MAC of every agent port. An
older hive-priv skips the line, as it skips any unknown name.

Closes #6902
2026-11-27 11:45:43 +01:00