Agent Practice Notes

A short routine for reading a diff you did not write.

Start with the file list

Before any line of code: which files changed, and were they the files the task was about?

Deletions before additions

Additions announce themselves; removals do not. Behaviour disappears in the lines that are no longer there.

Read every removed block and say out loud what used to happen there.

Run it after reading, not instead

Reading first, running second: a passing test on unread code tells you the test passed, not that the change is right.