#!/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", "prompts": [...]} with one prompt per segment. The parser requires ONLY those two keys (utils/prompt_override.py); duration (SECONDS), generation_type, continuity_mode and track locks are emitted only when non-default. 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 /