Example issues when using VS Code GitHub Copilot Chat.
gpt-5/apply-patch-markdown-20250812
Contrived example with multiple same sections and asking gpt-5 to make a change to a specific section.
Demonstrates:
- Issues with the apply_patch tool and missing formatting and unique context.
Logs:
claude-sonnet-4/replace-string-in-file-markdown-20250812
Contrived example with read_file -> fetch -> replace_string_in_file resulting in corrupted markdown file from healStringReplace choosing the wrong target snippit to replace.
Demonstrates:
- Issues with claude-sonnet-4 choosing non-existant content for
"oldString"and resulting in healStringReplace making the wrong decision for a target snippit to replace.
Logs:
claude-sonnet-4/multi-replace-string-in-file-markdown-20250814
Example demonstrating issues with multi_replace_string_in_file where newString and oldString appear correct but the resulting change removes newlines from the markdown file.
Demonstrates:
- Issues with the multi_replace_string_in_file string operation removing newlines despite correct newString and oldString parameters.
Logs: