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(resume): retain the versioned JSON contract [N19,B3]
Corey Olson44787089f86a
diff --git a/test/coordinator-resume.test.js b/test/coordinator-resume.test.jsindex e760d01d..574d4690 100644--- a/test/coordinator-resume.test.js+++ b/test/coordinator-resume.test.js@@ -245,12 +245,12 @@ test("the coordinator's handoff brief orders current work and leaves agent resumassert.equal(ordinary.code, 0, ordinary.err || ordinary.out);const indexed = JSON.parse(ordinary.out);assert.equal(indexed.openDecisions.length, 5, 'ordinary resume retains current coordinator obligations');- assert.ok(indexed.acceptedAwaitingLanding.some(item => item.item_id === conflictId),- 'the old receipt remains visible without claiming its verdict is current');- for (const name of ['toMerge', 'staleVerdicts', 'verifiedNotMerged']) {- assert.equal(Object.hasOwn(indexed, name), false, 'fresh merge eligibility is an explicit diagnostic');- }- assert.equal(indexed.diagnostics.command, 'pullboard resume --diagnostics');+ assert.ok(indexed.staleVerdicts.some(item => item.item_id === conflictId),+ 'JSON v1 retains the stale receipt without claiming its verdict is current');+ assert.ok(!indexed.toMerge.some(item => item.item_id === conflictId), 'a stale receipt is never ready to land');+ assert.equal(typeof indexed.newWorktreeLocation, 'string', 'JSON v1 retains the validated checkout guidance');+ assert.ok(indexed.verifiedNotMerged.conflicts.some(entry => entry.item.item_id === conflictId),+ 'JSON v1 retains complete integration diagnostics');assert.doesNotMatch(indexed.next, /^git merge|^merge #/u, 'ordinary guidance retains guarded landing authority');const resumed = box.run(box.repo, 'resume', '--diagnostics');