commit 12fb080f2cf4ab721d8da439669df12686c59383
parent 2a14a6625f7b7e3bc6f545e809c399f849f23b79
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Sat, 26 Sep 2026 19:33:30 -0400
scripts: `pnpm ops` usage — cut-release's "all" cuts both or neither; "commit": boolean (review nit)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/scripts/archilyzer-ops.mjs b/scripts/archilyzer-ops.mjs
@@ -312,11 +312,12 @@ export function usage() {
'cut-release turns a changelog\'s [Unreleased] into "## [<version>] - <date>":',
' {"workspace": "editor" | "export" | "all",',
' "version": "X.Y.Z" | "next" | "next-minor",',
- ' "commit": true (default false), "date": "YYYY-MM-DD" (default today)}.',
+ ' "commit": boolean (default false), "date": "YYYY-MM-DD" (default today)}.',
' "all" cuts both with ONE version and commits each ("Release <workspace>',
- ' <version>"); it stops at the first failure. Only an editor built from',
- " release 10 or later has the route (an older one answers 404); with no",
- " editor running, `archilyzer release cut` does the same locally.",
+ ' <version>") — or neither: every check runs before either file is',
+ " written. Only an editor built from release 10 or later has the route",
+ " (an older one answers 404); with no editor running, `archilyzer release",
+ " cut` does the same locally.",
"",
"Env: ARCHILYZER_EDITOR_URL (default http://localhost:3001), WORKER_TOKEN,",
" ARCHILYZER_AGENT (provenance of a tag write; default \"cli\")",
diff --git a/scripts/archilyzer-ops.test.mjs b/scripts/archilyzer-ops.test.mjs
@@ -56,6 +56,7 @@ test("cut-release posts its body to /api/ops/cut-release and is a known action",
assert.match(parseArgs(["cut-releases"]).error, /known: .*\bcut-release\b/);
assert.match(usage(), /cut-release turns a changelog's \[Unreleased\]/);
assert.match(usage(), /"all" cuts both with ONE version/);
+ assert.match(usage(), /or neither: every check runs before either file is/);
assert.match(usage(), /release 10 or later/);
});