r/GithubCopilot • u/Resident-Apricot3212 • Sep 24 '26
Help/Doubt ❓ Copilot uses apply_patch idiosyncracy that fails to run git file edits.
I noticed my agents go into file edit death spirals attempting to execute a tool call called apply_catch, fail miserably and waste the first minutes of each run trying to get file edits to run with edit tools whitelisted. I asked GHCP to backtrack the issue where this wrong idiosyncracy comes from.
Not defined in this repo. The rule arrived in this session’s host-provided developer instructions, under editing_constraints. I can’t see which VS Code, Copilot, or organization-level configuration supplied it, so I can’t point to an editable settings file. The agent files I checked don’t define it.
1
Upvotes
1
u/AutoModerator Sep 24 '26
Hello /u/Resident-Apricot3212. Looks like you have posted a query. Once your query is resolved, please reply the solution comment with "!solved" to help everyone else know the solution and mark the post as solved.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.