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: expect item audience on evidence shout [B21,B22,B26]

Corey Olson7c3b4688d129
diff --git a/test/e2e-items.test.js b/test/e2e-items.test.js
index 41eae282..9efc2db7 100644
--- a/test/e2e-items.test.js
+++ b/test/e2e-items.test.js
@@ -53,7 +53,7 @@ test('decisions are asked, listed and answered, and evidence attached, from the
const head = box.git(box.web, 'rev-parse', 'HEAD');
const proved = box.run(box.web, 'shout', 'coordinator', 'FINISH', 'the page', '--evidence', 'receipt', '--outcome', 'measured', '--item', '1', '--commit', 'HEAD');
assert.equal(proved.code, 0, proved.err);
- assert.match(box.run(box.repo, 'inbox').out, new RegExp(`web-1 \\(Test Model\\) -> coordinator \\(unknown\\): FINISH the page\\n {2}receipt: measured, #1 at ${head.slice(0, 12)}`));
+ assert.match(box.run(box.repo, 'inbox').out, new RegExp(`web-1 \\(Test Model\\) -> item:1 \\(unknown\\): FINISH the page\\n {2}receipt: measured, #1 at ${head.slice(0, 12)}`));
assert.match(box.run(box.web, 'shout', 'coordinator', 'x', '--evidence', 'receipt', '--outcome', 'measured', '--item', '1', '--commit', 'nope').err, /BAD_EVIDENCE.*"nope"/);
});