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.

Merge remote-tracking branch 'origin/main' into core/579-claude

Corey Olsonaa5586b64e58
diff --cc src/engine.js
index 687c8207,4948b094..adeeae49
--- a/src/engine.js
+++ b/src/engine.js
@@@ -1,9 -1,8 +1,9 @@@
/** Versioned, deterministic replay through the CLI's existing board engine [H3,H16]. */
import { createHash, randomUUID } from 'node:crypto';
import * as store from './board.js';
+import { COORDINATOR } from './config.js';
- import { refusalDocument } from './json.js';
+ import { recordedRefusal } from './recorded-refusal.js';
-import { ENGINE_VERSION } from './machine.js';
+import { ENGINE_VERSION, VERIFIER_STANDING_ENGINE } from './machine.js';
import { Refused } from './refused.js';
import { requestMoveProblem, recordRequestMove } from './relay-requests.js';
import { relayMoveActor, relaySenderProblem, validRelaySender } from './relay-sender.js';
@@@ -262,10 -221,14 +262,15 @@@ export function applyEngineMove(board,
outcome = { result: result ?? null, events: (board.emittedEvents?.slice(firstEvent) ?? []).map((event) => ({ ...event })) };
} catch (error) {
if (!(error instanceof Refused)) throw error;
- outcome = { error: refusalDocument(error).error };
+ const refusal = recordedRefusal(error);
+ // Engine 8 stored generic merge-refusal guidance before the serializer recognized "merge".
+ if (move.engine === 8 && move.operation === 'merged' && error.code === 'NOT_VERIFIED') {
+ refusal.next = 'Run pullboard help, correct the reported problem, and retry the command.';
+ }
+ outcome = { error: refusal };
} finally {
board.clock = clock;
+ delete board.relayEnrollment;
if (engineVersion === undefined) delete board.executionEngineVersion;
else board.executionEngineVersion = engineVersion;
}