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 branch 'main' into HEAD

Corey Olsonc425ee61abff
diff --cc src/engine.js
index 27cfc023,ebb8a67c..c5303468
--- a/src/engine.js
+++ b/src/engine.js
@@@ -92,12 -92,8 +93,13 @@@ export function prepareEngineMove(board
const values = args.map((value) => value && typeof value === 'object' ? { ...value } : value);
if (operation === 'reopen' && values[1] && typeof values[1] === 'object'
&& manualLandingFailureQuoted(values[1].note)) values[1].quotedLandingFailure = true;
+ // Seal native stored facts at origin; replicas replay these bytes without the origin file.
+ if (operation === 'recordProofRun') {
+ const receipt = boundProofReceipt(board, args[0]);
+ values[0] = { agentId: args[0].agentId, itemId: args[0].itemId, receipt };
+ }
if (operation === 'submit' && ENGINE_VERSION >= SUBMISSION_PROOF_ENGINE) submissionProof(values[1]?.submissionProof);
+ if (operation === 'submit') submissionSize(values[1]?.submissionSize, values[1]?.commit);
if (operation === 'claim' && ['wipPerReviewer', 'takeoverMinutes'].some(key => typeof lineSettings(board)[key] === 'number')) {
values[1] = { ...values[1], lineCapacity: true };
}
diff --cc test/move-registry-baseline.json
index dc7d7fa4,f86a6eef..2ab4a4b5
--- a/test/move-registry-baseline.json
+++ b/test/move-registry-baseline.json
@@@ -58,6 -58,6 +58,7 @@@
"setLineSetting",
"recordFlakeObservation",
"recordGateRun",
++ "recordProofRun",
"declareJob",
"recordJobRun",
"takeCoordinator",
@@@ -649,7 -650,15 +651,16 @@@
null,
null,
null
- ]
+ ],
+ "decideSpecRevisions": [
+ null,
+ "first",
+ null,
+ null,
+ null,
+ null
- ]
++ ],
++ "recordProofRun": [null, "first", null, null, null, null]
},
"floorCases": [
{
@@@ -6976,7 -6985,30 +6987,36 @@@
"EXCLUDED_INVENTORY": "restore at most 256 excluded boards and their active paired devices, then run pullboard relay on --all",
"BAD_ACTIVITY_RECEIPT": "read your own inbox again and use its exact interrupt ids",
"ACTIVITY_NOT_DELIVERED": "read your own inbox before marking its interrupt acted on",
- "STALE_ACTIVITY_RECEIPT": "read inbox again; the claim changed before delivery was recorded"
+ "STALE_ACTIVITY_RECEIPT": "read inbox again; the claim changed before delivery was recorded",
+ "BAD_NEWS": "send news from the coordinator or person to all, without item, decision, request or answer",
+ "FACT_INDEX_NOT_READY": "have the owning main checkout open this board once, then retry the original fact operation",
+ "GIT_SYNC_LINKED": "use pullboard sync for a Git-shared board, or keep the existing relay linked; do not enable a second move order",
+ "GIT_SYNC_LOCAL_CHANGED": "run pullboard export to preserve local moves, then ask the coordinator to reconcile the local and remote prefixes before syncing",
+ "GIT_SYNC_LOG": "restore the append-only refs/pullboard/board history on origin before running pullboard sync",
+ "GIT_SYNC_REMOTE": "restore read/write access to origin, then retry the original command or run pullboard sync; keep its pending sealed move",
+ "RUNNER_REQUIRED_FOR_ZERO_CAPACITY": "restore positive gateSlots and browserSlots with pullboard settings before removing the last registered runner",
+ "SPEC_REVISION": "refresh Needs you and decide the exact pending proposal",
+ "SHOUT_SPACES": "rewrite the shout with spaces between words, then send it again",
+ "DECISION_HANDOFF_BINDING": "use the exact versioned handoff, namespaced source decision and original option set",
+ "DECISION_HANDOFF_AUTH": "obtain authority for this exact question, answer or source query",
+ "DECISION_HANDOFF_CONFLICT": "use the recorded answer or create a new source decision",
+ "ITEM_OFFER": "refresh the offer using its exact permitted fields and canonical source and destination references",
+ "OFFER_AUTHORITY": "obtain the source or destination authority for this exact offer action on its actual board",
+ "OFFER_CONFLICT": "use the original offer and recorded disposition, or create a new offer id for different content",
+ "ITEM_RECEIPT": "obtain the exact minimal source receipt and verify its item, commit and verifier/verdict through the established trust port",
+ "PERSON_VAULT_AUTH": "use the original credential or saved recovery key with the pinned public root, account and revision; restore an unaltered vault copy if its ciphertext changed",
+ "NO_TEST_FILE": "name each test file by its path from the checkout root, then run pullboard test again",
+ "NO_TEST_RUNNER": "set affectedTests in pullboard.json to the command that runs named test files, then run pullboard test again",
+ "TEST_SNAPSHOT": "commit the work, then run pullboard test again",
+ "MILESTONE_LIMIT": "remove or swap an unstarted item, or edit the milestone with --limit <n>|none",
+ "BAD_COMPUTER_NAME": "retry relay on or relay join with --name containing 1 to 80 characters and no control characters or path separators",
- "BLUEPRINT_RULE_UNCHECKED": "add a checked starter item that cites the must rule named in the message, then run pullboard blueprint add <file> again"
++ "BLUEPRINT_RULE_UNCHECKED": "add a checked starter item that cites the must rule named in the message, then run pullboard blueprint add <file> again",
++ "SHOUT_TOO_LONG": "shorten the message to 400 characters or fewer; cite native proof receipt ids and read pullboard show <id> for the evidence chain",
++ "PROOF_RUN_UNAVAILABLE": "restore writable native receipt storage, run the item check with current Pullboard, then read pullboard show <id>",
++ "PROOF_RUN_UNBOUND": "run the item check with current Pullboard and use its stored native receipt; read pullboard show <id> for the proof chain",
++ "PROOF_RUN_ACTOR": "run the check from your own joined seat and use the native receipt that belongs to that seat",
++ "PROOF_RUN_STALE": "read pullboard show <id> for the current frozen criterion, then run a fresh item check",
++ "PROOF_RUN_CHANGED": "preserve the original receipt and run a new item check to obtain a new native receipt id"
},
"replay": {
"initial": {
diff --cc test/move-registry.test.js
index de6942c7,9a2b8acb..70e274ee
--- a/test/move-registry.test.js
+++ b/test/move-registry.test.js
@@@ -14,11 -14,9 +14,11 @@@ import { unpackRelease } from './releas
import * as store from '../src/board.js';
import { exportBoard, importBoard } from '../src/exchange.js';
import { applyEngineMove, ENGINE_OPERATIONS } from '../src/engine.js';
- import { relayMoveActor } from '../src/relay-sender.js';
- import { NEXT_STEPS } from '../src/next-step-words.js';
+ import { ENGINE_VERSION } from '../src/machine.js';
+import { MOVE_REGISTRY, minimumMoveEngine } from '../src/move-registry.js';
+import { PROOF_RUN_ENGINE } from '../src/proof-run-engine.js';
- import { ENGINE_VERSION } from '../src/machine.js';
+ import { relayMoveActor } from '../src/relay-sender.js';
+ import { NEXT_STEPS } from '../src/next-step-words.js';
import { REGISTRY_AT, registryFixtureBoard } from './move-registry-fixture.js';
import { importsIn } from '../src/module-imports.js';
import { readdirSync } from 'node:fs';
@@@ -51,17 -50,9 +52,14 @@@ export default { operation: ${JSON.stri
`;
}
- test('today\'s move order, actors, recovery text and recorded SQLite prefix are unchanged [C7,V4,H3,H16]', t => {
- assert.deepEqual(ENGINE_OPERATIONS.filter(name => name !== 'recordProofRun'), SNAPSHOT.operations);
- assert.equal(ENGINE_OPERATIONS.filter(name => name === 'recordProofRun').length, 1);
- assert.deepEqual(Object.fromEntries(Object.entries(NEXT_STEPS).filter(([key]) => !['SHOUT_TOO_LONG', 'PROOF_RUN_UNAVAILABLE', 'PROOF_RUN_UNBOUND', 'PROOF_RUN_ACTOR', 'PROOF_RUN_STALE', 'PROOF_RUN_CHANGED'].includes(key))), SNAPSHOT.nextSteps);
+ test('today\'s move order, actors, refusal recovery text and recorded SQLite prefix are unchanged [C7,V4,H3,H16]', t => {
+ assert.deepEqual(ENGINE_OPERATIONS, SNAPSHOT.operations);
+ assert.deepEqual(NEXT_STEPS, SNAPSHOT.nextSteps);
+ assert.equal(minimumMoveEngine('recordProofRun', [{ landingFence: {}, receipt: { environment: {} } }, { cause: 'conflict:new' }]), PROOF_RUN_ENGINE);
+ assert.equal(MOVE_REGISTRY.recordProofRun.engine, PROOF_RUN_ENGINE);
+ assert.equal(MOVE_REGISTRY.recordProofRun.itemIdFirstArgument, false);
+ assert.equal(relayMoveActor({ operation: 'recordProofRun', args: [{ agentId: 'proof-seat' }] }), 'proof-seat');
+ assert.equal(relayMoveActor({ operation: 'recordProofRun', args: [] }), null);
- assert.ok(NEXT_STEPS.SHOUT_TOO_LONG);
- for (const code of ['UNAVAILABLE', 'UNBOUND', 'ACTOR', 'STALE', 'CHANGED']) assert.ok(NEXT_STEPS['PROOF_RUN_' + code]);
for (const operation of SNAPSHOT.operations) {
assert.deepEqual(SNAPSHOT.actorVectors.map(vector => relayMoveActor({ operation, ...vector })), SNAPSHOT.actors[operation], operation);
}