testsAndMisc/docs/superpowers/evidence/parallel-session-autopsy-mutations-2026-11-10.json
Krzysztof kuhy Rudnicki 2a788b741d Repoint MCP paths; parallelise mutation gate
The mutation hook alone took 51 s, so no commit touching the
session_autopsy test could fit the 60 s cap. Mutants now run 4 wide
(19 s). Two oldest evidence files pruned for the 60-file cap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWYFhDShgeHByh6yT9L
2026-11-10 14:25:05 +01:00

32 lines
1.2 KiB
JSON

{
"intent": "The session_autopsy mutation gate finishes in about 19 s instead of about 51 s so a commit touching it fits the 60 s per-action cap.",
"scope": [
"meta/scripts/mutate_session_autopsy_hooks.py",
"Non-goal: changing the mutation definitions or the pass/fail rule"
],
"changes": [
"Mutants run in a ThreadPoolExecutor (4 workers) via _run_mutant; each uses its own hook copy and its own coverage file",
"Per-mutant report lines are still printed in MUTATIONS order after all finish"
],
"verification": [
{
"command": "python3 meta/scripts/mutate_session_autopsy_hooks.py (before)",
"result": "pass",
"evidence": "PASS: all 12 tests killed, 51.4 s wall"
},
{
"command": "python3 meta/scripts/mutate_session_autopsy_hooks.py (after)",
"result": "pass",
"evidence": "PASS: all 12 tests killed, same per-mutant kill lists, 19.1 s wall"
}
],
"risks": [
"Four concurrent pytest runs use more CPU and RAM for a few seconds",
"A test that shares global state across processes could become flaky under concurrency"
],
"rollback": [
"git revert the commit; mutants run sequentially again",
"Re-run the script and expect PASS in about 51 s"
]
}