mirror of
https://github.com/block/buzz.git
synced 2026-11-04 08:21:48 +00:00
Three bugs found during E2E testing against a local relay: 1. `messages search` sent no `kinds` filter, triggering the relay's p-gate (403). Now sends `kinds: [9, 40002, 45001, 45003]` matching the MCP server's search implementation. 2. `channels list --visibility open` always returned `[]` because the filter checked for `["visibility", "open"]` tags, but the relay emits `["public"]`/`["private"]` per NIP-29. Rewritten to match the relay's actual tag convention. 3. `--kind` flag on `messages send` was dead code (`#[allow(dead_code)]`). Now routes to `build_forum_post` (kind 45001) and `build_forum_comment` (kind 45003) SDK builders, enabling forum voting via CLI. TESTING.md updated with relay behavior notes for channels leave (last-owner guard), workflows trigger (DB indexing delay), workflows update (missing --channel flag), and corrected expected error messages.