hyperhive/swarm-controller/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 36810ae598 fix(#3529): create agent config repos in agent-configs, not agents
WIP — compiles per an earlier build, but the verifying build/test run was
cut short by a graceful stop. Re-run gate.sh before pushing.

The controller created every agent config repo, its collaborator entry,
its branch protection and its seeded agent.nix/flake.nix in the agents
org. Config repos live in agent-configs, which is where hive-c0re
reconciles, merges and mirrors them — so a repo created in agents is
invisible to all of those, and nothing errors, because both orgs exist
and both accept a repo.

Root cause was a doc comment asserting something false: AGENTS_ORG
claimed to be the same org hive-c0re uses for its config-repo path. It is
not — hive-c0re's agents org is the namespace repos an AGENT ASKS FOR
land in, and its config repos use agent-configs. The whole flow inherited
the wrong premise from that sentence.

The merge gate survives the move: hive-c0re provisions the operators team
in both orgs, with a comment recording that missing the agent-configs
copy once left every config repo unprotected.
2026-08-19 19:06:46 +02:00
..
auth.rs swarm-controller: CreateIdentity node, auth-bridge client, POST /api/agents 2026-08-16 22:38:40 +02:00
forge.rs fix(#3529): create agent config repos in agent-configs, not agents 2026-08-19 19:06:46 +02:00
main.rs fix(#3529): create agent config repos in agent-configs, not agents 2026-08-19 19:06:46 +02:00
status.rs refactor(swarm-queue-client): typed errors for the bucket and the guard 2026-08-16 13:14:03 +02:00
webhook.rs docs(#3255): state the present, drop the changelog framing 2026-08-18 12:35:27 +02:00