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

Merge remote-tracking branch 'origin/main' into cos/task-ms3syw3v/agent-d2ae0352

[._.]/ Adam Eivy67206fd4b2bc
diff --cc server/services/sprites/atlasGrid.js
index 73fbcd00d5,25b41dcfee..500b59a7cd
--- a/server/services/sprites/atlasGrid.js
+++ b/server/services/sprites/atlasGrid.js
@@@ -51,26 -51,21 +51,28 @@@
* defaulting to the grid's row count is what keeps existing atlases idempotent
* instead of condemning them to recompile their pixels forever.
*
- * **Only ONE track is registered today** (`walk`). The multi-track paths below
- * are proven in `atlasGrid.test.js` against a synthetic REGISTRY TABLE rather
- * than by shipping a second track's artwork. The registry table is the
+ * **Only ONE track is COMPILED IN** (`walk`); every other row — including the
+ * seeded `scanner`/`ambient` — comes from the user-defined store (#3152), which
+ * is why the default `tracks` table below is `getEffectiveAnimationTracks()`
+ * rather than the compiled constant. The multi-track paths are still proven in
+ * `atlasGrid.test.js` against a synthetic REGISTRY TABLE rather than against
+ * whatever a given install happens to have stored: the registry table is the
* injection seam throughout — the same idiom `assertAnimationTrackRows(tracks)`
* uses — so a synthetic row flows through exactly the lookup, ordering and
- * unknown-id boundary a real one would. Shipping a real second track is #3018's
- * job, and it should land as a registry ROW plus its pipeline, with no shape
- * change here.
+ * unknown-id boundary a real one would, and the suite doesn't depend on a user's
+ * data.
*/
-import {
- ANIMATION_TRACKS, WALK_TRACK, getAnimationTrack, trackRowCount,
-} from './animationTracks.js';
+import { WALK_TRACK, getAnimationTrack, trackRowCount } from './animationTracks.js';
+// #3152 — the DEFAULT table is now the effective one (compiled `walk` + the
+// user-defined store) rather than the compiled constant, so a user's track gets a
+// span and a row count here without every caller learning to pass one. Each
+// default is evaluated per CALL (default params are lazy), so the store's cached
+// read happens on first use rather than at this module's load. `tracks` stays an
+// explicit parameter — it is still the injection seam the multi-track tests use.
+import { getEffectiveAnimationTracks } from './animationTrackStore.js';
+ // These two names describe columns found in imported/legacy compiled grids;
+ // neither declares an animation track in the registry.
import { ATLAS_IDLE_COLUMN, ATLAS_SCANNER_COLUMN, walkPhaseLabels } from './walkBounds.js';
import { SPRITE_DIRECTIONS } from './prompts.js';
import { canonicalStringify } from '../../lib/objects.js';