Run dynamic targeted proof
orangepro_proveRuns a targeted mutation proof for a CodeSymbol, verifies baseline tests pass and a sentinel mutation fails the same test at an assertion, then appends a metadata-only ledger certificate.
Instructions
Run the dynamic targeted-proof oracle for a CodeSymbol and append a metadata-only ledger certificate. Public Proven closes only when baseline green plus a valid sentinel mutation of the credited symbol fails the same test at an assertion. Static record_run is diagnostics only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | Optional consistency check. If provided, must match the member derived from target_symbol. | |
| run_id | No | Optional caller-supplied run id. Defaults to a local monotonic id. | |
| runner | No | Test runner override. Default auto. | |
| source | No | Source checkout containing the test and target files. Defaults to workspace. | |
| test_env | No | Explicit non-secret KEY=value env entries for the test run. | |
| test_run | No | Go: fully-anchored test name for `go test -run`, e.g. '^TestCompute$' (required for Go targets). Java: 'TestClass#testMethod', e.g. 'CalculatorTest#addsTwoNumbers' (required for Java targets). | |
| target_id | No | Optional graph target id that must resolve to exactly one hard-linked CodeSymbol. | |
| test_path | No | TS/JS: repo-relative test file to run (required for TS/JS targets). | |
| workspace | No | Local workspace root. Defaults to the current directory. | |
| timeout_ms | No | Per baseline/mutant test timeout. | |
| jest_config | No | Repo-relative Jest config path. | |
| replacement | No | TS/JS: inert sentinel body, e.g. 'return null;' or 'return {"ok":false};'. Must be JSON-only per the oracle (required for TS/JS targets). Go derives its own sentinel. | |
| target_file | No | Optional consistency check. If provided, must match the file derived from target_symbol. | |
| target_symbol | No | Exact CodeSymbol external id, e.g. sym:src/service.ts#OrderService.createOrder. Preferred. | |
| vitest_config | No | Repo-relative Vitest config path. | |
| replacement_mode | No | Sentinel wrapping mode. Default return-json. | |
| link_node_modules | No | Trusted-repo speed mode: symlink node_modules into temp copies. |