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(feed): read native diagnostic and event fields [N26,H16,A2]

Corey Olson1c4fdc75fd9f
diff --git a/test/activity-feed.test.js b/test/activity-feed.test.js
index 4da2dc91..8461cc7c 100644
--- a/test/activity-feed.test.js
+++ b/test/activity-feed.test.js
@@ -43,7 +43,7 @@ test('a recorded submit stays successful when its later activity delivery fails
assert.equal(document.gate.green, true);
assert.equal(document.activity.receipt.recorded, false);
assert.equal(document.activity.receipt.code, 'ACTIVITY_DELIVERY_FAILED');
- assert.match(submitted.err, /submitted .*activity delivery failed.*inbox/u);
+ assert.match(document.diagnostics.join('\n'), /submitted .*activity delivery failed.*inbox/u);
const after = store.openBoard(boardPath);
try {
assert.equal(store.getItem(after, id).item_status, 'submitted');
diff --git a/test/watch.test.js b/test/watch.test.js
index ad36c0b8..be83d91a 100644
--- a/test/watch.test.js
+++ b/test/watch.test.js
@@ -63,7 +63,7 @@ function project() {
/** Read the fixture board's events straight from its SQLite file, read-only. */
function events(box) {
const db = new DatabaseSync(join(box.root, '.git', 'pullboard', 'board.sqlite'), { readOnly: true });
- try { return db.prepare('SELECT event_id, event_kind, item_id, event_by FROM event ORDER BY event_id').all(); }
+ try { return db.prepare('SELECT event_id, event_kind, item_id, event_by, event_detail FROM event ORDER BY event_id').all(); }
finally { db.close(); }
}