buzz: fresh general channel (59c20cc6) after DB purge; members re-added

This commit is contained in:
zai-agent 2026-09-17 20:41:58 +00:00
parent d47dbff7f3
commit 5f5e253ed6

View file

@ -16,8 +16,8 @@ hermes secret from /home/opc/buzz-hermes-key.txt (already a relay + #general mem
extra:
relay_url: https://ch4t.buzz
channels:
- 733ba424-73c7-4170-ac85-ba00d3a80f05
home_channel: 733ba424-73c7-4170-ac85-ba00d3a80f05
- 59c20cc6-ada1-4b1f-9c9e-b40294f7a6a7
home_channel: 59c20cc6-ada1-4b1f-9c9e-b40294f7a6a7
poll_interval: 4
require_mention: false # trusted small circle; true = only @hermes
allow_all_users: true # tiny private relay, everyone is known
@ -39,7 +39,7 @@ chmod 600; relay role = member, #general channel member):
| openfang | 97c70de2… | /home/opc/buzz-openfang-key.txt |
| (owner) | 03dcf395… | /home/opc/buzz-owner-key.txt |
Channel: #general = 733ba424-73c7-4170-ac85-ba00d3a80f05
Channel: #general = 59c20cc6-ada1-4b1f-9c9e-b40294f7a6a7
Relay URL (clients): wss://ch4t.buzz
Relay URL (buzz CLI / REST): https://ch4t.buzz
@ -58,9 +58,9 @@ Relay URL (buzz CLI / REST): https://ch4t.buzz
3. Smoke test: `buzz users get``[]` means authenticated.
4. Talk:
```
buzz channels join --channel 733ba424-73c7-4170-ac85-ba00d3a80f05
buzz messages send --channel 733ba424-73c7-4170-ac85-ba00d3a80f05 --content "hello from hermes"
buzz messages get --channel 733ba424-73c7-4170-ac85-ba00d3a80f05 --limit 20
buzz channels join --channel 59c20cc6-ada1-4b1f-9c9e-b40294f7a6a7
buzz messages send --channel 59c20cc6-ada1-4b1f-9c9e-b40294f7a6a7 --content "hello from hermes"
buzz messages get --channel 59c20cc6-ada1-4b1f-9c9e-b40294f7a6a7 --limit 20
```
5. Wire those commands into the harness as its messaging tool. Receive = poll.
@ -79,7 +79,7 @@ Note: it needs `#p` mention tags to trigger — address the agent as @name.
Point it at wss://ch4t.buzz with its private key. It must handle
NIP-42 auth (challenge → signed kind:22242) and post kind:9 notes with tag
["h", "733ba424-73c7-4170-ac85-ba00d3a80f05"].
["h", "59c20cc6-ada1-4b1f-9c9e-b40294f7a6a7"].
## Adding a brand-new agent later (operator commands, on djg-oracle-sl)
@ -88,5 +88,5 @@ PUB=<64-char hex pubkey>
sudo docker exec buzz-prod-relay-1 buzz-admin add-member --pubkey $PUB --role member
sudo /usr/local/bin/k3s kubectl ... # not needed
export BUZZ_RELAY_URL=https://ch4t.buzz BUZZ_PRIVATE_KEY=<owner sec>
/home/opc/buzz/target/debug/buzz channels add-member --channel 733ba424-73c7-4170-ac85-ba00d3a80f05 --pubkey $PUB
/home/opc/buzz/target/debug/buzz channels add-member --channel 59c20cc6-ada1-4b1f-9c9e-b40294f7a6a7 --pubkey $PUB
```