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 46d0b46670 hive-c0re: decide matrix token presence from metadata, not by reading it
hive-priv writes an agent's matrix-token 0600 and owned by the agent,
so hive-c0re, running as hive-core, cannot read it. The read-based
token-present guard in ensure_user_for therefore never fired, and every
matrix sweep (boot, every 30 minutes, every rebuild) re-minted each
agent's token through the appservice login and restarted its
hive-matrix-daemon.

Decide presence with a stat instead: a non-empty regular file counts as
present. hive-core can stat the file through the 0755 state dir.

Closes #4665
2026-09-25 00:11:24 +02:00
..
agent_config docs+comments: say what changed instead of tagging the tracker item 2026-09-21 22:43:16 +02:00
dashboard dashboard: fail purge-tombstone closed when the container list is unreadable 2026-09-24 12:20:08 +02:00
forge hive-c0re: stop minting agent forge tokens 2026-09-24 17:48:53 +02:00
job_queue hive-c0re: fail a nixos-container destroy that leaves the container in place 2026-09-24 12:18:34 +02:00
lifecycle hive-c0re: fail a nixos-container destroy that leaves the container in place 2026-09-24 12:18:34 +02:00
socket_server docs: drop dead-claim narration for the retired loose-ends override 2026-09-24 12:24:32 +02:00
stats topology: drop the parent field and the hierarchy it fed 2026-09-21 22:08:47 +02:00
stores topology: drop the parent field and the hierarchy it fed 2026-09-21 22:08:47 +02:00
workers workers: skip a cycle instead of spawning/alerting on an unreadable container list 2026-09-24 18:15:09 +02:00
actions.rs hive-c0re: stop minting agent forge tokens 2026-09-24 17:48:53 +02:00
container_view.rs topology: drop the parent field and the hierarchy it fed 2026-09-21 22:08:47 +02:00
coordinator.rs topology: drop the parent field and the hierarchy it fed 2026-09-21 22:08:47 +02:00
dashboard_events.rs remove the 1NFR4 dashboard panel and the now-writer-less audit log 2026-08-31 00:18:21 +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-agent-mcp, hive-c0re, hive-sh4re: drop agent param from get_loose_ends 2026-09-20 05:36:49 +02:00
main.rs log: send records natively to journald, keep stdout off-unit 2026-09-21 15:52:57 +02:00
matrix.rs hive-c0re: decide matrix token presence from metadata, not by reading it 2026-09-25 00:11:24 +02:00
meta.rs agents: pull the forge token from bao; drop tea-login 2026-09-24 17:48:53 +02:00
migrate.rs docs: repoint eighteen pointers whose section no longer exists 2026-09-02 09:00:23 +02:00
paths.rs matrix: name the credential after the account it authenticates as 2026-09-20 22:07:16 +02:00
priv_client.rs hive-c0re: stop minting agent forge tokens 2026-09-24 17:48:53 +02:00
server.rs hive-c0re: stop minting agent forge tokens 2026-09-24 17:48:53 +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: converge when the controller republishes, not only at boot 2026-09-03 00:36:57 +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 hive-c0re: pin the two security boundaries that had no test 2026-09-23 17:00:44 +02:00