Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/docs
Author SHA1 Message Date
maia
1448168569 credential-delivery: reflow the two paragraphs the retry sentence joined 2026-11-23 13:11:31 +01:00
maia
dad288d555 swarm-otel, swarm-grafana: a delivery unit fails on no value yet
The collector's and Grafana's OIDC delivery units exited 0 when the store
held no value, so systemd did not retry them. On a fresh swarm authelia's
mint writes the secret about 30 s after the first read, and only the
refresh timer, ten minutes on, read it again. Both units now exit 75, and
the store retry they already carry asks every 30 s until the mint lands.

Closes #6790
2026-11-23 12:43:37 +01:00
atlas
480855dfaf swarm-otel: scrape the authenticated targets only once the collector has its client secret
An empty secret file made the prometheus receiver request a token for each published target every scrape; authelia's per-address limit then refused every client behind that address. Without a secret the collector starts on the config minus those jobs. full-setup asserts the limiter never fired.
2026-11-23 12:28:12 +01:00
iris
1a31a4cd5a swarm: set an agent's config repo avatar from its icon
The agent module exposes the PNG nix renders from the agent's icon as the
read-only option services.hyperhive.agent.iconPng, which the forge and matrix
avatar syncs now share. When the builder reads an icon it builds that one
attribute with nix build and sends the file, base64, next to the SVG in the
meta build reply, so the builder runs no renderer of its own.

After recording the icon, the controller sets the avatar of
agent-configs/<agent> from the PNG as the forge admin, removes the avatar when
the icon is removed, and leaves it alone when the builder sent no PNG. A marker
per repo holds the image's fingerprint, so a build whose icon did not change
makes no forge call; a forge that refuses the avatar does not fail the build.
An old builder sends no PNG, so it changes nothing.
2026-11-23 10:11:16 +01:00
argus
8a0615ccfc review classifier: it reads the PR's title and description, and a rule on closing keywords
The controller reads the PR's title and description with the rest of it and
puts both in the run's shared context, ahead of the commits. An empty
description reads as `(none)`. `TryOut` carries them as optional fields, so a
controller that sends none still gets its run answered.

New rule `closes-only-finished-issues`: a description that carries a closing
keyword for an issue and also says the PR leaves part of it undone is a
violation, because the keyword closes the issue when the PR merges.
2026-11-23 08:53:16 +01:00
atlas
90a1e523fb swarm-otel: delete a sender-set sender and hive from datapoints and log records 2026-11-23 08:23:01 +01:00
iris
ded017953b swarm ui: the instructions section holds the AGENTS.md editor itself
The section shows the editor, with save, undo and the conflict handling,
instead of an edit badge that opens it in a dialog. It loads when the section
is first opened and keeps an unsaved edit while the section is mounted, so the
kept-edit wrapper the dialog needed goes away.
2026-11-23 08:19:17 +01:00
atlas
ea84d746dd docs and option text: describe the sender stamp, drop the hive label 2026-11-23 00:48:56 +01:00
iris
ab329e5793 swarm ui: an agent's details are an identity card and sections by question
The details pane showed the agent's name, then status, message and wanted
rows with no card, then a folded status section repeating the state, and a
single settings section of eleven rows of different kinds.

