From 666f4d6864600c63bd3ce2df9057c11d66ca1ac5 Mon Sep 17 00:00:00 2001 From: Jason Woltje Date: Wed, 11 Nov 2026 19:35:25 -0600 Subject: [PATCH] fix(cli): build review fixes for the parity verbs (#1873, P1-3) - autonomy set: an empty --authority-resolver clears the resolver as the panel does; --reverse-window-hours takes 1 to 168, as the page and bus do. - The default instance gets a one-line refusal (exit 3) naming the named instance and --dev-local-owner, not a stack trace. - tasks create|edit|archive: a value starting with -- is a usage error; --business is checked before the agent guard, and the guard also reads process.env. - Drop the unused consoleRefusal export. - Docs: --business is required, resolver clearing, window range, and the named-instance requirement. --- docs/TOOLS.md | 10 +++++----- packages/cli/README.md | 13 ++++++++----- packages/cli/src/org-console.mjs | 1 - packages/cli/src/org-owner.mjs | 13 +++++++++---- packages/cli/src/tasks-write.mjs | 15 ++++++++++---- packages/cli/tests/cli-parity.test.mjs | 27 ++++++++++++++++++++++++++ packages/webui/README.md | 2 +- 7 files changed, 61 insertions(+), 20 deletions(-) diff --git a/docs/TOOLS.md b/docs/TOOLS.md index 1697c32fc..fc04a5879 100644 --- a/docs/TOOLS.md +++ b/docs/TOOLS.md @@ -317,11 +317,11 @@ scripts/mosaic org role-templates [--json] scripts/mosaic org hire|change --name --template