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
fix: a Music Video clone starts with no auto-review runs (#9102)
[._.]/ Adam Eivy8111f1c0c087
diff --git a/server/services/musicVideo/projectsLogic.js b/server/services/musicVideo/projectsLogic.jsindex 414f6a87be..de84ebae57 100644--- a/server/services/musicVideo/projectsLogic.js+++ b/server/services/musicVideo/projectsLogic.js@@ -219,6 +219,9 @@ export function cloneProjectRecord(source, {// A revision is in-progress work against the SOURCE's takes; the clone// starts with none (its carried-over notes can open a fresh one).revisions: [],+ // #9102: an auto-review run is tied to the SOURCE's revisions/excerpts, so a+ // clone starts with none (terminal runs too — their links are source-scoped).+ ...(Array.isArray(source.autoReviews) ? { autoReviews: [] } : {}),// #9066: a production run executes against the SOURCE's scenes and jobs....(Array.isArray(source.productionRuns) ? { productionRuns: [] } : {}),renderHistoryId: null,diff --git a/server/services/musicVideo/projectsLogic.test.js b/server/services/musicVideo/projectsLogic.test.jsindex b3ff02929e..d90106905a 100644--- a/server/services/musicVideo/projectsLogic.test.js+++ b/server/services/musicVideo/projectsLogic.test.js@@ -118,6 +118,16 @@ describe('cloneProjectRecord', () => {]);});+ it('starts a clone with no auto-review runs, and adds no field when the source has none', () => {+ const withRuns = cloneProjectRecord({+ ...baseProject(),+ autoReviews: [{ id: 'ar-1', status: 'running', attempts: [{ revisionId: 'rev-1' }] }, { id: 'ar-2', status: 'complete' }],+ }, { id: 'mv-2', now: '2026-01-02T00:00:00.000Z' });+ expect(withRuns.autoReviews).toEqual([]);+ const without = cloneProjectRecord(baseProject(), { id: 'mv-3', now: '2026-01-02T00:00:00.000Z' });+ expect(without).not.toHaveProperty('autoReviews');+ });+it('can fork the board without carrying generated media', () => {const source = {...baseProject(),