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.

style(bar): match source imports and optional readiness help [C7]

Corey Olson549b9e929523
diff --git a/src/bar-actor.js b/src/bar-actor.js
index e612b0aa..be659a49 100644
--- a/src/bar-actor.js
+++ b/src/bar-actor.js
@@ -4,7 +4,10 @@ import { requirePersonChannel } from './person.js';
import { barReadySetting } from './bar-readiness.js';
import { agentParent } from './seats.js';
/** Current bar authorship survives native takeover without rewriting historical seats [V1,H16]. */
-import { runtimeSessionIdentity, parentSessionDigest } from './parent-session.js';
+import {
+ runtimeSessionIdentity,
+ parentSessionDigest,
+} from './parent-session.js';
import { Refused } from './refused.js';
/** Capture only this runtime's own session and discovered parent before sealing an ordered move. */
diff --git a/src/bar-coverage.js b/src/bar-coverage.js
index 546c9e1e..3f4728f6 100644
--- a/src/bar-coverage.js
+++ b/src/bar-coverage.js
@@ -1,6 +1,9 @@
/** Captured whole-file obligations share one signed, frozen project command [V2,V4]. */
import { createHash } from 'node:crypto';
-import { readFileSync, statSync } from 'node:fs';
+import {
+ readFileSync,
+ statSync,
+} from 'node:fs';
import { resolve } from 'node:path';
import { briefFiles } from './brief.js';
import { git } from './git.js';
diff --git a/src/bar-readiness.js b/src/bar-readiness.js
index a0170946..16894670 100644
--- a/src/bar-readiness.js
+++ b/src/bar-readiness.js
@@ -1,8 +1,15 @@
import { normalizeBarActor } from './bar-actor.js';
-import { normalizeBarCoverage, barCoverageDigest } from './bar-coverage.js';
+import {
+ normalizeBarCoverage,
+ barCoverageDigest,
+} from './bar-coverage.js';
/** Readiness is a revision-bound peer judgement, with mechanical prerequisites [B4,V1,V2,H16]. */
import { createHash } from 'node:crypto';
-import { atomic, itemById, logEvent } from './board.js';
+import {
+ atomic,
+ itemById,
+ logEvent,
+} from './board.js';
import { itemCheckBaseline } from './item-check-baseline.js';
import { agentParent } from './seats.js';
import { ENGINE_VERSION } from './machine.js';
diff --git a/src/board.js b/src/board.js
index 5e90df36..b7d4fbd2 100644
--- a/src/board.js
+++ b/src/board.js
@@ -1,6 +1,14 @@
-import { recordBarRevision, barReadyProblem } from './bar-readiness.js';
+import {
+ recordBarRevision,
+ barReadyProblem,
+} from './bar-readiness.js';
export { setBarReady, signBar } from './bar-readiness.js';
-import { coordinatorCheck, normalizeCheckBaseline, saveCheckBaseline, itemCheckBaseline } from './item-check-baseline.js';
+import {
+ coordinatorCheck,
+ normalizeCheckBaseline,
+ saveCheckBaseline,
+ itemCheckBaseline,
+} from './item-check-baseline.js';
export { coordinatorCheck, completeCheckBaseline, itemCheckAuthor } from './item-check-baseline.js';
import { recordVerdict } from './verdict-assurance.js';
import { logEvent } from './board-event-log.js';
diff --git a/src/check-baseline.js b/src/check-baseline.js
index 870bf0cd..1ae01cca 100644
--- a/src/check-baseline.js
+++ b/src/check-baseline.js
@@ -1,4 +1,7 @@
-import { timingFromOutput, timingRunner } from './timing.js';
+import {
+ timingFromOutput,
+ timingRunner,
+} from './timing.js';
/** Observe a proposed check on an isolated copy of main before recording its move [V2,H16]. */
import { spawnSync } from 'node:child_process';
import { randomUUID } from 'node:crypto';
diff --git a/src/cli.js b/src/cli.js
index b5166d3d..f560eff9 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -1,6 +1,12 @@
export { barActorForCommand } from './bar-actor.js';
-import { barReadinessRequired, barReadiness } from './bar-readiness.js';
-import { barCoverageCommand, barCoverageForPolicy } from './bar-coverage.js';
+import {
+ barReadinessRequired,
+ barReadiness,
+} from './bar-readiness.js';
+import {
+ barCoverageCommand,
+ barCoverageForPolicy,
+} from './bar-coverage.js';
/**
* The pullboard command line: every command, bound to who is asking (B3, R3). The main checkout is the
* coordinator; every other worktree is the agent that joined from it.
diff --git a/src/commands/bar.js b/src/commands/bar.js
index b8a09255..08ecf685 100644
--- a/src/commands/bar.js
+++ b/src/commands/bar.js
@@ -2,8 +2,17 @@ import { prepareBarCoverage } from '../bar-coverage.js';
import { mainPolicy } from '../trusted-policy.js';
/** Inspect, enable and independently sign acceptance bars [B4,V1,V2,H16]. */
import { getItem } from '../board.js';
-import { barReadiness, barReadySetting } from '../bar-readiness.js';
-import { actOn, barActorForCommand, idArg, ordered, personMode } from '../cli.js';
+import {
+ barReadiness,
+ barReadySetting,
+} from '../bar-readiness.js';
+import {
+ actOn,
+ barActorForCommand,
+ idArg,
+ ordered,
+ personMode,
+} from '../cli.js';
import { Refused } from '../refused.js';
/** Run the board-scoped readiness setting or show/sign one exact revision. */
diff --git a/src/commands/submit.js b/src/commands/submit.js
index fcfbafb6..ac0c7683 100644
--- a/src/commands/submit.js
+++ b/src/commands/submit.js
@@ -1,4 +1,7 @@
-import { barReadySetting, barReadyProblem } from '../bar-readiness.js';
+import {
+ barReadySetting,
+ barReadyProblem,
+} from '../bar-readiness.js';
import { requireSubmitComposition } from '../submit-composition.js';
/** The pullboard submit command, in its own module so an item adding another command never edits these lines. */
import * as store from '../board.js';
diff --git a/src/help.js b/src/help.js
index 3e2721fc..2622fe09 100644
--- a/src/help.js
+++ b/src/help.js
@@ -121,7 +121,7 @@ Work
the command and its author print first; the project gate is pullboard gate
pullboard check accept <id> the person accepts an item's check that already passes on main, as it reads now;
with checks.provesNothing "hold", claim and submit refuse that item until then
- pullboard bar ready on|off coordinator: opt in to ready bars; existing frozen work needs no backfill
+ pullboard bar ready [on|off] coordinator: opt in to ready bars; existing frozen work needs no backfill
pullboard bar sign <id> --note "..." [--coverage-file <json>] another parent judges buildability and repeatable grading; edits clear the signature
claim.barTestFiles configures project test-path globs (Node test/spec files by default)
coverage rows retain whole-file observations; slow files require named checks and explicit landing coverage
diff --git a/src/item-check-baseline.js b/src/item-check-baseline.js
index 80ec46bd..43ede341 100644
--- a/src/item-check-baseline.js
+++ b/src/item-check-baseline.js
@@ -1,5 +1,9 @@
/** Baseline observations and their immutable completion fences [V2,H16]. */
-import { atomic, itemById, logEvent } from './board.js';
+import {
+ atomic,
+ itemById,
+ logEvent,
+} from './board.js';
import { COORDINATOR } from './config.js';
import { Refused } from './refused.js';