Atomic commits for AI agents

These days I hardly write commit messages manually anymore. The agent, with all the context on the task, writes reasonably good commit messages in a fraction of the time I would. Where agents occasionally struggle, however, is atomic commits - commits that contain exactly one logical change. If at any point unrelated changes are introduced into the same file, not to mention within close proximity…