hyperhive/hive-c0re/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 433b294099 refactor(nix): swarm.peers becomes swarm.hives, a directory of every hive
One attrset describing every hive in the swarm including this one,
identical on every host, with hiveName selecting which entry is us.
"My peers" is derived (swarm.peerHives) rather than declared.

Every field in the old per-host peer list was intrinsic to the hive it
described, never to the pair -- so the list was a directory each host
kept its own copy of. Beyond the deduplication it removes a bug class:
two hosts could hold different endpoints for the same third hive with
nothing to detect the disagreement.

Drops the per-hive caCert. Trust inside a swarm derives from the swarm
root, which every hive chains to. What that genuinely removes is
trusting a hive whose root this swarm does not own -- a cross-swarm
problem that wants a mechanism of its own, not a field that happened to
work.

The matrix container's certificateFiles block goes with it and could
NOT be migrated: that list is read at build time and the swarm root is
a runtime file (its key must never enter the store), so there is no
build-time name to put there. caCert being a nix path was precisely
what made it the build-time distribution channel. Agents are unaffected
-- hive-tls folds the root into the hive trust bundle and the meta
renderer embeds that one file. Tracked separately.

Migration is an assertion plus warnings, not a rename: hives is peers
union {self}, and the set gains a member no existing config has written
down. A rename migrates a name and a default can re-root a meaning;
neither can conjure a new member. The warning explains, the self-entry
assertion stops the build.
2026-08-05 20:44:16 +02:00
..
agent_config feat: derive BUN_JSC_forceRAMSize from effective per-agent MemoryMax= 2026-07-26 21:56:25 +02:00
dashboard refactor(nix): swarm.peers becomes swarm.hives, a directory of every hive 2026-08-05 20:44:16 +02:00
forge fix(#2911): keep the forge token out of argv 2026-08-02 13:21:42 +02:00
job_queue wip(#3001): convert tests off the container id; drop Source + insert_group 2026-08-04 19:57:32 +02:00
lifecycle docs: a config change is a PR from a clone, not an edit in place 2026-08-04 22:40:22 +02:00
socket_server wip(#3001): rename insert -> insert_job per mara's 50056 2026-08-04 19:57:32 +02:00
stats hive-c0re: finish chrono-clock migration 2026-08-02 02:12:19 +02:00
stores hive-c0re: deliver scheduled prompts via push_todo, not a broker message 2026-08-03 01:08:24 +02:00
workers wip(#3001): rename insert -> insert_job per mara's 50056 2026-08-04 19:57:32 +02:00
actions.rs wip(#3001): rename insert -> insert_job per mara's 50056 2026-08-04 19:57:32 +02:00
container_view.rs docs: name the swarm display name by its new path 2026-08-05 11:15:41 +02:00
coordinator.rs docs: stop implying matrix/bash/forge is a closed todo-producer list 2026-08-04 00:06:19 +02:00
dashboard_events.rs docs: stop asserting DagView/NodeView after their deletion 2026-08-03 21:47:58 +02:00
gateway_nginx.rs sweep: wire gateway-nginx reload + config-repo branch-protection into warning banners 2026-07-16 00:05:29 +02:00
loose_ends.rs hive-c0re: finish chrono-clock migration 2026-08-02 02:12:19 +02:00
main.rs knowledge: ping every agent when internal/knowledge changes 2026-08-02 03:10:06 +02:00
matrix.rs docs: name the matrix host options by their new path 2026-08-05 13:45:09 +02:00
meta.rs refactor(nix): swarm.peers becomes swarm.hives, a directory of every hive 2026-08-05 20:44:16 +02:00
migrate.rs refactor(#2916): drop the two obsolete startup migrations 2026-08-02 01:41:37 +02:00
paths.rs refactor(#2916): drop the two obsolete startup migrations 2026-08-02 01:41:37 +02:00
priv_client.rs fix: declare the agent socket dir's owner in tmpfiles, not by chown after 2026-08-04 01:00:48 +02:00
questions.rs delete c0re-side reminder plumbing (#2635 inc 1 commit 6) 2026-07-23 00:12:30 +02:00
server.rs refactor(nix): swarm.peers becomes swarm.hives, a directory of every hive 2026-08-05 20:44:16 +02:00
snapshot_push.rs refactor(#2862): one snapshot store per swarm, not one per peer 2026-07-31 22:15:37 +02:00
webhook_secret.rs chore(#2510): bump indicatif/tower-http/hmac/sha2 to latest majors 2026-07-16 10:42:30 +02:00