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.

chore(merge): align relay standing caller fixtures [H2,V1]

Corey Olson594ebb67cdf1
diff --git a/src/engine.js b/src/engine.js
index ae046634..3528b735 100644
--- a/src/engine.js
+++ b/src/engine.js
@@ -229,7 +229,7 @@ export function applyRelayMove(board, move, { sequence, at, sender, kind, digest
const phoneReceipt = sender?.kind === 'machine' && move?.engine >= 6 && Boolean(move.personRequest) && !requestMoveProblem(board, move, { checkExecutorLease: false });
const problem = relaySenderProblem(move, sender, kind, { phoneReceipt }) ?? (kind === 'move' ? registrationProblem(board, move, { sender, registration, sequence, digest }) : null);
if (!problem) {
- // Engine-27 relay moves run under linked verifier standing; older recorded moves replay as they did.
+ // Engine-35 relay moves run under linked verifier standing; older recorded moves replay as they did.
// The person is above every seat; their own moves act with the coordinator's standing.
const standing = move?.engine >= VERIFIER_STANDING_ENGINE ? { root: sender?.root === true || sender?.kind === 'person',
person: sender?.kind === 'person', lineage: sender?.root === true && typeof sender.lineage === 'string' ? sender.lineage : null } : null;
diff --git a/test/rigor.test.js b/test/rigor.test.js
index 77c1b3ae..5e7cb4e2 100644
--- a/test/rigor.test.js
+++ b/test/rigor.test.js
@@ -8,7 +8,7 @@ import { after, test } from 'node:test';
import { runFixtureChild, runFixtureGit } from './fixture-child.js';
import * as store from '../src/board.js';
import { applyEngineMove, prepareEngineMove } from '../src/engine.js';
-import { CAUSE_ENGINE } from '../src/machine.js';
+import { CAUSE_ENGINE, ENGINE_VERSION } from '../src/machine.js';
import { rigorReport } from '../src/rigor.js';
import { unpackRelease } from './release-archive.js';
@@ -200,7 +200,8 @@ test('a cause key is checked, recorded on reject and reopen, and the person alon
const second = board.add('Sealed');
board.submit(second);
const move = prepareEngineMove(board.board, 'verify', [second, { agentId: 'app-2', decision: 'REJECT', reason: 'TEST_FAILURE', note: 'red', cause: 'row:G1', head: store.getItem(board.board, second).item_commit, digest: 'digest:Sealed', policy: 'any' }]);
- assert.equal(move.engine, CAUSE_ENGINE);
+ assert.equal(CAUSE_ENGINE, 30, 'cause moves keep their stable minimum engine');
+ assert.equal(move.engine, ENGINE_VERSION, 'new envelopes declare the current engine independently of the feature minimum');
for (const older of [19, CAUSE_ENGINE - 1]) {
assert.throws(() => applyEngineMove(board.board, { ...move, engine: older }, { sequence: 1, at: new Date().toISOString() }),
(error) => error.code === 'RELAY_MOVE', `an engine-${older} move cannot carry a cause key`);