`execute-prp.sh` script fails with syntax error
execute-prp.sh script is failing to run with the following error:
.gemini/scripts/execute-prp.sh PRPs/request_prp.md
.gemini/scripts/execute-prp.sh: line 34: unexpected EOF while looking for matching `)'
.gemini/scripts/execute-prp.sh: line 162: syntax error: unexpected end of file
I am running the command: .gemini/scripts/execute-prp.sh PRPs/request_prp.md
Expected behavior:
The script should execute the PRPs correctly.
Environment:
- Operating System: macOS Sonoma 15.6
- Shell: zsh
Please let me know if you need any more information to debug this issue.
Hi @snappytux,
Thank you for making an issue, I'll hopefully be able to fix this at some point in the next week or two.
diff --git a/.gemini/scripts/execute-prp.sh b/.gemini/scripts/execute-prp.sh
old mode 100644
new mode 100755
index de58715..a45040b
--- a/.gemini/scripts/execute-prp.sh
+++ b/.gemini/scripts/execute-prp.sh
@@ -31,7 +31,7 @@ fi
# 2. Define the Execution Prompt
# ------------------------------
-EXECUTE_PRP_PROMPT=$(cat <<'END_PROMPT'
+read -r -d '' EXECUTE_PRP_PROMPT << 'EOF'
You are an expert-level AI software engineer. Your task is to implement the feature described in the provided Product Requirements Prompt (PRP).
You MUST respond with a sequence of executable actions. Do NOT add any conversational text, explanations, numbering, or any text that is not part of an action block. Your entire response must be a sequence of these blocks.
@@ -50,8 +50,7 @@ There are only two types of blocks you can use:
```
Generate the complete sequence of these blocks to implement the feature.
-END_PROMPT
-)
+EOF
I can submit PR if you want.
Hi @snappytux, I fixed the issue, checkout this fork -- https://github.com/rashidkisejjere0784/Context-Engineering-With-Gemini
I feel like.. maybe this is falling off the maintainers radar.
Hey everyone, the old codebase was quite fragile and prone to error. With the recent deprecation of Gemini CLI in favour of AGY CLI, I decided it would be best to have this project target AGY CLI. As such the new code base uses that, it is also much easier to install. The old code is available on another branch if you'd still like to use that.