The pane now opens with one identity card: icon and name, the wanted menu,
badges for freshness, turn state, context and a needed login, the whole
status message, and the hive, links and config PR. Below it the folded
sections answer one question each: terminal, activity (todos, subagents and
background tasks together), instructions, inference (which now holds the
claude login and API key), access, and accounts. The terminal page's popover
shows the card without the name and the four settings sections.
2026-11-23 00:47:36 +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
c24f3c3d88 swarm ui: remove the config PR filter from the agents page
The filter bar no longer offers a filter on an agent's config PR. A
filter saved on it before is dropped by the table's existing handling of
columns that no longer exist.
2026-11-22 22:31:44 +01:00
iris
6a18bf1e02 swarm ui: the agents page uses more of the width with an agent selected
With a selected agent the shell's 90em column left a wide screen mostly
empty. The page now raises that cap to 160em while two columns are
showing, and the details take three parts to the list's one (the list keeps
at least 24em). The cap and the columns move with the same easing.
2026-11-22 21:50:52 +01:00
maia
0bb48f90ae docs: gateway.md states the forge as it is, not the options it lost
The removed-option messages carry that history; the page describes the current state.
2026-11-22 20:52:35 +01:00
maia
57ca9433a7 docs: the forge has no raw port and is not an infra container on the host netns
ci.md named a raw forge port that no longer exists; network.md's map listed infra containers as sharing the host netns, which the forge no longer does.
2026-11-22 20:52:35 +01:00
maia
fc70f538ac forge: its own netns, HTTP on a unix socket, git over HTTPS only
The hive-forge container leaves the host netns and listens on no TCP port: Forgejo serves HTTP on a unix socket the gateway proxies to, and the built-in SSH server is off. The httpPort, sshPort and openFirewall options are removed with a message each.
2026-11-22 20:52:35 +01:00
maia
b8851743e8 egress: the forward chain refuses by default where the intercept is on
egress.forward defaults to reject while egress.intercept.enable is on (a
hive controller host turns it on) and to log otherwise, because reject
without the intercept would refuse all web traffic and an assertion
already forbids it. log stays an explicit choice.

The hive-squid VM test runs its log-mode half on the base node, so the
base pins forward = log at mkDefault priority and the reject
specialisation overrides it. A module-eval case covers the default on a
controller host, on a host without the intercept, and an explicit log.
2026-11-22 19:47:38 +01:00
damocles
d88a0cc526 hive-matrix-mcp: add a leave_room tool 2026-11-22 19:24:42 +01:00
iris
56ed2e07da swarm ui: select several agents on the agents page and broadcast to them
Select mode picks agents from the list: the select button in the filter
card, a press on an agent's icon, or a long press on a card starts it. In
it a card toggles a tick instead of opening its details, and the card's own
controls stop answering. A bar at the foot of the list has select all shown,
clear, broadcast and done; Escape leaves the mode.

