rr-sabotagelisted
Install: claude install-skill yaerhf/research-ratchet
# Find out what your tests actually cover — by breaking things on purpose
A green test suite is evidence that nothing broke it. It is evidence of nothing else.
This skill runs the other half: **plant a defect in the code a check claims to cover, run the
checks, and see whether they go red.** A check that stays green with a defect in place has been
*demonstrated* not to cover it — not argued, demonstrated, which is why the finding survives an
argument with whoever wrote the test.
**Everything happens in a copy. The repository you point this at is never written to.**
## How to run it
`audit.py` is bundled with this skill. It needs the command that runs the checks, and one or more
sabotages:
```bash
python audit.py --command "pytest -q" \
--plant "src/cart.py::if total > limit::if total >= limit" \
--label "boundary loosened by one"
```
Or a plan file, which is the normal way once there is more than one:
```json
[
{
"label": "discount can now exceed the total",
"file": "src/pricing.py",
"find": "discount = min(discount, total)",
"replace": "discount = discount",
"claims": "test_discount_never_exceeds_total"
}
]
```
```bash
python audit.py --command "npm test" --plan sabotages.json
```
The tool runs the **unmodified** copy first. **If the checks are already red it refuses**, because
nothing can be concluded about a check that was failing before you touched anything.
## Choosing what to break — this is the whole skill
The tool plants and run