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(stale): a forced kill shows the signal and elapsed message [S19,V3]
Corey Olson1bab50cea300
diff --git a/test/stale-frozen-items.test.js b/test/stale-frozen-items.test.jsindex 14b05d37..fe2b2cc8 100644--- a/test/stale-frozen-items.test.js+++ b/test/stale-frozen-items.test.js@@ -87,13 +87,17 @@ function addItem(box, title, specId = 'G1') {return JSON.parse(result.stdout).item.item_id;}-/** Run a CLI command and require its successful result; a killed child names its signal and elapsed time [S19]. */-function succeeds(box, cwd, ...args) {- const result = box.pullboard(cwd, ...args);+/** Require a fixture child's success; a killed child names its signal and elapsed time, never a bare null [S19]. */+function requireSuccess(result) {assert.equal(result.status, 0, `${result.stdout}${result.context}`);return result;}+/** Run a CLI command and require its successful result. */+function succeeds(box, cwd, ...args) {+ return requireSuccess(box.pullboard(cwd, ...args));+}+/** Freeze an item's cited text by claiming it in the real agent worktree. */function claim(box, id) {succeeds(box, box.web, 'claim', String(id));@@ -259,3 +263,8 @@ test('[A5,S19,V3] doctor and resume distinguish unchanged doctrine citations froassert.match(findings[0].message, /old text of doctrine:PB1/);assert.deepEqual(receiptSnapshot(box), baseline, 'diagnostics preserve frozen evidence and unrelated SPEC citations');});++test('[S19] a killed fixture child names its signal and elapsed time', () => {+ const killed = runFixtureChild('sh', ['-c', 'kill -KILL $$'], { encoding: 'utf8' });+ assert.throws(() => requireSuccess(killed), (error) => /status: null\nsignal: SIGKILL\nelapsed: \d+ms/u.test(error.message));+});