Files
reverse-engineering-anything/tests/boundary/cli/cliContractSchemaParity.baseline.json
T
morluto 48220827c4 test(cli): report CLI fields that admit values their contract refuses (#10575)
* test(cli): report CLI fields that admit values their contract refuses

For every CLI command that reaches an MCP contract, compare each
name-matched CLI field with its contract field on empty, NUL,
caller-relative host path and numeric argv spellings. The 16 mismatches on
main are recorded in a baseline with a counted ceiling that can only go
down: a new mismatch fails, and so does a listed one that no longer occurs.

* test: cover constrained CLI contract fields

* fix(cli): admit relative web trace paths

* test(cli): probe numeric contract fields by type, including bounds

Numeric probes no longer require the contract to admit 0 or 1, so ranged fields such as inspect-byte-entropy --block-size (256..65536) are compared, with probes just past each declared bound.

* fix(cli): describe caller-relative web trace paths and expect native Windows spellings

The relative-path CLI arguments lost their contract descriptions; they now describe the caller-relative resolution. absoluteCallerPath renders native separators on Windows, so the web trace acceptance tests use native manifest paths for CLI and MCP parity.

* test(cli): keep forward-slash Windows manifest coverage through MCP

The CLI renders caller paths with native separators through absoluteCallerPath; MCP keeps the caller's spelling. The web trace parity tests now also call MCP with the forward-slash manifest spelling and expect the same trace with that path echoed, restoring the #1078 coverage.
2026-11-15 17:07:09 +08:00

18 lines
741 B
JSON

[
"environment-build options.name empty",
"environment-build options.name nul",
"execute-rizin-command args.command nul",
"export-web-scripts args.capturePath relative",
"export-web-scripts args.outputDirectory relative",
"extract-artifact options.outputRoot relative",
"inspect-android-class options.mappingPath relative",
"inspect-android-method options.mappingPath relative",
"inspect-electron-fuses args.path empty",
"inspect-native-api options.procedure empty",
"inspect-native-data-type options.address empty",
"inspect-native-data-type options.type empty",
"recover-javascript-sources args.outputDirectory relative",
"recover-javascript-sources args.path relative",
"search-bytes options.cursor empty"
]