feat(cli): expose verified reaction events - #4186
Open
BeelixGit wants to merge 2 commits into
Open
Conversation
Signed-off-by: John Budnick <BeelixGit@users.noreply.github.com>
BeelixGit
force-pushed
the
codex/buzz-reaction-events-20260801
branch
from
August 1, 2026 22:20
4ea26fb to
6cd8392
Compare
Author
|
Maintainer review gate receipt:
|
Signed-off-by: John Budnick <BeelixGit@users.noreply.github.com>
BeelixGit
force-pushed
the
codex/buzz-reaction-events-20260801
branch
from
August 2, 2026 05:53
b0c2d28 to
921188a
Compare
Author
|
@tlongwell-block, when you have time, could you review this CLI contract? The PR now covers both verified reaction events and verified raw message events needed by downstream agent integrations. The body and test receipts are current at signed-off head |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
buzz reactions get --event <id> --eventswhile preserving the aggregate response by default--format rawsupport formessages get, returning original complete signed relay event objectsSecurity invariants
nostr::EventvaluesEvent::verify()before outputBuzzClientquery path with no credential handling changesDownstream contracts
Inbox reactions
buzz reactions get --event "$EVENT_ID" --eventsemits complete signed kind-7 events in deterministic(created_at ASC, id ASC)order. Inbox can apply first-wins deterministically and use the reaction event ID as its idempotency receipt.Watcher / Launchwatch / Watchlist message recovery
buzz --format raw messages get --channel "$CHANNEL_ID" ...emits the original complete signed message event objects, includingid,pubkey,created_at,kind,tags,content, andsig. Consumers can require verified publisher, channel, and thread markers without trusting normalized caller-controlled fields.Compatibility
--eventsTests
cargo test -p buzz-cli: 290 passedcargo clippy -p buzz-cli --all-targets -- -D warningscargo fmt --all -- --checkgit diff --checkReview note
The raw-message verification change was independently reviewed after remediation. The final signed-off head is
921188ab5399f8fc17ffff39f95d533a078925ab. DCO, Semgrep OSS, and zizmor are green.