Files
buzz/crates
Duncan fbeb9fafb3 test(buzz-acp): assert reject option ID in reject_once applied write
The reject_once_resolves_entry_with_applied_write test previously
asserted only map-empty and write-count=1. Thufir's mutation of
permission_response_selected emitting a hardcoded opt-allow-once
demonstrated the test would stay green on a wrong-optionId regression.

Inspect the single applied write's payload and assert
payload[result][outcome][optionId] == opt-reject-once, mirroring
the first-wins test's payload assertion at the ACK path.

Mutation proof: forcing permission_response_selected to emit
opt-allow-once regardless of selection makes this test FAIL
at the optionId assertion.

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