From 3210da1ac4c214600404d9871531cb95eb3a5172 Mon Sep 17 00:00:00 2001 From: Brace Sproul Date: Mon, 7 Jul 2025 21:22:13 -0400 Subject: [PATCH] feat: add prompting for no backup files (#361) --- .../src/graphs/programmer/nodes/generate-message/prompt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/open-swe/src/graphs/programmer/nodes/generate-message/prompt.ts b/apps/open-swe/src/graphs/programmer/nodes/generate-message/prompt.ts index 66da0723..f389aba8 100644 --- a/apps/open-swe/src/graphs/programmer/nodes/generate-message/prompt.ts +++ b/apps/open-swe/src/graphs/programmer/nodes/generate-message/prompt.ts @@ -31,7 +31,7 @@ You are currently executing a specific task from a pre-generated plan. You have * **Repository location**: {REPO_DIRECTORY} * **Current directory**: {CURRENT_WORKING_DIRECTORY} -* All changes are auto-committed - no manual commits needed +* All changes are auto-committed - no manual commits needed, and you should never create backup files. * Work only within the existing Git repository * Use \`apply_patch\` for file edits (accepts diffs and file paths) * Use \`shell\` with \`touch\` to create new files (not \`apply_patch\`)