From e3e698fd14c9c7eb6906c95beeeb8e12f08f8b94 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 29 Sep 2026 07:09:14 -0300 Subject: A refusal over unsaved panes logs each as `unsaved `, and its err never cuts a list Exit's refusal joined every name into one err, cut at the record's cap in mid-name, so a script could not tell which panes held it up. Each pane is now an `unsaved` record before the err, and the err names the one pane or counts them: `4 unsaved panes: Modified (Exit again to discard)`. Restore, Del and Delcol refuse the same way. Co-Authored-By: Claude Opus 5.5 --- .agents/skills/pardes-9p/SKILL.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.agents') diff --git a/.agents/skills/pardes-9p/SKILL.md b/.agents/skills/pardes-9p/SKILL.md index f9d9e34d..e88f7652 100644 --- a/.agents/skills/pardes-9p/SKILL.md +++ b/.agents/skills/pardes-9p/SKILL.md @@ -80,8 +80,9 @@ $m/ctl the settings, one a line as a write takes them; write a setting or (Newcol makes an empty column, Dump, Theme x; Exit QUITS the editor, Kill [word...] stops the commands pardes started (command panes, lines it typed into shells), a word matching a command line's first word; Exit and Restore refuse once, - naming every unsaved pane, `, : Modified (Exit again to discard)` (Restore's says - `Restore again`); a second refusal names only the panes edited since the last, + logging `unsaved ` for each unsaved pane, then failing the write with + `: Modified (Exit again to discard)` for one or `4 unsaved panes: Modified (Exit + again to discard)` for more (Restore's says `Restore again`); a second refusal names only the panes edited since the last, as acme's does, and the same word again with nothing edited since DISCARDS them all -- not a retry, unlike lock's `file in use`; Kill stops a command pane's whole line, `&` jobs included; of a line typed into a shell only the foreground job, and the shell decides the rest (of `sleep 30; echo done` -- cgit v1.3