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
fix: keep browser row separate from CPU gate [Q1,Q2,Q3,Q4]
Corey Olson3d6ed62a2fb1
diff --git a/src/resources.js b/src/resources.jsindex 09633fb8..7f505336 100644--- a/src/resources.js+++ b/src/resources.js@@ -260,7 +260,7 @@ export async function takeResource(options) {db.prepare('UPDATE resource SET capacity = ? WHERE name = ?').run(currentCapacity, name);}db.prepare('INSERT INTO resource(name, capacity) VALUES (?, ?) ON CONFLICT(name) DO NOTHING').run(name, currentCapacity);- if (name === 'gate' && scope === 'machine') {+ if (name === 'gate' && scope === 'machine' && browser) {const browserCapacity = options.browserCapacityProvider?.() ?? 1;if (!Number.isSafeInteger(browserCapacity) || browserCapacity < 1 || browserCapacity > currentCapacity) {throw new Refused('BAD_BROWSER_SLOTS', `browser capacity must be a positive integer no greater than gate capacity (${currentCapacity}); run pullboard settings browserSlots <n>`);