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

  1. Run git status --short to list modified, added and untracked files in the intended checkout.
  2. Compare the patch with the correct base commit. Review staged and unstaged changes and check generated or ignored outputs when relevant.
  3. 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

Official guidance

OpenAI documentation