Model swap silently broke agent cancellations, so a developer built a behavior diff tool
Impossible-Alarm-738 · reddit · 2026-07-22
A model swap quietly broke an agent’s cancelsubscription tool calls, so the author built whatbroke, a local diff tool for agent behavior.
- It compares JSONL traces of real agent trajectories, not just text outputs.
- It tracks tool calls, arguments, order, cost, latency, and final output, then exits non-zero on breaking changes so it can run in CI.
- A proxy mode (whatbroke record) captures traces from any language by pointing the base URL at it.
- Because agent runs are nondeterministic, it supports multiple runs per scenario and reports a flap rate so pre-existing randomness gets downweighted.
- It is deterministic, fully offline, requires no API keys or accounts, and is MIT licensed.
Related event: New Tool Detects Silent Agent Regressions After Model Switches(2 posts)→
More from coding & agent
- Cognition's SWE-2 uses a KKT duality argument in RL to shift the effort Pareto curve — YouJiacheng · 2026-09-11
- First-ever Three.js Conference lands in Paris, with a panel on AI-shortened design workflows — OdinLovis · 2026-09-11
- Data engineering, not agent frameworks, is the real bottleneck for enterprise AI agents — dhruv2038 · 2026-09-11
- RTK Terminal Compression Cuts Tokens but Leaves Your AI Coding Bill Unchanged — Bartaseth · 2026-09-11
- GPT-6 Astra beats Factorio with enemies in 44 in-game hours at ~$4,500 API cost — liminal_bardo · 2026-09-11
- Investment Analyst Asks How to Build a Claude-Based Diligence Agent Stack — Careless_Tie2286 · 2026-09-11