Broadcast opens a dialog with the picked agents and a message box, sending
through the existing broadcast endpoint; the composer's send and result
parts are now shared with the swarm page's broadcast card. A full send shows
a toast and ends select mode; a partial one keeps the result with a retry
for the agents that failed.
2026-11-22 18:58:50 +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
iris
8e2844ec92 swarm-ui: select a pane's name badge in a terminal group to open the agent's details 2026-11-22 18:16:23 +01:00
iris
91e2d26133 frontend: remove the stylix overlay and add hyperhive and Catppuccin light and dark themes 2026-11-22 17:55:10 +01:00
damocles
989d1d578c hive-agent: keep an own /knowledge clone current from the swarm knowledge event 2026-11-22 17:48:23 +01:00
damocles
44b248bf6d hive-agent: drop the legacy todos/reminders db migration 2026-11-22 16:59:24 +01:00
iris
658178f9db swarm-ui: pick an agent's model from a dropdown of the models the swarm knows, with an other entry for any name 2026-11-22 15:37:32 +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
iris
ef817ed5a0 swarm-controller: GET /api/models lists the model names the swarm already knows 2026-11-22 13:46:01 +01:00
damocles
36a8b4fa1f vm-tests: build a sample android app offline in the android-dev archetype 2026-11-22 13:25:29 +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
damocles
2ea8c9de60 docs: controller merge gate paragraph without passive voice 2026-11-21 21:40:56 +01:00
damocles
7a7041452e swarm-controller: config repos require the swarm-builder status and default to fast-forward-only merges 2026-11-21 21:40:56 +01:00
iris
70e5de5571 swarm-ui: a header bell with the count of firing alerts opens a list of them and a link to Grafana 2026-11-21 15:21:22 +01:00
iris
7707a257e9 hive ui: the dashboard wears the swarm UI's chrome, and its own header, tab strip and menu mounts go
The dashboard mounts @hive/shared's AppShell, the header, nav and settings menu the swarm UI has, from a new shell.js: the hive's name for the brand, the tabs agents, rebuild queue and kept state routed by the URL hash, the theme, motion and solid-background settings in this page's own browser storage, and the shared links and user menus. The three tab panes stay plain DOM, kept hidden in index.html and moved into the shell's content column by shell.js. The tabs, the hash-to-tab parse and the menu entries sit in shell-routes.js, which npm test covers (the dashboard package gets a test script). The old header, the createTabStrip tabbar, the leet tab names, the identity headline and title code, the sticky-top wrapper, the links-menu.js and user-menu.js mounts and their CSS are removed. The docs say the plain tab names and the new chrome.
2026-11-21 10:47:37 +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
iris
94969b552e swarm ui: the create-agent name field says why a name is refused, beside the field
A name with an uppercase letter greyed out next with only the footer to say why. The text field now takes an error: it marks the field invalid, draws the reason under it and points aria-describedby at it. The create form passes it once something is typed, and nameProblem names the cause (uppercase first, then length, then other characters) instead of one catch-all rule. Next stays disabled, with the footer hint as before. The swarm UI doc says so.
2026-11-20 21:42:43 +01:00
iris
da25f0a1c3 swarm ui: an agent's API key is set from its claude login row, and the advanced backend settings show the configuration and the secrets apart
The claude login row of an opened agent gains an API key line: a badge saying whether a key is stored, set or replace and remove, and advanced. Setting a key sends PUT on the backend-secrets route as ANTHROPIC_API_KEY=<key>; the key is never read back. The old API-key environment dialog becomes the advanced backend settings, with two sections: the configuration, which starts with the stored text and saves or removes it, and the secrets, whose box starts empty and replaces the stored secrets only when filled and saved. The link menu's entry is renamed to match, account-api.ts gets the route helpers and a key check with tests, and the swarm UI doc describes the row.
2026-11-20 21:23:05 +01:00
iris
33fdd5205e swarm: an agent's backend secrets get a store leaf of their own, and its backend environment reads back
The credentials of an agent's backend (ANTHROPIC_API_KEY and the like) move to their own leaf, swarm/agents/<agent>/backend-secrets, written through new PUT, GET and DELETE routes on /api/hives/{hive}/agents/{agent}/backend-secrets. GET says only whether any are stored. The backend environment at backend-env now reads back as stored through GET on its route, so it holds configuration only.

The agent's hive-agent-backend-env unit now runs on every agent with a store, reads both leaves and writes the configuration and then the secrets into the one file the harness and the subagent daemon load, so a secret wins over a variable of the same name. It removes the file when the store holds neither. The harness counts an agent whose environment holds ANTHROPIC_API_KEY or ANTHROPIC_AUTH_TOKEN as API-billed, so it tries the key instead of waiting for a Claude login; a real 401 still sets needs-login. The controller's policy may delete the new leaf.

Tests: the secret-client path, the controller routes, the script test of the unit with a stub bao, the module-eval cases and the harness's mode check. Docs: the swarm UI routes, the credentials reference and the API-key provider page.
2026-11-20 20:36:33 +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
atlas
cd786ef401 document the controller tcp listener and its two leaves 2026-11-20 19:24:20 +01:00
iris
0a72f212da swarm ui: a terminal keeps 2000 rows and folds a burst of rows in at once
useSwarmTermStream appended each event with [...rows, row] and never dropped one, so a tab on a busy agent grew without bound in memory and DOM and each event cost a copy of the whole list. appendRows (a pure module, tested) folds a batch in with one copy, coalesces as before, and keeps the newest 2000. Events are collected for 50ms and folded in together, so a burst is one render.

