A test's inputs come from the production path

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-22 19:56:52 +02:00
commit 2e0ea97e27
2 changed files with 12 additions and 0 deletions

View file

@ -106,6 +106,9 @@ test, killed by fixing a degenerate fixture, or equivalent with a one-line
reason. A survivor that weakens a rule and cannot be killed is reported, not
hidden. Code no tool reaches gets behavioural tests at the layer where the
rule is decided, never a committed mutation suite (operator, 2026-09-22).
A test's inputs come from the production path the rule is about. A helper
that re-spells what production prints, parses or derives makes the test agree
with a copy, and the rule then breaks in production with the suite green.
A hand mutation hits the rule at the layer it protects: the production call
site, observed where the consequence lands (disk, the kernel, the request
sent). Mutating a helper or an in-memory mirror proves the helper, not the

View file

@ -33,6 +33,15 @@ What changed:
- The committed suites in Huginn, the Epiphany leaf, Idunn and CultLib are
deleted in their own repos. The tests those suites pointed at stay.
## 2026-09-22: a test's inputs come from production
Evidence: Ghostlight's play agent 8a-fix3 (`754c7fe`) ruled that the DM agent
dispatches Personas by the id its world view prints. Every test built that id
from a test-local copy of the printer, so changing what the view printed left
all 735 tests green while every dispatch an agent could make was refused.
There were four copies of one spelling, because the library's printer was
private to its module.
## 2026-09-22: hand mutations target the rule's layer
Evidence: in Ghostlight's play agent 8a-fix2 (`74b628d`), Hands reported every