mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Eva [11] code-verify catch: two docstrings in auth_wire.rs referenced state that doesn't exist on this branch. - AuthErrorWireCategory::message pointed at "tests/auth_error_payload_oracle.rs" for the byte-identity property test. The tests are actually in-module (#[cfg(test)] mod tests at the bottom of auth_wire.rs); no separate file exists. Updated to name the two specific tests that prove the invariant (verification_class_all_coalesce, internal_two_communities_byte_identical). - auth_error_wire's docstring said "the CI grep-lint enforces" — but the grep-lint (P5 in the audit note) is a planned follow-up, not yet shipped. Replaced with an accurate description of what actually fences regressions today: the wildcard-free match arm. Adding any AuthError variant fails to compile here until a wire-class decision is made — that catches the cause, not just the symptom. P5 grep-lint is correctly described as planned belt-and-suspenders, not currently in CI. Doc-only diff. No behavior change. Validation: - cargo fmt -p buzz-relay --check ✅ - cargo test -p buzz-relay --lib auth_wire ✅ (6/6 property tests green) Co-authored-by: Tyler Longwell <tlongwell@block.xyz> Signed-off-by: Tyler Longwell <tlongwell@block.xyz>