The comments that described the old coalescing in useSwarmTermStream.ts's header and in termMsg.ts's TermEnvelope doc named a hook that no longer exists (useLiveStream), so both now point at term-rows.ts, where the rule lives.
2026-11-20 17:18:10 +01:00
iris
da187f8368 swarm ui: a popover stays on the page, and the ssh popover folds its explanations
A popover hung from its anchor and ran off the foot of the window when the anchor sat low. It now goes over the anchor when it fits neither way better below, and otherwise takes the roomier side with its height cut so it scrolls inside itself; the placement is a pure function with a test, and the box places itself again when its content changes size. The ssh popover showed three long paragraphs above its switch: the explainer and the host-key text now sit in a folded how it works section, and the warning and the switch stay visible. Its sections can no longer give the popover a sideways scroll.
2026-11-20 17:15:20 +01:00
iris
3be4ec069c frontend: one time wording for the swarm UI and the dashboard, and no HTML strings in the dashboard's busy buttons
fmtAgo, fmtUntil and durationLabel move to @hive/shared/time.js. The swarm UI's util.ts is deleted and its importers (RelativeTime, ReviewRuns, BuildsPage) read the shared module directly. The dashboard's own copies are gone: its fmtAgeSecs (a third phrasing, used for two status lines) becomes the shared fmtAgo, and the dashboard util.js lost fmtAgo, fmtElapsed, epochSec and truncate, which nothing called. asyncBtn and the bulk action buttons mark themselves busy with markBusy: a spinner node before the label and aria-busy, in place of replacing the button's innerHTML with a string (and the label, so the button changed width and lost its name). The el() helper loses its html attribute.
2026-11-20 17:02:32 +01:00
maia
94dd24fa99 egress-pin: a sweep says why a port stays unbound, which veths are off the bridge and which machines it could not read
A port nobody owns, a vb- veth that never joined the bridge and a machine whose
state file or namespace can't be read all left the bridge sweep silent, so a
container stayed unbound for 11 hours with nothing in the journal.

A timer run now prints one line for each, after the finding has stood for 60 s
and once until it clears, kept in <state file>.diag. Nothing it binds changes.
2026-11-20 09:12:23 +01:00
iris
62551e004e swarm ui: an agent's named ssh connections show in its ssh popover, with add, replace and remove
The ssh popover of an opened agent card gets a folded connections section: a table of the agent's named connections (name, user@host:port) with edit and remove, and a form that saves one. The list is read on the first open; a save is a PUT that replaces a connection of the same name, so the button reads replace and a line names the connection when the name exists; remove asks first. The controller's refusal shows under the form as it comes, and the section says the connections are inactive while ssh is off. The request building is in ssh-connections.ts with a test; swarm-ui.md describes the section.
2026-11-20 09:11:03 +01:00
damocles
e62915d5c4 docs: ci-log --job past the last job is an error 2026-11-20 09:10:13 +01:00
atlas
eab2dcb0a2 egress: document the allowed ssh connections 2026-11-20 04:04:30 +01:00
atlas
934da6f31f agent ssh connections: declare per agent, render into the agent's ssh config 2026-11-20 03:10:41 +01:00
iris
844fb0a219 frontend: one dismiss rule for menus and popovers, menu keys, and dialog and side panel focus
useDismiss (shared) closes a floating box on a press outside or Escape: the press is seen in the capture phase, a press in an open modal dialog is not outside, Escape yields to a modal dialog the box is not in, and a box in a dialog closes alone. Popover, Dropdown, SettingsMenu, LinksMenu and UserMenu use it in place of five copies with different rules; Escape returns the focus to the button. Dropdown takes the focus on open and moves with the arrow keys, Home and End. The link, account and settings popovers drop role=menu (they had no menu keys) for a labelled group. Dialog no longer reports a close the caller asked for, ignores a drag that started inside and ended on the backdrop, and has a 2.75em close button. Popover uses the shared clampLeft. The dashboard's side panel is inert while closed, takes the focus on open and gives it back, and no longer claims aria-modal; hive-dialog gives the focus back on close.
2026-11-20 02:20:58 +01:00