Skip to content

apply_patch: one file per call, folders named as folders - #135

Merged
ayman3000 merged 1 commit into
mainfrom
apply-patch-one-file
Oct 9, 2026
Merged

ayman3000 merged 1 commit into
mainfrom
apply-patch-one-file

Conversation

@ayman3000

Copy link
Copy Markdown
Owner
  • A multi-file diff is refused with the file names (nothing changed) instead of trying every hunk on path.
  • A folder path gets "is a folder" (and the file the diff names), not "Use write_file".
  • Description: "One file per call".

From a Naseem run (2026-10-09) where two patches failed this way. swift test: 662 tests passed (1 pre-existing known issue).

🤖 Generated with Claude Code

A diff spanning two files had every hunk tried against `path`, so the
second file's hunk "didn't match" (Naseem 2026-10-09: PomoApp.swift and
project.pbxproj in one patch). It is now refused with both names and
nothing changed; the description says one file per call. A folder path
says it is a folder instead of suggesting write_file.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@ayman3000
ayman3000 merged commit 7b26671 into main Oct 9, 2026
1 check passed
@ayman3000
ayman3000 deleted the apply-patch-one-file branch October 9, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant