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(bar): retain helper independence after takeover [V1,H16]
Corey Olson1a3f0c64686d
diff --git a/test/bar-native-session.test.js b/test/bar-native-session.test.jsindex 96da769c..6273a702 100644--- a/test/bar-native-session.test.js+++ b/test/bar-native-session.test.js@@ -79,3 +79,13 @@ test('[V1,H16] a supported coordinator takeover cannot let its honestly joined hassert.equal(board.db.prepare('SELECT meta_value FROM board_meta WHERE meta_key=?').get('agent_session:coordinator').meta_value,parentSessionDigest('private-author-a'),'takeover did not rewrite historical seat identity');}finally{store.closeBoard(board);}});+++test('[V1,H16] a helper takeover with unknown current parent fails closed instead of signing its parent’s bar',()=>{+ const box=setup();const id=add(box,'private-author-a');+ const helper=join(box.dir,'restarted-helper');box.git(box.repo,'worktree','add','-qb','api/restarted',helper,'main');+ succeeds(act(box,'private-helper-before',helper,'join','api','--model','Private helper','--parent','private-author-a'));+ succeeds(act(box,'private-helper-after',helper,'takeover'));+ const signed=act(box,'private-helper-after',helper,'bar','sign',String(id),'--note','A restart must not turn a helper into an independent author.');+ assert.notEqual(signed.code,0,`${signed.out}\n${signed.err}`);assert.match(signed.err,/BAR_PARENT_UNKNOWN/);+});