#!/usr/bin/env python3 """Merge approved outline + task-segment fragments into the Easy-Media MultiTrack deliverables. py -3 build_track_plan.py outline.json segment_01.json segment_02.json -o plan.json py -3 build_track_plan.py --check plan.json [--outline outline.json] The merge is the continuity check: it re-validates every fragment against the approved outline (ids, frames, modes, verbatim media paths, context-prompt rules, handoff chain), then assembles TWO deliverables from it: 1. `prompt_override.json` — the PRIMARY paste payload for the `easy multiTrackEditor` node's `prompt_override` input (format MiniMax): {"type": "minimax_prompt_override", ...} with one prompt per segment, per-segment durations and continuity modes. Paste it into the widget and queue; wire the inventory's media into the editor's image/audio/ video inputs in inventory order so the /