feat(audit): add reaction-rate drift gate thresholds

Add optional reaction match-drop and skip-increase drift thresholds, expose CLI flags, and enable conservative defaults in cadence package scripts. Includes tests and docs/state sync.
This commit is contained in:
William Valentin
2026-02-27 13:23:28 -08:00
parent 0decf34760
commit 98f954de0d
10 changed files with 173 additions and 6 deletions
+1
View File
@@ -1644,6 +1644,7 @@ Backend drift/freshness gate for backend-scoped artifacts (`pi_embedded` vs `nat
```bash
pnpm audit:phase0-baseline:live:drift
```
Optional drift thresholds now include reaction decision deltas (`--max-reaction-match-rate-drop-pp`, `--max-reaction-skip-rate-increase-pp`) in addition to run/cancel/error/cancel-latency thresholds.
This command writes drift reports to:
- `docs/plans/artifacts/phase0_baseline_live_backend_drift_<UTC-date>.md`
- `docs/plans/artifacts/phase0_baseline_live_backend_drift_<UTC-date>.json`