Commit graph hyperhive/hive-ag3nt
Author SHA1 Message Date
müde
8a78b8a464 docs(agent): clarify cred-file set + settings doc pointer, fix forge_notify cross-ref 2026-07-06 00:03:43 +02:00
müde
b4f54a194b fix(agent): don't eat /compact flag on failed turn; restore ctx fallback; requeue on SessionNotFound 2026-07-06 00:01:15 +02:00
müde
216eb8ae9b docs(turn-loop): split into index + claude-invocation/config/mcp sub-pages, condense the loop 2026-07-05 23:04:48 +02:00
müde
746f518250 fix(agent): show Compacting state during in-flight operator /compact 2026-07-05 22:54:20 +02:00
müde
59dd7955aa fix(stats): last_usage orders by id (insertion order); clarify Window default 2026-07-05 22:53:16 +02:00
müde
f2f104627d refactor(agent): drop vestigial install_configured param, non_empty_env helper, explicit infallible expect in client 2026-07-05 22:49:45 +02:00
müde
9cebc128e2 refactor(web_ui): Bus::effective_context_window, sigint_claude + per-connection hello, relocate fetch_reminder_stats, drop redundant guard 2026-07-05 22:47:14 +02:00
müde
77f31b44bb refactor(agent): fire_and_forget helper, drop dead default_model + compact_percent fallback, fix stale comment 2026-07-05 22:43:23 +02:00
müde
9721be7bc3 docs(turn_stats): mark unread columns as forward-capture, not consumed 2026-07-05 22:39:45 +02:00
müde
f490e07509 refactor(prompt): drop unreachable role-block defensive branches; keep marker grammar 2026-07-05 22:36:10 +02:00
müde
20ff891962 refactor(forge_notify): share render_body_excerpt across formatters; fix nits + docs 2026-07-05 22:32:00 +02:00
müde
90af3e8d0b refactor(mcp): split claude launch-config layer into mcp_config.rs 2026-07-05 22:24:46 +02:00
müde
e1e3bda94a style: apply nix fmt 2026-07-05 22:24:42 +02:00
müde
9a0d525fdf refactor(mcp): drop vestigial SocketReply, match hive_sh4re::Response directly; remove dead code 2026-07-05 22:12:45 +02:00
müde
543177ed74 refactor(mcp): collapse repeated failure-arm triplet into reply_err helper 2026-07-05 22:05:06 +02:00
müde
785a36b907 refactor(web_ui): share one broker_request helper; /send timeout now 409 not 500 2026-07-05 21:55:28 +02:00
müde
d83d03e4c0 fix(agent): key session detection off credential filenames; own clear_session in login.rs 2026-07-05 21:48:56 +02:00
müde
d004fdc0eb fix(stats): set busy_timeout on agent snapshot reader so a concurrent write can't blank the page 2026-07-05 21:43:25 +02:00
müde
2b5edef4d1 fix(agent): recover PromptTooLong via archive+requeue; model TurnOutcome as Result 2026-07-05 21:42:13 +02:00
müde
7c851c5dd3 fix(web_ui): cap bind_with_retry at 12 attempts, then return AddrInUse 2026-07-05 20:41:37 +02:00
müde
bdfeac80a7 refactor(web_ui): split into a module dir by concern, serve stays in mod.rs 2026-07-05 20:40:07 +02:00
müde
efaf56c2d5 refactor(agent): remove vestigial turn_lock (serve loop is single-driver) 2026-07-05 20:26:04 +02:00
müde
66f5b8720d refactor(agent): use hive_claude::TokenUsage directly, drop the duplicate 2026-07-05 20:21:33 +02:00
müde
c9de2eeb97 refactor(agent): build the InfiniteSession once in the serve loop, thread it 2026-07-05 20:16:06 +02:00
müde
487e62a9ca feat(hive-claude): parse turn telemetry in the lib, return it from run 2026-07-05 20:06:30 +02:00
müde
faa7f982af feat(web_ui): defer operator /compact to turn end, run when idle too 2026-07-05 19:49:00 +02:00
müde
80d819e444 feat(hive-claude): add InfiniteSession (name+store+compaction policy) 2026-07-05 19:38:16 +02:00
müde
bf93a81e1d refactor(agent): move login-wait into login.rs, dedupe env resolvers 2026-07-05 19:08:48 +02:00
müde
a3b66241d1 refactor(agent): extract claude driver into hive-claude crate 2026-07-05 18:50:12 +02:00
müde
e35acca814 fix(agent): pin claude session by constant title, archive on reset 2026-07-05 18:13:54 +02:00
damocles
6d2e56e7c8 fix formatting (treefmt) 2026-07-05 12:00:18 +02:00
damocles
fac326aa35 fix(broker): route all wakes through sqlite, remove transient ping buffer 2026-07-05 11:55:40 +02:00
atlas
f111dac231 fix(test): update effort_validation test to accept low and max levels
The test's invalid-values list included "low" which was valid before
this PR but is now a legitimate effort level. Replace with "lowest"
(still invalid) so the test keeps its coverage without false-failing.
2026-07-04 19:52:33 +02:00
atlas
742f4ef916 feat(#2220): add low and max effort levels
claude --effort now accepts low, medium, high, xhigh, max.
Expand EFFORT_LEVELS from 3 to 5, update NixOS enum + description,
and fix the stale doc comment in web_ui.rs.

Closes #2220
2026-07-04 19:52:33 +02:00
damocles
9b2d16ae6a fix(#2190): replace MANAGER_AGENT fallbacks with "operator" for attribution
- loose_ends.rs: NULL submitter on legacy approval rows → "operator"
- questions.rs: NULL submitter on cancel_loose_end → "operator"
- server.rs: HostRequest::RequestSpawn submitter → "operator"
- dashboard.rs: web-UI spawn submitter → "operator"
- socket_server.rs: submit_init_config with no declared parent → "operator"
- mcp.rs: drop MANAGER_AGENT exception from check_send_allowed; keep <parent> only
2026-07-04 18:56:16 +02:00
damocles
c708f698ee fix(#2175): return 409/400 not 500 for turn-in-flight + validation errors 2026-07-04 13:13:20 +02:00
damocles
a26bbb15fc feat(#2089): docs pointer via system-prompt line, drop CLAUDE.md mechanism 2026-07-04 12:07:17 +02:00
damocles
6267bf56d0 feat(#2089): additive claude.md pointer to in-container docs 2026-07-04 11:30:33 +02:00
damocles
3d5957c87b web-ui: deadline-bound all broker-backed fetches so a busy hive-c0re can't hang api/state (closes #2148) 2026-07-03 21:42:45 +02:00
damocles
be5b36911a recv: hoist RECV_BATCH_MAX into hive-sh4re, drop magic 5 in wake hint 2026-07-03 18:50:21 +02:00
damocles
78396c8189 recv: cap batch size at 5, default stays 1 (#2150 clarified) 2026-07-03 18:50:21 +02:00
damocles
ee45db6323 Revert "recv mcp tool: default max to a small batch of 5 (wire default stays 1)"
This reverts commit b8d608d4b6a7ed95faffdec8d8b3167ae8f3b39e.
2026-07-03 18:50:21 +02:00
damocles
d46d3c261b recv mcp tool: default max to a small batch of 5 (wire default stays 1) 2026-07-03 18:50:21 +02:00
atlas
8406a45275 feat(#1997): add prettier markdown formatter to treefmt
- .prettierrc: proseWrap=preserve (no prose reflow)
- .prettierignore: exclude hivectl-cli.md (auto-generated) + 11 docs
  with multi-line list-item continuations prettier would strip to col 0
  (CommonMark limitation in prettier's list handling)
- format 16 markdown files: cosmetic only (*→_, table alignment,
  heading normalisation) — verified no broken continuations, idempotent
2026-07-02 23:33:11 +02:00
iris
db85cdfdc2 docs(get_agent_meta): add matrix_accounts to tool description
The feat added matrix_accounts to the GetAgentMeta response in
commit 5b442796 but didn't update the MCP tool description string
that agents see when introspecting the tool. Add a brief note so
agents know to expect the field.
2026-07-02 16:38:42 +02:00
damocles
383bb3b083 make the forge-notify cursor bound explicit: shared fetch-limit const + assert + docs (closes #2117) 2026-07-02 12:57:55 +02:00
damocles
34374fd10a add ack_until: bulk-ack inbox messages by id + surface msg ids in wake prompts and recv (closes #2125) 2026-07-02 12:55:18 +02:00
damocles
c7bac398b2 address mara: drop CompactionMode, always checkpoint-then-compact 2026-07-01 19:05:24 +02:00
damocles
fc42f97691 parallelize graceful agent drains, serialize container stops on fast lane; unify shutdown+checkpoint+compact prompt 2026-07-01 19:05:24 +02:00
damocles
f6d9ca7f99 fold forge_cursor into hyperhive-harness.json + prose comments (mara/argus review) 2026-07-01 18:52:56 +02:00