Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/hive-c0re/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 58ef299c3c hive-c0re: remove the approvals subsystem
Nothing submits an approval since scheduled prompts left hive-c0re, so the
queue only acted on rows written before that.

- hive-c0re: the approvals store and its migrations, approve/deny/
  resolve actions, the ResolveApproval tail node (and meta_update's
  approval_id), POST /api/approve and /api/deny, the approval views on
  /api/state, the approval_resolved dashboard event, the orphan GC,
  destroy/purge failing pending rows, and the approval rows in
  get_loose_ends. DestroyBookkeeping loses the purge flag, which only
  worded the approval-failure note.
- The CancelLooseEnd request goes: its only hive-c0re arm was the
  approval one. cancel_loose_end handles reminder and todo in the harness.
- Wire types: hive_sh4re::approvals (ReminderStats moves to inbox),
  LooseEnd::Approval, CancelLooseEndKind, HelperEvent::ApprovalResolved,
  ToolGroup::Approvals, HostRequest::{Pending,Approve,Deny} and
  HostResponse.approvals. HOST_SOCK_VERSION goes to 2 for the removed
  field.
- hivectl loses the approvals verbs; docs/tools/hivectl-cli.md is
  regenerated.
- The system prompt drops approval_resolved.
- The approvals table stays in broker.sqlite, unread, the same way the
  operator_questions table was left when its store was removed.
- An `approvals` entry still in tool-groups.json is skipped with a warning
  by ToolGroup::parse_list, like any unknown group.
- docs/agent-lifecycle/approvals.md is renamed to config-changes.md so the
  code's doc pointers resolve; its content follows in the docs commit.
2026-10-04 23:55:32 +02:00
..
agent_config hive-c0re: fail on an unparseable resource-limits or topology file, write both atomically 2026-09-27 02:41:38 +02:00
dashboard hive-c0re: remove the approvals subsystem 2026-10-04 23:55:32 +02:00
forge hive-c0re: remove the approvals subsystem 2026-10-04 23:55:32 +02:00
job_queue hive-c0re: remove the approvals subsystem 2026-10-04 23:55:32 +02:00
lifecycle hive-c0re: remove the approvals subsystem 2026-10-04 23:55:32 +02:00
socket_server hive-c0re: remove the approvals subsystem 2026-10-04 23:55:32 +02:00
stats hive-c0re: warn on a du failure that isn't just a missing path 2026-09-29 09:37:16 +02:00
stores hive-c0re: remove the approvals subsystem 2026-10-04 23:55:32 +02:00
workers hive-c0re: remove the approvals subsystem 2026-10-04 23:55:32 +02:00
actions.rs hive-c0re: remove the approvals subsystem 2026-10-04 23:55:32 +02:00
container_view.rs hive-c0re: fail on a malformed agent name and on an unreadable container list 2026-09-27 05:13:21 +02:00
coordinator.rs hive-c0re: remove the approvals subsystem 2026-10-04 23:55:32 +02:00
dashboard_events.rs hive-c0re: remove the approvals subsystem 2026-10-04 23:55:32 +02:00
gateway_nginx.rs gateway: $connection_upgrade does not come from recommendedProxySettings 2026-09-02 09:04:24 +02:00
loose_ends.rs hive-c0re: remove the approvals subsystem 2026-10-04 23:55:32 +02:00
main.rs hive-c0re: remove the approvals subsystem 2026-10-04 23:55:32 +02:00
matrix.rs swarm-secret-client: hives no longer read swarm/services/* 2026-10-04 23:11:11 +02:00
meta.rs hive-c0re: remove the approvals subsystem 2026-10-04 23:55:32 +02:00
migrate.rs hive-c0re: remove the approvals subsystem 2026-10-04 23:55:32 +02:00
paths.rs hive-c0re: drop the spawn-time forge user-email, repo-creation and config-repo passes 2026-10-04 20:50:50 +02:00
priv_client.rs github: PATs live in swarm bao; the agent fetches them itself 2026-10-02 17:48:27 +02:00
server.rs hive-c0re: remove the approvals subsystem 2026-10-04 23:55:32 +02:00
snapshot_push.rs refactor(#2862): one snapshot store per swarm, not one per peer 2026-07-31 22:15:37 +02:00
swarm_agent_status.rs swarm: present tense + no-queue-coordinates wording 2026-09-13 12:01:58 +02:00
swarm_notices.rs swarm: present tense + no-queue-coordinates wording 2026-09-13 12:01:58 +02:00
swarm_queue.rs swarm-queue-based lifecycle notices, replacing push_todo(MANAGER_AGENT) 2026-08-24 14:34:37 +02:00
swarm_status.rs hive-c0re: remove the approvals subsystem 2026-10-04 23:55:32 +02:00
test_env.rs test(hive-c0re): one crate-wide lock for env-mutating tests 2026-08-19 01:38:54 +02:00