diff options
| author | Jesse Vincent <jesse@primeradiant.com> | 2026-07-05 13:03:35 -0700 |
|---|---|---|
| committer | Drew Ritter <drew@ritter.dev> | 2026-07-13 14:25:55 -0700 |
| commit | cb830c74fb7466951d1593c9a02db9a64a498aa0 (patch) | |
| tree | 59947248ccba02c7fe94286bd5f99b34dfaaea78 /tests/opencode | |
| parent | 6a2d0c211f79e64dfcbc83277072e9a0a29db17c (diff) | |
fix(skills): close the change-detector hole in writing-good-tests
Fresh-eyes review found falsifiable-but-worthless tests passed every
rule: a constant assertion can fail, uses a literal, mocks nothing — and
protects nothing, firing on intentional decisions while sleeping through
bugs. Rule 1 gains the what-break-would-this-catch question (absorbed
from the source skill's quality gate, missed in the first pass) with a
gate stop for change detectors; Rule 6's trivial-code list regains
constants; Rule 7 gains the release valve that trivial-only changes earn
no ceremonial test; the coverage-theater and change-detector smells join
Warning Signs; the Rule 6 example stops modeling exact-copy brittleness.
Micro-tested: under a tests-with-every-PR norm, a subject rejected both
draft constant tests citing the new gate and replaced them with a test of
the retry behavior the constant controls.
Diffstat (limited to 'tests/opencode')
0 files changed, 0 insertions, 0 deletions
