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: commit setup files before gate fixture
Corey Olson60c1aa002fe2
diff --git a/test/newcomer.test.js b/test/newcomer.test.jsindex 28287355..9fad159f 100644--- a/test/newcomer.test.js+++ b/test/newcomer.test.js@@ -126,6 +126,14 @@ test('setup offers a gate to a board with no build [I1,I2]', (t) => {assert.equal(JSON.parse(readFileSync(configPath, 'utf8')).gate, 'pullboard spec check');assert.equal(JSON.parse(box.run('resume', '--json').stdout).setup.step, 4);+ box.git('add', '-f', '--', 'pullboard.json', 'SPEC.md', 'DOCTRINE.md', 'AGENTS.md', '.gitignore', '.githooks', '.claude');+ const stagedPaths = box.git('diff', '--cached', '--name-only').split('\n');+ assert.ok(stagedPaths.length > 0);+ const allowedSetupFiles = new Set(['pullboard.json', 'SPEC.md', 'DOCTRINE.md', 'AGENTS.md', '.gitignore']);+ assert.ok(stagedPaths.every(path => allowedSetupFiles.has(path) || path.startsWith('.githooks/') || path.startsWith('.claude/')), stagedPaths.join('\n'));+ box.git('-c', 'user.name=Pullboard fixture', '-c', '[email protected]', '-c', 'commit.gpgsign=false', 'commit', '-m', 'chore: initialize Pullboard fixture');++ // The real gate reads committed main policy; commit only the setup paths created above first.box.env.PULLBOARD_MACHINE_HOME = join(box.root, '.private-machine-home');const gate = box.run('gate');assert.equal(gate.status, 0, gate.failure ?? gate.stderr);