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.

fix(relay): bind roster reader in sentinel composition [H2,V1,A6]

Corey Olson694c2a35d0c7
diff --git a/src/board.js b/src/board.js
index a86f4324..d1a2b03a 100644
--- a/src/board.js
+++ b/src/board.js
@@ -46,6 +46,7 @@ import { Refused } from './refused.js';
import {
agentAt,
agentModel,
+ listAgents,
newSeatId,
routeOf,
saveAgentModel,
diff --git a/test/relay-mint.test.js b/test/relay-mint.test.js
index b2778125..684a1fa4 100644
--- a/test/relay-mint.test.js
+++ b/test/relay-mint.test.js
@@ -248,7 +248,7 @@ test('an agent in its worktree cannot mint a relay token [H2,V1,E3,E5,P6]', asyn
/** The accept arguments a seat sends for this item. */
const verdict = (agentId) => [item.item_id, { agentId, decision: 'ACCEPT', reason: 'CRITERION_MET', note: 'checked the proof', head: 'd'.repeat(40), digest: item.item_frozen_digest }];
let id = 0;
- /** Replay one stamped engine-35 relay move from an agent on the linked board copy. */
+ /** Replay one current-engine move with the engine-35 standing policy on the linked board copy. */
const move = (operation, args, sender, extra = {}) => applyRelayMove(board, { version: 1, engine: ENGINE_VERSION, id: `standing-${++id}`, operation, args }, {
sequence: appliedSequence(board) + 1, at: new Date().toISOString(), kind: 'move', sender: { kind: 'agent', userId: '1', policy: VERIFIER_STANDING_ENGINE, ...sender }, ...extra,
});
@@ -294,7 +294,10 @@ test('an agent in its worktree cannot mint a relay token [H2,V1,E3,E5,P6]', asyn
const itemId = store.addItem(board, { by: 'coordinator', lane: 'coordinator', title: 'coordinator-built on machine A', criterion: 'another lineage accepts it' });
const frozen = freezer()();
assert.equal(move('claim', [itemId, { agentId: 'coordinator', lane: 'coordinator', leaseMs: 3_600_000, head: 'a'.repeat(40), frozen, freezeError: null }], machineA).error, undefined);
- assert.equal(move('submit', [itemId, { agentId: 'coordinator', commit: 'b'.repeat(40), tree: 'c'.repeat(40) }], machineA).error, undefined);
+ // Synthetic relay history names its deferred coverage; it does not claim a gate ran.
+ assert.equal(move('submit', [itemId, { agentId: 'coordinator', commit: 'b'.repeat(40), tree: 'c'.repeat(40),
+ submissionProof: { version: 1, files: [], full: false, deferred: true, reason: 'synthetic relay history; no gate execution' },
+ }], machineA).error, undefined);
return store.getItem(board, itemId);
};
const coordinatorItem = builtOnA();