Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit 4743eb00578d831b95a00e83d7466164693088ce
parent be84d38e610623a0e5dd03a0429bb2dcdacb0f56
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Tue, 10 Nov 2026 15:13:54 -0500

umtool: `timeline move` from a block's menu leaves --to to the person -- its own index filled in made Run unedited a refused no-op ("already at N") (L8b review 4)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
Mumtool/lib/cli/verbs.mjs | 2+-
Mumtool/lib/cli/verbs.test.mjs | 2++
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/umtool/lib/cli/verbs.mjs b/umtool/lib/cli/verbs.mjs @@ -388,7 +388,7 @@ function timeline() { num("--to-section"), opt("--group"), opt("--id"), num("--section"), bool("--lock"), bool("--lock-end"), opt("--title"), opt("--stream-title"), opt("--date", { help: "YYYY-MM-DD" }), opt("--quote", { type: "text" }), num("--cite"), opt("--cite-url"), takeOpt(), ], B(ENTRIES, { "--after": "{id}" })), - tl("move", "draft", "an entry to an index", [id(), num("--to", { required: true, help: "its place after the move (0 first)" }), takeOpt()], B(ENTRIES, { id: "{id}", "--to": "{at}" })), + tl("move", "draft", "an entry to an index", [id(), num("--to", { required: true, help: "its place after the move (0 first)" }), takeOpt()], B(ENTRIES, { id: "{id}" })), tl("place", "draft", "entries before another (Play's drag)", [ids(), opt("--before", { required: true, help: "an entry id, or - (the end)" }), num("--section")]), tl("remove", "draft", "an entry out of the cut", [id(), num("--at", { help: "which of an id's twins" }), takeOpt()], B(ENTRIES, { id: "{id}" })), tl("duplicate", "draft", "an entry twice", [id(), num("--at")], B(["clip", "post"], { id: "{id}" })), diff --git a/umtool/lib/cli/verbs.test.mjs b/umtool/lib/cli/verbs.test.mjs @@ -352,6 +352,8 @@ test("block menus: every `blocks` names a block kind, every block-naming arg has assert.deepEqual(fromBlockValues(verbRow("timeline flash-forward"), { project: "p", id: "c01", cutStart: 1.5 }), { project: "p", id: "c01" }, "a field the block lacks leaves the arg empty"); assert.deepEqual(fromBlockValues(verbRow("ingredient"), { project: "p", id: "c01", channel: "chan", video: "vid1" }), { recording: "chan/vid1" }); assert.deepEqual(fromBlockValues(verbRow("links"), { project: "p", id: "c01" }), { project: "p", "--embed-ids": true, "--clips": "c01" }); + // A move's place is the person's: its own index would be a no-op the CLI refuses ("already at N"). + assert.deepEqual(fromBlockValues(verbRow("timeline move"), { project: "p", id: "c01", at: 3 }), { project: "p", id: "c01" }); // The page's list carries them (the palette and the menu read one table). assert.deepEqual(formVerbs().find((r) => r.verb === "window")?.blocks, ["clip"]); assert.equal(formVerbs().find((r) => r.verb === "ingredient")?.nav, "ingredient");