Skip to content

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.

test(merge): bind carry-chain control to actual trunk [V4,H16]

Corey Olson56cac84e0cdf
diff --git a/test/merge-only-verdict.test.js b/test/merge-only-verdict.test.js
index a18e19d5..82d6a73b 100644
--- a/test/merge-only-verdict.test.js
+++ b/test/merge-only-verdict.test.js
@@ -190,10 +190,12 @@ test('a merge-only resubmission keeps its accept and records the resolution diff
chained.args[1].mergeOnly = nextProof;
applyEngineMove(forged, chained, { sequence: 2, at: '2026-01-01T00:00:01.000Z' });
assert.equal(store.getItem(forged, id).item_status, 'verified');
+ box.git(box.repo, 'merge', '--ff-only', nextTrunk);
await assert.rejects(land({ root: box.repo, board: forged, dryRun: true, say: () => {},
config: { landing: { publish: 'separate' } } }), error => error.code === 'STALE_VERDICT',
'a later clean carry must not launder a forged earlier carry into a landable acceptance');
- assert.equal(box.git(box.repo, 'rev-parse', 'HEAD'), beforeLanding);
+ assert.equal(box.git(box.repo, 'rev-parse', 'HEAD'), nextTrunk);
+ box.git(box.repo, 'reset', '--hard', trunk);
} finally { store.closeBoard(forged); }