fluxa-core/fuzz
KhooLy 2439bb3ba6 test: add golden wire fixtures and a headless-engine dispatch fuzz target
Per the robustness plan's §8: a tests/wire/ directory holds one real
AppAction input per representative action family, each paired with a
checked-in golden DispatchResult captured from an actual dispatch (a
new #[cfg(test)] wire_fixtures_match_golden_dispatch_output test
compares against it, with UPDATE_WIRE_FIXTURES=1 to regenerate when a
change is intentional). Any future camelCase/field drift on the
dispatch/completeEffect wire now fails in this repo instead of surfacing
as a silent Android/desktop regression.

Also add fuzz/fuzz_targets/engine_dispatch.rs, feeding arbitrary bytes
into both headless_engine_dispatch_json and
headless_engine_complete_effect_json against one engine handle — this
is the one path in the crate that runs global engine-mutating logic
without a catch_unwind guard on the desktop call path, so it's the
highest-value fuzz target missing from fuzz/. Exposes the four
headless_engine entry points as `pub` (still unreachable outside the
crate except through the fuzzing-gated `fuzz_targets` re-export module)
following the same pattern already used for parse_manifest and the
content_identity helpers.
2026-07-07 14:28:48 +03:00
..
fuzz_targets test: add golden wire fixtures and a headless-engine dispatch fuzz target 2026-07-07 14:28:48 +03:00
.gitignore feat: companion server, FFI cleanup, and pre-release hardening 2026-06-17 20:01:42 +03:00
Cargo.lock test: add golden wire fixtures and a headless-engine dispatch fuzz target 2026-07-07 14:28:48 +03:00
Cargo.toml test: add golden wire fixtures and a headless-engine dispatch fuzz target 2026-07-07 14:28:48 +03:00