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
feat(merge): pairing joins a machine; rule ids stay unique [H17,H15,A5]
Corey Olson33519222b8e2
diff --cc src/cli.jsindex c0d16e39,61b1d334..775624f4--- a/src/cli.js+++ b/src/cli.js@@@ -11,11 -11,10 +11,11 @@@ import { parseArgs } from 'node:util'import * as store from './board.js';import { CONFIG_FILE, COORDINATOR, loadConfig } from './config.js';import { doctrineHistory, loadDoctrine } from './doctrine.js';-import { requirePersonChannel } from './person.js';+import { agentSessionDigest, requirePersonChannel } from './person.js';+import { bindLocalSession } from './agent-session.js';import { decisionProjection, planRowApply, prepareRowDecisions, restoreRowApply, writeRowApply } from './row-decisions.js';import { digestOf, gateReport, runGate, runShell, withGateSlot } from './gate.js';- import { bareWorktreeFinding, contains, differFromHead, git, headCommit, headTree, isClean, mainCheckout, repoInfo, resolveCommit, tryGit, untracked } from './git.js';+ import { bareWorktreeFinding, contains, differFromHead, git, gitChildEnv, headCommit, headTree, isClean, mainCheckout, repoInfo, resolveCommit, tryGit, untracked } from './git.js';import {FIX_NOTE,applyFixers,@@@ -68,8 -70,34 +71,35 @@@ import { executePersonRequests } from 'const PACKAGE = JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8'));export const VERSION = PACKAGE.version;+const CHECKOUT_LEASES = new WeakMap();+ /**+ * Read the grandfather baseline from the primary checkout's attached branch, never a builder's head.+ *+ * @param {string} root+ * @param {string} path+ * @returns {{ status: number, stdout: string }}+ */+ function coordinatorFile(root, path) {+ const commonDir = git(root, ['rev-parse', '--path-format=absolute', '--git-common-dir']);+ const coordinatorRoot = dirname(commonDir);+ const env = { ...gitChildEnv(root), GIT_NO_REPLACE_OBJECTS: '1' };+ const branch = spawnSync('git', ['symbolic-ref', '--quiet', 'HEAD'], {+ cwd: coordinatorRoot, env, encoding: 'utf8',+ });+ const ref = (branch.stdout ?? '').trim();+ if (branch.status !== 0 || !ref.startsWith('refs/heads/')) {+ throw new Refused(+ 'COORDINATOR_DETACHED',+ 'the primary checkout must be on its attached local branch to establish the collision baseline; the coordinator returns it to its branch',+ );+ }+ const result = spawnSync('git', ['--no-replace-objects', 'show', `${ref}:${path}`], {+ cwd: coordinatorRoot, env, encoding: 'utf8',+ });+ return { status: result.status ?? 1, stdout: result.stdout ?? '' };+ }+const ALL_HELP = `pullboard ${VERSION}: the local-first work board for teams of coding agents.Nothing ships until a second agent verifies it.