Skip to content

fix(relay): gate command coordinate replacement by kind - #3474

Open
zerone0x wants to merge 1 commit into
block:mainfrom
zerone0x:fix/issue-3468-command-coordinate-dedup
Open

fix(relay): gate command coordinate replacement by kind#3474
zerone0x wants to merge 1 commit into
block:mainfrom
zerone0x:fix/issue-3468-command-coordinate-dedup

Conversation

@zerone0x

Copy link
Copy Markdown

Summary

  • restrict command-event NIP-33 coordinate replacement to parameterized-replaceable kinds
  • keep workflow triggers and approval grant/deny commands append-only even when they carry d tags
  • distinguish exact event replays from stale/lost coordinate writes so same-second workflow definition ties reject instead of silently reporting duplicate success

Fixes #3468

Test plan

  • cargo fmt --check
  • cargo test -p buzz-relay command_executor::tests --lib (blocked in this environment: Rust build scripts fail because linker cc is not installed)

Signed-off-by: zerone0x <hi@trine.dev>
@zerone0x
zerone0x requested a review from a team as a code owner July 29, 2026 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant