hyperhive/hive-c0re/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas daa6eb96f8 deploy: move the hive CA's knobs to deploy.hive-controller.tls
`services.hyperhive.tls.{stateDir,caValidityDays,leafValidityDays}` sat at
the top of `services.hyperhive`, which is meant to be everything about
hyperhive rather than the settings of one hive. Where the hive CA lives,
how long it lasts and how long the leaves it signs last are decisions of
the host holding the key — `deploy.*`, by the same rule as the switches
that moved before them.

`hive-controller` is hive-c0re's new name (mara on the issue), so the
knobs hang off the daemon that owns the CA rather than off a bare `tls`
at the root. mkRenamedOptionModule entries carry existing configs.

⚠️ Unlike the two switch renames, these names are NOT unique, so this was
swept by ALIAS BINDING rather than by identifier: hive-tls.nix alone holds
two options spelled `stateDir` — its own `cfg.stateDir` and the swarm CA's
`swarmCaCfg.stateDir`, four sites that must not move. Nine files bind an
alias to this config; the rename followed those bindings.

Two sites were invisible to the obvious check, and an unanchored sweep for
`hyperhive\.tls\b` is what found them: the option declaration (`= {` after
the path, so no trailing `.` or `;`) and the alias convention documented in
a comment in lib/hive-ca-trust.nix.

Also renamed the `<tls.stateDir>` shorthand in four docs and two Rust doc
comments, anchored on its delimiters — the new path contains the old one
as a substring, so an unanchored replace would have doubled the prefix.
2026-08-30 20:52:00 +02:00
..
agent_config hive-c0re: drop stale 'question' example from check_size doc 2026-08-30 03:42:57 +02:00
dashboard Fix nix references in prose that no longer resolve 2026-08-30 14:30:27 +02:00
forge deploy: move the forge CI runner toggle out of swarm 2026-08-30 16:07:21 +02:00
job_queue swarm-queue-based lifecycle notices, replacing push_todo(MANAGER_AGENT) 2026-08-24 14:34:37 +02:00
lifecycle hive-c0re: stop naming nix implementation files in env-var prose 2026-08-30 14:13:11 +02:00
socket_server hive-c0re/hive-sh4re: remove the ask/answer wire protocol + core routing 2026-08-30 01:18:17 +02:00
stats Fix nix references in prose that no longer resolve 2026-08-30 14:30:27 +02:00
stores hive-c0re/hive-agent-mcp: fix 3 leftover ask/answer-removal doc comments 2026-08-30 03:42:57 +02:00
workers knowledge: remove the redundant concurrent boot-time pull that races with reset --hard, and clean -fd untracked drift too 2026-08-24 14:38:15 +02:00
actions.rs refactor(#2916): destroy submits a DAG instead of an imperative teardown 2026-08-14 00:24:45 +02:00
container_view.rs Fix nix references in prose that no longer resolve 2026-08-30 14:30:27 +02:00
coordinator.rs hive-c0re/hive-agent-mcp: fix 3 leftover ask/answer-removal doc comments 2026-08-30 03:42:57 +02:00
dashboard_events.rs hive-c0re: remove the dashboard's ask/answer surface 2026-08-29 23:20:17 +02:00
gateway_nginx.rs Fix nix references in prose that no longer resolve 2026-08-30 14:30:27 +02:00
loose_ends.rs docs/hive-c0re: fix ask/answer removal doc gaps argus caught on #3741 2026-08-30 03:02:31 +02:00
main.rs require network isolation, deleting the residual non-isolated branch 2026-08-30 03:32:08 +02:00
matrix.rs deploy: move the matrix homeserver toggle out of swarm 2026-08-30 15:17:02 +02:00
meta.rs deploy: move the hive CA's knobs to deploy.hive-controller.tls 2026-08-30 20:52:00 +02:00
migrate.rs refactor(#2916): drop the two obsolete startup migrations 2026-08-02 01:41:37 +02:00
paths.rs Fix nix references in prose that no longer resolve 2026-08-30 14:30:27 +02:00
priv_client.rs require network isolation, deleting the residual non-isolated branch 2026-08-30 03:32:08 +02:00
server.rs deploy: move the matrix homeserver toggle out of swarm 2026-08-30 15:17:02 +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_notices.rs swarm-queue-based lifecycle notices, replacing push_todo(MANAGER_AGENT) 2026-08-24 14:34:37 +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 swarm-queue-based lifecycle notices, replacing push_todo(MANAGER_AGENT) 2026-08-24 14:34:37 +02:00
test_env.rs test(hive-c0re): one crate-wide lock for env-mutating tests 2026-08-19 01:38:54 +02:00
webhook_secret.rs chore(#2510): bump indicatif/tower-http/hmac/sha2 to latest majors 2026-07-16 10:42:30 +02:00