4 months ago
f86ceffThe fail-closed floor (reads degrade → rules skip → verdict flips to needs_review) had no way to be exercised on a real PR. Add a dev-only env, gated non-production exactly like TRIPWIRE_DISABLE_EXEMPTION: a value of diff,commits,contributor (or `all`) makes those context guards throw, so the §11 harness can force the `degraded` outcome live. Refused under NODE_ENV=production — a prod worker never self-degrades on a flag.
Parentab5fd81