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: cover the synchronous external image lane with the revision guard (#9011)
[._.]/ Adam Eivy2c76f7eee03f
diff --git a/server/routes/imageGen.js b/server/routes/imageGen.jsindex fddcc669a9..632e0e748a 100644--- a/server/routes/imageGen.js+++ b/server/routes/imageGen.js@@ -669,6 +669,14 @@ router.post('/generate', imageGenUploads, asyncHandler(async (req, res) => {model: selectedModel?.id || params.modelId || 'dev',}));}+ // Selective section revision (#9011): the external/agy lane renders+ // synchronously and never touches enqueueLoggedImage's guard above, so it+ // gets its own check right before the (paid) render call. A no-op when the+ // tag carries no revisionId.+ if (params.musicVideo?.revisionId) {+ const { assertRevisionOpen } = await import('../services/musicVideo/revisionService.js');+ await assertRevisionOpen(params.musicVideo.projectId, params.musicVideo.revisionId);+ }const result = await imageGen.generateImage(params);if (params.fableLoom && result?.filename) {await attachNodeImage(