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.

fix(core): preserve sandbox refusal before proof recording [C7,H16]

Corey Olson6a36b3024909
diff --git a/src/proof-cli.js b/src/proof-cli.js
index 1a9ca7ac..f643a424 100644
--- a/src/proof-cli.js
+++ b/src/proof-cli.js
@@ -4,7 +4,8 @@ import { Refused } from './refused.js';
/** Bind an actual run to its native caller before the command can publish its outcome. */
export async function recordNativeProof(ctx, item, run, { ordered, withBoard, resourceAgent }, board = null) {
- if (run.executed === false || run.checked === false) return;
+ // An environment refusal publishes no proof outcome; the caller preserves its ask-person refusal.
+ if (run.sandboxBlocked || run.executed === false || run.checked === false) return;
if (!run.proofReceiptId) throw new Refused('PROOF_RUN_UNAVAILABLE', 'the executed check has no native receipt; restore receipt storage and read pullboard show <id> before trying again');
const write = target => {
const request = { agentId: resourceAgent(ctx), itemId: item.item_id, receiptId: run.proofReceiptId };