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.

test(machine): classify settings refusals [M1]

Corey Olsonfa28e85d3936
diff --git a/test/machine.test.js b/test/machine.test.js
index 0d1ec9da..526e90d3 100644
--- a/test/machine.test.js
+++ b/test/machine.test.js
@@ -17,8 +17,8 @@ import { BLANKS, IN_STATE, MACHINE, effectiveGuards, lifecycleHelp, lifecycleMar
import { execFileSync, spawnSync } from 'node:child_process';
/**
- * Refusals that are not about an item's lifecycle, so no move declares them: how a command was
- * typed, and registering who is asking, which happens before any move.
+ * Refusals that are not about an item's lifecycle, so no move declares them: command input, caller
+ * registration and machine-wide settings are checked before any item move.
*/
const NOT_MOVES = {
USAGE: 'how a command was typed',
@@ -26,6 +26,8 @@ const NOT_MOVES = {
ALREADY_JOINED: 'registering who is asking, before any move',
BAD_ROUTE: 'registering who is asking, before any move',
ONE_COORDINATOR: 'registering who is asking, before any move',
+ BAD_MACHINE_SETTINGS: 'machine-wide settings checked before a command runs',
+ BAD_GATE_SLOTS: 'machine-wide gate capacity checked before a command runs',
};
/**