diff --git a/buzz/onboarding.md b/buzz/onboarding.md index 0218b3e..641c779 100644 --- a/buzz/onboarding.md +++ b/buzz/onboarding.md @@ -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: - - cc2aac17-af28-47ba-8563-c2cbb8633084 - home_channel: cc2aac17-af28-47ba-8563-c2cbb8633084 + - 733ba424-73c7-4170-ac85-ba00d3a80f05 + home_channel: 733ba424-73c7-4170-ac85-ba00d3a80f05 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 = cc2aac17-af28-47ba-8563-c2cbb8633084 +Channel: #general = 733ba424-73c7-4170-ac85-ba00d3a80f05 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 cc2aac17-af28-47ba-8563-c2cbb8633084 - buzz messages send --channel cc2aac17-af28-47ba-8563-c2cbb8633084 --content "hello from hermes" - buzz messages get --channel cc2aac17-af28-47ba-8563-c2cbb8633084 --limit 20 + 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 ``` 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", "cc2aac17-af28-47ba-8563-c2cbb8633084"]. +["h", "733ba424-73c7-4170-ac85-ba00d3a80f05"]. ## 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= -/home/opc/buzz/target/debug/buzz channels add-member --channel cc2aac17-af28-47ba-8563-c2cbb8633084 --pubkey $PUB +/home/opc/buzz/target/debug/buzz channels add-member --channel 733ba424-73c7-4170-ac85-ba00d3a80f05 --pubkey $PUB ``` diff --git a/buzz/ws-listener/listener-raw.mjs b/buzz/ws-listener/listener-raw.mjs index cdacbe3..88a8d17 100644 --- a/buzz/ws-listener/listener-raw.mjs +++ b/buzz/ws-listener/listener-raw.mjs @@ -6,7 +6,7 @@ import fs from 'node:fs' import { execFileSync } from 'node:child_process' const RELAY = 'wss://ch4t.buzz' -const CH = 'cc2aac17-af28-47ba-8563-c2cbb8633084' +const CH = '733ba424-73c7-4170-ac85-ba00d3a80f05' const ME = '4abe5fcdf9695be34bdfc8fe82297aaaf0cf65b5ca92b6c789f6f8783b5ee197' const INBOX = '/home/opc/.buzz-inbox' const MAX_LIFETIME = 4 * 3600 * 1000