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/707-claude

Corey Olson5dec71262196
diff --cc src/cli.js
index a671b9a7,a4040e01..9138205e
--- a/src/cli.js
+++ b/src/cli.js
@@@ -2409,10 -2553,13 +2553,15 @@@ async function verifyHere(ctx, id, { se
if (digest !== item.item_frozen_digest) throw new Refused('CRITERIA_CHANGED', 'the criterion changed; ask the coordinator to refreeze this item before checking it');
const trunk = requireTrunkMerge(root, commit);
refuseUnverifiedStack(root, board, item, commit, trunk);
- const browser = !browserFreeChecksEnabled() || await checkNeedsBrowser(root, frozenCheck(item), { commit, onFallback: browserAdmissionReporter(ctx.io, ctx.io.relayJson) });
- // The private check runs here, in a private clone, under this machine's gate markers; a runner
- // lease cannot carry those markers, so the review queues for a local slot only [C7,V4].
- check = await withGateSlot(root, (lease) => checkAtCommit(root, item, { waitMs: lease.waitMs, gateLease: lease }), { browser, remote: false, agent: me.id, item: String(id), kind: 'review', itemCheck: true, onWait: gateWaitReporter(ctx.io) });
+ if (frozenCheck(item)) {
+ const browser = !browserFreeChecksEnabled() || await checkNeedsBrowser(root, frozenCheck(item), { commit, onFallback: browserAdmissionReporter(ctx.io, ctx.io.relayJson) });
- check = await withGateSlot(root, (lease) => checkAtCommit(root, item, { waitMs: lease.waitMs, gateLease: lease }), { browser, agent: me.id, item: String(id), kind: 'review', itemCheck: true, onWait: gateWaitReporter(ctx.io) });
++ // The private check runs here, in a private clone, under this machine's gate markers; a runner
++ // lease cannot carry those markers, so the review queues for a local slot only [C7,V4].
++ check = await withGateSlot(root, (lease) => checkAtCommit(root, item, { waitMs: lease.waitMs, gateLease: lease }), { browser, remote: false, agent: me.id, item: String(id), kind: 'review', itemCheck: true, onWait: gateWaitReporter(ctx.io) });
+ } else {
+ check = checkAtCommit(root, item);
+ }
+ refuseSandboxBlocked(check);
verificationProfile = check.profile ?? null;
const evidence = check.checked
? `\nlast output lines (up to 40):\n${(check.outputTail ?? '(no output)').split('\n').map((line) => ` ${line}`).join('\n')}\nfull output file: ${check.outputPath ?? `(unavailable${check.outputError ? `: ${check.outputError}` : ''})`}`
diff --cc test/runners.test.js
index bab785ad,b222c892..e32f85d9
--- a/test/runners.test.js
+++ b/test/runners.test.js
@@@ -8,10 -8,10 +8,11 @@@ import { DatabaseSync } from 'node:sqli
import { tmpdir } from 'node:os';
import { pathToFileURL } from 'node:url';
import { after, test } from 'node:test';
- import { gateSlotEnvironment, listResources, takeResource } from '../src/resources.js';
-import { listResources, setResourceCapacity, takeResource } from '../src/resources.js';
++import { gateSlotEnvironment, listResources, setResourceCapacity, takeResource } from '../src/resources.js';
+ import { parseProcessCensus } from '../src/process-census.js';
import { listResources as listPreRunnerResources, takeResource as takePreRunnerResource } from './fixtures/resources-pre-runners.js';
- import { runFixtureChild, startFixtureChild } from './fixture-child.js';
+ import { runFixtureChild, runFixtureChildAsync, startFixtureChild } from './fixture-child.js';
+import { createE2eHelpers } from './e2e-helpers.js';
const BIN = resolve(import.meta.dirname, '../bin/pullboard.js');
const TEMP = [];