buzz: channel removed, creation handed to Dahjah; onboarding updated

This commit is contained in:
zai-agent 2026-09-17 20:49:58 +00:00
parent 5f5e253ed6
commit 05d0a5b1ab

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:
- 59c20cc6-ada1-4b1f-9c9e-b40294f7a6a7
home_channel: 59c20cc6-ada1-4b1f-9c9e-b40294f7a6a7
- (channel uuid — set when Dahjah creates the channel)
home_channel: (channel uuid — set when Dahjah creates the channel)
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 = 59c20cc6-ada1-4b1f-9c9e-b40294f7a6a7
Channel: #general = (channel uuid — set when Dahjah creates the channel)
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 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
buzz channels join --channel (channel uuid — set when Dahjah creates the channel)
buzz messages send --channel (channel uuid — set when Dahjah creates the channel) --content "hello from hermes"
buzz messages get --channel (channel uuid — set when Dahjah creates the channel) --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", "59c20cc6-ada1-4b1f-9c9e-b40294f7a6a7"].
["h", "(channel uuid — set when Dahjah creates the channel)"].
## 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 59c20cc6-ada1-4b1f-9c9e-b40294f7a6a7 --pubkey $PUB
/home/opc/buzz/target/debug/buzz channels add-member --channel (channel uuid — set when Dahjah creates the channel) --pubkey $PUB
```