Archilyzer · Source

archilyzer

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

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

umtool: verbs.test asserts every form row the page reads has the registry's shape and args, whole -- the argv comparison alone compared refusal to refusal on 27 of 82 shaped rows (L8b review 3)

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

Diffstat:
Mumtool/lib/cli/verbs.test.mjs | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/umtool/lib/cli/verbs.test.mjs b/umtool/lib/cli/verbs.test.mjs @@ -118,6 +118,9 @@ test("every row is a form or says why it is not, and its args make sense", () => // The page builds its Copy as CLI line from these rows: the same argv the server builds from the registry's. const sample = { project: "reports/p", id: "c01", "--to": "2", "--after": "c01", item: "p-5", op: "ls", settings: "a=1", ruling: "keep", clip: "c01", marker: "m1", gid: "g1", n: "1", span: "1-2", second: "3" }; for (const r of formVerbs()) { + // What the page builds the line from IS the registry's: its shape and its args, whole. + assert.deepEqual(r.shape, verbRow(r.verb).shape, `\`${r.verb}\`: the page's row has the registry's shape`); + assert.deepEqual(r.args, verbRow(r.verb).args, `\`${r.verb}\`: the page's row has the registry's args`); const vals = Object.fromEntries(r.args.filter((a) => a.name in sample).map((a) => [a.name, sample[a.name]])); assert.deepEqual(buildArgv(r, vals), buildArgv(verbRow(r.verb), vals), `\`${r.verb}\`: the page's line is the command that runs`); }