treefmt: apply prettier
Pure `nix fmt` output from the commit before this one — no hand edits. 203 files: 52 md, 42 tsx, 32 js, 32 css, 21 ts, 13 html, 8 json, 3 mjs. Reproduce with `nix develop -c nix fmt` on the parent commit; the result should be byte-identical to this tree. None of the 13 `.prettierignore` entries appears here — verified by intersecting the changed-file list against the ignore file, with a control proving the intersection finds a match when one exists.
This commit is contained in:
parent
5d24bedd60
commit
39b95c2ede
203 changed files with 10090 additions and 6085 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# swarm-controller
|
||||
|
||||
The **swarm-level** daemon. Where `hive-c0re` owns the agents on one host, this
|
||||
owns what is true *across* hives — so a swarm runs one of them and most hives
|
||||
owns what is true _across_ hives — so a swarm runs one of them and most hives
|
||||
leave it off.
|
||||
|
||||
Opt-in per host via `services.hyperhive.deploy.swarm-controller.enable`, which is
|
||||
|
|
@ -12,7 +12,7 @@ a statement about swarm topology, not about whether hyperhive is installed.
|
|||
|
||||
Serves one `/health` endpoint and holds no state.
|
||||
|
||||
That is the whole intent of the first slice. The point is to make the *unit*
|
||||
That is the whole intent of the first slice. The point is to make the _unit_
|
||||
real — service user, runtime and state directories, socket, nginx
|
||||
reachability — so the swarm-level surfaces that follow have somewhere to land.
|
||||
Inventing those surfaces before they are agreed would bake in a shape nobody
|
||||
|
|
@ -32,8 +32,8 @@ The socket path is `services.hyperhive.swarm.controller.socketPath`, default
|
|||
|
||||
The socket is `0666`. It has to be: nginx runs as a different user and
|
||||
`connect(2)` needs write. This matches how `hive-c0re` publishes the per-agent
|
||||
sockets, and rests on the same argument — *"the bind source dir is per-agent on
|
||||
host so blast radius is unchanged."*
|
||||
sockets, and rests on the same argument — _"the bind source dir is per-agent on
|
||||
host so blast radius is unchanged."_
|
||||
|
||||
What keeps that safe is that the directory holds **one** socket. So:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue