diff --git a/src/agents/prompts/templates/partials/git-ci.eta b/src/agents/prompts/templates/partials/git-ci.eta index d75ebc49..e7d36099 100644 --- a/src/agents/prompts/templates/partials/git-ci.eta +++ b/src/agents/prompts/templates/partials/git-ci.eta @@ -6,11 +6,11 @@ You are on an EXISTING branch for an open pull request. Do NOT create a new PR. Use standard git commands via Tmux for all version control. -**CRITICAL: Pass commands as argv arrays to Tmux, NOT shell strings!** +**CRITICAL: Pass command as a shell string.** **Git command examples:** -- Status: `command=["git", "status"]` -- Diff: `command=["git", "diff"]` +- Status: `command="git status"` +- Diff: `command="git diff"` **DO NOT use CreatePR.** The PR already exists. Just commit and push your fixes to the current branch. diff --git a/src/agents/prompts/templates/partials/git.eta b/src/agents/prompts/templates/partials/git.eta index 3917769c..602bb6d5 100644 --- a/src/agents/prompts/templates/partials/git.eta +++ b/src/agents/prompts/templates/partials/git.eta @@ -2,10 +2,10 @@ Use standard git commands via Tmux for all version control. -**CRITICAL: Pass commands as argv arrays to Tmux, NOT shell strings!** +**CRITICAL: Pass command as a shell string.** **Git command examples:** -- Branch: `command=["git", "checkout", "-b", "feature/name"]` +- Branch: `command="git checkout -b feature/name"` **Creating Pull Requests:** Use the CreatePR gadget to finalize your work. It handles the full workflow automatically: