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
style(sync): follow source import binding layout [H11]
Corey Olsone9e8df88e384
diff --git a/src/cli-sync.js b/src/cli-sync.jsindex 81b576d8..99cd702e 100644--- a/src/cli-sync.js+++ b/src/cli-sync.js@@ -11,7 +11,10 @@ import { syncRelay } from './relay.js';import { executePersonRequests } from './relay-request-execution.js';import { autoLinkProject } from './relay-setup.js';import { gitSyncLinked } from './local-state.js';-import { context, withBoard } from './cli-context.js';+import {+ context,+ withBoard,+} from './cli-context.js';/** Codes a checkout with no board refuses with, which the sync around a command keeps quiet. */const QUIET = ['NOT_A_REPO', 'NO_REPO', 'NO_CONFIG', 'CORE_BARE'];diff --git a/src/commands/sync.js b/src/commands/sync.jsindex 9f3f73f0..6f305465 100644--- a/src/commands/sync.js+++ b/src/commands/sync.js@@ -1,6 +1,12 @@/** Explicit opt-in to account-free sharing through the repository's own Git remote [H11]. */-import { context, withBoard } from '../cli-context.js';-import { relayLinked, relayRecovered } from '../relay.js';+import {+ context,+ withBoard,+} from '../cli-context.js';+import {+ relayLinked,+ relayRecovered,+} from '../relay.js';import { syncGitBoard } from '../sync.js';import { Refused } from '../refused.js';diff --git a/src/git-sync-format.js b/src/git-sync-format.jsindex 7deb3000..78a9722b 100644--- a/src/git-sync-format.js+++ b/src/git-sync-format.js@@ -1,5 +1,8 @@/** Validate the one data-only ref that carries account-free board moves [H11]. */-import { git, gitChildEnv } from './git.js';+import {+ git,+ gitChildEnv,+} from './git.js';import { Refused } from './refused.js';export const GIT_BOARD_REF = 'refs/pullboard/board';diff --git a/src/sync.js b/src/sync.jsindex c3d2b330..9beff6dc 100644--- a/src/sync.js+++ b/src/sync.js@@ -1,15 +1,36 @@/** Account-free ordered moves on the repository's own Git remote [H11,H10]. */import { spawn } from 'node:child_process';-import { existsSync, readFileSync, renameSync, rmSync, writeFileSync } from 'node:fs';+import {+ existsSync,+ readFileSync,+ renameSync,+ rmSync,+ writeFileSync,+} from 'node:fs';import { join } from 'node:path';import { randomUUID } from 'node:crypto';import * as store from './board.js';-import { exportBoard, importBoard, semanticBoardDigest } from './exchange.js';-import { appliedSequence, applyEngineMove, engineReceipt, prepareEngineMove } from './engine.js';-import { gitChildEnv, repoInfo } from './git.js';+import {+ exportBoard,+ importBoard,+ semanticBoardDigest,+} from './exchange.js';+import {+ appliedSequence,+ applyEngineMove,+ engineReceipt,+ prepareEngineMove,+} from './engine.js';+import {+ gitChildEnv,+ repoInfo,+} from './git.js';import { locked } from './relay-lock.js';import { Refused } from './refused.js';-import { GIT_BOARD_REF, validateGitBoardCommit } from './git-sync-format.js';+import {+ GIT_BOARD_REF,+ validateGitBoardCommit,+} from './git-sync-format.js';const PREFIX = 'local:git-sync:';const CACHE = 'refs/pullboard/cache';