docs(matrix): document hive Matrix Space creation and persistence
This commit is contained in:
parent
975ffd08a2
commit
9d7a3a7d9a
1 changed files with 19 additions and 0 deletions
|
|
@ -122,6 +122,25 @@ Initial rollout settings:
|
||||||
- `allow_encryption = false` per operator call; E2EE re-enabling is
|
- `allow_encryption = false` per operator call; E2EE re-enabling is
|
||||||
deferred to a follow-up.
|
deferred to a follow-up.
|
||||||
|
|
||||||
|
## Hive Matrix Space
|
||||||
|
|
||||||
|
On first boot (after all agent accounts are provisioned), hive-c0re
|
||||||
|
creates a private **Matrix Space** named `"hive"` using the admin
|
||||||
|
account (`@hive:<server_name>`) and invites every provisioned agent
|
||||||
|
into it. This gives the operator a single Space in FluffyChat or any
|
||||||
|
Matrix client that groups all agent-to-agent + operator rooms in one
|
||||||
|
place.
|
||||||
|
|
||||||
|
**State**: the room ID is persisted to
|
||||||
|
`/var/lib/hyperhive/matrix-space-room-id` (mode `0600`, root-owned).
|
||||||
|
This path is **outside** every agent state dir and is NOT deleted by
|
||||||
|
`nixos-container destroy --purge` — the Space survives full agent
|
||||||
|
purges and is reused on re-provision.
|
||||||
|
|
||||||
|
**Idempotent**: if the file exists and is non-empty, the Space is
|
||||||
|
considered already created. Delete the file to force re-creation (e.g.
|
||||||
|
after a homeserver wipe).
|
||||||
|
|
||||||
## Assertion rationale
|
## Assertion rationale
|
||||||
|
|
||||||
Two `config.assertions` entries fail eval early rather than ship
|
Two `config.assertions` entries fail eval early rather than ship
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue