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.
JavaScript agentic-codingai-agentsai-governanceautonomous-agentsclaude-codeclicode-reviewcodexcoding-agentsdeveloper-toolsgit-hooksllmlocal-firstmulti-agentsoftware-factoryspec-driven-developmentverificationvibe-coding
test(machine): classify resource admission refusals [M1]
Corey Olson18cd71bc2dd1
diff --git a/test/machine.test.js b/test/machine.test.jsindex c3602f49..4892e059 100644--- a/test/machine.test.js+++ b/test/machine.test.js@@ -30,6 +30,21 @@ const NOT_MOVES = {BAD_MACHINE_SETTINGS: 'machine-wide settings checked before a command runs',BAD_GATE_SLOTS: 'machine-wide gate capacity checked before a command runs',BAD_BROWSER_SLOTS: 'machine-wide browser capacity checked before a command runs',+ BAD_RESOURCE_NAME: 'machine resource names are validated before admission',+ RESERVED_RUNNER_RESOURCE: 'runner resource rows are managed by machine admission rather than item moves',+ BAD_RESOURCE_CAPACITY: 'machine resource capacity is validated before admission',+ BAD_BROWSER_RESOURCE: 'browser capability must be acquired together with the machine gate',+ BAD_REMOTE_RESOURCE: 'remote executor capability must be acquired together with the machine gate',+ BAD_RUNNER_POOL: 'configured remote executors are validated before admission',+ BAD_RESOURCE_METADATA: 'resource queue metadata is validated before admission',+ BAD_RESOURCE_PRIORITY: 'resource queue priority classes must be mutually exclusive before admission',+ RESOURCE_CAPACITY_MISMATCH: 'resource capacity cannot change underneath active machine leases',+ RESOURCE_LEASE_LOST: 'a machine resource lease must remain live while its admitted command runs',+ LOCAL_RUNNER_REQUEUE: 'only remote executor leases can return to the runner queue',+ BOARD_SCOPE_UNAVAILABLE: 'board resource admission requires the relay before an item move',+ BAD_RESOURCE_SCOPE: 'resource pool scope is validated before admission',+ RUNNER_CAPACITY_MISMATCH: 'configured remote capacity cannot drop below active runner leases',+ REMOTE_GATE_SLOT_NOT_INHERITABLE: 'a remote executor lease cannot become a local child gate capability',BAD_RUNNER: 'machine-wide SSH runner settings checked before remote execution',RUNNER_OUTPUT_LIMIT: 'remote execution output is bounded before accepting its result',RUNNER_CLEANUP_TIMEOUT: 'remote cleanup must report a bounded failure before returning capacity',