Skip to main content

Fixtures & validation

Every detector rule needs a positive and a negative fixture. The negative fixture is the one that matters — it encodes what the rule must not match.

Layout

Fixtures live under testdata/rules/<rule-id>/ in the repository (exact layout follows DESIGN.md).

Commands

Regenerate goldens deliberately with make golden and review the diff — never blind-accept.