buzz messages send defaults to an invisible stream event for forum roots
Summary
buzz messages send --channel <forum-channel-id> defaults a new root message to stream kind: 9. Buzz Desktop's canonical forum surface displays forum topics (kind: 45001), so the CLI reports a successful publication but the new message does not appear in the forum's topic list.
The event can still generate a notification and be opened through direct lookup or a deep link. This makes the send look successful while leaving the content effectively invisible in the first-party channel UI.
This is the root-message counterpart to #3828. PR #3885 addresses replies to existing forum threads by inferring kind: 45003; it does not appear to cover a new root sent to a forum.
Reproduction
-
Create or select a forum channel.
-
Run:
buzz messages send --channel <forum-channel-id> --content "Test topic" -
Observe that the command succeeds and returns an event ID for
kind: 9. -
Open the forum in Buzz Desktop.
-
Observe that no topic appears, although the event remains retrievable through a notification, direct lookup, or deep link.
Expected behavior
When --kind is not explicitly supplied, buzz messages send should resolve the target channel type and choose the first-party event kind that matches its canonical surface:
- forum root:
kind: 45001; - stream message:
kind: 9.
Forum replies should continue to use kind: 45003, as covered by #3828 and #3885.
This issue does not require the relay to prohibit mixed event kinds. Other clients may intentionally support alternate views or mixed content. If the CLI supports an explicit expert override such as --kind 9 in a forum, that can remain available; the bug is that the ordinary default path creates content the first-party forum UI does not display.
Acceptance criteria
- [ ] A root send to a forum without an explicit
--kindpublisheskind: 45001. - [ ] The resulting event appears as a topic in Buzz Desktop's forum surface.
- [ ] A send to a stream without an explicit
--kindcontinues to publishkind: 9. - [ ] An explicit kind override retains its documented behavior.
- [ ] Regression tests cover default root sends to both forum and stream channels.
- [ ] CLI help documents channel-aware kind selection and any explicit override behavior.
Related work
- #3828 — Agent forum replies publish as kind 9 and disappear from the forum thread
- #3885 —
fix(cli): emit kind 45003 for replies into forum threads
Out of scope
- relay-level restrictions on which event kinds a channel may contain;
- Desktop discovery or migration UX for existing mixed-kind events;
- delegated channel ownership and role-assignment guardrails.
Confirming this is still present, with a fresh reproduction on a current build and a note on the real-world impact.
Environment
- Buzz Desktop / bundled CLI 0.5.18 (macOS 26.6.2) —
/Applications/Buzz.app/Contents/MacOS/buzz - Self-hosted relay
ghcr.io/block/buzz, revision4b3570671eb2786594267758af18784ac6e82972 - Closed relay (
BUZZ_REQUIRE_RELAY_MEMBERSHIP=true, NIP-42 auth)
Reproduction
Created a throwaway forum channel and sent two messages from the same identity, one without --kind and one with:
buzz channels create --name kind-probe --type forum --visibility private --ttl 3600
# -> channel fffbc295-...
buzz messages send --channel fffbc295-... --content "probe A"
# -> {"accepted":true,"event_id":"1aa8bdb8..."}
buzz messages send --channel fffbc295-... --kind 45001 --content "probe B"
# -> {"accepted":true,"event_id":"2d91e997..."}
Read back from the relay's Postgres:
| content | kind |
|---|---|
probe A (no --kind) |
9 |
probe B (--kind 45001) |
45001 |
Both returned {"accepted":true}. Only probe B renders in the forum.
Worth adding: the CLI help text already promises the fixed behavior.
--kind <KIND> Nostr event kind (default: channel default)
So this reads as a regression against documented behavior rather than a missing feature — the channel type simply is not being resolved on the default path.
Impact observed in practice
A forum channel was created for a group of nine agents to post into. The agents posted 15 substantive messages over ~11 minutes; every one landed as kind 9. The relay accepted all of them and each agent saw a success response, while the human owner watched an apparently empty forum and concluded the agents had never replied. The messages were only recoverable by querying the relay database directly.
Two properties make this especially costly for agent-driven workflows:
- The failure is silent on both ends. The sender gets
accepted:true; the reader gets an empty thread. Nothing in either surface suggests a kind mismatch. - It is not retroactively fixable. Existing
kind 9events in a forum channel cannot be converted — the content has to be re-posted as45001/45003, which for agent output means re-running the work or re-sending from a transcript.
On the related PR
#3885 (reply-side inference) is closed unmerged, so as far as I can tell neither the root case here nor the reply case in #3828 has a fix in flight. Happy to test a patch against a self-hosted relay if that's useful.
Workaround, for anyone landing here
--kind 45001 for a new topic and --kind 45003 --reply-to <event-id> for a comment both work correctly today. --kind 45003 requires --reply-to. Valid values are 9, 45001, 45003.