#!/usr/bin/env python3 """Merge the approved outline + segment fragments into the prompt_override paste. py -3 build_track_plan.py outline.json segment_01.txt segment_02.txt [segment_03.txt ...] py -3 build_track_plan.py outline.json segment_01.json ... --plan plan.json py -3 build_track_plan.py --check plan.json [--outline outline.json] The deliverable is ONE paste file, plain text by default — everything else is opt-in: 1. `prompt_override.txt` (default output, zero-media stories) — plain text for the `easy multiTrackEditor` node's `prompt_override` input (format MiniMax): the scene prompts joined with '|' on one line, plus [start-end(,type)] markers when the rows have unequal durations or a scene is not the text default (flf -> t2v). The editor splits a non-JSON prompt_override on '|' — one clip per scene, no JSON needed. /