From e64f162bffa6ced845bac4d3015954c41c4b4a3e Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Mon, 14 Sep 2026 16:48:53 +0200 Subject: krino: 0.0.6 — w applies and quits, choices echoed in red MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/design.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'docs/design.md') diff --git a/docs/design.md b/docs/design.md index 271e2a6..331993a 100644 --- a/docs/design.md +++ b/docs/design.md @@ -7,7 +7,8 @@ shown as one block per file, wrapped to the terminal, and `-P` (§8.2, §8.3, § amended again 2026-09-14 for 0.0.4: `max-size` (§4.4), `(exclude ...)` (§4.2, §4.3, §4.6) and `--min-age` (§11); amended again 2026-09-14 for 0.0.5: the keyword cache (§3, §6.1, §13), and `t`, `d` and `w` in review -(§8.3, §10). +(§8.3, §10); amended again 2026-09-14 for 0.0.6: `w` applies and quits, and +each choice is echoed in red (§8.2, §8.3). krino (from Greek κρίνω, "to separate, to judge, to decide") sorts files in chosen directories by rules. A rule tests a file's type, name, path, size, @@ -533,6 +534,7 @@ not acted on: 3 busy · 12 ignored · 210 unmatched (-v lists them) | the `warnings` heading and its lines | yellow | | outcome line | the applied count green when above 0, the failed count red when above 0 | | prompt keys `[a]` `[y]` … | bold | + | the choice echoed in review, `→ yes` … | red | | `krino log`'s `(undone)` | faint | Permanent deletes are always marked in capitals, so they stand out without @@ -567,8 +569,17 @@ Trash, or deleted permanently. They are the user's own decision, logged under the rule name `(review)`; `(review)` steps are not subject to the duplicate protection of §5.5, which governs rules. `d` asks `delete NAME permanently? [y/N]`, and any key but `y` deletes nothing and -asks about the file again. `w` stops asking and applies what was chosen so -far. `q` applies nothing in this directory, choices included. +asks about the file again. Each choice is confirmed on its own red line +under the file (`→ yes`, `→ no`, `→ trash`, `→ DELETE permanently`, +`→ yes, and all remaining`). Enter is ignored. + +`w` applies what was decided so far and stops krino, without planning or +asking about any later directory, so a long review can be done a session at +a time. Files answered `n` are logged as declined; files never reached are +not logged and are counted separately: `20 applied · 0 failed · 3 declined · +139 not reviewed`. Nothing about a declined file is remembered: the next run +asks about it again (an `exclude` stops that). `q` applies nothing in this +directory, choices included, and stops krino. ### 8.4 Modes -- cgit v1.3