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(policy): pin the fixture commit by its git hash [L3,V4]

Corey Olson765605d693ee
diff --git a/test/trusted-policy.test.js b/test/trusted-policy.test.js
index 3bf533b7..6a65e34a 100644
--- a/test/trusted-policy.test.js
+++ b/test/trusted-policy.test.js
@@ -17,7 +17,9 @@ test('reclaim at newer main submits only the item edits, without reverting coord
assert.equal(box.run(box.web, 'claim', '1').code, 0);
const initial = JSON.parse(box.run(box.web, 'show', '1', '--json').out);
mkdirSync(join(box.web, 'web'));
- const candidate = e2e.commitFile(box, box.web, 'web/reclaimed.txt', 'owned work\n', 'feat(web): reclaimed fixture [G1]');
+ const committed = e2e.commitFile(box, box.web, 'web/reclaimed.txt', 'owned work\n', 'feat(web): reclaimed fixture [G1]');
+ assert.equal(committed.status, 0, committed.context);
+ const candidate = box.git(box.web, 'rev-parse', 'HEAD');
assert.equal(box.run(box.web, 'release', '1').code, 0);
const config = JSON.parse(readFileSync(join(box.repo, 'pullboard.json'), 'utf8'));