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(gate): prove the actual static preflight rules [C7]
Corey Olson1a36713e52ba
diff --git a/bin/static-style-checks.js b/bin/static-style-checks.jsindex e72f5762..7617815d 100644--- a/bin/static-style-checks.js+++ b/bin/static-style-checks.js@@ -20,7 +20,8 @@ for (const row of importStyleViolations(sources)) {const declared = [...declaredProseCommands(HELP)].sort();const actual = [...PULLBOARD_COMMANDS].sort();if (JSON.stringify(declared) !== JSON.stringify(actual)) {- console.error('src/cockpit.js: prose command declaration differs from the CLI help catalog');+ const line = readFileSync(join(root, 'src/cockpit.js'), 'utf8').split('\n').findIndex(row => row.includes('export const PULLBOARD_COMMANDS')) + 1;+ console.error(`src/cockpit.js:${Math.max(1, line)}: prose command declaration differs from the CLI help catalog`);failed = true;}const clock = spawnSync(process.execPath, ['test/wall-clock-budgets.js'], { cwd: root, encoding: 'utf8' });diff --git a/test/static-style.test.js b/test/static-style.test.jsnew file mode 100644index 00000000..d48b4755--- /dev/null+++ b/test/static-style.test.js@@ -0,0 +1,15 @@+/** @pullboard-test-input source-tree */+/** The actual repository preflight keeps source oracles separate from browser behavior [C7]. */+import assert from 'node:assert/strict';+import { resolve } from 'node:path';+import { test } from 'node:test';+import { runFixtureChild } from './fixture-child.js';++test('the repository static style command enforces its source rules [C7]', () => {+ const before = performance.now();+ const child = runFixtureChild(process.execPath,+ ['--experimental-vm-modules', '--disable-warning=ExperimentalWarning', 'bin/static-style-checks.js'],+ { cwd: resolve(import.meta.dirname, '..'), encoding: 'utf8' });+ console.log(JSON.stringify({ staticProgramWallMs: performance.now() - before, status: child.status }));+ assert.equal(child.status, 0, child.failure ?? ((child.stdout ?? '') + (child.stderr ?? '')));+});