Compare commits
1 changed files with 9 additions and 20 deletions
|
|
@ -131,26 +131,15 @@ 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
|
Matrix client that groups all agent-to-agent + operator rooms in one
|
||||||
place.
|
place.
|
||||||
|
|
||||||
The sweep also provisions a default **`hive-chat` room** as an
|
**State**: the room ID is persisted to
|
||||||
`m.space.child` of the Space. Joining a Space doesn't auto-join
|
`/var/lib/hyperhive/matrix/space-room-id` (mode `0600`, root-owned).
|
||||||
child rooms — the explicit room entry ensures the operator and every
|
This path is **outside** every agent state dir and is NOT deleted by
|
||||||
agent can find a common chat room without manual setup. Room join is
|
`nixos-container destroy --purge` — the Space survives full agent
|
||||||
restricted (any Space member including the operator can join; agents
|
purges and is reused on re-provision.
|
||||||
are explicitly invited). Room version pinned to 10 for the restricted
|
|
||||||
join floor.
|
|
||||||
|
|
||||||
**State**: both room IDs are persisted to `/var/lib/hyperhive/matrix/`
|
**Idempotent**: if the file exists and is non-empty, the Space is
|
||||||
(mode `0600`, owned by the hive-c0re service user):
|
considered already created. Delete the file to force re-creation (e.g.
|
||||||
- `space-room-id` — the Space itself
|
after a homeserver wipe).
|
||||||
- `chat-room-id` — the `hive-chat` room
|
|
||||||
|
|
||||||
These paths are **outside** every agent state dir and are NOT deleted by
|
|
||||||
`nixos-container destroy --purge` — both survive full agent purges and
|
|
||||||
are reused on re-provision.
|
|
||||||
|
|
||||||
**Idempotent**: if the files exist and are non-empty, the Space and
|
|
||||||
room are considered already created. Delete the files to force
|
|
||||||
re-creation (e.g. after a homeserver wipe).
|
|
||||||
|
|
||||||
## Configuration tuning
|
## Configuration tuning
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue