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(core): split code map imports

Corey Olson65be49835aa6
diff --git a/src/code-map.js b/src/code-map.js
index 8923a303..320a04e2 100644
--- a/src/code-map.js
+++ b/src/code-map.js
@@ -2,9 +2,24 @@
// It masks strings, templates, regex literals and comments so brace matching and call detection
// see only code, then reads top-level declarations, JSDoc, imports, calls and side-effect markers.
-import { execFileSync } from 'node:child_process';
-import { existsSync, mkdirSync, readFileSync, readdirSync, renameSync, rmSync, writeFileSync } from 'node:fs';
-import { dirname, join, posix, resolve } from 'node:path';
+import {
+ execFileSync,
+} from 'node:child_process';
+import {
+ existsSync,
+ mkdirSync,
+ readFileSync,
+ readdirSync,
+ renameSync,
+ rmSync,
+ writeFileSync,
+} from 'node:fs';
+import {
+ dirname,
+ join,
+ posix,
+ resolve,
+} from 'node:path';
const KEYWORDS = new Set(('if for while switch catch function return typeof instanceof new delete void await yield ' +
'else do try finally throw case default break continue in of let const var class extends super this import export ' +
diff --git a/src/commands/map.js b/src/commands/map.js
index 6fba30fb..0d0bc339 100644
--- a/src/commands/map.js
+++ b/src/commands/map.js
@@ -1,8 +1,14 @@
/** The local static code map command, kept lazy so ordinary reads do not build or load its scanner. */
-import { join } from 'node:path';
+import {
+ join,
+} from 'node:path';
import * as store from '../board-query.js';
import { withBoardRead } from '../cli-board-read.js';
-import { context, idArg, primaryCheckoutRoot } from '../cli.js';
+import {
+ context,
+ idArg,
+ primaryCheckoutRoot,
+} from '../cli.js';
import { mainCheckout } from '../git.js';
import { Refused } from '../refused.js';