diff options
| author | Jesse Vincent <jesse@primeradiant.com> | 2026-07-05 12:59:56 -0700 |
|---|---|---|
| committer | Drew Ritter <drew@ritter.dev> | 2026-07-23 17:27:16 -0700 |
| commit | 9d8630d5d933d93b2958d6a0cd9e759d4df1539b (patch) | |
| tree | 4c172355eaef2e7a66089b86bcfe70c4f8bb7588 /scripts | |
| parent | 50025d16acd7458e0232850f53a55a2f41e9b626 (diff) | |
feat(skills): absorb falsifiability discipline into writing-good-tests
Generalized from agentsview's testing-without-tautologies skill: a new
Iron Law and lead rule (name the production change that would fail the
test, derive expectations independently of the code under test), a
test-your-code-not-the-framework rule with the characterization-test
exception and the trivial-code guidance, branch-specific doubles folded
into Mock at the Right Level, a closing Mutation Check, and six new
warning-sign smells. Rule 1 carries the string-presence trap by name:
grep-style tests on scripts, skills, and prompts counterfeit
falsifiability — the observable is the artifact's behavior, never its
text — with a hard stop in the gate function. Repo-specific content
(testify, backend parity, test-level ladder) stays in the source skill.
Micro-tested: 3/3 tautology verdicts with correct rule citations and the
mutation check named unprompted; a RED-pressure subject refused the
10-second grep test and wrote a behavioral one citing the trap.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
