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(view): record timeline merge on trunk [N26]

Corey Olson458e77ef9655
diff --git a/test/cockpit.test.js b/test/cockpit.test.js
index 05f22261..dd6aa2c5 100644
--- a/test/cockpit.test.js
+++ b/test/cockpit.test.js
@@ -681,7 +681,10 @@ test("the history is a timeline of the item's states [N26]", async () => {
sendBack(box, alpha, 1, 'no greeting');
build(box, alpha, 1, 'greeting-again.html');
accept(box, alpha, 1);
- box.run(alpha.repo, 'merged', '1', box.git(alpha.repo, 'rev-parse', alpha.branch));
+ box.git(alpha.repo, 'merge', '--no-ff', '-m', 'chore: merge fixture item', alpha.branch);
+ const trunkCommit = box.git(alpha.repo, 'rev-parse', 'HEAD');
+ assert.notEqual(trunkCommit, box.git(alpha.repo, 'rev-parse', alpha.branch), 'the receipt names the trunk merge commit');
+ box.run(alpha.repo, 'merged', '1', trunkCommit);
box.run(alpha.web, 'claim', '2');
const view = await startView(box);
try {