Codex DbSqlLikeMem Fidelity Tests for Mock and Provider Parity
Compare a mock and a real local provider on observable behavior such as parameter handling, result shape, and failure contracts.
中文Install in Codex
Codex, the pinned DbSqlLikeMem checkout, and the local provider or test container. Use fictional fixture records.
- Copy the pinned `.codex/skills/fidelity-tests/` directory into `.agents/skills/fidelity-tests/` in the project.
- Select `$fidelity-tests` and specify the provider and observed discrepancy.
Example task
Use a local practice query with two ordered rows and two columns. If the mock produces an extra column, ask which layer should be corrected.What to check
The report preserves both full results, identifies the contract mismatch, and narrows the provider-specific fix.
Original SKILL.md on GitHub · Updated
Frequently asked question
Can I compare only the row count?
Keep column and value comparisons when the contract is a result set.