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): integrate accepted runner repair [C7]

Corey Olsond592b306ead8
diff --cc src/cli.js
index 92ba4d7b,9ccc8f9c..190650bd
--- a/src/cli.js
+++ b/src/cli.js
@@@ -78,7 -78,7 +78,7 @@@ import { flowLines, flowAlertLine } fro
import { releaseHeadlinesBetween } from './changelog.js';
import { exportBoard, importBoard } from './exchange.js';
import { addSigner, assertRequiredSigners, defaultPrincipal, hasSignerFile } from './signature.js';
- import { addRunner, loadMachineSettings, setBrowserSlots, setGateSlots } from './settings.js';
-import { browserFreeChecksEnabled, loadMachineSettings, setBrowserSlots, setGateSlots } from './settings.js';
++import { addRunner, browserFreeChecksEnabled, loadMachineSettings, setBrowserSlots, setGateSlots } from './settings.js';
import { formatSnapshotLimit, pendingSnapshotSize, pendingCheckpointProblem, relayCommandReceipt, relayCommandReceiptReported, relayLinked, relayOff, relayOn, relayOperation, relayRecover, relayRecovered, relayRevoke, relayStatus, relayTokens, syncRelay } from './relay.js';
import { autoLinkProject, relayOnAll, revokeRelayDevice, unlinkedRelayProjects } from './relay-setup.js';
import { readRelayMachine } from './relay-machine.js';
diff --cc src/help.js
index 1c0a6a7f,d2485849..97919309
--- a/src/help.js
+++ b/src/help.js
@@@ -20,8 -20,7 +20,9 @@@ Set u
pullboard takeover rebind this checkout when the same agent starts a new session
pullboard resources local resource holders and their FIFO queues
pullboard settings [gateSlots <n> | browserSlots <n>] view or set machine capacity (gate default 2; browser default 1)
+ browser-free check slots are opt-in: gate.browserFreeChecks in ~/.pullboard/settings.json (default false)
+ pullboard runner add <ssh-host> --slots <n> --browser <n> [--node <remote-path>] [--root <remote-path>]
+ register SSH test capacity; no runner sign-in; root defaults to ~/.pullboard-runner
pullboard view [--project] [--port N] [--no-open] every project on this machine in your browser; default http://127.0.0.1:${DEFAULT_VIEW_PORT}
items, shouts, doctrine, agents and activity; --port 0 chooses a free port
--project limits this view to the registered project for this repository
diff --cc src/settings.js
index 6fcadf4c,5c3f3542..4169a4c6
--- a/src/settings.js
+++ b/src/settings.js
@@@ -33,17 -38,14 +39,22 @@@ export function loadMachineSettings()
if (!Number.isSafeInteger(browserSlots) || browserSlots < 1 || browserSlots > gateSlots) {
throw new Refused('BAD_BROWSER_SLOTS', `browserSlots in ${file} must be a positive integer no greater than gateSlots (${gateSlots}); run pullboard settings browserSlots <n>`);
}
- return { ...value, gateSlots, browserSlots };
+ const runners = value.runners ?? [];
+ if (!Array.isArray(runners)) throw new Refused('BAD_MACHINE_SETTINGS', 'runners must be an array; use pullboard runner add <ssh-host> --slots <n> --browser <n>');
+ const seen = new Set();
+ for (const runner of runners) {
+ validateRunner(runner);
+ if (seen.has(runner.host)) throw new Refused('BAD_MACHINE_SETTINGS', 'runner hosts must be unique; remove the duplicate machine setting');
+ seen.add(runner.host);
+ }
+ return { ...value, gateSlots, browserSlots, ...(runners.length ? { runners } : {}) };
}
+ /** Browser-free check admission is deliberately opt-in per machine. */
+ export function browserFreeChecksEnabled() {
+ return loadMachineSettings().gate?.browserFreeChecks === true;
+ }
+
/** Atomically replace machine settings without exposing a partial JSON file. */
function writeMachineSettings(settings) {
const file = machineSettingsFile();