debt-ops: catching AI-written tech debt the moment it's written
Dev.to AI
•
Generative AI
A plugin that catches the tech debt your AI agent writes, the moment it writes it. GitClear's study of 211M lines shows the pattern: duplicated code keeps climbing and it's not being refactored. And if you've spent enough time coding with agents, you've felt this pain. So I ran a study on ~20 years of tech-debt research, distilled the findings into a few commandments, and wired them into my agent loop as a plugin. How it works: as your agent writes code, every deferral, a loose type, a punted decision gets logged to a folder in your repo as debt. Every key decision gets logged as an.