Avoid phantom fixes
Agents sometimes introduce bugs during development, fix them, then reference the fix in commit messages - even though the bug never existed in the previous commit. These phantom fixes claim credit for solving problems that only existed mid-session.
>
You can try to prevent this with a reminder in your AGENTS.md:
1## Commit Messages
2
3Only reference bugs that existed in the last commit. Don't mention bugs you introduced and fixed in this session.
AGENTS.md
3L
Still, always review commit messages before accepting them.