commit d39f4a1855e27bc6501cae0fac255b6b5c2725ac
parent aa03a25c1a5933c46427f48f0f0daa67ef237395
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Tue, 17 Nov 2026 17:17:09 -0500
docs: the review-1 rules for the reads -- undo, scoped requests, refused flags, owned values
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat:
2 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/editor/CHANGELOG.md b/editor/CHANGELOG.md
@@ -19,6 +19,13 @@
- **Listen through** plays each re-read next to what played before, with a Pick on either and "Pick every new
read".
- The CLI twin is `umtool reads <p>` with `replace`, `undo`, `reread`, `queue` and `pick`, all with `--json`.
+ Every subcommand refuses a flag it does not take, and `--dry-run` works on undo, reread and pick.
+ - The page acts only on the reads it counted, by their ids.
+ - Undo is offered only while nothing has been written since the replace, and an Everywhere's undo puts back the
+ entry it changed.
+ - A line that owns its takes is never judged against its character's, so `cast stale` changes too.
+- **umtool: unit test runs can no longer reach a running editor.** `pnpm test:scripts` and umtool's tests set a
+ dead editor address and no token.
- The "made with other settings" lines in the character preset, on the Voices page and in the bench's Keep note
now link here.
- **umtool: a plain Read again passes back only the values the line owns.** Each take records `tuningOwn`. The
diff --git a/umtool/docs/knobs.md b/umtool/docs/knobs.md
@@ -1641,6 +1641,21 @@ counts and `umtool cast stale` are one count.
**Everywhere** matches whole words only, and never reaches a card: cards are not said through the lexicon. Both
limits are said where the button is.
+**Undo** (`umtool reads <p> undo`; on the page, offered only while it applies) takes back the newest replace:
+- **These reads:** only while the draft is still exactly what the replace left. Its token and its bytes' hash are
+ kept in `<p>/narration/reads/replaces.json`. Other writers keep one undo point per op for two minutes, so a write
+ after a replace (a re-read landing, a bench edit) could otherwise be taken back with it. Such an undo is refused,
+ and the page says why.
+- **Everywhere:** puts back the entry it changed (its spoken form and its note), or removes only the entry it added
+ (by its word, case and item).
+- `--dry-run` says which, or why not.
+
+**The page acts only on what it counted.** Re-read sends the ids of the rows it counts, Pick every new read the
+unpicked ones in view, and a replace the previewed ones that are ticked. The route refuses a request with no ids,
+or one naming an id no read could have, and never narrows it to every read of the video. An unscoped re-read is the
+CLI's alone (`reread` with no `--only`). Every `umtool reads` subcommand refuses a flag it does not take, and `--`
+ends the flags.
+
### The re-read queue
The re-reads run on the umtool app's **durable queue** (`lib/queue`, `umtool queue ls`):