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(relay): compare SQLite receipt fields [E12,H16]

Corey Olsona782c1b90da4
diff --git a/test/relay-ssh-relink.test.js b/test/relay-ssh-relink.test.js
index ed2f77b4..74dfe32c 100644
--- a/test/relay-ssh-relink.test.js
+++ b/test/relay-ssh-relink.test.js
@@ -46,7 +46,7 @@ test('SSH relay off then on confirms replacement and retains the old-board off r
assert.equal(completed.code, 0, 'the actual SSH CLI receives the confirmed replacement');
const state = JSON.parse(readFileSync(box.linkFile, 'utf8'));
assert.notEqual(state.board, previous);
- assert.deepEqual(box.auth.boardOff(previous), { board: previous, replacedBy: state.board, userId: '7', at: box.auth.boardOff(previous).at });
+ assert.deepEqual({ ...box.auth.boardOff(previous) }, { board: previous, replacedBy: state.board, userId: '7', at: box.auth.boardOff(previous).at });
assert.equal(JSON.parse(readFileSync(box.root + '/pullboard.json', 'utf8')).relay.board, state.board);
const sessions = box.auth.linkedBoards().filter(row => !box.auth.boardOff(row.id));
assert.deepEqual(sessions.map(row => row.id), [state.board], 'exactly one repository link stays active');