From 7a818260ff0c7fc9e2effa634cdf947fde48e043 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 29 Sep 2026 11:48:55 -0300 Subject: The docs say an Edit loop that finds nothing succeeds silently, as sam's does Edit ,x/zzz/c/bar/ with no match changed nothing and succeeded, which read as a failure next to s's no substitution; sam does the same, so it is kept and said. Co-Authored-By: Claude Opus 5.5 --- .agents/skills/pardes-9p/SKILL.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.agents') diff --git a/.agents/skills/pardes-9p/SKILL.md b/.agents/skills/pardes-9p/SKILL.md index e5affebe..4a9c0940 100644 --- a/.agents/skills/pardes-9p/SKILL.md +++ b/.agents/skills/pardes-9p/SKILL.md @@ -219,7 +219,8 @@ Rename everywhere, or any sam edit, is one write: `echo 'Edit ,x/foo/c/bar/' v c a i d s p = m t u` and `{ }` (commands in braces one to a line, so from exec or a tag, not a one-line ctl write). Its changes are one undo step, and one that fails changes nothing and fails the write with acme's words (`Edit: -no substitution`), logged as `err`. A block goes to the pane's `ctl`, the +no substitution`), logged as `err`; an `x` that finds nothing is no failure +(sam's), so `,x/zzz/c/bar/` with no `zzz` succeeds silently. A block goes to the pane's `ctl`, the root `ctl` (the active pane) or `exec` on one open, in one write or several (bash's `printf` writes line by line): an `Edit` line takes the lines after it until its `{` closes or its `a`/`c`/`i` text ends with `.`, and runs then. `sel` -- cgit v1.3