summaryrefslogtreecommitdiff
path: root/plugins/ralph-wiggum/scripts
diff options
context:
space:
mode:
authorAnthony Morris <amorriscode@gmail.com>2026-01-04 23:16:39 -0800
committerGitHub <noreply@github.com>2026-01-04 23:16:39 -0800
commit15b07b46dab33aa07efb447e1b592297b9eaa17c (patch)
tree441975e1899043513619f42fedd50d6493336b61 /plugins/ralph-wiggum/scripts
parent6d3752c000e2b3d0e6137bd7adb04895d6f40f14 (diff)
Merge pull request #114 from anthropics/fix/ralph-wiggum-newline-error
fix(ralph-wiggum): move multi-line bash from command to setup script
Diffstat (limited to 'plugins/ralph-wiggum/scripts')
-rwxr-xr-xplugins/ralph-wiggum/scripts/setup-ralph-loop.sh27
1 files changed, 27 insertions, 0 deletions
diff --git a/plugins/ralph-wiggum/scripts/setup-ralph-loop.sh b/plugins/ralph-wiggum/scripts/setup-ralph-loop.sh
index 7e334f4b..ac5491f4 100755
--- a/plugins/ralph-wiggum/scripts/setup-ralph-loop.sh
+++ b/plugins/ralph-wiggum/scripts/setup-ralph-loop.sh
@@ -174,3 +174,30 @@ if [[ -n "$PROMPT" ]]; then
echo ""
echo "$PROMPT"
fi
+
+# Display completion promise requirements if set
+if [[ "$COMPLETION_PROMISE" != "null" ]]; then
+ echo ""
+ echo "═══════════════════════════════════════════════════════════"
+ echo "CRITICAL - Ralph Loop Completion Promise"
+ echo "═══════════════════════════════════════════════════════════"
+ echo ""
+ echo "To complete this loop, output this EXACT text:"
+ echo " <promise>$COMPLETION_PROMISE</promise>"
+ echo ""
+ echo "STRICT REQUIREMENTS (DO NOT VIOLATE):"
+ echo " ✓ Use <promise> XML tags EXACTLY as shown above"
+ echo " ✓ The statement MUST be completely and unequivocally TRUE"
+ echo " ✓ Do NOT output false statements to exit the loop"
+ echo " ✓ Do NOT lie even if you think you should exit"
+ echo ""
+ echo "IMPORTANT - Do not circumvent the loop:"
+ echo " Even if you believe you're stuck, the task is impossible,"
+ echo " or you've been running too long - you MUST NOT output a"
+ echo " false promise statement. The loop is designed to continue"
+ echo " until the promise is GENUINELY TRUE. Trust the process."
+ echo ""
+ echo " If the loop should stop, the promise statement will become"
+ echo " true naturally. Do not force it by lying."
+ echo "═══════════════════════════════════════════════════════════"
+fi