Skip to content

Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.

fix(settings): preserve gateSlots usage refusal [C7]

Corey Olson39bd9df6f18c
diff --git a/src/cli.js b/src/cli.js
index abd351fd..5c46ab87 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -2859,6 +2859,7 @@ function settingsCommand(io, { first, second, rest }) {
throw new Refused('USAGE', 'pullboard settings gateSlots <n> | browserSlots <n>');
}
if (!/^[1-9]\d*$/u.test(second) || !Number.isSafeInteger(Number(second))) {
+ if (first === 'gateSlots') throw new Refused('USAGE', 'pullboard settings gateSlots <positive integer>');
throw new Refused(first === 'browserSlots' ? 'BAD_BROWSER_SLOTS' : 'BAD_GATE_SLOTS', `${first} must be a positive integer; run pullboard settings ${first} <n>`);
}
const settings = first === 'browserSlots' ? setBrowserSlots(Number(second)) : setGateSlots(Number(second));