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(api): the serve check waits on its child, not a clock [A2,C7]
Corey Olson3f31649d1d5c
diff --git a/test/api-http.test.js b/test/api-http.test.jsindex 861473d7..f3f600ec 100644--- a/test/api-http.test.js+++ b/test/api-http.test.js@@ -334,14 +334,13 @@ test("[A2, N26] the board state sends summaries and an item's detail comes fromt.after(async () => { served.kill('SIGTERM'); await exited; });const servedUrl = await new Promise((found, fail) => {let out = '';- const timer = setTimeout(() => fail(new Error('pullboard serve printed no address: ' + out)), 30_000);served.stdout.setEncoding('utf8');served.stdout.on('data', (chunk) => {out += chunk;const match = /"url":\s*"([^"]+)"/.exec(out);- if (match) { clearTimeout(timer); found(new URL(match[1])); }+ if (match) found(new URL(match[1]));});- served.once('close', (code) => { clearTimeout(timer); fail(new Error('pullboard serve exited ' + code + ': ' + out)); });+ served.once('close', (code) => fail(new Error('pullboard serve exited ' + code + ' before printing its address: ' + out)));});const servedState = await fetchFresh(servedUrl.origin + box.path + '/state', { headers: { 'x-pullboard-key': servedUrl.searchParams.get('k') } });assert.equal(servedState.status, 200);