Files
buzz/crates
Duncan 96c9b7f692 test(buzz-acp): close pass-3 gaps for F1/F3/F4 and MINOR desktop wording
F1: replace prefix-only context truncation with head/tail layout
(truncate_to_bytes_head_tail) so suffix differences survive even when the
context budget is small (10 bytes). Same-prefix commands like sameprefix-a /
sameprefix-b now produce distinct descriptions. Seam test rewritten to use
same-prefix commands and drive through build_sentinel_pending_payload,
asserting both extractor and sentinel descriptions differ.

F3: add reject_once_resolves_entry_with_applied_write — a separate client
that exercises the reject_once path and asserts resolution plus exactly one
applied write. Proves the symmetric rejection proof Thufir's accepts()→
allow_id-only mutation missed.

F4: add signed_observer_control_event_delivers_permission_decision — calls
handle_relay_observer_control_event with a real owner-signed, NIP-44-
encrypted kind-24200 frame, proving the full outer admission path (signature
check, owner-pubkey guard, freshness window, NIP-44 decrypt, type dispatch)
delivers to the in-flight mpsc without a live relay.

MINOR: fix Desktop overclaim — retransmitPermissionDecision.ts and
agentSessionTranscriptPermissions.ts comments changed from 'already applied'
to 'previously forwarded/delivery suppressed', matching pool.rs wording.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
2026-09-01 18:19:39 -04:00
..