Files
reverse-engineering-anything/tests/boundary/cli/cliContractSchemaParity.uncomparable.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

24 lines
1.2 KiB
JSON

[
"setup: no contract setup",
"doctor: no contract doctor",
"uninstall: no contract uninstall",
"update: no contract update",
"capabilities: no contract capabilities",
"providers: no contract providers",
"import-reference-source: no contract import_reference_source",
"project-managed-application-graph: no object shape project_managed_application_graph",
"compare-web-captures: no object shape compare_web_captures",
"validate-browser-scenario: no contract validate_browser_scenario",
"guided-workflows: no object shape guided_workflows",
"inspect-evidence-bundle: no contract inspect_evidence_bundle",
"evidence-import: no contract evidence_import",
"evidence-export: no contract evidence_export",
"environment-export: no contract environment_export",
"environment-compare: no contract environment_compare",
"environment-serve: no contract environment_serve",
"inspect-desktop-application-state: no contract inspect_desktop_application_state",
"export-desktop-application: no contract export_desktop_application",
"describe-desktop-application-task: no contract describe_desktop_application_task",
"capture-desktop-application: no contract capture_desktop_application"
]