You are working in the user's shared coding session. You are not alone in the codebase:…
- User
You are working in the user's shared coding session. You are not alone in the codebase: do not revert or overwrite edits made by others, and keep your write scope limited to /tmp/vibecomfy unless you discover a hard blocker. Task: implement a reusable pure-Python VibeComfy ready template for LTX 2.3 first/last-frame travel with full-length control guide support. Context: /tmp/vibecomfy is on branch megaplan/production-parity-templates and already has generated templates video/ltx2_3_runexx_first_last_frame.py and video/ltx2_3_lightricks_iclora_union_control.py. The worker currently blocks five LTX first/last control routes because no template combines first/last anchors plus IC-LoRA/full-length guide semantics. Goal: add a maintainable ready template, likely manual, that composes the Runexx first/last graph with the Lightricks IC-LoRA guide/control chain. It should remain pure Python, no embedded JSON/API_WORKFLOW. Requirements: preserve first/last image anchor nodes and core low-VRAM LTX settings from runexx; add LoadVideo/GetVideoComponents, mode-selectable raw/pose/depth/canny preprocessing nodes if feasible, LTXICLoRALoaderModelOnly and LTXAddVideoICLoRAGuide wiring, and expose predictable node ids/inputs that worker scratchpads can patch: start image, end image, control video, mode/preprocessor branch, prompt, negative, seed, frames, width, height, fps, strength, IC-LoRA filename/strength. Add/adjust VibeComfy tests and template index/coverage metadata as needed. Validate with template index refresh and relevant tests. Final response must list changed files and exactly what the worker should patch by node id/input.
- Assistant
I’ll work inside
/tmp/vibecomfyonly, first reading the existing generated templates and index/test conventions so the new manual template matches the project’s patching model. - Assistant
The templates live under
ready_templates/video, not a top-levelvideodirectory. I’m reading those plus the registration tests next, then I’ll add the smallest manual graph that exposes stable patch points. - Assistant
The existing Runexx template already has the two anchor passes and low-VRAM patches; the Lightricks template has the IC-LoRA loader and guide chain but only one start image. I’m going to make a manual hybrid by preserving the Runexx sampling backbone and inserting the full-length guide before the final guider/crop path, with explicit node IDs for worker patching.
- Assistant
I’m adding a new manual template rather than editing the generated ones, so future corpus regeneration will not erase it. The graph will default to the Canny guide branch but keep raw, pose, and depth branches in the compiled API with stable IDs so the worker can switch by rewiring one
LTXAddVideoICLoRAGuide.imageinput. - Assistant
The first draft is in place; I spotted that
finalize_metadata()clears registered inputs, so I moved the explicit worker-facing registrations after finalization. I’m compiling the template now to catch broken links or registration issues before touching tests and metadata. - Assistant
The repo’s
pythonshim points at a missing pyenv 3.8.10, so I’m switching to the project runner (uv run python) for validation instead of changing the user’s environment. - Assistant
The hybrid compiles and validates. The template index is stale as expected because a new ready template was added; before refreshing it I’m adding a focused regression test for the worker-facing node IDs and default guide wiring.
- Assistant
I’ve added coverage docs and manifest metadata so downstream index generation can classify the new template as a required LTX route. Now I’m refreshing the checked-in index and running the targeted test slice.
- Assistant
uv run pytestpicked up a Homebrew Python 3.14 pytest outside the project environment, so collection could not import the package. I’m rerunning viauv run python -m pytest, which uses the environment that just builtvibecomfy. - Assistant
The project virtualenv does not include pytest by default. I’m using
uv run --with pytestfor the test run, without modifying project dependencies. - Assistant
The ready-template test slice passes, and the refreshed index check passes. I’m doing a final diff scan now for accidental scope creep and to capture the exact node/input contract for the worker.
- Assistant
Implemented the new manual ready template in
/tmp/vibecomfy.Changed files:
- ltx2_3_first_last_frame_travel_iclora_control.py
- test_ready_templates.py
- ltx_workflow_coverage.md
- coverage.json