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(activity): use authenticated sender envelope [N26,H2,H16]

Corey Olson774f1cf88776
diff --git a/test/activity-feed.test.js b/test/activity-feed.test.js
index 7081d912..7cbd3885 100644
--- a/test/activity-feed.test.js
+++ b/test/activity-feed.test.js
@@ -428,7 +428,7 @@ test('interrupt receipts replay once and only their recipient can acknowledge de
const payload = { agentId: 'web-1', through: event.event_id, interrupts: [interrupt] };
const delivery = prepareEngineMove(source, 'recordActivityDelivery', [payload]);
const at = new Date().toISOString();
- assert.equal(relaySenderProblem(delivery, { kind: 'agent', agent: 'web-2' }, 'move')?.code, 'RELAY_ACTOR');
+ assert.equal(relaySenderProblem(delivery, { kind: 'agent', agent: 'web-2', userId: 'private-user' }, 'move')?.code, 'RELAY_SENDER_MISMATCH');
const untouched = exportBoard(left);
assert.throws(() => applyEngineMove(left, { ...delivery, engine: ACTIVITY_DELIVERY_ENGINE - 1 }, { sequence: 1, at }),
error => error.code === 'RELAY_MOVE');