The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
Skills W2: a result reached twice is one step; words written by an earlier step aren't an input
Claudeb295abaf81fe
diff --git a/src/server/recipe-builder.ts b/src/server/recipe-builder.tsindex d96ae8de..752b41ea 100644--- a/src/server/recipe-builder.ts+++ b/src/server/recipe-builder.ts@@ -152,6 +152,8 @@ class Walk {/** One step from the request a run of rows was asked as. */fromAsked(head: Generation): Node {+ const known = this.covered.get(head.id);+ if (known) return known;const moved = currentRequest(head.request.asked!);const rows = [head.id, ...this.batchAncestors(head)];const node = this.add(head, rows, { request: moved.request }, this.moved(moved.note));@@ -456,8 +458,10 @@ function candidates(nodes: Node[], leaves: Set<string>): DraftCandidate[] {}continue;}- const words = (n.step as Extract<RecipeStep, { kind: "generate" }>).request.prompt;- if (typeof words !== "string" || !words.trim()) continue;+ const step = n.step as Extract<RecipeStep, { kind: "generate" }>;+ const words = step.request.prompt;+ // Words an earlier step writes (a "prompt" chain slot) come from that step on every run.+ if (typeof words !== "string" || !words.trim() || step.chain?.some((c) => c.slot === "prompt")) continue;add({id: several ? `prompt_${n.key}` : "prompt",label: several ? `Words for “${n.label}”` : "Prompt",