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

point the client loom-format mirror at the module's new home

[._.]/ Adam Eivy7b1ff5f58653
diff --git a/client/src/components/fableloom/loomFormats.test.js b/client/src/components/fableloom/loomFormats.test.js
index 920e60de0c..32a13f5021 100644
--- a/client/src/components/fableloom/loomFormats.test.js
+++ b/client/src/components/fableloom/loomFormats.test.js
@@ -5,7 +5,11 @@ import {
LOOM_FORMATS, episodesNeedingReformat, isTeleplayFormat, loomFormatHint, loomFormatLabel, sceneNeedsReformat,
} from './loomFormats.js';
-const SERVER_FORMATS = join('server', 'services', 'fableLoom', 'formats.js');
+// The server-side source of truth. It moved from services/fableLoom/formats.js
+// to lib/ in #4901 so route validation could read it without importing upward
+// into services; services/fableLoom/formats.js is now a re-export shim with no
+// literal declaration, so this must point at the real one.
+const SERVER_FORMATS = join('server', 'lib', 'fableLoomFormats.js');
// Walk up from the working directory rather than assuming it — the client
// suite runs from `client/`, but a root-level runner would start elsewhere.
diff --git a/client/src/components/meatspace/post/constants.js b/client/src/components/meatspace/post/constants.js
index beaee93f83..5535013f89 100644
--- a/client/src/components/meatspace/post/constants.js
+++ b/client/src/components/meatspace/post/constants.js
@@ -6,7 +6,8 @@ export const LLM_DRILL_TYPES = ['word-association', 'story-recall', 'verbal-flue
// server's schedule/mastery advancement fires.
export const MEMORY_DRILL_TYPES = ['memory-fill-blank', 'memory-sequence', 'memory-element-flash'];
// Deterministic cognitive drills (no LLM). Mirror the server's
-// COGNITIVE_DRILL_TYPES in server/services/meatspacePostCognitive.js.
+// COGNITIVE_DRILL_TYPES in server/lib/postDrillTypes.js (re-exported by
+// server/services/meatspacePostCognitive.js, which owns the generators).
export const COGNITIVE_DRILL_TYPES = ['n-back', 'digit-span', 'stroop', 'schulte-table', 'mental-rotation', 'reaction-time', 'task-switching', 'go-no-go', 'flanker'];
// Cognitive drills that have a progressive difficulty ladder. Mirror of the
diff --git a/client/src/components/pipeline/SeriesLoomsPanel.jsx b/client/src/components/pipeline/SeriesLoomsPanel.jsx
index 81acbb6612..1ee1480f6d 100644
--- a/client/src/components/pipeline/SeriesLoomsPanel.jsx
+++ b/client/src/components/pipeline/SeriesLoomsPanel.jsx
@@ -18,7 +18,7 @@ import { useAsyncAction } from '../../hooks/useAsyncAction';
import { timeAgo } from '../../utils/formatters';
import { createLoom, listLooms } from '../../services/api';
-// Mirrors LOOM_LIMITS.NAME_MAX (server/services/fableLoom/limits.js) — the
+// Mirrors LOOM_LIMITS.NAME_MAX (server/lib/fableLoomLimits.js) — the
// derived name is built from the series name, which has its own longer cap, so
// it has to be clamped before the create PATCH hits the door check.
const LOOM_NAME_MAX = 200;