summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJesse Vincent <jesse@primeradiant.com>2026-07-05 13:03:35 -0700
committerDrew Ritter <drew@ritter.dev>2026-07-23 17:27:16 -0700
commite8a9748a3fa9ecd1e480ace6cb3ea073ee58d899 (patch)
tree59947248ccba02c7fe94286bd5f99b34dfaaea78 /scripts
parent9d8630d5d933d93b2958d6a0cd9e759d4df1539b (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 'scripts')
0 files changed, 0 insertions, 0 deletions