mmprompt/easy-media-track-gate/examples/outline.json
Z User ea5c5a71b4 easy-media-track-gate: the h3-plan-gate methodology adapted to ComfyUI-Easy-Media multitrack nodes
Portable self-contained skill (%USERPROFILE%\.agent\skills\easy-media-track-gate\):
- references/track-schema.md: full English translation of the node pack's Chinese
  multitrack-schema.md (resolution DynamicCombo rules, time semantics, task segment
  content, context/context_drift joins, audio locks, shared media, project params,
  patch plan shape); field names cross-checked against patch_workflow.py source.
- verify_track_rules.py (66 KB, stdlib only): mirrors every check the node pack's
  patch_workflow.py performs at apply time (ids, sorting, overlap, frames, source_type
  field matching, <=9 images, continuity enums, one locked audio + one locked video,
  locked-media task coverage, shared_reference rules, resolution tokens, project
  fields) and adds the gates upstream leaves to discipline: outline pins (id/frames/
  modes/image set diffed per fragment AND at the merge), verbatim media contract
  (file_path character-for-character vs media_inventory, closest-match hint on
  rewrite), context prompt rules (self-contained in all modes, keep-then-change
  opener for joins, end-in-motion tail when another join follows), drift all-or-
  nothing + consecutive 10s split unless lengths_user_pinned. Subcommands: outline/
  segment/trackdata/plan/suite; no-outline runs stay schema-only. Embedded suite
  25 cases, prints ~0.7 KB (far under Cline's 8k cap).
- build_track_plan.py: merge re-walks every fragment against the guide, assembles
  TRACK_DATA (task track from fragments; locked master-audio/reference-video tracks
  built from the outline, never retyped), writes plan.json + track_data.json with
  stable UUIDv5 ids; --check mode re-validates.
- examples/: worked 3-segment rooftop example (outline, 3 fragments, plan.json,
  track_data.json) - merge is byte-deterministic and the generated plan dry-run-
  applies to the bundled v1.3.0 blank template with graph_preserved: true.
- SKILL.md: five-move procedure with Cline cap workarounds (never read the 66 KB
  validator, @@CONTINUE@@ split, never read back generated plans), Step 0 media
  paths (upload only on explicit request; never invent a path), approval pause,
  prompt craft rules, delivery through the node pack's own patch_workflow.py
  (dry-run -> --write to a NEW file -> inspect); queueing stays the node pack's
  own flow on explicit user request.
2026-11-01 01:09:26 +00:00

90 lines
2.4 KiB
JSON

{
"title": "sunrise_rooftop_coffee",
"lengths_user_pinned": true,
"editor": {
"format": "MiniMax",
"resolution": {
"resolution": "width x height (megapixels)",
"aspect_ratio": "16:9 (Widescreen)",
"megapixels": 0.8
}
},
"defaults": {
"frame_rate": 24,
"segment_seconds": 10
},
"media_inventory": [
{
"key": "SONG",
"kind": "audio",
"source_type": "input",
"file_path": "codex/rooftop/song.wav",
"file_name": "song.wav"
},
{
"key": "POSE_REF",
"kind": "image",
"source_type": "input",
"file_path": "codex/rooftop/pose_ref.png",
"file_name": "pose_ref.png"
}
],
"tracks": {
"master_audio": {
"key": "SONG",
"lock": true,
"name": "Master Song",
"role": "the user's song drives the whole timeline"
},
"reference_video": null
},
"project": {
"project_save": "override",
"segment_start_number": 1,
"segment_count": -1,
"sampling_plan": "medium",
"sampling_mode": "single"
},
"segments": [
{
"index": 1,
"id": "seg_one_open",
"start_seconds": 0,
"duration_seconds": 10,
"task_mode": "ref",
"continuity_mode": "shot",
"images": [
{ "key": "POSE_REF", "shared_reference": false }
],
"beat": "She pours coffee at the rooftop rail as the sun clears the skyline; ends mid-sip, city brightening.",
"prompt_brief": "Establish rooftop, rail, skyline; pour coffee; end mid-sip with motion alive."
},
{
"index": 2,
"id": "seg_two_sip_wind",
"start_seconds": 10,
"duration_seconds": 10,
"task_mode": "ref",
"continuity_mode": "context",
"images": [
{ "key": "POSE_REF", "shared_reference": false }
],
"beat": "Wind tugs her cardigan mid-sip; she turns her face into the light; ends still turning.",
"prompt_brief": "Keep framing and pose from the delivered tail; wind arrives at 00:02; end turning."
},
{
"index": 3,
"id": "seg_three_city_wakes",
"start_seconds": 20,
"duration_seconds": 10,
"task_mode": "ref",
"continuity_mode": "context",
"images": [
{ "key": "POSE_REF", "shared_reference": false }
],
"beat": "She lowers the cup as windows light up below; ends mid-exhale, steam curling.",
"prompt_brief": "Keep the turn; lower the cup slowly; city windows light up; end mid-exhale."
}
]
}