From c0d377b894df5839ce6570b9440da3fe840d5c08 Mon Sep 17 00:00:00 2001 From: Z User Date: Fri, 30 Oct 2026 23:19:56 +0000 Subject: [PATCH] build_plan.py delivery print and docstring now route the paste to the internal plan_json widget (dynamicPrompts:False) - stops the LLM from steering the user back into a multiline/dynamic-prompt input --- README.md | 2 +- h3-plan-gate/build_plan.py | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fb64694..8b89b8b 100755 --- a/README.md +++ b/README.md @@ -235,7 +235,7 @@ Merged plan: shot 2 id='lollipop_pickup' six-section ref2va OK (2 subject(s): no-image, refmod; body 156 words) shot 3 id='pay_shopkeeper' six-section ref2va OK (2 subject(s): no-image, refmod; body 156 words) H3 section structure: all shots carry the six Ref2VA sections in canonical order -wrote plan.json - paste its full contents into plan_json_input +wrote plan.json - paste its full contents into the Plan node's internal plan_json widget and queue once (never through a multiline or prompt-typed text input; see SKILL.md Step 5) ``` The deliverable is the single `plan.json` — `"prompt_prefix": [""]`, `defaults`, and diff --git a/h3-plan-gate/build_plan.py b/h3-plan-gate/build_plan.py index 0386454..9a36a19 100755 --- a/h3-plan-gate/build_plan.py +++ b/h3-plan-gate/build_plan.py @@ -9,8 +9,10 @@ prompt contract and refmod isolation) before anything is written. The merged plan carries one shot per scene. The node renders each shot as its own clip and chains the clips through the H3 context loop into one continuous video — -this one plan JSON is the whole multi-clip deliverable; paste it into plan_json_input -once and queue once. +this one plan JSON is the whole multi-clip deliverable. Delivery: paste it into the +Plan node's internal `plan_json` widget (declared dynamicPrompts:False — ComfyUI's +frontend dynamic-prompt serializer strips braces from dynamicPrompts:true widgets, +which destroys the JSON) and queue once. See SKILL.md Step 5. Usage: python build_plan.py outline.json scene_01.json scene_02.json scene_03.json -o plan.json @@ -138,7 +140,9 @@ def main(): if args.out: with open(args.out, "w", encoding="utf-8") as fh: fh.write(out_text) - print(f"\nwrote {args.out} - paste its full contents into plan_json_input") + print(f"\nwrote {args.out} - paste its full contents into the Plan node's " + f"internal plan_json widget and queue once (never through a multiline " + f"or prompt-typed text input; see SKILL.md Step 5)") else: print("\n" + out_text)