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: retain landed reopen cause fields [H3,H16,V6]
Corey Olson46a4e15315ee
diff --git a/test/reopen.test.js b/test/reopen.test.jsindex 2dd57391..de44c85c 100644--- a/test/reopen.test.js+++ b/test/reopen.test.js@@ -252,6 +252,7 @@ test('the coordinator reopens a submitted item without a verdict [V2,V6,O8]', (tassert.equal(last.event_by, 'coordinator');assert.deepEqual(JSON.parse(last.event_detail), {commit: submitted.commit, note: 'correct the frozen criterion, not the work', judgment: null, model: 'unknown',+ cause: 'refusal:REOPENED', causeDerivation: { kind: 'reopen-category', coarse: true },});assert.equal(store.events(board).some((event) => event.event_kind === 'release' && JSON.parse(event.event_detail).review), false);@@ -583,7 +584,8 @@ test('a reopened bar takes the same commit again [V2,V6,H16]', async (t) => {const first = applyRelayMove(copies[0], move, { sequence: 1, at: '2026-10-10T12:00:00.000Z', kind: 'move', sender });const second = applyRelayMove(copies[1], move, { sequence: 1, at: '2026-10-10T12:00:00.000Z', kind: 'move', sender });assert.deepEqual(first, second);- assert.deepEqual(first.result, { id: 1, commit: submitted.commit });+ assert.deepEqual(first.result, { id: 1, commit: submitted.commit,+ cause: 'refusal:REOPENED', causeDerivation: { kind: 'reopen-category', coarse: true } });for (const replica of copies) {assert.equal(store.getItem(replica, 1).item_status, 'open');assert.equal(store.getItem(replica, 1).item_commit, submitted.commit);