damocles
3e94914569
fix #289 : full forge sync on rebuild (extract sync_agent, use in rebuild_agent)
...
extract per-agent forge logic from ensure_all() into sync_agent()
so both the startup sweep and rebuild_agent call identical code.
rebuild now runs: ensure_user_for + ensure_config_repo + push_config
+ meta_read_access + ensure_meta_remote — same as the boot sweep.
missing tokens and drift in any forge state are fixed by rebuild,
not just hive reboot.
2026-05-22 22:18:05 +02:00
damocles
7ad9809207
fix #289 : re-seed forge token in rebuild_agent
...
if forge_after_first_spawn fails transiently on first spawn the
token is missing. rebuild_agent now calls ensure_user_for so
a manual rebuild (or the startup auto-update scan) recovers
the missing token — no full hive reboot needed.
2026-05-22 22:18:05 +02:00
iris
2f1b846baf
dashboard: show meta-update progress in the META INPUTS panel
...
post_meta_update returns 200 immediately and runs the nix flake
update + agent-rebuild ripple in a background task, so the META
INPUTS panel looked idle for the whole multi-minute window (#259 ).
Track in-flight runs with a Coordinator atomic counter, exposed via
an RAII MetaUpdateGuard held across run_meta_update. Surface it as
the meta_update_running snapshot field plus a MetaUpdateRunning SSE
event (flipped only when the count crosses 0, so concurrent runs
flip the flag once). The panel shows a pulsing in-progress banner
and disables the update button while a run is active.
2026-05-22 21:54:28 +02:00
damocles
20d2b48fe5
hive-forge: fix comment --body flag swallowing, add comment-edit verb
2026-05-22 21:35:08 +02:00
damocles
3f08051bda
lifecycle: seed applied repo at template commit, not main, for first-spawn diff
2026-05-22 21:29:52 +02:00
damocles
93bf91535f
hive-forge: add --milestone to issue-edit
2026-05-22 20:31:13 +02:00
damocles
66ec8390e1
hive-forge: add comment-show <id> [--json] [repo]
2026-05-22 20:21:05 +02:00
iris
a9a10b631f
dashboard: show when an approval was requested ( closes #272 )
2026-05-22 20:06:45 +02:00
damocles
908cadb151
docs: add missing #[must_use], # Errors, # Panics across public api
2026-05-22 19:41:27 +02:00
damocles
748536203b
refactor: split long functions per review feedback; remove all #[allow] attributes
2026-05-22 19:24:44 +02:00
damocles
bbe2112dc9
fix: use try_from for i64/u64 casts; split format_notification into helpers
2026-05-22 19:14:22 +02:00
damocles
484cea62c7
fix #265 : resolve all remaining clippy warnings (cast, too_many_lines, doc nits)
2026-05-22 19:11:40 +02:00
damocles
30d82148e0
clippy: apply auto-fixable warnings across workspace ( closes #265 partial)
2026-05-22 18:55:57 +02:00
damocles
56d0b02c2f
nix: drop unused weston-rdp.nix ( closes #263 )
2026-05-22 17:30:32 +02:00
damocles
4a0d08154e
forge_notify: detect review requests via requested_reviewers ( closes #253 )
2026-05-22 16:54:29 +02:00
damocles
845fafdf1b
forge_notify: show assignees and reviewers unconditionally ( closes #256 )
2026-05-22 16:45:41 +02:00
iris
9b9277db78
fix: vendor marked UMD build so window.marked is defined (issue #244 )
2026-05-22 16:33:13 +02:00
damocles
b283768f26
forge: replace curl shell-outs with reqwest http helper ( closes #249 )
2026-05-22 16:26:44 +02:00
damocles
5c360e8293
forge_notify: filter self-notifications, detect PR reviews ( closes #230 , closes #231 )
2026-05-22 15:29:38 +02:00
damocles
bbe4cdb872
add meta read access and remote for agents on forge
2026-05-22 15:28:06 +02:00
damocles
4bc5237bea
harness: fix sandbox-fallback conflict with lib.mkForce ( closes #247 )
2026-05-22 15:24:48 +02:00
damocles
7426654a74
crash_watch: track prev_sub_agents to fix needs_login for newly spawned agents
2026-05-22 12:31:18 +02:00
damocles
55fe2856b9
actions: emit needs_login after first spawn, fix update_meta_inputs arity
2026-05-22 12:31:18 +02:00
damocles
6ca72074c4
docs: move sandbox threat model to docs/security.md, add code reference
2026-05-22 12:28:04 +02:00
damocles
a6bd4cf502
harness: document sandbox threat model and credential permission requirements
2026-05-22 10:57:13 +02:00
damocles
66f1568e8f
apply_commit handles first-time spawns, request_spawn deprecated
2026-05-22 10:52:02 +02:00
damocles
6974634326
harness: set sandbox-fallback = true to fix nix builds in containers ( fixes #196 )
2026-05-22 10:51:10 +02:00
damocles
3e098c56ff
update_meta_inputs: require operator approval, rename to request_update_meta_inputs
2026-05-22 10:49:20 +02:00
damocles
597e4ba03a
manager: add update_meta_inputs tool to update flake.lock on demand ( closes #235 )
2026-05-22 10:49:20 +02:00
iris
15e44955a8
web: clickable links in terminal rows and dashboard messages (issue #233 )
2026-05-22 01:17:38 +02:00
damocles
4b51c198d5
forge_notify: add repo slug to notification header for multi-repo disambiguation
2026-05-22 00:50:19 +02:00
damocles
20bb343f27
forge_notify: add issue/PR number to header, drop repo: line, show assignee on new items ( closes #225 )
2026-05-22 00:50:19 +02:00
damocles
c99261b042
harness: add request_next_turn MCP tool — immediate self-continuation ( closes #216 )
2026-05-22 00:35:13 +02:00
damocles
de6ff3da29
hive-forge: add milestone verb (list/create/close), closes #226
2026-05-22 00:18:45 +02:00
damocles
02ace544bc
hive-forge: restore issue-edit verb lost in rebase
2026-05-21 23:47:18 +02:00
damocles
0615b0521f
hive-forge: add pr-create and issue-create verbs, closes #209
2026-05-21 23:44:27 +02:00
damocles
5de795c55f
hive-forge: drop notifications/notif-read verbs — conflict with forge_notify daemon
2026-05-21 23:39:11 +02:00
damocles
c8b544d340
hive-forge: add diff, notifications, notif-read, subscription verbs ( closes #214 )
2026-05-21 23:35:41 +02:00
damocles
8d3be74fd2
harness: fix hive-dashboard-links state dir — drop legacy /state, use /agents/*/state
2026-05-21 23:20:13 +02:00
damocles
66c481a07a
harness+dashboard: declarative dashboardLinks option ( closes #191 )
2026-05-21 23:20:13 +02:00
iris
f510a321df
screen: add match-size — RFB SetDesktopSize to resize the remote desktop
2026-05-21 23:15:36 +02:00
damocles
317d580405
harness: fix tea-login using getent (not in PATH) — hardcode /root
2026-05-21 23:05:13 +02:00
damocles
f762348fca
harness: fix tea-login writing to /.config instead of /root/.config
2026-05-21 22:52:37 +02:00
damocles
2d3a87f545
forge-avatar-sync: rasterize SVG at 512px
2026-05-21 22:37:45 +02:00
damocles
94f5f53ca9
harness: rasterize SVG icon to PNG for Forgejo avatar upload ( fixes #197 )
2026-05-21 22:37:45 +02:00
damocles
03fec39405
forge_notify: flip keepSubscriptions default — agents keep, manager auto-unsubs
2026-05-21 22:33:35 +02:00
damocles
d58a3a3303
manager: keepSubscriptions = true by default
2026-05-21 22:33:35 +02:00
damocles
1adfd604b6
forge_notify: hyperhive.forge.keepSubscriptions NixOS option
2026-05-21 22:33:35 +02:00
damocles
717086b02d
forge_notify: HIVE_FORGE_KEEP_SUBSCRIPTIONS=1 disables auto-unsubscribe
2026-05-21 22:33:35 +02:00
damocles
eb63c7ebb1
forge_notify: auto-unsubscribe from repo watches on subscribed notifications
2026-05-21 22:33:35 +02:00