price changes of existing products need --allow-price-changes (play products, play/apple subscriptions, prices import): --yes and flow run --apply --yes confirm creates, first prices and other updates only; without the flag the run writes the rest, names each held change and exits 3 (declined), dry runs mark them owner, flows refuse the flag; lib/price-gate.ts, tests/price-gate.test.ts. CLI wording: console fill leaves what it cannot open or fill to the calling agent's browser tool (console plan / verify) instead of 'yourself'; other 'by hand' output points at the config; do-it-dont-ask test scans cli/ output

This commit is contained in:
CRTkafa 2026-10-12 09:38:56 +08:00
parent b5b8f2da9d
commit e01a27d7b7
33 changed files with 414 additions and 117 deletions

View file

@ -23,7 +23,7 @@ const DYNAMIC: Record<string, string[]> = {
'play/rollout.ts': ['halt', 'resume', 'complete'],
'play/release.ts': ['internal', 'alpha', 'beta', 'production'],
'ads/apple.ts': ['adgroup', 'campaign', 'keyword'],
'apple/subscriptions.ts': [], // a wrapper of ctx.args.has(n) (confirm without --yes)
'lib/price-gate.ts': [], // withoutYes: a wrapper of ctx.args.has(n) (confirm without --yes)
'lib/declarations.ts': [], // a.get(k) on a Map, not the args
'lib/catalog.ts': [], // a.get(w.id) on a Map, not the args
};