Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: narrow reviewer imports to preserve the server import budget

[._.]/ Adam Eivy798acc2bef45
diff --git a/server/lib/importScoping.test.js b/server/lib/importScoping.test.js
index e087451406..c2cecf5d03 100644
--- a/server/lib/importScoping.test.js
+++ b/server/lib/importScoping.test.js
@@ -38,6 +38,8 @@ const reaches = (entry, target) => staticImportClosure(abs(entry)).files.has(abs
// Each row: the entry that was narrowed, the module it must no longer
const NARROWED = [
+ ['services/codeReview.js', 'lib/validation.js',
+ 'reads reviewer vocabulary from its pure declaring module without the validation barrel'],
['services/backup.js', 'services/socket.js',
'loads socket/auth listeners only when a failed scheduled DB dump needs the global socket'],
['services/eidoverseWorld.js', 'services/eidoverseWorldSources.js',
diff --git a/server/services/codeReview.js b/server/services/codeReview.js
index a7867295bb..b60a9351ab 100644
--- a/server/services/codeReview.js
+++ b/server/services/codeReview.js
@@ -44,7 +44,7 @@ import {
prioritizeToolFreeReviewers,
EFFORT_SELECTABLE_REVIEWERS,
MODEL_SELECTABLE_REVIEWERS,
-} from '../lib/validation.js'
+} from '../lib/reviewerConfig.js'
import {
MAX_FIDELITY_DIFF_CHARS,
normalizeGoalFidelityVerdict,