hyperhive/hive-c0re/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 07434e8f50 gateway: hot-reload agents.conf at runtime (#869)
Replace eval-time per-agent nginx location baking with a runtime
include file. c0re writes /var/lib/hyperhive/agents.conf (nginx
location blocks, UDS or TCP per agent) on every topology change and
on the 10s marker poll. The gateway container bind-mounts
/var/lib/hyperhive/ at /run/hive-state/ and nginx includes
/run/hive-state/agents.conf. A systemd path unit inside the container
watches the file for changes and fires `nginx -s reload` on each
atomic rename from c0re — no nixos-rebuild switch needed when agents
start, stop, or flip useUnixSocket.

  - new hive-c0re/src/gateway_nginx.rs: write() + render()
  - lib.rs + meta.rs + agent_sockets::spawn_poll: hook in write()
  - hive-gateway.nix: drop agentPortsTable/agentSocketsTable/
    agentUpstreamFor/lib.mapAttrs', add /run/hive-state bind-mount,
    include directive, systemd path unit + reload service, tmpfiles
    for /var/lib/hyperhive + agents.conf seed
  - docs/gateway.md: update vhost table + Per-agent UDS section
2026-05-31 20:29:56 +02:00
..
bin hive-c0re: scrub manager-surface cookies + SetParent doc fix (#715 batch 7) 2026-05-31 17:53:45 +02:00
actions.rs clippy: fix lints that crane's cargoClippy properly enforces (#538) 2026-05-29 01:45:48 +02:00
agent_ports.rs gateway: hot-reload agents.conf at runtime (#869) 2026-05-31 20:29:56 +02:00
agent_server.rs hive-c0re: extract agent-socket-plumbing prose (#715 batch 5) 2026-05-31 17:32:21 +02:00
agent_sockets.rs gateway: hot-reload agents.conf at runtime (#869) 2026-05-31 20:29:56 +02:00
approvals.rs hive-c0re: scrub manager-surface cookies + SetParent doc fix (#715 batch 7) 2026-05-31 17:53:45 +02:00
auto_update.rs clippy: fix lints that crane's cargoClippy properly enforces (#538) 2026-05-29 01:45:48 +02:00
broker.rs broker: add mark_all_read + POST /api/agent/{name}/mark-all-read (#559 backend half) 2026-05-29 13:14:31 +02:00
build_logs.rs hive-c0re: full build-log capture to sqlite, drop 32-line stderr ring (#726 phase 1) 2026-05-31 20:28:43 +02:00
client.rs hive-c0re: admin socket server + client (stub dispatch) 2026-05-14 20:49:11 +02:00
container_view.rs hive-c0re/container_view.rs: scrub attribution cookies (#715 batch 4) 2026-05-31 17:21:53 +02:00
coordinator.rs hive-c0re: full build-log capture to sqlite, drop 32-line stderr ring (#726 phase 1) 2026-05-31 20:28:43 +02:00
crash_watch.rs hive-c0re: scrub attribution cookies across background-task modules (#715 batch 6) 2026-05-31 17:39:40 +02:00
dashboard.rs fix post_set_parent doc: manager is reparentable 2026-05-31 20:05:01 +02:00
dashboard_events.rs clippy: fix lints that crane's cargoClippy properly enforces (#538) 2026-05-29 01:45:48 +02:00
events_vacuum.rs fix #265: resolve all remaining clippy warnings (cast, too_many_lines, doc nits) 2026-05-22 19:11:40 +02:00
flake_check.rs nix: hyperhive owns nixpkgs pin via follows; bump to nixos-26.05 (#526) 2026-05-30 12:02:48 +02:00
forge.rs hive-c0re: scrub host-integration cookies (#715 batch 8) 2026-05-31 17:50:45 +02:00
gateway_nginx.rs gateway: hot-reload agents.conf at runtime (#869) 2026-05-31 20:29:56 +02:00
lib.rs gateway: hot-reload agents.conf at runtime (#869) 2026-05-31 20:29:56 +02:00
lifecycle.rs hive-c0re: full build-log capture to sqlite, drop 32-line stderr ring (#726 phase 1) 2026-05-31 20:28:43 +02:00
limits.rs set_status: reject multi-line and over-200-char text (#720) 2026-05-31 11:54:08 +02:00
loose_ends.rs rename: open_threads → loose_ends + cancel_thread → cancel_loose_end across wire / tools / web ui 2026-05-18 18:24:09 +02:00
main.rs hive-c0re: full build-log capture to sqlite, drop 32-line stderr ring (#726 phase 1) 2026-05-31 20:28:43 +02:00
manager_server.rs hive-c0re: scrub manager-surface cookies + SetParent doc fix (#715 batch 7) 2026-05-31 17:53:45 +02:00
matrix.rs hive-c0re/matrix.rs: trim UIAA prose to docs pointer (#715 batch 1) 2026-05-31 16:55:55 +02:00
meta.rs gateway: hot-reload agents.conf at runtime (#869) 2026-05-31 20:29:56 +02:00
migrate.rs model/context: move context window config to host-level hive-c0re.nix 2026-05-20 15:49:03 +02:00
operator_questions.rs clippy: zero pedantic warnings across the tree 2026-05-18 22:09:34 +02:00
questions.rs hive-c0re: scrub manager-surface cookies + SetParent doc fix (#715 batch 7) 2026-05-31 17:53:45 +02:00
rebuild_queue.rs hive-c0re: scrub host-integration cookies (#715 batch 8) 2026-05-31 17:50:45 +02:00
reminder_scheduler.rs hive-c0re: scrub attribution cookies across background-task modules (#715 batch 6) 2026-05-31 17:39:40 +02:00
scheduled_prompts.rs scheduled_prompts: address argus 🟡 on #849 — submit paths section + persistence.md anchor fix 2026-05-31 17:18:15 +02:00
scheduled_prompts_worker.rs hive-c0re: scrub attribution cookies across background-task modules (#715 batch 6) 2026-05-31 17:39:40 +02:00
server.rs topology: drop manager-root special case + notify three agents on reparent (#743) 2026-05-31 13:27:30 +02:00
stats_vacuum.rs fix #265: resolve all remaining clippy warnings (cast, too_many_lines, doc nits) 2026-05-22 19:11:40 +02:00
topology.rs hive-c0re/topology.rs: trim prose to docs pointers (#715 batch 3) 2026-05-31 17:17:07 +02:00