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.
JavaScript agentic-codingai-agentsai-governanceautonomous-agentsclaude-codeclicode-reviewcodexcoding-agentsdeveloper-toolsgit-hooksllmlocal-firstmulti-agentsoftware-factoryspec-driven-developmentverificationvibe-coding
Merge branch 'main' into core/408-claude
Corey Olson1f25f25bf5fb
diff --cc docs/formats.mdindex 1fb37436,bee4ee4a..a6d54de4--- a/docs/formats.md+++ b/docs/formats.md@@@ -112,8 -112,8 +112,8 @@@ The board file is in the repository's G| `CLI JSON envelope` | `1` | `JSON_SHAPES.version` in `src/json.js` | Keep optional fields additive within version 1; bump the envelope version for incompatible command/export shapes. || `row grammar` | `1` | `SPEC_GRAMMAR_VERSION` in `src/spec.js`; optional `<!-- pullboard-grammar N -->` line in either file (absence means the current grammar) | Both files share the version. A declared version must match; an incompatible grammar change requires a coordinated version bump and compatible files. No automatic conversion occurs. || `board schema` | `3` | `SCHEMA_VERSION` in `src/board.js`, persisted as `PRAGMA user_version` | On a write open of a board whose version is behind: create missing tables and indexes (version 3 adds the hot-path indexes), add missing columns in place with declared defaults, restore missing or changed triggers, and remove stale machine triggers without replacing rows. Read opens never migrate; a board at the current version whose shape differs is reported once on stderr and left as it is. |-| `event log` | `1` | `EVENT_LOG_VERSION` in `src/board.js`, persisted in `board_meta` as `event_log_version` | Older event-log versions upgrade in place; newer versions are refused with `EVENT_LOG_VERSION`. Preserve event rows when the board schema changes. |+| `event log` | `1` | `EVENT_LOG_VERSION` in `src/board.js`, persisted in `board_meta` as `event_log_version` | Older event-log versions upgrade in place; newer versions are refused with `EVENT_LOG_VERSION`. A signed board uses event-log format 2; older tools refuse it. Preserve event rows when the board schema changes. |- | `move engine` | `106` | `ENGINE_VERSION` in `src/machine.js`, carried as `engine` in every sealed executable move | Bump when a move's meaning changes, independently of the event log and sealed envelope. A newer engine is refused with `ENGINE_VERSION`, naming both versions and asking you to upgrade Pullboard. |+ | `move engine` | `107` | `ENGINE_VERSION` in `src/machine.js`, carried as `engine` in every sealed executable move | Bump when a move's meaning changes, independently of the event log and sealed envelope. A newer engine is refused with `ENGINE_VERSION`, naming both versions and asking you to upgrade Pullboard. |<!-- format-versions:end -->A builder never picks an engine number (#1101). An item that adds a board move adds its own `src/<name>-engine.js` leaf as `export const NAME_ENGINE = unassignedEngine();` (importing `unassignedEngine` from `./engine-next.js`); on its branch the leaf reads as one above the highest landed engine. The landing merge writes the next number into the leaf, in landing order, inside that item's merge commit, and sets the `move engine` row above to the highest landed number. A landed number never changes, so recorded moves replay as they were written. Moves are recorded under landed numbers only: code with an unnumbered engine is for its branch's own tests, and a move it records on a real board before landing may later read under another item's number, so the item lands before its moves are used.diff --cc relay/browser-client.jsindex d41fc537,1cd46693..a5dc10d8--- a/relay/browser-client.js+++ b/relay/browser-client.js@@@ -24,38 -6,14 +24,39 @@@ importimport { ENGINE_VERSION } from './engine.js';import { Refused } from './refused.js';import { SNAPSHOT_BODY_BYTES } from './relay-limits.js';-import { enqueueStream, followStream } from './browser-stream.js';-import { emptyBoardStep, homeLineDismissed, homeScreenLine, noticeLines, rememberOwnedRequestId, showRelayScreen, storedOwnedRequestState } from './browser-notice.js';-import { registerApp, requestPairingPersistence } from './install.js';-import { browserJSON, withBrowserDeadline } from './browser-deadline.js';-import { phoneApprovalStatus, placePhoneApprovals, forgetPhoneApprovals } from './browser-approval-card.js';+import {+ enqueueStream,+ followStream,+} from './browser-stream.js';+import {+ emptyBoardStep,+ homeLineDismissed,+ homeScreenLine,+ noticeLines,+ rememberOwnedRequestId,+ showRelayScreen,+ storedOwnedRequestState,+} from './browser-notice.js';+import {+ registerApp,+ requestPairingPersistence,+} from './install.js';+import {+ browserJSON,+ withBrowserDeadline,+} from './browser-deadline.js';+import {+ phoneApprovalStatus,+ placePhoneApprovals,+ forgetPhoneApprovals,+} from './browser-approval-card.js';import { phoneSnapshotPages } from './browser-pages.js';import { createPhoneHistory } from './browser-history.js';+import {+ installPersonPasskeys,+ passkeyPresence,+} from './browser-passkeys.js';+ import { deviceExcludedBoards } from './browser-devices.js';const CHECKPOINT_WAIT_MS = 15_000;const KEYS = 'pullboard.relay.keys.v1';diff --cc relay/browser-page.jsindex 3ccf1d3a,e361adba..25d86c64--- a/relay/browser-page.js+++ b/relay/browser-page.js@@@ -47,8 -47,9 +47,10 @@@ export function createRelayBrowserHandl['/relay/device-keys.js', ['text/javascript', readFileSync(new URL('../src/relay-device-keys.js', import.meta.url), 'utf8')]],['/relay/relay-approval.js', ['text/javascript', readFileSync(new URL('../src/relay-approval.js', import.meta.url), 'utf8').replace("'./relay-device-keys.js'", "'./device-keys.js'")]],['/relay/browser-devices.js', ['text/javascript', readFileSync(new URL('./browser-devices.js', import.meta.url), 'utf8')]],+ ['/relay/browser-excluded.js', ['text/javascript', readFileSync(new URL('./browser-excluded.js', import.meta.url), 'utf8')]],+ ['/relay/excluded-notice.js', ['text/javascript', readFileSync(new URL('./excluded-notice.js', import.meta.url), 'utf8')]],['/relay/browser-approval-card.js', ['text/javascript', readFileSync(new URL('./browser-approval-card.js', import.meta.url), 'utf8')]],+ ['/relay/browser-passkeys.js', ['text/javascript', readFileSync(new URL('./browser-passkeys.js', import.meta.url), 'utf8')]],['/relay/client.js', ['text/javascript', readFileSync(new URL('./browser-client.js', import.meta.url), 'utf8')]],['/relay/relay-limits.js', ['text/javascript', readFileSync(new URL('../src/relay-limits.js', import.meta.url), 'utf8')]],['/relay/sign-in.js', ['text/javascript', SIGN_IN_TRANSPORT]],diff --cc src/cli-sync.jsindex b599080e,99cd702e..d58e1723--- a/src/cli-sync.js+++ b/src/cli-sync.js@@@ -36,11 -45,8 +45,11 @@@ export async function retrySync(io)/** Before a command: link this project when the machine links new ones, sync, then run the person's waiting requests. */export async function syncBefore(io, main) {- try { await autoLinkProject(io.cwd, io); } catch (error) { if (!(error instanceof Refused)) throw error; }+ try { if (io.relayCommand?.cliOperation !== 'sync' && !gitSyncLinked(io.cwd)) await autoLinkProject(io.cwd, io); } catch (error) { if (!(error instanceof Refused)) throw error; }await retrySync(io);+ // An off that only the relay can vouch for is checked against the relay's own authority before anything reads it (#408).+ try { await (await import('./person-signing-cli.js')).attestBeforeCommand(io.cwd, io); }+ catch (error) { reportQuietly(io, error); }try { await executePersonRequests(io.cwd, io, main); }catch (error) { await reportQuietly(io, error); }}diff --cc src/next-step-defaults.jsindex b0337d26,312c495b..f9ac0ce0--- a/src/next-step-defaults.js+++ b/src/next-step-defaults.js@@@ -1,16 -1,11 +1,22 @@@/** General CLI recovery text; operation-owned codes live in src/moves/ [P4,C7]. */export const DEFAULT_NEXT_STEPS = Object.freeze({+ PASSKEY_ASSERTION: 'confirm the move again on your passkey from the relay view',+ PASSKEY_PRESENCE: 'confirm the move again with Face ID, Touch ID or a key touch',+ PASSKEY_REGISTRATION: 'add the passkey again from the relay view on this phone or browser',+ PASSKEY_REQUIRED: 'add a passkey in the relay view on your phone or browser, then confirm the move',+ PERSON_AUTHORITY: 'upgrade the relay so it publishes its passkey stamp key, then retry',+ PERSON_AUTHORITY_CHANGED: 'check which relay this board belongs to; link it to the relay it pinned',+ PERSON_PROPOSAL: 'start the person move from a terminal seat, then confirm it with your passkey',+ PERSON_SIGNED: 'confirm it with your passkey in the relay view; pair a phone or browser first with pullboard relay on --all',+ PERSON_SIGNER_REQUIRED: 'decide the other rows with your passkey; a row that names SSH signers waits until signing is off',+ PERSON_SIGNING_CORRUPT: 'restore the board from a known-good export',+ PERSON_SIGNING_ERASED: 'restore a known-good board that keeps its signing history',+ "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",+ "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_LINKED": "use pullboard sync for a Git-shared board, or keep the existing relay linked; do not enable a second move order",+ "EXCLUDED_REPOSITORY": "restore the GitHub origin of each excluded project, then run pullboard relay on --all",+ "EXCLUDED_INVENTORY": "restore at most 256 excluded boards and their active paired devices, then run pullboard relay on --all","NESTED_RUN_HANDLE_REQUIRED": "pass the original ChildProcess or fixture promise retaining .child to awaitNestedRun","NESTED_RUN_OFFER_REQUIRED": "start the child with the current spawn export after test-file token admission, then await its original handle","NESTED_RUN_WAIT_REUSED": "await the original returned wait; do not lend the same child a second time",diff --cc test/move-registry-baseline.jsonindex 48de28f7,d6511691..d208e954--- a/test/move-registry-baseline.json+++ b/test/move-registry-baseline.json@@@ -6966,17 -6948,8 +6966,19 @@@"WITHDRAWN": "wait on an item that is not withdrawn; see pullboard list --all","WRONG_BOARD": "open the repository registered to this board and confirm its identity with pullboard status","WRONG_LANE": "create a worktree in the required lane with pullboard worktree <lane> --model \"<model name>\", or take an item in your lane with pullboard next",+ "PASSKEY_ASSERTION": "confirm the move again on your passkey from the relay view",+ "PASSKEY_PRESENCE": "confirm the move again with Face ID, Touch ID or a key touch",+ "PASSKEY_REGISTRATION": "add the passkey again from the relay view on this phone or browser",+ "PASSKEY_REQUIRED": "add a passkey in the relay view on your phone or browser, then confirm the move",+ "PERSON_AUTHORITY": "upgrade the relay so it publishes its passkey stamp key, then retry",+ "PERSON_AUTHORITY_CHANGED": "check which relay this board belongs to; link it to the relay it pinned",+ "PERSON_PROPOSAL": "start the person move from a terminal seat, then confirm it with your passkey",+ "PERSON_SIGNED": "confirm it with your passkey in the relay view; pair a phone or browser first with pullboard relay on --all",+ "PERSON_SIGNER_REQUIRED": "decide the other rows with your passkey; a row that names SSH signers waits until signing is off",+ "PERSON_SIGNING_CORRUPT": "restore the board from a known-good export",- "PERSON_SIGNING_ERASED": "restore a known-good board that keeps its signing history"++ "PERSON_SIGNING_ERASED": "restore a known-good board that keeps its signing history",+ "EXCLUDED_REPOSITORY": "restore the GitHub origin of each excluded project, then run pullboard relay on --all",+ "EXCLUDED_INVENTORY": "restore at most 256 excluded boards and their active paired devices, then run pullboard relay on --all"},"replay": {"initial": {