What is intent drift?
Intent drift is the gradual divergence between what you originally asked an AI coding agent to do and what its current plan and edits are actually doing.
It is not a crash, a hallucination, or a bad edit. Every step a drifting agent takes is locally reasonable - that is exactly why it is hard to notice. The plan shifts once, then again, and each individual justification is sound. What is lost is the thread back to the original goal.
The practical result: you asked for a change to one behaviour and end up with a change to another, plus tests that prove the new behaviour works. The diff looks confident and clean. Nothing in the output says the goal changed.