fix(nix): keep the domain-derived defaults total
The required-domain assertion in hive-network.nix could not be reached: `forge.<domain>` and `matrix.<domain>` are evaluated while the assertion list is, so an unset domain threw `cannot coerce null to a string` naming one of those options instead of printing the message that says which option to set. Both defaults now fall back to a name under the reserved `.invalid` TLD, which the assertion refuses to let out the door.
This commit is contained in:
parent
ec565120af
commit
747f405c6f
4 changed files with 21 additions and 6 deletions
|
|
@ -38,10 +38,10 @@ rename — a hive that pins `domain` explicitly keeps exactly the value it
|
|||
has today, which is the point: re-rooting where a value *comes from*
|
||||
must not reinterpret the values already deployed.
|
||||
|
||||
`hiveName` and
|
||||
`swarm.name` are purely display — they surface in the dashboard chrome
|
||||
header and per-agent system prompts. Federated hives at different
|
||||
domains can share a `swarm.name`; that it sits under `swarm` and
|
||||
`hiveName` and `swarm.name` are purely display — they surface in the
|
||||
dashboard chrome header and per-agent system prompts. Federated hives
|
||||
at different domains can share a `swarm.name`; that it sits under
|
||||
`swarm` and
|
||||
`hiveName` does not is the whole distinction — one names this hive, the
|
||||
other names the group it belongs to.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue