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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
renumber the timeline migration to 296
[._.]/ Adam Eivyd0e0f4c877cb
diff --git a/scripts/migrations/295-video-timeline-segments.js b/scripts/migrations/296-video-timeline-segments.jssimilarity index 97%rename from scripts/migrations/295-video-timeline-segments.jsrename to scripts/migrations/296-video-timeline-segments.jsindex 11cab2ae4e..d9b8744f2c 100644--- a/scripts/migrations/295-video-timeline-segments.js+++ b/scripts/migrations/296-video-timeline-segments.js@@ -40,7 +40,7 @@ export default {} catch (err) {// A corrupt state file must not crash the migration runner — that would// turn a cosmetic upgrade into a boot blocker.- console.warn(`⚠️ migration 295: ${path} is not valid JSON (${err.message}); skipping`);+ console.warn(`⚠️ migration 296: ${path} is not valid JSON (${err.message}); skipping`);return { ok: false, reason: 'invalid-json', updated: 0 };}if (!Array.isArray(projects)) return { ok: false, reason: 'not-an-array', updated: 0 };diff --git a/scripts/migrations/295-video-timeline-segments.test.js b/scripts/migrations/296-video-timeline-segments.test.jssimilarity index 96%rename from scripts/migrations/295-video-timeline-segments.test.jsrename to scripts/migrations/296-video-timeline-segments.test.jsindex abb3e06acc..838b893f19 100644--- a/scripts/migrations/295-video-timeline-segments.test.js+++ b/scripts/migrations/296-video-timeline-segments.test.js@@ -3,7 +3,7 @@ import { mkdtempSync, rmSync, writeFileSync, readFileSync, mkdirSync } from 'fs'import { tmpdir } from 'os';import { join } from 'path';-import migration from './295-video-timeline-segments.js';+import migration from './296-video-timeline-segments.js';const CLIP_A = '11111111-1111-4111-8111-111111111111';const CLIP_B = '22222222-2222-4222-8222-222222222222';@@ -11,12 +11,12 @@ const CLIP_B = '22222222-2222-4222-8222-222222222222';const writeJson = (path, value) => writeFileSync(path, `${JSON.stringify(value, null, 2)}\n`);const readJson = (path) => JSON.parse(readFileSync(path, 'utf8'));-describe('migration 295 — layered video timeline', () => {+describe('migration 296 — layered video timeline', () => {let rootDir;let projectsPath;beforeEach(() => {- rootDir = mkdtempSync(join(tmpdir(), 'migration-295-'));+ rootDir = mkdtempSync(join(tmpdir(), 'migration-296-'));mkdirSync(join(rootDir, 'data'), { recursive: true });projectsPath = join(rootDir, 'data/video-projects.json');});diff --git a/server/services/videoTimeline/local.js b/server/services/videoTimeline/local.jsindex e25f7cce34..eef7c8a0ea 100644--- a/server/services/videoTimeline/local.js+++ b/server/services/videoTimeline/local.js@@ -96,7 +96,7 @@ export const loadProjects = async () => {// function" instead of degrading gracefully to an empty list.// Every read upgrades v1 (`clips`-only) projects to the v2 lane shape in// memory, so the rest of the service only ever sees `segments`/`overlays`/- // `audio`. The on-disk upgrade is migration 295; this keeps a project the+ // `audio`. The on-disk upgrade is migration 296; this keeps a project the// migration missed (a restored backup, a hand-edited file) working anyway.return (await loadRawProjects()).map(normalizeProject);};