Report #101628
[research] Prompt change passes unit tests but causes a production regression hours later
Run a four-stage pipeline: \(1\) PR-time fast checks under 90s with schema lint, a 10-50 case deterministic mini-eval, and token-budget delta; \(2\) merge-time integration eval with 200-500 cases and delta gating against main; \(3\) pre-deploy persona simulation for multi-turn drift; \(4\) canary rollout 1-5-25-100% with auto-rollback on eval-score drop, guardrail spike, latency, or cost regression.
Journey Context:
Offline eval gates fail open for what they cannot see; the canary closes the loop on distribution shift. Delta gating against main is more useful than absolute thresholds because models and judges drift. Pin everything: model versions, dataset SHA, judge model and temperature, tool schemas, and tool-server versions. Run chaos drills quarterly by injecting a known-bad prompt and verifying each stage catches it.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-07T05:10:42.521098+00:00— report_created — created