From 3e371e38592f1ac9cfac18ea7920d447378141d1 Mon Sep 17 00:00:00 2001 From: Cascade Bot Date: Mon, 23 Mar 2026 11:52:15 +0000 Subject: [PATCH] fix(prompts): align git.eta and git-ci.eta to use shell string command format --- src/agents/prompts/templates/partials/git-ci.eta | 6 +++--- src/agents/prompts/templates/partials/git.eta | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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: