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): preserve proof and frozen-check detail on main [C7,H16]

Corey Olson45fc105ce836
diff --cc src/commands/show.js
index 5b67b8f0,6300c877..c5ad2dbe
--- a/src/commands/show.js
+++ b/src/commands/show.js
@@@ -62,8 -56,10 +62,10 @@@ export async function run(io, { first,
// Without a relay link or deleted-copy notice there is no outbox to read, so the relay client never loads.
const outbox = relayStateExists(ctx.info.commonDir) ? (await import('../relay.js')).relayStatus(ctx.info.root).outbox : undefined;
const relayPending = (outbox ?? []).filter((move) => move.item === id);
+ const frozen = item.item_frozen ? JSON.parse(item.item_frozen) : null;
+ const checkText = frozen ? frozen.check ?? '' : item.item_check ?? '';
if (values.json) {
- io.result({ ...item, verdicts, thread, ...(proofReceipts.length ? { proofReceipts } : {}), agentApproved, approvalQualification, ...(relayPending.length ? { relayPending } : {}) });
- io.result({ ...item, checkText, verdicts, thread, agentApproved, approvalQualification, ...(relayPending.length ? { relayPending } : {}) });
++ io.result({ ...item, checkText, verdicts, thread, ...(proofReceipts.length ? { proofReceipts } : {}), agentApproved, approvalQualification, ...(relayPending.length ? { relayPending } : {}) });
return 0;
}
const agentName = (id) => displayAgentName(agents.find((agent) => agent.agent_id === id) ?? { agent_id: id }, ctx.config.agents.names);
@@@ -71,23 -67,10 +73,26 @@@
if (item.item_status === 'verified' && approvalQualification) io.say(approvalQualification);
if (item.item_verdict_state) io.say(staleVerdictRefusal(item, item.item_verdict_state).message);
if (item.item_criterion) io.say(`criterion: ${item.item_criterion}`);
- if (item.item_check) io.say(`check: ${item.item_check}`);
+ if (checkText) {
+ io.say(`check: ${checkText}`);
+ if (item.item_frozen_digest) io.say(`check digest: ${item.item_frozen_digest}`);
+ }
+ for (const receipt of proofReceipts) {
+ const hasTestRuntimes = Object.hasOwn(receipt, 'testRuntimes');
+ const testRuntimes = hasTestRuntimes ? testRuntimeRows(receipt.testRuntimes) : null;
+ const environment = hasTestRuntimes ? testRuntimeEnvironment(testRuntimes) : receipt.environment;
+ const runtime = environment ? `Node ${environment.node} ${environment.platform}/${environment.arch}` : 'runtime unknown';
+ const counts = Object.values(receipt.counts).some(value => value === null) ? 'test counts unknown'
+ : `${receipt.counts.passed} pass, ${receipt.counts.failed} fail, ${receipt.counts.skipped} skip`;
+ io.say(`receipt ${receipt.id}: ${receipt.kind}, item #${receipt.item}`);
+ io.say(` commit ${receipt.commit ?? 'unknown'}; tree ${receipt.tree ?? 'unknown'}; frozen ${receipt.frozenDigest ?? 'unknown'}`);
+ io.say(` ${runtime}; runner ${receipt.runner ?? 'unknown'}; seat ${receipt.seat}; parent ${receipt.parentSession ?? 'unknown'}`);
+ io.say(` exit ${receipt.exitCode ?? 'unknown'}; ${counts}; ${receipt.durationMs}ms${receipt.sourceClean ? '' : '; source unproven'}`);
+ if (hasTestRuntimes && !testRuntimes) io.say(' test child runtimes unknown');
+ for (const child of testRuntimes ?? []) {
+ io.say(` child ${child.pid}: Node ${child.environment.node} ${child.environment.platform}/${child.environment.arch}; ${child.file ?? 'test file unknown'}`);
+ }
+ }
sayCheckBaseline(io, item);
sayBrief(io, item.item_brief);
for (const move of relayPending) io.say(`pending in the relay outbox: ${move.operation}${move.actor ? ` by ${move.actor}` : ''} (made ${move.queuedAt}); it goes up in order when the relay answers`);
diff --cc test/cli-startup-budget-fixture.js
index 93ffbf17,93ffbf17..95a00e58
--- a/test/cli-startup-budget-fixture.js
+++ b/test/cli-startup-budget-fixture.js
@@@ -74,7 -74,7 +74,7 @@@ export async function assertStartupBudg
const expectedItems=JSON.parse(JSON.stringify(store.listItems({db,clock:store.systemClock})));
const board={db,clock:store.systemClock};
const expectedShow=JSON.parse(JSON.stringify({version:1,...store.getItem(board,4),verdicts:store.verdictsFor(board,4),
-- thread:store.itemThread(board,4),agentApproved:[],approvalQualification:''}));
++ thread:store.itemThread(board,4),checkText:'',agentApproved:[],approvalQualification:''}));
const samples={version:[],show:[],status:[],list:[]};
const childEnvironment={...process.env,PULLBOARD_HOME:join(root,'private-home'),PULLBOARD_MACHINE_HOME:join(root,'private-machine'),GIT_CONFIG_GLOBAL:'/dev/null',GIT_CONFIG_NOSYSTEM:'1'};
for(const name of ['PULLBOARD_RELAY_TOKEN','PULLBOARD_RELAY_KEY']) delete childEnvironment[name];
diff --cc test/move-registry-baseline.json
index 2ab4a4b5,d3c29c35..2745b68a
--- a/test/move-registry-baseline.json
+++ b/test/move-registry-baseline.json
@@@ -660,7 -660,14 +661,15 @@@
null,
null
],
- "recordProofRun": [null, "first", null, null, null, null]
++ "recordProofRun": [null, "first", null, null, null, null],
+ "recordRowVerification": [
+ null,
+ "first",
+ null,
+ null,
+ null,
+ null
+ ]
},
"floorCases": [
{
@@@ -7011,12 -7027,10 +7029,16 @@@
"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",
+ "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"
++ "PROOF_RUN_CHANGED": "preserve the original receipt and run a new item check to obtain a new native receipt id",
+ "ROW_VERIFY": "pullboard spec show <id>, then pullboard spec verify <id> accepted --reason \"why\"",
+ "ROW_VERIFY_PROVENANCE": "draft the row through pullboard spec draft and join normally before verifying it",
+ "ROW_VERIFY_PENDING": "ask the coordinator to run pullboard spec apply before recording a verifier verdict",
+ "ROW_VERIFY_SELF": "ask an outside-parent verifier to run pullboard spec verify"
},
"replay": {
"initial": {