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

fix([scene-level-wardrobe-picking-per-scene]): match storyboard image characters on slugline too

[._.]/ Adam Eivy86c5a1f022e2
diff --git a/server/services/pipeline/visualStages.js b/server/services/pipeline/visualStages.js
index feca209f12..773a3c2027 100644
--- a/server/services/pipeline/visualStages.js
+++ b/server/services/pipeline/visualStages.js
@@ -788,7 +788,13 @@ export async function enqueueVisualImage(issueId, stageId, options = {}) {
const { issue, settings, series, world, canon } = await loadBibleContext(issueId);
assertStageUnlocked(issue, stageId);
const mode = resolveMode(options, settings);
- const matchedCharacters = matchCharactersInText(options.description || '', canon.characters);
+ // Match on description + slugline so the featured-character set (and thus
+ // which wardrobe picks apply) stays consistent with the scene-video / shot
+ // paths and the storyboards picker UI — all of which match both fields.
+ const matchedCharacters = matchCharactersInText(
+ `${options.description || ''} ${options.slugline || ''}`,
+ canon.characters,
+ );
const prompt = composeVisualPrompt({
series,
description: options.description,