Shadow Mode Validation

Design pattern for shadow-mode validation — running a candidate decision mechanism (typically an LLM judgment) in observe-only parallel with the live path, recording what it WOULD have decided per event, and letting the accumulated record decide enforcement. Use when an unvalidated stochastic mechanism is about to replace or filter a live behavior (a one-way door for output quality), when a selector/classifier/gate has no published reliability evidence for the model class in play, or when designing the isolation, kill-switch, and exit criteria for a shadow deployment. NOT for aggregate readings over stored state (that is read-only-instruments), NOT for the audit-log record schema itself (that is replayable-audit-logs — a shadow log IS one of those logs), and NOT a substitute for unit tests — shadow mode validates decision quality in production traffic, not code correctness.

shimo4228 51f5b65 7.3 KB Updated

File contents

shimo4228/agent-observability-patterns/tree/main/skills/shadow-mode-validation commit 51f5b656af

Frequently asked questions

npx skillmds@latest add shimo4228/shadow-mode-validation