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): read the cockpit fixture stdout directly [P6,B23,N39]

Corey Olsone86022d0c705
diff --git a/test/cockpit/spec-revision.test.js b/test/cockpit/spec-revision.test.js
index dc41eea2..e057e733 100644
--- a/test/cockpit/spec-revision.test.js
+++ b/test/cockpit/spec-revision.test.js
@@ -15,7 +15,7 @@ test('a spec revision shows old and proposed rows side by side with proposal-id
`- G${id} [approved, must] Original requirement ${id}. | gate: true\n`).join('');
const alpha = project(box, 'revision-board', spec);
const proposals = [1, 2, 3, 4].map(id => JSON.parse(box.run(alpha.web, 'spec', 'draft',
- `Proposed requirement ${id}.`, '--revises', `G${id}`, '--reason', `Reason for revision ${id}.`, '--json').out).id);
+ `Proposed requirement ${id}.`, '--revises', `G${id}`, '--reason', `Reason for revision ${id}.`, '--json')).id);
assert.ok(proposals.every((id, index) => id && id !== `G${index + 1}`), 'the real core assigns distinct proposal identities');
const view = await startView(box), profile = mkdtempSync(join(tmpdir(), 'pullboard-revision-chrome-'));
let chrome;