🧪 test(kavach): cosmic-ray on every mutant of the four modules (proof, never merges)

Draft
AT
10d ago
+248-0

Proof only, never merges. This draft runs cosmic-ray 8.9.0 over every mutant of kavach's tool_guard, command_guard, config and refusal_log, against the whole Python suite, on top of the branch for slice #328 (work item #238). It is closed once its result is on that slice's pull request.

Each module's job fails when:

  • a mutant the slice names, matched by line and operator, has no result or survives;
  • any other mutant survives that is not on the slice's equivalent list (12);
  • any mutant times out (cosmic-ray scores a timeout as killed, so a slow survivor would otherwise pass as one);
  • a listed equivalent is killed, or has no mutant;
  • a rewritten annotation line (X | None → Optional[X]) still yields a | mutant.

Each mutant first meets the test files that killed most of its module's mutants in the first run, then the whole suite, both failfast, so kills skip test_boundary's 285 s and a survivor still passes every test.

The same test command runs unmutated in every worker's copy first, so a test command that cannot run fails the job rather than killing every mutant.

🤖 Generated with Claude Code