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(test): tests ignore the person's git config, as on CI [C7,S13]
Corey Olson61ca6dc18745
diff --git a/package.json b/package.jsonindex b72fc994..d332f457 100644--- a/package.json+++ b/package.json@@ -35,7 +35,7 @@],"homepage": "https://pullboard.dev","scripts": {- "test": "node --disable-warning=ExperimentalWarning --test",+ "test": "GIT_CONFIG_GLOBAL=/dev/null GIT_CONFIG_NOSYSTEM=1 node --disable-warning=ExperimentalWarning --test","gate": "node bin/pullboard.js spec check && npm test"}}diff --git a/test/spec.test.js b/test/spec.test.jsindex fe9bfd6e..81b6e80a 100644--- a/test/spec.test.js+++ b/test/spec.test.js@@ -184,6 +184,8 @@ function specBox(t, { specName = 'SPEC.md', practiceName = 'PRACTICE.md', practiconst git = (...args) => execFileSync('git', args, { cwd: root, env, stdio: 'pipe', encoding: 'utf8' });const run = (...args) => spawnSync(process.execPath, [resolve(import.meta.dirname, '../bin/pullboard.js'), 'spec', ...args], { cwd: root, env, encoding: 'utf8' });git('init', '-q', '-b', 'main');+ git('config', 'user.name', 'Test Agent');+ git('config', 'user.email', '[email protected]');const init = spawnSync(process.execPath, [resolve(import.meta.dirname, '../bin/pullboard.js'), 'init'], { cwd: root, env, encoding: 'utf8' });assert.equal(init.status, 0, init.stderr);const config = JSON.parse(readFileSync(join(root, 'pullboard.json'), 'utf8'));