AI Help
How do I verify which files an AI coding agent actually changed?
Inspect Git status and the complete diff, including untracked files, before accepting the agent's change summary.
Steps to follow
- Run git status --short to list modified, added and untracked files in the intended checkout.
- Compare the patch with the correct base commit. Review staged and unstaged changes and check generated or ignored outputs when relevant.
- Map each changed file to the requested behavior and inspect unexpected additions before committing.
Example in practice
Illustrative example. A small validation fix that also changes a lockfile needs an explanation and a focused diff review.
Related AI help
- How do I work on two coding tasks at once without mixing their Git changes?
- How do I check whether an AI coding agent actually ran the tests it reported?