Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/docs/4-implementation
Author SHA1 Message Date
atlas
d3e15c7fbe vm-nightly: one job per test, with a lint that keeps the matrix list in step
A stuck test in the shared job was cut at the runner's one-hour limit and hid the other tests' results. The matrix list is static; check-vm-test-list.sh fails CI when it differs from nix/vm-tests.nix.
2026-11-19 21:55:34 +01:00
iris
a1e5855859 frontend: remove the unused vanilla terminal and tab strip, and fix comments that describe removed UI
shared/src/terminal/terminal.js (and its index.js re-export and package export) had no importer: the Preact Row replaced it. The .tail-pill and .load-more-pill rules were only made by it, and the preview's own tail-pill override styled a pill that no longer exists. hive-tab-strip.js had no importer either. Four constants nobody imports are no longer exported. The shared terminal pane section of the web-ui shape doc now describes Row, linkify and markdown instead of the removed factory. Header comments that named removed components (StatusChips, MetaNav, Root.tsx, the cost badge, four folded sections, a detail dialog) now describe the current code.
2026-11-19 21:47:37 +01:00
iris
3d88108c4f frontend: light-theme terminal contrast, theme before first paint, color-scheme, motion and focus defaults
Light theme: the terminal and code blocks sat on --crust, a mid grey there, so text was 2:1 to 3:1. They now use --code-bg, which keeps 95% of a light palette's background (58% of the dark one's, as before); scrims and shadows keep --crust. Dark --muted goes from 4.44:1 to 4.72:1 on --bg. The stored theme and motion overrides are set by a blocking boot script in the head (the page allows no inline script), so a light OS no longer paints light before the dark default; a test keeps its keys in step with the shell. color-scheme follows the palette, so native controls and scrollbars match a forced theme. Five infinite animations (dashboard banner, container icon, pending badge, warn banner, spinner) now honour reduced motion and the in-app motion setting, ConnectionDot uses the same three-rule shape as the others, and the hive-warn element honours the system preference. Keyboard focus gets a default ring, and the cancel button and pane divider keep a visible one.
2026-11-19 20:45:18 +01:00
atlas
ad30b7ea31 reconcile tick: create a placed agent whose deploy event was missed
The swarm's deploy event is core NATS. The wanted-state declaration lands
before the build, so its create fails on no record, and only the event
re-drives it; a hive that missed the event had nothing to retry.

wanted.rs now remembers which agents the last declaration places with a
container. Each tick, a placed agent with no container whose record says
the builder pushed its closure gets its first deploy through
JobQueue::insert_first_deploy_if_idle, which queues nothing while any node
targets the agent. Record reads and creates back off like restarts, in a
history of their own.
2026-11-19 12:28:42 +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
29ca381114 images: slim OCI images of the swarm daemons from nix 2026-11-19 12:23:54 +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
atlas
439cb28c8c hive-forge: ci-rerun takes repeatable --input key=value for workflow dispatch
The dispatch goes out as a raw API POST so a forge rejection of an input
reaches the caller with its response body.
2026-11-19 10:52:33 +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
12e797e7e3 auto-update: a rebuild is live until its whole subtree is terminal
rebuild_live checked only MetaSync, which finishes in 0.2 s, so the next
5-min pass queued a second rebuild while the first still held the stop,
swap and start. It now covers MetaSync, AgentWindow, Prebuild,
StopForUpdate, Swap and RebuildBookkeeping. AgentWindow is also the brace
of a pause window, so an open pause skips that agent's pass too; the docs
say so and a test pins it.
2026-11-19 08:05:01 +01:00
atlas
36515c289d reconcile: start a stopped harness inside a running container
hive-priv gains AgentHarness { agent_name, action: probe | start }, which
runs systemctl -M h-<name> against the fixed unit hive-agent.service.
run_reconcile and the 1-min tick read the unit for a running wanted-up
agent and start it when it is inactive or failed. A hive-priv without the
op reads as unknown state and leaves reconcile container-only.
2026-11-19 08:03:56 +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
damocles
076df804e4 hive-bash-mcp: count bash commands over OTEL in the daemon, drop the sqlite hand-off 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
damocles
377bc1d5df docs: subagent leftover kill without passive voice 2026-11-18 18:52:37 +01:00
damocles
2689efebcf hive-agent-sock: kill what a subagent run leaves in its cgroup after it ends 2026-11-18 18:52:37 +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
damocles
5e5ff64b3c hive-agent: keep the last turn's context size in the harness state file and drop the turn sqlite writes 2026-11-18 03:09:14 +01:00
iris
8cb7f3b6e1 swarm ui: the agent terminal's message box is frosted glass 2026-11-17 06:49:30 +01:00
iris
3a846c8c45 swarm ui: the terminal's status badges overhaul
The connection is a light on the agent's icon instead of a "live" badge, the
model and the effort are one badge, the context badge has an icon, subagents
and a new bash tasks badge are an icon and a count, and an agent's tab shows a
drag grip on hover.

It also removes two things the overhaul replaces: the cost badge, and the
"split" badge with its menu in group panes (splitting is by dragging a tab, or
from the subagents list).
2026-11-17 06:49:03 +01:00
atlas
b6dc46d315 document the hive cut-off 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
iris
8ca6317356 hive dashboard: an agent's name links to its terminal in the swarm UI 2026-11-16 23:19:45 +01:00
iris
78a7f7f72c fix the prose lint on the builder icon paragraph 2026-11-16 23:01:08 +01:00
iris
181ef5f421 the builder reads an agent's icon from its config and the controller writes the swarm's copy 2026-11-16 23:01:08 +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
87dc4c5533 lock the service forge accounts out of creating organizations 2026-11-16 21:40:02 +01:00
iris
857b175a74 swarm ui: show thinking is a toggle of its own, apart from the developer details 2026-11-16 20:52:58 +01:00
maia
2e9a65b414 docs: say how to run one VM test from the vm-nightly form, and the one-hour limit 2026-11-16 20:42: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
e621397252 swarm ui ssh row with target snippets, docs for the per-agent switch 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
50d318c92a fix two references to removed things in the stats page removal 2026-11-16 19:55:48 +01:00
iris
37f036ee7d remove the unused reminder rollup request and the stale references to the stats page 2026-11-16 19:07:08 +01:00
iris
6ed714a0a7 remove the agent's stats page and its endpoint 2026-11-16 19:00:52 +01:00
iris
58e7cbf261 swarm ui: the message box is a floating pill with a round send button 2026-11-16 18:09:30 +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
db924d9e77 swarm ui: a fire now button on each schedule 2026-11-16 11:29:23 +01:00
iris
0db9868eee swarm ui: an unset fresh-session handle does not hold the soft handle up; docs vale fixes 2026-11-16 11:04:04 +01:00
iris
b16074e76b swarm ui: one slider for the fresh-session threshold and the soft context limit 2026-11-16 10:50:13 +01:00
iris
5175d3663e swarm: set the fresh-session threshold per agent 2026-11-16 10:50:13 +01:00
iris
cbda9c162f drop the sqlite event log nothing reads, and the comments naming routes that are gone 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
503a56853a docs: the swarm UI reference on /clear and the new-session route 2026-11-16 03:21:27 +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
eceda9a766 docs: active voice in the config repo grant paragraph 2026-11-16 01:34:25 +01:00