Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/hive-agent
Author SHA1 Message Date
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
damocles
566758483d hive-agent: count a todo miss only on a turn that ran to the end 2026-11-18 13:35:54 +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
f6a265421f swarm_kv_put takes the bytes, not a one-variant enum 2026-11-17 06:47:48 +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
damocles
07028557d1 hive-agent: test the telemetry, sink and runtime error paths of the turn loop 2026-11-16 21:15:48 +01:00
damocles
8a8788cd35 hive-agent: test the vacuum sweep 2026-11-16 21:13:14 +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
5175d3663e swarm: set the fresh-session threshold per agent 2026-11-16 10:50:13 +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
cb9fbfc9da hive-agent: the /clear-todos tests set a harness dir, as the bus reads one 2026-11-16 08:06:47 +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
fb9d4b5040 swarm: /clear starts an agent's next turn on a fresh session 2026-11-16 03:21:20 +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
damocles
dc0d08b7fb add a /clear-todos command that marks the agent's todos done 2026-11-16 01:06:02 +01:00
damocles
d54b59df7e hive-agent: read a skill's file only when the skill names change 2026-11-15 22:11:51 +01:00
damocles
8cc99020a8 hive-agent: guard the unreported-window tests' harness dir 2026-11-15 21:50:26 +01:00
damocles
e076290eb1 hive-agent: HIVE_CACHE_TTL_SECS=0 disables the cache heuristic, and the harness warns at start when it is off 2026-11-15 21:50:26 +01:00
damocles
49719842b0 publish the agent's skills to the agent-commands bucket 2026-11-15 21:31:07 +01:00
damocles
c45615a555 hive-agent: tests for the unknown-window paths, and the two vale errors 2026-11-15 21:08:51 +01:00
damocles
1bfee54414 hive-agent: no hard-coded context window sizes, the window is what the API reports 2026-11-15 21:08:51 +01:00
damocles
3c1d111e78 agent prompt: a forge notification is a todo, and the thread is already read when it arrives 2026-11-15 19:28:14 +01:00
damocles
7dd988a9e8 rustfmt the soft context limit change 2026-11-15 17:21:13 +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
damocles
186038718c hive-agent: test that a leftover active_model in the harness state file is ignored and kept 2026-11-15 16:13:47 +01:00
damocles
05c193859f hive-agent: stop writing active_model to the harness state file, nothing reads it 2026-11-15 16:13:47 +01:00
damocles
183e55dd80 hive-agent: let an agent compact from 40% context usage instead of 66% 2026-11-14 12:35:27 +01:00
atlas
cf360b74b9 remove the hivectl-only quota verbs and the trollshell status feed 2026-11-13 16:14:41 +01:00
damocles
03b9c39498 hive-agent: test the todo socket server's error replies, bind and a full socket round trip 2026-11-13 09:23:29 +01:00
atlas
a437f9ccd5 drop hive and agent response fields the frontend never reads 2026-11-13 08:55:41 +01:00
atlas
36c7781245 remove hive and agent apis nothing calls: build-log routes, /api/compact, host.sock list, mcp.sock wake 2026-11-13 03:09:24 +01:00
damocles
cb5fb3c730 todos: the new test no longer sits under another test's doc comment 2026-11-12 14:20:00 +01:00
damocles
e3bf401f6e harness stores: a failed lookup is not no-row, bulk done is one transaction, the reminder cap is checked with the insert 2026-11-12 14:20:00 +01:00
damocles
423860cadc transcribe_audio: wait for the service's reply deadline, cap the read, say what each failure is 2026-11-12 12:18:18 +01:00
damocles
eff209f756 agents can transcribe an audio file: the transcribe_audio tool, through the harness and the speech-to-text service 2026-11-12 12:18:18 +01:00
damocles
93d9c56e2b web ui: bulk mark-done shares one deadline and takes at most 200 ids 2026-11-11 22:07:37 +01:00
damocles
c0eb6780ec templates: the agent system prompt is a Jinja template, rendered through hive-template
system.md carries {{ label }}-style variables and an {% if not archetype %} block in place of the config:repo / config:archetype marker pairs, so prompt.rs drops its line filter, marker parsers and string replaces. The rendered prompt is byte for byte the old one for a custom agent, an archetype agent and an empty archetype name, with and without hive, swarm, docs and operators. hive-template now drops a block tag's own line.
2026-11-11 09:04:42 +01:00
iris
2acde41e54 docs: the hive dashboard and agent page shrink to overviews
The hive dashboard and the per-agent page lose their control-by-control UI
description and endpoint tables from the handbook. The full text moves to
4-implementation/web-ui/dashboard.md and agent-page.md, and the handbook pages
keep what an operator needs to find and use them. Code comments that named the
old sections point at the new pages.
2026-11-11 01:50:55 +01:00
iris
0ae34b1cd0 docs: persistence and config changes become one operator page
The operator parts of the persistence and config-changes pages merge into
agents/persistence.md. The sqlite tables, state dirs, mounts and migrations move
to 4-implementation/agent-state/persistence.md, and the deploy path, meta flake,
deploy markers, startup migrations, root container, system messages and
autoupdate move to 4-implementation/agent-state/config-changes.md. Links, code
comments and nix comments that named the old sections point at the new pages.
2026-11-11 01:50:35 +01:00
atlas
e5c55257f8 a hive-side pause holds against the swarm's declared state until an operator resumes
the harness writes the reason into the pause marker when it pauses itself and reports it as paused_by_hive in its turn-state header. swarm-controller declares such an agent paused (only if declared up) and shows the reason on the agents status row and the swarm ui card.
2026-11-10 06:49:16 +01:00
iris
4b1012056c hive-agent: order a stored login by when the store wrote it, not by its number
A delete removes the leaf's metadata, so the KV number restarts at 1. A login
made right after a delete, before the next poll, was version 1 again and
looked no newer than the recorded 1, so it never installed. The version file
now records the store's write time next to the number and a later write
installs whatever its number. A record from before the time was kept falls
back to the number and gets its time when the same number is read again.
2026-11-09 23:03:08 +01:00
iris
a2c9e9a8d4 hive-agent: a logged-in agent polls the swarm login, and logs out when it is deleted
wait_for_login read the store leaf only while the agent waited for a login.
A logged-in agent now reads it every 5 minutes, and a paused one once before
it resumes, so a login made or deleted in the swarm UI reaches an agent that
never failed. A newer version is installed; a store that answers nothing
stored after a version was installed means the stored login was deleted, and
the agent is logged out as /api/logout does it, with the recorded version
forgotten so the next login installs. A read that fails changes nothing.
2026-11-09 23:03:08 +01:00
damocles
a0a3f9a70c hive-agent: test the in-agent socket's request dispatch 2026-11-09 22:16:48 +01:00
damocles
1c3b5e52cf drop the host side of the agent broker send
Remove the agent-side Send and AckUntil requests, their hive-c0re handlers
(handle_send with its 4 KiB size cap, handle_ack_until) and Broker::ack_until.
Everything that existed only for them goes with them: the OkWarn response
(its sole producer was Send's reserved-name warning), Recv's max parameter
and RECV_BATCH_MAX (the harness never asked for more than one message),
OPERATOR_SEND_REFUSAL, and the MESSAGE_MAX_BYTES / check_size limit (the
reminder timer keeps its own copy of the cap, so its comment is reworded).

Messages.remaining stays on the wire (default on read) because a harness
built before this change still requires it. Update the conventions docs.
2026-11-08 08:56:39 +01:00
atlas
319dd6a808 alert when claude usage runs ahead of the clock, per account 2026-11-08 02:05:50 +01:00
damocles
9457f49684 test the wake prompt and the Messaging permission after the tool removal 2026-11-08 01:40:10 +01:00