wifi-densepose/v2
ruv cb3ea9fbd2 test(adr-115): property-based fuzzing for Matter commissioning encoder (424 lib tests)
4 new proptest cases in matter::commissioning::tests. Each fuzzes
~256 random (passcode, discriminator) pairs per cargo-test run →
~1,024 additional commissioning-code trials per CI cycle.

## Invariants enforced under random sampling

- `manual_code_shape_invariants` — for ANY valid (passcode, disc) in
  range and not in the §5.1.6.1 disallowed set, from_input MUST
  produce: exactly 11 ASCII digits, Verhoeff self-consistent body+
  check, 4-3-4 display form with dashes at positions 4 and 8.

- `disallowed_passcodes_always_rejected` — every passcode in the
  §5.1.6.1 list MUST be rejected regardless of discriminator.

- `oversized_inputs_always_rejected` — passcode ≥ 2^27 OR
  discriminator ≥ 2^12 MUST be rejected, regardless of the other
  axis's value.

- `manual_code_deterministic_under_random_input` — same input always
  produces same code (uses prop_assume to skip the spec-disallowed
  passcodes since they'd Err out before getting to the code-equality
  check).

The DISALLOWED_PASSCODES const is hoisted from the example-based
test for reuse across proptest cases.

Lib test count: 420 → 424. Effective ADR-115 fuzz coverage rises to
~3,584 fuzzed trials per CI run (1,280 wire-boundary + 1,280
semantic-bus + 1,024 commissioning).

Refs #776, PR #778.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-05-23 15:24:27 -04:00
..
.cargo fix(security): audit — fix RUSTSEC vulns, clippy warnings, dead code (#769) 2026-05-23 05:36:13 -04:00
.claude-flow chore(repo): rename rust-port/wifi-densepose-rs → v2/ (flatten to one level) (#427) 2026-04-25 21:28:13 -04:00
crates test(adr-115): property-based fuzzing for Matter commissioning encoder (424 lib tests) 2026-05-23 15:24:27 -04:00
data chore(repo): rename rust-port/wifi-densepose-rs → v2/ (flatten to one level) (#427) 2026-04-25 21:28:13 -04:00
docs chore(repo): rename rust-port/wifi-densepose-rs → v2/ (flatten to one level) (#427) 2026-04-25 21:28:13 -04:00
examples chore(repo): rename rust-port/wifi-densepose-rs → v2/ (flatten to one level) (#427) 2026-04-25 21:28:13 -04:00
patches/ruvector-crv chore(repo): rename rust-port/wifi-densepose-rs → v2/ (flatten to one level) (#427) 2026-04-25 21:28:13 -04:00
Cargo.lock fix(security): audit — fix RUSTSEC vulns, clippy warnings, dead code (#769) 2026-05-23 05:36:13 -04:00
Cargo.toml fix(security): audit — fix RUSTSEC vulns, clippy warnings, dead code (#769) 2026-05-23 05:36:13 -04:00
rust-toolchain.toml v2: pin Rust 1.89 and fix sensing-server UI path when run from v2 (#523) 2026-05-17 18:00:36 -04:00