Commit Graph

14 Commits

Author SHA1 Message Date
Z User
3587e676fa track-gate: plain text IS the deliverable - the skill told the agent to write JSON (goal line said 'PRIMARY deliverable is prompt_override.json'; smoke test, file lists, Step 4 and Step 5A all JSON-centric), so it kept writing the old format; now the paste is plain text end to end: verify_track_rules gains validate_prompt_override_text (mirror of the pack's parse_override_segments: split on |, strip, drop empties, trailing [s-e(,type)] marker lifted, @imageN/@audioN/@videoN refs vs inventory, <Picture N> and stray @ rejected, marker frames/types pinned to the approved rows, markerless form requires equal row lengths, markers all-or-nothing) + build_plain_text_override (fragment text VERBATIM - newlines survive, six-section structure intact - not the JSON's collapsed prompts; bare-| join, byte-identical to the user's proven node186 paste) and the override command takes .txt or .json; build_track_plan writes prompt_override.txt for EVERY zero-media story (markers auto-added for uneven lengths / non-t2v types), media stories keep JSON-only with an explicit note; SKILL.md/README/schema/wiring docs flipped: plain text default, JSON demoted to the <Picture N>/continuity/locks option; suite 46/46; merge output proven byte-identical to prompt_override_r2v_refmod.txt 2026-11-02 22:26:53 +00:00
Z User
bbd46a4764 track-gate: worked r2v+refmod plain-text example - examples/prompt_override_r2v_refmod.txt is the Sam park story as one prompt_override paste: three six-section r2v scene prompts, Sam refmod verbatim in every subject_definitions, pipes between, [0-240,r2v]/[240-480,r2v]/[480-720,r2v] markers at segment ends; proven through parse_override_segments + build_multitrack_data_from_prompt_override: 3 tasks TYPE r2v, frames [0-240]/[240-480]/[480-720], task-duration sum 720 (that sum, not the builder's 721 metadata, drives the MiniMax total), text byte-identical to plan shots, marker stripped clean; schema doc: marker end-placement, newline survival, pointer to the example 2026-11-01 22:32:31 +00:00
Z User
e3e66dd628 track-gate: plain text is the primary prompt_override form (user-verified) - the input splits 'scene1 | scene2 | scene3' on pipes with no JSON: parse_override_segments, even slices of the editor's total_length, trailing | a no-op, TYPE t2v; [s-e,type] and @mediaN are text-path extras, <Picture N> is JSON-only; schema doc now leads with the text form and demotes the JSON to per-segment control; wiring doc 'two forms' section; merge writes prompt_override.txt for zero-media equal-duration stories; suite 34/34 2026-11-01 21:24:22 +00:00
Z User
1473abcbd2 track-gate: prompt_override minimized to the parser's real contract - parse_minimax_prompt_override requires ONLY type+prompts; version is read by nothing (validator no longer demands it); duration/generation_type/continuity_mode/locks emitted only when non-default (code defaults: '10' SECONDS, r2v, shot, 0); proven with the pack's own code: minimal 3-key Sam payload builds byte-identical TRACKS_INFO vs the old 9-key one; schema doc rewritten around the minimal form, no frame fields 2026-11-01 20:52:57 +00:00
Z User
20143da60e track-gate: relay single-pass OOMs at 720 total frames (user-verified) - demote task_index=-1+promptRelay to <=~360-frame timelines; per-clip task_index=0/1/2 with promptRelay kept is the production path (relay-at-index formats the single clip's [s-e] range, verified in basic.py); TYPE line updated for the r2v flip 2026-11-01 20:32:58 +00:00
Z User
9b197ae024 track-gate: RefMod workflows author segments as task_mode ref (generation_type r2v) even with no timeline images - user-verified: refmods pair with reference-mode conditioning; Sam payload flipped default->ref, regenerated, validator green 2026-11-01 05:39:35 +00:00
Z User
b45e6b72e7 track-gate: single-pass timeline render proven - prompt_override needs the type field, task_index=-1 + prompt_format=promptRelay renders all scenes in one pass ([s-e] range relay prompt, 17k+5 snap 720->719); corrects the earlier -1-is-not-a-render-path claim; proven against my timeline ref.json with the repo's own code 2026-11-01 04:35:44 +00:00
Z User
7b6a2da472 track-gate: built-in LLM system prompts are published (BASE/REF guides, selection + delivery rules) 2026-11-01 04:05:09 +00:00
Z User
8a9c79f06e track-gate: workflow wiring reference (single-run loop + LLM slot options) 2026-11-01 03:30:10 +00:00
Z User
eb090f765d easy-media-track-gate: delivery must explain task_index / ForLoop multi-shot
The paste payload builds the full task timeline, but easy multiTrackTaskOutput
emits ONE task segment per pass, selected by its task_index int (default 0 =
first clip only). A single-segment workflow therefore renders only the first
scene no matter how many prompts the override carries. SKILL.md step 5A and the
builder's delivery print now say so, point to the pack's
MinimaxH3_ForLoop_MultiShot.json example (TASK_COUNT -> loop total, loop index
-> task_index, mergeVideosFromPaths after the loop) and offer the manual
task_index 0..N-1 queue fallback.
2026-11-01 03:20:43 +00:00
Z User
5ab7096cfc easy-media-track-gate: allow an empty media_inventory (pure t2v stories)
A story with no pictures/audio/video at all is valid: outline.media_inventory
may now be []. With zero media rows the override builder emits no media tokens
and the track validator enforces that none appear; the runtime parser then
demands no image/audio/video inputs, so nothing needs wiring into the editor.
Example suite regression-checked unchanged.
2026-11-01 02:42:30 +00:00
Z User
fd874adbd3 easy-media-track-gate: idempotent media-token prepending in prompt_override builder
The builder no longer prepends <Picture N>/<Audio N>/<Video N> tokens that the
fragment prompt already carries. The duplicated token still resolved to one
slot at runtime, but the model read it twice. Verified against the real
ComfyUI-Easy-Media utils/prompt_override.py parser: 3-segment payload builds,
image slot demand = {image}, durations 10/10/10.
2026-11-01 02:27:47 +00:00
Z User
8434bb4645 easy-media-track-gate: emit the minimax_prompt_override paste payload
The multitrack editor node consumes its prompt_override input as a
minimax_prompt_override JSON payload (type/version/prompts/duration/
generation_type/continuity_mode/system_prompt/track locks). Any other
JSON pasted there falls back to the '|'-separated text parser and
renders ONE clip over the whole timeline - the reported single-clip
failure - so the paste payload is now the primary deliverable.

- verify_track_rules.py: build_prompt_override() assembles the payload
  from validated fragments (one prompt per row, <Picture N>/<Audio N>/
  <Video N> tokens by inventory position, duration 2-15s, per-segment
  generation/continuity, tail reuse like the runtime); validate_prompt_
  override() checks type, field set, prompt count, duration/mode
  agreement with the outline, exact reference-token sets, pipe-free
  prompts, and track locks; new 'override' sub-command; suite 25->34.
- build_track_plan.py: merge now writes prompt_override.json (one line,
  ASCII) next to plan.json and validates it before reporting.
- references/track-schema.md: full prompt_override section with the
  single-clip fallback warning and slot-position convention.
- SKILL.md: delivery restructured (5A paste default, 5B patch script
  alternative), smoke test extended, read-cap sizes refreshed.
- examples/prompt_override.json: shipped example payload (runtime-checked
  against the cloned node pack parser: 3 task segments, 720 frames).
2026-11-01 02:17:23 +00:00
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