Engineering teams treat Python and TypeScript modules with strict discipline, enforcing unit tests and static type checking before merge. Yet the files that actually steer how Claude Code reasons, selects tools, and delegates to subagents—CLAUDE.md, .claude/commands/, and MCP server JSON schemas—routinely land on main with zero automated verification. Benni Alencar, Chief AI Systems Architect at Benni OS, has released claude-code-eval to bring deterministic CI/CD regression testing to these critical configuration files.
The Silent Regression Problem
The core issue is that traditional CI passes 100% green while agent reliability quietly collapses. Alencar identifies four specific failure modes: Instruction Override & Policy Drift, where new directives inadvertently skip safety constraints; MCP Tool-Selection Confusion, where renamed parameters cause misrouting to Bash instead of structured servers; Subagent Handoff Breakage, where slash command updates drop required context; and Token Efficiency Bloat, where innocent additions trigger unnecessary tool-call loops and double API spend.
Offline Trajectory Replay at $0.00
Running live LLM calls on every pull request is slow, non-deterministic, and expensive. claude-code-eval separates offline deterministic trajectory verification from optional live-model sampling. The tool uses recorded JSONL fixtures and a local mock MCP/tool harness to validate every PR in seconds at zero cost. By injecting updated configurations into a deterministic local harness, the runner verifies schema bindings, rule precedence, and forbidden tool patterns without external network calls.
Hard Gates and Cryptographic Receipts
The tool enforces strict quality gates using pass@k metrics and Token Efficiency Ratios. A PR that maintains accuracy while burning 35% more tokens is flagged immediately. In GitHub Actions, setting --min-pass-rate 0.95 and --max-token-regression 1.15 blocks any merge if reliability drops below 95% or token overhead spikes above 15%. Every successful run generates an immutable SHA-256 evaluation receipt, providing an audit trail of which prompt version passed its exact gate.
Key Takeaways
- Prompts and MCP schemas are production code that require CI/CD verification.
- Offline trajectory replay allows for $0.00 per PR evaluation costs.
- Hard gates on pass@k and token efficiency prevent silent regressions.
- SHA-256 receipts provide immutable audit trails for agent configuration changes.
The Bottom Line
If it steers agent behavior, it must be benchmarked. Alencar’s tool finally gives agent operators the same rigor we expect from standard software engineering.