console plans: guardrails from a real run (2026-10-21): health none label and Sign in details Yes/No + Add details (old labels as altLabels, verify accepts both), finance boxes on step 1, App Privacy Additional Setup Required OK, verify from DOM input states (verify.capture, --from), Save + confirm before every Next on Play pages, IARC Digital purchases boxes and an exact-label in-page helper that refuses patterns and blanket answers; review contact found in parent folders, the profile and more key shapes with the files checked listed; one-line errors for missing required values (Args.required); pitfalls 86-87, tests

This commit is contained in:
CRTkafa 2026-10-21 05:03:02 +07:00
parent a6dab8f3aa
commit 335a4124ab
23 changed files with 486 additions and 74 deletions

View file

@ -86,8 +86,7 @@ export async function run(ctx: Ctx): Promise<void> {
const a = ctx.args;
const { root } = ctx.loaded;
if (a.has('show')) { printJson(editableValues(ctx.loaded)); return; }
const opsJson = a.get('ops');
if (!opsJson) throw new Error('usage: storebound edit --ops \'<json>\' [--dry] [--json] | storebound edit --show --json');
const opsJson = a.required('ops', 'json', 'storebound edit --show --json lists the editable values');
const { plan: p, texts } = await plan(ctx, opsJson);
const dry = a.has('dry');
// with --json in a terminal, stdout is the JSON result only: the lines go to stderr (under `serve` the result is a