mkl-verify-fix · git:20261016.a313256 · 2026-10-16 · sha256 7194ac9ce3fec255

mkl-verify-fix git:20261016.a313256A

Immutable. This exact content never changes and is served at /api/v1/blob/7194ac9ce3fec255.

---
name: "mkl-verify-fix"
description: "Verify a proposed bug fix against an unchanged regression test and the relevant existing tests, reporting baseline and candidate outcomes separately. Use for fix verification, not a general claim that software is bug-free."
---

<skill name="mkl-verify-fix">
  <description>Verify a proposed bug fix against an unchanged regression test and the relevant existing tests, reporting baseline and candidate outcomes separately. Use for fix verification, not a general claim that software is bug-free.</description>
  <context>
    Identify the baseline revision, candidate revision, regression test, and expected behavior. If any is unavailable, narrow the conclusion instead of inventing missing evidence.
  </context>
  <instructions>
    Use equivalent environments and identical test inputs for both versions. To test candidate patches speculatively without dirtying your working tree, use `python3 tools/worktree_sandbox.py run --patch <patch> --cmd "<test-cmd>"`. For untrusted reproduction tests or scripts from external issues, execute them inside container isolation via `python3 tools/container_sandbox.py`. Keep the regression test and expected result outside the changes under evaluation or otherwise verify that they are unchanged. Inspect which source file the test actually imports; an installed package can hide the checkout being tested.

    Check the baseline first. Distinguish an expected assertion failure from setup, import, collection, timeout, and execution errors. Then run the same test against the candidate and run existing tests appropriate to the affected behavior. Prefer token-efficient runners: `pytest -q --tb=short -x` or `python3 tools/test_fast.py` (unittest: `python3 -m unittest discover -s tests -q -f`; Node: `npm test -- --bail --silent`; Rust: `cargo test -- --nocapture=false`).

    Report:

    - Baseline and candidate identifiers and commands.
    - The observed reason for the baseline failure.
    - The candidate result and any relevant existing-test results.
    - Environment differences, instability, and checks not performed.

    Conclude "verified for this reproduction" only when the test fails for the reported behavioral reason on the baseline and passes on the candidate. A test that passes on both versions does not establish that it detects this regression. Avoid broad correctness or security claims from a small test suite.

    If the candidate fails, report the evidence and return it to the implementer. Do not silently edit the verifier or loosen tolerances. In multi-turn verification loops, mask repeated failure traces (`python3 tools/log_compressor.py --mask-previous <prev_log>`) to show only signature changes.
  </instructions>
</skill>