hyperhive/docs
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
..
agent-hierarchy.md docs: scrub #NNN self-references (closes #719) 2026-05-31 17:47:21 +02:00
approvals.md scheduled_prompts: address argus 🟡 on #849 — submit paths section + persistence.md anchor fix 2026-05-31 17:18:15 +02:00
boundary.md docs: move backlog to forge issue tracker, extract boundary doc 2026-05-20 12:19:16 +02:00
conventions.md docs: scrub #NNN self-references (closes #719) 2026-05-31 17:47:21 +02:00
damocles-migration.md Phase 7e: damocles migration plan; CLAUDE.md phase status 2026-05-15 00:32:26 +02:00
forge.md hive-ag3nt + docs: extract forge_notify prose (#716 batch 4) 2026-05-31 17:17:24 +02:00
gateway.md gateway: hot-reload agents.conf at runtime (#869) 2026-05-31 20:29:56 +02:00
gotchas.md docs/gotchas.md: scrub self-ref cookies (#719 batch 3) 2026-05-31 15:46:02 +02:00
matrix.md docs: scrub #NNN self-references (closes #719) 2026-05-31 17:47:21 +02:00
network.md docs: scrub #NNN self-references (closes #719) 2026-05-31 17:47:21 +02:00
persistence.md docs: extract best-effort oneshot service contract + matrix-avatar (#718 batch 6) 2026-05-31 16:14:38 +02:00
security.md docs: scrub self-ref cookies across 5 files (#719 batch 2) 2026-05-31 15:39:09 +02:00
terminal-rendering.md docs: scrub self-ref cookies across 5 files (#719 batch 2) 2026-05-31 15:39:09 +02:00
turn-loop.md hive-ag3nt + docs: extract harness binary shape prose (#716 batch 5) 2026-05-31 17:18:22 +02:00
web-ui.md dashboard: new S3TT1NGS tab housing the notification toggle (closes #763) 2026-05-31 17:55:30 +02:00