Attest 1.1: replay-based agent testing gates, mutants expose 0/29 catch rate for output-only tests

tom_mathews · reddit · 2026-11-15

Attest 1.1 (Apache-2.0) is a testing framework for LLM agents built around a real failure mode: a double refund where every output assertion passes. attest capture records OpenAI/Anthropic calls plus OTLP traces through a loopback proxy, redacting secrets and templating volatile values; behavior contracts like toolcardinality("issuerefund", atmost=1 per orderid) and effect contracts on a simulated payments API gate PRs with 0 live model calls and $0 cost. Mutation testing exposed the gap: output-only tests caught 0 of 29 mutants; contracts caught 10. The 1.1 audit logged 73 findings, fixing four ways a failing assertion could pass (stdio pipe verdict shifting, timed-out response reuse, concurrent Vitest swaps, empty pytest-xdist reports). Most code was written by Claude Code and Codex from milestone plans the author reviewed. Design partners wanted.

Related event: Open-Source Attest Framework Replays Agent Calls in CI with Zero Model Costs(2 posts)→

Original post →

More from coding & agent

coding & agent channel →