Agents can propose refactoring just as readily as humans.
If coding agents already read AGENTS.md before making changes, they can also maintain a TECHNICAL_DEBT.md checklist.
Keep the loop intact: AGENTS.md ensures technical debt remains in context whenever changes are planned.