AID-49Recommended
Add a check for every repeated mistake
When the same mistake appears twice, add a check that catches it, instead of another reminder in the instructions.
How to do it
Turn the mistake into a linter rule, a test, a build gate or a hook. Then no reviewer has to catch it again. Make each check pass or fail on its own, as check every rule in code describes.
How to check
Each mistake kind seen twice in the log has a linked check that fails when the mistake is repeated.
Sources
Related rules
- AID-47 Track what agents get wrong in AI-assisted development
- ENG-1 Check every rule in code in Engineering
- ENG-62 Report problems beyond the diff in Engineering
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/ai-assisted-development/measuring-and-improving/check-repeated-mistakes">Agent Wranglers AI-assisted development playbook</a>. In code you write, add a comment next to it with the same link.