Skip to content

Commit 0a36456

Browse files
trieloffPi
andauthored
fix(yolo): correct description for pi in README and executable_yolo (#36)
The previous description for the `pi` agent (added in PR #35) was inaccurate. Pi is YOLO-by-default natively and auto-approves all tool calls with no permission prompts (no flag needed, same as goose). See: earendil-works/pi#3169 Changes: - Updated agent flag table row in README.md - Updated Supported Commands help text in executable_yolo - Rewrote comment in get_command_flags() for pi) case (only comments/text changed; echo "" return preserved) Co-authored-by: Pi <pi@earendil.works>
1 parent 2f168b0 commit 0a36456

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Use `--mop` to clean up orphaned worktrees from interrupted sessions or when you
227227
| `crush` | `--yolo` (+ Ghostty injection when prompt present) |
228228
| `goose` | *(no flags - prompts passed via stdin)* |
229229
| `grok` | `--yolo` (Grok Build by xAI) |
230-
| `pi` | *(no flags - runs interactively by default, user blesses tool calls; has --print for non-interactive single-shot but no auto-approve flag; runs as-is)* |
230+
| `pi` | *(no flags — pi is YOLO by default; auto-approves all tool calls with no permission prompts, matching yolo's intent natively)* |
231231
| *(other)* | `--yolo` |
232232

233233
### Examples

executable_yolo

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Supported Commands:
114114
goose No extra flags added (prompts passed via stdin)
115115
auggie Uses --allow-indexing; adds --print when prompt present
116116
grok Uses --yolo (Grok Build by xAI)
117-
pi No extra flags (runs as-is; interactive by default, user blesses tool calls; --print for non-interactive single-shot)
117+
pi No extra flags (pi is YOLO by default; auto-approves all tool calls with no permission prompts, matching yolo's intent natively)
118118
<other> Adds --yolo (generic fallback)
119119
120120
Multi-agent Mode:
@@ -336,11 +336,9 @@ get_command_flags() {
336336
echo "--yolo"
337337
;;
338338
pi)
339-
# Pi (the coding agent you're running on) has no --yolo-equivalent
340-
# auto-approve flag. Pi runs interactively by default and the user
341-
# has to bless tool calls. It has --print for non-interactive
342-
# single-shot output, but no global yes-everything flag.
343-
# Fall back to generic case: no extra flag — pi runs as-is.
339+
# Pi is YOLO-by-default natively — no flag needed (auto-approves all
340+
# tool calls with no permission prompts, matching yolo's intent).
341+
# See https://github.com/earendil-works/pi/discussions/3169 (same as goose)
344342
echo ""
345343
;;
346344
*)

0 commit comments

Comments
 (0)