Do you want your agent to change files outside the project?
To fix the build it edits your shell profile, your global git configuration, or a file in another project. The fix works here and something else breaks next week.
What you get: Changes stay inside the project, where version control can show and undo them.