# MiniMax H3 Loop Plan Formatting Guide This guide belongs to `ComfyUI-MiniMaxH3-Contex-Loop` and describes the JSON accepted by both `MiniMax H3 Context Loop Plan` (`MiniMaxH3ChainPlan`) and `MiniMax H3 Plan (Modern)` (`MiniMaxH3ChainPlanModern`), including scene lengths, prompts, seeds, steps, audio timing, and resume-safe settings. ## Visual editor or raw JSON `H3 Chain Plan` includes a scene-card editor. Write shared continuity text and scene prompts as normal multiline text; the editor stores them as readable JSON line arrays automatically. Drag scenes to reorder them, duplicate or delete cards, and choose inherited duration, seconds, or exact H3 frames. The timing label on every card shows raw and delivered frames, while the header shows total delivered runtime. Scene cards receive distinct colors automatically; use the small header swatch to customize one, or double-click the swatch to restore its automatic color. Colors are UI-only and do not alter the plan or checkpoint compatibility. The compact **Output** button with its outline folder-open icon in the Plan header creates and opens the current `output/h3_chains/` directory on the ComfyUI host. When the host is headless or its systemd service cannot access a desktop session, the button copies the absolute host path instead. The optional **MiniMax H3 Scene Prompt Editor** companion connects to the Plan and provides a larger, adjustable-font view of one scene prompt at a time. Its textarea is bidirectionally synchronized with the active `plan_json.shots[n].prompt`; only the active scene and font-size preferences are stored on the companion itself. Arrow buttons and `Alt+Left/Right` navigate scenes, while `@` opens reference tags and `#` inserts dialogue markup. Its optional **Prompt Assistant** connects to a running `comfyui-mcp --panel-orchestrator` and can ask Codex or Hermes to discuss, rewrite, shorten, critique, or improve continuity for the active scene. Shared and adjacent scene context are controlled by checkboxes; selected text is included automatically. The agent's proposed replacement is staged below the chat and remains editable. Only **Apply to scene** changes `shots[n].prompt`. A source-revision fence warns and asks for confirmation when manual edits landed after the request began. Inside a prompt, type `@` or click **@ Reference** to insert one of the references actually connected and active for that scene. Core conditioning inserts native ``, `