summaryrefslogtreecommitdiff
path: root/.agents
diff options
context:
space:
mode:
Diffstat (limited to '.agents')
-rw-r--r--.agents/skills/pardes-9p/SKILL.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/.agents/skills/pardes-9p/SKILL.md b/.agents/skills/pardes-9p/SKILL.md
index e33801ef..9b963f73 100644
--- a/.agents/skills/pardes-9p/SKILL.md
+++ b/.agents/skills/pardes-9p/SKILL.md
@@ -30,8 +30,10 @@ mount, plan9port's `9p -a "unix!$PARDES_9P"` works, and `test/ninep.py` in the s
## Traps
-- A refused write says only `Invalid argument` or `Input/output error`; the
- reason is the last `err` record in `$m/log`.
+- Check the write's status first: a refused write says only `Invalid
+ argument` or `Input/output error`, and then the last `err` record in
+ `$m/log` says why (`echo x > f || tail -1 $m/log`). A successful write
+ logs nothing, so the tail may hold an older `err`.
- `addr` is the pane's and moves on: each `/re/` searches from the last
address, and a `data` write leaves it just past the text. Write `addr`
before each replacement; a failed address leaves none.