From 244d2389acd19d9fa5a513230a328eaac80b277e Mon Sep 17 00:00:00 2001 From: "Rai (Michael Pokorny)" Date: Wed, 25 Jun 2025 04:29:58 -0700 Subject: [PATCH] wip --- agentydragon/tools/launch_commit_agent.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/agentydragon/tools/launch_commit_agent.py b/agentydragon/tools/launch_commit_agent.py index b07cbd7b86..15bf8ccd18 100644 --- a/agentydragon/tools/launch_commit_agent.py +++ b/agentydragon/tools/launch_commit_agent.py @@ -37,7 +37,8 @@ def main(task_input): prompt_content = prompt_file.read_text(encoding='utf-8') task_content = task_file.read_text(encoding='utf-8') subprocess.check_call(cmd + [prompt_content + '\n\n' + task_content]) - subprocess.check_call(['git', 'add', '-u']) + # Stage all changes, including new files (not just modifications) + subprocess.check_call(['git', 'add', '-A']) subprocess.check_call(['git', 'commit', '-F', str(msg_file)]) finally: msg_file.unlink()