Building AI Validators That Actually Work
microsoft/amplifier-foundation
More Amplifier StoriesAI can generate validation rules quickly. But who validates the validators?
The Discovery
When initial validator rules were verified against actual code, roughly half needed correction.
"This is a rough observation from hands-on development — not a precise measurement. But the direction was unmistakable: the gap between 'sounds right' and 'is right' was far larger than expected."
Based on development experience building amplifier-foundation validators, Jan–Feb 2026
Fix #1
The first rule of building validators: the codebase is the source of truth.
The Second Trap
A validator that never returns a clean pass is not a validator — it's noise.
Tuning validators to always produce findings feels productive. Every run generates a report. But teams learn to ignore the results.
When everything is flagged, nothing is actionable.
"The 'Always Finds Something' anti-pattern is explicitly documented in the DOMAIN_VALIDATOR_GUIDE.md as a known failure mode to avoid."
Source: amplifier-foundation/docs/DOMAIN_VALIDATOR_GUIDE.md (974 lines, per wc -l)
Fix #2
Define clear, objective criteria for what constitutes a passing result.
The Architecture
A two-layer approach that is faster, cheaper, and more predictable.
What Was Built
Concrete artifacts in microsoft/amplifier-foundation:
Impact
Note: Specific time or cost savings have not been formally measured. These are architectural improvements whose benefits are qualitative, based on development experience.
Velocity
Transparency
Every claim in this deck is traceable to a specific command or stated as a qualitative observation.
Feature Status: Active — validator recipes are in active use as of Feb 2026
Read the guide → docs/DOMAIN_VALIDATOR_GUIDE.md
Use the validators → recipes/validate-*.yaml
Follow the pattern → deterministic first, AI second
microsoft/amplifier-foundation
More Amplifier Stories