Watch
0
0
Fork
You've already forked hyperhive
0

add a per-agent nix builds mode, host or none, carried like privateUsers

This commit is contained in:
atlas 2026-11-03 00:30:55 +01:00 • committed by mara
commit 5485151ba6

View file

@ -10,6 +10,10 @@ Foundational shared **newtypes** for the hyperhive workspace. A zero-dependency
- **`Permission`** — the set of named permissions an agent may hold, with its
stored `snake_case` names and the MCP and built-in tools each grants.
- **`NixBuilds`** — where an agent's nix builds run (`host` or `none`), as
`services.hyperhive.agent.nixBuilds` sets it. It rides the swarm closure record,
the builder's reply and the `hive-priv` wire; a spelling it doesn't know reads
as `none`.
- **`Ident`** — a validated agent-name newtype. Typing agent-name fields as
`Ident` (rather than bare `String`) gets serde-validated parsing **at the
socket boundary for free**: a malformed name is rejected at deserialize time