How do you catch an AI feature that is confidently wrong while monitoring stays green?
Uptime stays green while an AI feature is confidently wrong. Measure whether the answer was right, and gate releases on real failures.
1 min readDEV Group
Green monitoring, wrong answer
Measure whether the answer was right, not only whether the system answered. Traditional software fails loudly; AI features fail softly. Uptime and latency stay green while the answer is fluent, confident, and wrong: a unit misread, a label swapped, a figure that appears nowhere in the source, the model's own arithmetic presented as a sourced fact. Monitoring tells you the system responded. It does not tell you the answer was correct.
Ground the answer and gate the release
Ground every answer: check each claim and number against the data the feature actually retrieved, and flag or block what that data does not support. Keep an evaluation set built from real failures, so every production incident becomes a regression case. Gate releases on it: no regressions on cases that passed before, not just a passing average. Version the data, tool, and prompt changes that are meant to ship together, and release them as one unit. A window where they run mismatched is its own failure mode. Trace each answer back to its inputs, so a failure can be pinned to the data, the prompt, or the code. Correctness is a dependency like any data feed: it needs an owner and a check that fails loudly.
Was this useful?
Related notes
Applied AI1 min read
Who decides whether an AI agent's action actually runs?
An agent can propose an action. A separate, deterministic layer should decide whether it runs, and that layer should fail closed.
- Agents
- Authorization
- Evaluation
Applied AI3 min read
How do you keep a stolen AI API key from running up the bill?
Stolen AI provider keys from a hosting breach ran up about $740,000. Cap each key's spend, watch usage like fraud, and rotate without a rebuild.
- Secrets
- Tokens
- Spend limits
- Monitoring
Applied AI2 min read
How do you keep an AI coding agent's saved approvals from committing secrets?
An agent that remembers an approval can save a secret into a file inside the repo. Keep that file out of git, and do not approve the literal command.
- Agents
- Secrets
- CI