Can you see the plan at ~/.claude/plans/wobbly-petting-neumann.md - can you execute that thoroughly from top to bottom?
Assistant
I’m reading the referenced plan and the current repo state first so I can execute it in order rather than guessing at intended steps.
Assistant
I have the task list and I’m pulling the relevant implementation files now to map the current code against each phase before changing anything.
Assistant
I’ve confirmed the code already has some adjacent support for guidance_scale and num_inference_steps, but travel itself is still WAN-centric. Next I’m reading the travel settings, provider, UI surfaces, and request pipeline together so the changes stay consistent end to end.
User
Are you 100% confident that every piece of it is complete? CHeck thorughly and continue untl completion if not
Assistant
No. I’ve only mapped the plan against the current code so far; implementation is not complete yet. I’m continuing through each phase and I’ll verify against the checklist before I stop.
Assistant
The UI layer is clearly still hardcoded to WAN defaults and WAN LoRA typing. I’m moving into the generation pipeline now so the model selector state lines up with the outbound payload and readback path.
Assistant
I’ve finished the full dependency pass. The remaining work is code changes across settings, provider state, UI surfaces, payload generation, and readback, plus regression checks. I’m checking the current worktree and then I’ll start patching in that order.
User
PLease don't stop untl it's 100% done
Assistant
I’m starting the first edit set now: canonical model settings, provider/model-switch state, and the shared frame utilities. Those are the foundation for the rest of the UI and payload changes.
Assistant
The foundational model-state changes are in. I’m wiring the rest of the UI now: selector propagation, LTX-specific control hiding, and LoRA filtering/clearing so the visible controls match the payload logic.
Assistant
I’ve hit the main request-plumbing gap: batchVideoSteps was already persisted in settings but never actually reached the travel task payload. I’m fixing that now together with selectedModel and guidanceScale, otherwise the LTX UI would be cosmetic only.
Assistant
I found one more non-obvious issue in the task builder: even with LTX selected, the shared payload layer would still inject a fallback WAN steps: 6. I’m removing that so LTX tasks only carry the explicit LTX inference fields.
Assistant
I found a state-clobbering edge case in the step handler: after restoring per-model settings, an older “recommended steps” effect would overwrite them back to defaults. I’m removing that reset path so model-specific step values actually persist.
Assistant
I’ve finished most of the code-path changes. I’m running a strict build pass now to catch the remaining type and test breakages before I move on to the targeted regression suite.
Assistant
The project builds cleanly now. I’m running the targeted travel/LTX regression tests next so I can fix the remaining contract and UI expectation mismatches before I stop.
Assistant
The current targeted suites pass. I’m adding explicit LTX regression assertions now so the new path is covered, not just compiling against the existing WAN-era tests.
Assistant
The targeted travel/LTX regressions are green. I’m running the full test suite once now to catch anything outside the directly touched files before I call this complete.
Assistant
The full suite has pre-existing failures outside this LTX work, but one of them is from my interface change to useGenerationControllerInputModel. I’m fixing that one so the remaining failures are only external to this task.
Assistant
I’m checking the plan file against the current code and test state, then I’ll close any remaining gaps instead of assuming the prior work is complete.
Assistant
The codebase already contains the planned LTX path in most places, but I’m not treating that as proof. I’m now doing a line-by-line checklist comparison and then I’ll rerun the relevant verification rather than relying on previous output.
Assistant
I’ve got enough context to audit this properly. Next I’m verifying the type seams and payload path first, then I’ll hit the UI/persistence/readback seams and patch anything that’s still incomplete.
Assistant
I’m in verification now: typecheck, build, and the LTX-focused test slice first. After that I’m checking the worker branch directly so this doesn’t stop at client-side assumptions.
Assistant
Typecheck is clean so far. I’m waiting on build and the focused test run, then I’ll move straight into the worker-contract audit.
Assistant
The client-side path is green: build passed and the focused LTX regression slice passed. I’m now validating the worker branch directly, because the only remaining way this can still be incomplete is a client/worker contract mismatch.
Assistant
The first worker fetch attempt was blocked because I used a cleanup command the sandbox policy didn’t like. I’m retrying with a fresh temp directory and continuing the audit from there.
Assistant
The worker clone completed. I’m reading the exact branch the plan referenced now, focusing on the model-name configs and the orchestrator/task-registry read paths.
Assistant
I’ve confirmed the worker branch does recognize ltx2_22B and ltx2_22B_distilled, and the read paths match the client keys. I’m doing one last repo-wide test pass now to separate any residual failures in this branch from unrelated existing failures.
Assistant
The only remaining unknown is whether the full suite shows a regression attributable to this work. I’m waiting that out now and will only call this complete once I’ve separated task-related results from baseline repo noise.
Assistant
The implementation itself is holding, but there are a couple of plan seams that still deserve explicit automated coverage: model-switch persistence and the LTX-specific motion-control hiding. I’m adding those tests now so “complete” isn’t resting on manual inference.
Assistant
I’m editing tests only now. The implementation is stable; this pass is about proving the model-switch state restoration and the LTX-specific UI suppression explicitly.
Assistant
The new tests are in. I’m running them with the existing LTX slice now to make sure the added coverage doesn’t just compile, but actually exercises the persistence and UI gating paths correctly.
Assistant
Typecheck still holds after the extra coverage. I’m just waiting on the focused test run to finish so I can close this with the updated verification set.
Assistant
I rechecked it top to bottom. For the LTX travel plan itself, the implementation is complete.
The key pieces are in place in settings.ts, VideoTravelSettingsProvider.tsx, and requestBody.ts. I also added explicit coverage for the last two seams that were only implied before: model-switch persistence in VideoTravelSettingsProvider.test.tsx and LTX UI gating in MotionControl.test.tsx.
Verification is solid:
npx tsc --noEmit passed.
npm run build -- --mode development passed.
The focused LTX/travel regression slice passed: 10 files, 224 tests.
I checked the referenced worker branch directly. The worker accepts ltx2_22B and ltx2_22B_distilled, reads num_inference_steps and guidance_scale from orchestrator details, uses 8N+1 quantization for LTX, resolves model_type='i2v' safely, and still anchors image_end for LTX in task_registry.py, orchestrator.py, segment_processor.py, and ltx2.py.
The only thing that is not globally green is the repo’s pre-existing full-suite state. npm test still ends with 13 failed | 813 passed, with failures unrelated to this plan, for example usePersistentToolState.test.ts, , and an existing expectation mismatch in . That does not indicate an incomplete LTX implementation, but the branch is not fully clean outside this task.
User
› Are you 100% confident that every piece of it is complete? CHeck thorughly and continue untl completion if not. If so, do a thorough sense-check - see if you missed anything, over-engineered anything, broke anything, etc.
Assistant
I’m doing a second-pass review as if this were a PR, not a feature check. I’ll look for mismatches, unnecessary complexity, and regressions in the changed surface, then patch anything real rather than just listing concerns.
Assistant
I found a few consistency nits, but I’m checking whether any of them are actual behavior bugs before I touch code. The main candidate is whether the direct modal path sends LTX-only params when WAN is selected.
Assistant
I found a plausible regression path: the shared generation pipeline may now send num_inference_steps for WAN as well, which would break the “WAN payload unchanged” requirement in some entry points. I’m tracing that before deciding whether it’s just harmless redundancy or a real contract bug.
Assistant
I found one real issue, not just style: WAN requests can currently carry num_inference_steps through the shared request builder, which breaks the intended WAN payload contract. I’m fixing that and cleaning the small type consistency issues around SelectedModel while I’m in there.
Assistant
The first patch partly failed because the import block had already shifted. I’m reopening the affected files and applying the fix surgically instead of assuming the earlier context still matches.
Assistant
I patched the one substantive issue I found: WAN requests no longer inherit LTX-only diffusion fields through the shared request body path. I also normalized a couple of lingering raw SelectedModel unions to the shared type so the model surface is less brittle.
Assistant
Typecheck is still clean after the fix. I’m waiting on the focused suite, which now includes the WAN-payload regression check I just added.
Assistant
I was not 100% confident before this pass. I found one real issue and fixed it.
The issue was in the shared request builder: WAN requests could still carry num_inference_steps and guidance_scale, which violated the intended WAN payload contract. I fixed that in requestBody.ts so those fields are now LTX-only, and added a regression assertion in requestBody.test.ts. I also cleaned up a couple of lingering raw model unions to use SelectedModel in useGenerationController.ts and useShotEditorLayoutModel.ts, and normalized one startsWith('ltx') call to isLtxModel() in generateVideoService.ts.
After that, I re-ran the focused verification:
npx tsc --noEmit passed
the focused travel/LTX suite passed: 11 files, 227 tests
the added persistence/UI-gating tests passed
the worker branch contract still checks out for ltx2_22B and ltx2_22B_distilled
Sense-check result:
Missed: yes, one WAN payload regression; now fixed
Over-engineered: nothing substantial; the per-model substate in the provider is justified and now covered by test
Broke anything: not in the touched LTX/travel surface based on the focused suite
Remaining repo state: full npm test still has unrelated pre-existing failures outside this task
So my answer now is: the plan implementation is complete, and the second-pass review found and closed the one meaningful gap I was able to detect. The only remaining caveat is the same external one: the worker repo still does not appear to have a dedicated travel_orchestrator -> LTX matrix case, even though the runtime contract matches.
User
TypeError: Cannot read properties of undefined (reading 'frameStep')
code
at BatchSettingsForm (http://localhost:2222/src/tools/travel-between-images/components/BatchSettingsForm.tsx?t=1773798455091:42:37)
at renderWithHooks (http://localhost:2222/node_modules/.vite/deps/chunk-UBOHVKIG.js?v=d35af6b6:11089:26)
at updateFunctionComponent (http://localhost:2222/node_modules/.vite/deps/chunk-UBOHVKIG.js?v=d35af6b6:14123:28)
at beginWork (http://localhost:2222/node_modules/.vite/deps/chunk-UBOHVKIG.js?v=d35af6b6:15465:22)
at beginWork$1 (http://localhost:2222/node_modules/.vite/deps/chunk-UBOHVKIG.js?v=d35af6b6:19294:22)
Try Again
Assistant
I’m fixing the runtime guard first. The crash means BatchSettingsForm is still reachable with an undefined or stale selectedModel at runtime, so I’m making that path resilient and then I’ll check the callers for any remaining leak.
Assistant
I found the immediate cause: BatchSettingsForm assumes the prop is always a valid model key, but at runtime it can still be undefined or stale. I’m adding a defensive fallback so the UI can render even if an old settings payload leaks through.
Assistant
I’ve applied the runtime fallback. I’m tightening it slightly so it also behaves safely with malformed values, not just undefined, then I’ll run typecheck and a focused test pass.
Assistant
The guard is in and typecheck passed. I’m waiting on the focused UI tests, then you should be able to reload and retry without hitting that crash path.
Assistant
The crash is fixed in BatchSettingsForm.tsx.
Cause: selectedModel was being used as a direct key into MODEL_DEFAULTS, and at runtime an undefined or stale value could still reach that component. I added a defensive fallback so it now coerces invalid values to 'wan-2.2' before reading frameStep, fps, or LTX defaults.
Verification:
npx tsc --noEmit passed
focused UI tests passed:
BatchModeContent.test.tsx
MotionControl.test.tsx
VideoTravelSettingsProvider.test.tsx
You should be able to refresh and retry now. If another runtime error appears, send the stack and I’ll continue from there.
User
I can't actually select ltx and the distilled vs. full options should be suboptions to the right of the 'amin' ones
Assistant
I’m checking the selector implementation and then I’ll change it so LTX is a main choice with the full/distilled variants as secondary options to its right. If there’s a separate bug preventing the switch, I’ll fix that in the same pass.
Assistant
I’m changing the selector structure itself now. The main-row choice will be WAN 2.2 vs LTX 2.3, and the Full / Distilled variant pills will sit to the right as LTX-only suboptions.
Assistant
I’ve restructured the selector. Next I’m running the focused tests around BatchModeContent so I can catch any prop or rendering fallout before you retry it in the app.
Assistant
Typecheck passed with the selector change. I’m waiting on the focused test run now; if that’s green, the UI should match what you asked for on reload.
Assistant
I changed the selector in BatchModeContent.tsx to match that structure.
It now works like this:
Main pills: WAN 2.2 and LTX 2.3
When LTX is active, secondary pills appear to the right: Full and Distilled
I also kept the runtime guard in BatchSettingsForm.tsx, so stale settings won’t crash the page.
Verification:
npx tsc --noEmit passed
focused tests passed, including updated selector coverage in BatchModeContent.test.tsx
Refresh the page and try again. If LTX still doesn’t switch in the live UI after this, send me exactly what happens on click and I’ll trace the state path next.
User
still not selectable: ter development experience: https://reactjs.org/link/react-devtools
VideoTravelSettingsProvider.tsx:129 Uncaught TypeError: Cannot read properties of undefined (reading 'guidanceScale')
at Object.setSelectedModel (VideoTravelSettingsProvider.tsx:129:73)
at handlePrimaryModelChange (BatchModeContent.tsx:88:19)
at onClick (BatchModeContent.tsx:114:32)
at HTMLUnknownElement.callCallback2 (chunk-UBOHVKIG.js?v=d35af6b6:3215:22)
at Object.invokeGuardedCallbackDev (chunk-UBOHVKIG.js?v=d35af6b6:3240:24)
at invokeGuardedCallback (chunk-UBOHVKIG.js?v=d35af6b6:3274:39)
at invokeGuardedCallbackAndCatchFirstError (chunk-UBOHVKIG.js?v=d35af6b6:3277:33)
at executeDispatch (chunk-UBOHVKIG.js?v=d35af6b6:6555:11)
at processDispatchQueueItemsInOrder (chunk-UBOHVKIG.js?v=d35af6b6:6575:15)
at processDispatchQueue (chunk-UBOHVKIG.js?v=d35af6b6:6584:13)Understand this error
chunk-UBOHVKIG.js?v=d35af6b6:3291 Uncaught TypeError: Cannot read properties of undefined (reading 'guidanceScale')
at Object.setSelectedModel (VideoTravelSettingsProvider.tsx:129:73)
at handlePrimaryModelChange (BatchModeContent.tsx:88:19)
at onClick (BatchModeContent.tsx:114:32)
at HTMLUnknownElement.callCallback2 (chunk-UBOHVKIG.js?v=d35af6b6:3215:22)
at Object.invokeGuardedCallbackDev (chunk-UBOHVKIG.js?v=d35af6b6:3240:24)
at invokeGuardedCallback (chunk-UBOHVKIG.js?v=d35af6b6:3274:39)
at invokeGuardedCallbackAndCatchFirstError (chunk-UBOHVKIG.js?v=d35af6b6:3277:33)
at executeDispatch (chunk-UBOHVKIG.js?v=d35af6b6:6555:11)
at processDispatchQueueItemsInOrder (chunk-UBOHVKIG.js?v=d35af6b6:6575:15)
at processDispatchQueue (chunk-UBOHVKIG.js?v=d35af6b6:6584:13)Understand this error
[Violation] Forced
Assistant
The new stack makes the failure clear: the provider is still assuming the current persisted model key is valid. I’m fixing that at the source so stale values like old WAN entries can’t break model switching anymore.
Assistant
The stale-model path is broader than the click handler. A persisted truthy invalid value like 'wan-2.1' bypasses || 'wan-2.2' everywhere, so I’m adding a canonical coercion helper and using it anywhere we read selectedModel from settings.
User
is this split between LTX + Wan + potentially ohter models elegantly engineered?
⎿ API Error: 529 {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"},"request_id":"req_011CZAZLGoMqztWRyUuGTzjz"}
✻ Cooked for 3m 44s
❯ TypeError: loraType.toLowerCase is not a function
code
at getFilterCategory (http://localhost:2222/src/domains/lora/components/LoraSelectorModal/utils/filter-utils.ts?t=1773797740160:4:28)
at http://localhost:2222/src/domains/lora/components/LoraSelectorModal/hooks/useLoraFilters.ts?t=1773797740160:7:72
at mountState (http://localhost:2222/node_modules/.vite/deps/chunk-UBOHVKIG.js?v=d35af6b6:11546:28)
at Object.useState (http://localhost:2222/node_modules/.vite/deps/chunk-UBOHVKIG.js?v=d35af6b6:12086:24)
at useState (http://localhost:2222/node_modules/.vite/deps/chunk-CMM6OKGN.js?v=d35af6b6:1066:29) And um can you look into the actual details of how it actually um
how the ltx whatever you call it work the laura or sorry the structure types you know what the union control or how that actually works and try to understand is
anything that we're missing in it? We have no setings for it rght now?
❯ And the duration per pair now is fixed at 97 frames. Can you try to look up and try to understand if that actually makes sense?
⎿ API Error: 529 {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"},"request_id":"req_011CZAZdkmLNccbShXVUyoAe"}
✻ Crunched for 3m 58s
❯ What?
Assistant
I’m fixing the two runtime failures first: stale selectedModel handling and the loraType.toLowerCase crash. In parallel I’m rechecking the worker-side LTX structure-guidance path and the 97-frame default so I can answer the design question against the actual implementation, not guesses.
Assistant
I’m checking two things in parallel: the LTX/WAN model split itself, and the concrete runtime issues around model selection and LoRA filtering. I’m using the desloppify skill for the architecture sense-check, then I’ll patch the crashes and verify the LTX settings path end to end.
Assistant
I’ve got the first concrete problem: the LoRA filter crash is a real type mismatch, not just a bad value. I’m tracing the model-selection path now and then I’ll patch both the selection coercion and the LoRA filter API so stale state can’t take the UI down.
Assistant
I’ve confirmed the LoRA crash source and there’s a second structural issue: model reads are still inconsistent across the travel UI, so an invalid persisted model can survive long enough to break selection. I’m consolidating that through a single coercion helper before editing.
Assistant
I’ve narrowed the bugs to two seams: invalid selected-model values leaking through persistence, and a LoRA hook being called with the wrong shape entirely. I’m editing those now, then I’ll run a targeted health scan over the travel tool to judge whether the family/variant split is actually clean or just barely working.
Assistant
I found a deeper problem in the LoRA modal than the stack trace suggested: one hook currently serves modal-state concerns, but CommunityLorasTab is treating it like a full search/filter/pagination engine. That’s not elegant and it’s why the types are incoherent. I’m fixing the immediate mismatch first, then I’ll decide whether the right follow-up is extraction or simplification.
Assistant
I’m editing now. The travel fix is a single-source-of-truth coercion for selected models; the LoRA fix is to stop treating one modal-state hook as two different abstractions and make CommunityLorasTab own its actual search/filter/sort/pagination logic.
Assistant
The first edit pass hit a context mismatch in one controller file, so I’m splitting the patch into smaller verified chunks rather than forcing it. The underlying plan is unchanged: one canonical selected-model coercion path, plus a proper fix for the LoRA modal data flow.
Assistant
The core edits are in. I’m on verification now, and I’m expecting at least one type-check pass to flush out any stale assumptions from the LoRA modal, because that area was more broken than the original stack trace suggested.
Assistant
Type-check is clean after the refactor, which is the main signal I wanted before running focused tests. I’m exercising the model-switch path and the filter-utils path next; if those pass, I’ll do one last sense-check against the worker contract and the 97-frame default.
Assistant
The code itself is type-clean; the focused Vitest invocation hit the repo’s existing alias/config issue rather than a failing assertion. I’m switching to the project’s own test runner entry so I can still verify the touched paths instead of trusting a bare vitest run call.
Assistant
The focused test slice is green now under the repo’s actual Vitest config. I’m doing one last pass on build viability and collecting exact references for the architecture verdict, the structure-guidance gap analysis, and whether 97 frames is actually sensible for LTX.
Assistant
I found one purely readability issue from the manual patch split: the modal’s MotionControl block has ugly indentation even though it compiles. I’m cleaning that up so the final state isn’t functionally correct but sloppy to maintain.
Assistant
Findings
The split was not fully elegant. A stale or invalid selectedModel could still leak through runtime state and crash model switching. I fixed that by adding a single coercion path in settings.ts and using it across the travel UI and request builder, including VideoTravelSettingsProvider.tsx and requestBody.ts.
The LoRA modal had a real architectural break: CommunityLorasTab.tsx was treating a modal-state hook like a full filtering engine, which is what led to the loraType.toLowerCase crash. I moved the actual search/filter/sort/pagination logic into the tab and hardened filter-utils.ts so non-string values are harmless. I also added the missing LTX filter option.
The current model split is now acceptable, but still not the cleanest possible abstraction. It is a flat string union with family behavior inferred by naming (isLtxModel) rather than a richer capability registry. That is fine for WAN 2.2, LTX 2.3, and LTX 2.3 Fast, but if you add more families it will start to creak.
Architecture Verdict
After the fixes, the LTX/WAN split is coherent enough for current scope. The defaults and per-model persisted substate now live in one place in settings.ts, and switching variants preserves the right fields in VideoTravelSettingsProvider.tsx.
I do not think you are missing any mandatory LTX settings right now. The worker’s structure-guidance contract is already canonical and model-agnostic: target, preprocessing, strength, plus optional Uni3C fields like and in . LTX prompt-type resolution also happens server-side in . So the frontend is not missing required LTX-only controls; it is only omitting optional advanced structure-guidance knobs.
User
Now can you look into the underlying worker? It's on this branch that i'm going to share and basically I want to understand like a few things about it so first of all is the duration per pair definitely fixed at 97 frames? That's one thing and then the second thing is currently we have no settings for the ic loras you know so we don't know describe whether we're using canny or whatever you know and can you try to understand why this is and what's going on? https://github.com/banodoco/Reigh-Worker/tree/feat/worker-matrix-hardening
Assistant
I’m checking the worker branch directly now. I’m going to verify two things from code rather than guess: whether LTX travel duration is actually fixed at 97 or just defaulted/quantized to it, and how structure guidance for LTX is chosen when the UI doesn’t expose canny/depth/Uni3C controls.
Assistant
I’ve confirmed the branch exists on GitHub and I’m reading the actual worker code, not cached assumptions. I’m tracing the LTX travel path further now to see exactly where frame counts are quantized and where structure guidance defaults get chosen when the client doesn’t send explicit canny/depth/Uni3C settings.
Assistant
I’ve confirmed the local worker clone is on the exact branch you linked: feat/worker-matrix-hardening at commit 9c0ef8a. The next step is the important one: how LTX actually chooses raw/canny/depth behavior and whether those IC-LoRAs are auto-loaded under the hood rather than being explicit client settings.
Assistant
I’ve got the key distinction now: 97 is definitely the default, but I haven’t seen evidence yet that it is hard-fixed in the travel worker path. I’m checking the remaining frame-validation/quantization seams so I can answer that precisely instead of hand-waving.
Assistant
I’ve got the high-level answer on IC-LoRAs: they are not treated like ordinary user LoRAs in this worker. The worker auto-selects them from control mode and model metadata. I’m checking one remaining detail: in the travel path, what exact control mode gets inferred when the client does not explicitly send raw vs canny vs depth vs uni3c.
Assistant
I’m checking the worker branch directly and tracing the travel payload path end to end. I’ve already confirmed 97 is a default rather than an obvious hard lock; now I’m verifying exactly how structure-guidance and IC-LoRA selection are resolved so I can tell you what’s implicit versus actually missing.
Assistant
I’ve confirmed the frame-count path in the worker: the orchestrator rewrites each segment length to the model’s valid step size before generation, so 97 is a default and not a universal hard cap. I’m now checking exactly how LTX control mode maps to pose/depth/canny so I can tell you whether the missing frontend knobs are an actual gap or just hidden worker behavior.
Assistant
I’ve pinned down the IC-LoRA side: the worker is not expecting users to pick those files directly. For LTX distilled control modes, it auto-injects the pose/depth/canny control LoRA based on the prompt/control mode, which means the real product question is whether the frontend exposes the right control-mode selector rather than a literal “choose IC-LoRA” setting.
Assistant
There’s one subtle worker behavior I’m checking carefully because it matters for your “why no canny setting?” question: LTX travel only actually becomes pose/depth/canny-controlled if the segment ends up with the right video_prompt_type. The worker clearly knows how to auto-load the IC-LoRA, but I’m verifying whether travel currently derives that mode from structure_guidance or whether it needs an explicit override path.
Assistant
I found the main architectural wrinkle. The worker has a clean internal abstraction for structure guidance, but LTX control-mode selection is still a separate concern encoded as video_prompt_type letters like PVG, DVG, EVG, or VG. I haven’t found a path in travel orchestration that derives those letters from structure_guidance.preprocessing, which is why the worker can know about canny/depth IC-LoRAs and still leave the travel UI with nothing explicit to configure.
Assistant
I’ve got enough to answer the high-level picture cleanly. The worker does support LTX control-video modes, but it treats them as distilled-model prompt modes (PVG/DVG/EVG/VG) with automatic IC-LoRA injection, not as user-managed LoRA settings. The gap is that travel orchestration on this branch does not appear to convert structure_guidance.preprocessing into those LTX control modes, so the capability exists in the engine but is not fully surfaced or wired through the travel path.
No, pair duration is not definitely fixed at 97 frames.
In travel orchestration, each requested segment length is quantized to the model’s valid step*N+1 size, then passed through as that segment’s video_length in orchestrator.py, orchestrator.py, and task_registry.py.
For LTX-2, the valid rule is 8N+1, with minimum 17, in ltx2_handler.py.
97 is just a common fallback/default in the generic WGP UI for non-WAN models in wgp.py, and both LTX defaults JSONs on this branch actually use 241 in ltx2_22B.json and ltx2_22B_distilled.json.
So the accurate answer is: 97 makes sense as a default because it is valid 8N+1, but it is not hard-fixed by the worker.
IC-LoRAs
The worker does not treat pose/depth/canny IC-LoRAs as user-managed LoRAs. It auto-selects them from the LTX control mode.
For distilled LTX, video_prompt_type letters drive control selection: P=pose, D=depth, E=canny, and the worker auto-loads the union-control IC-LoRA at fixed multiplier 1.0 in ltx2.py.
That is why there are no separate “IC-LoRA settings” in the worker itself: the intended knob is control mode, not picking LoRA files.
User
Can you share a plan for what you think we need from a worker side please?
Assistant
Yes. From the worker side, I think the plan should be:
Define an explicit LTX control-mode contract.
Right now travel has generic structure_guidance, but LTX control actually runs off video_prompt_type letters. Add one canonical field the worker understands for LTX travel, ideally inside structure_guidance, such as control_mode: 'pose' | 'depth' | 'canny' | 'raw' | 'uni3c' | 'none'. The parsing entry points are structure_guidance.py and segment_processor.py.
Add a model capability matrix and validate against it.
The worker should stop guessing. It should explicitly say:
ltx2_22B: supports plain i2v and probably uni3c, but not IC-LoRA control-video modes
WAN/VACE models keep their current structure-guidance behavior
This validation belongs near ltx2_handler.py and the travel segment build path in task_registry.py.
Make travel derive video_prompt_type from that contract.
In segment_processor.py, replace the current implicit LTX path with deterministic mapping:
pose -> PVG
depth -> DVG
canny -> EVG
raw -> VG
uni3c -> no V-based LTX control mode; let Uni3C injection handle guidance
none -> S
That is the missing bridge today.
Reject unsupported or ambiguous combinations instead of silently falling back.
Examples:
LTX + flow should error, not quietly behave like start-image mode
User
Can you like research this a little bit more and just try to understand how this works in particular with the one version because we obviously have all this stuff done for one can you include in the plan how this should actually interface with the one stuff ideally will just be like a clean split
Assistant
I’m tracing the WAN side now so the plan can define a clean family split instead of bolting LTX behavior onto the existing generic structure-guidance path. I’ll compare the worker’s WAN control contract against LTX’s prompt-mode contract, then turn that into a concrete interface plan rather than a vague “support both.”
Assistant
The WAN side is much more “control-net first”: VACE models expose a broad guide_preprocessing matrix directly, whereas LTX distilled uses a much smaller model-specific prompt-mode vocabulary. That reinforces the right split: keep WAN on generic structure-guidance/VACE semantics, and add a separate LTX control-mode contract instead of trying to force both through one enum.
Assistant
That’s the right product shape. I’ll plan the worker so the UI only surfaces valid controls per model, and the worker still hard-validates invalid payloads as a safety net rather than trying to be clever.
Assistant
I have the split shape now; I’m checking one last implementation detail before I freeze the plan: whether the worker already has a pose-preprocessing path for travel guide videos, or whether pose would require a separate extraction path from the existing flow/canny/depth/raw structure pipeline. That distinction changes whether “pose” is just new plumbing or a new media-preprocessing feature.
Assistant
The pose detail matters more than I expected: the shared travel structure pipeline only preprocesses flow, canny, depth, and raw. There is no travel-side pose preprocessor in source/media/structure, which means pose can’t be treated as “just another structure type” in the existing path. I’m checking whether LTX’s P mode expects raw video plus internal pose extraction, because that changes the worker split substantially.
User
And will we need to make any changes on the client-side here?
Assistant
Yes. If the worker takes the clean split above, the client needs corresponding API and UI changes. Not a huge rewrite, but definitely not zero.
The main client change is to stop modeling travel guidance as one generic structureType enum for every model. Right now the client still assumes a shared shape around structure_guidance and structureType in places like structureGuidance.ts, primaryStructureVideo.ts, and mediaHandlers.ts. That works for WAN-style guidance, but it does not cleanly represent LTX control modes.
What the client should change:
Replace the current shared travel guidance model with the same discriminated split as the worker, for example travelGuidance.kind = 'none' | 'wan_structure' | 'ltx_control' | 'uni3c'.
Gate available options by selected model:
WAN: none, WAN structure modes, uni3c
LTX distilled: none, LTX control modes, uni3c
LTX full: none, uni3c
Remove the assumption that flow/canny/depth are universally valid structure modes.
Add LTX-only UI options for pose, depth, canny, raw.
Keep WAN’s existing structure-video controls on their own branch.
Update payload builders so travel requests send travel_guidance, not the current generic structure_guidance, in payloadBuilder.ts and the segment payload path in segmentTaskPayload.ts.
One subtle client-side point: the current batch guidance UI already hides too much and still carries a generic structureType value through the editor, for example BatchGuidanceVideo.tsx and BatchModeContent.tsx. That will need to become model-aware rather than just hiding the settings.
So the short answer is: yes, client work is required. The worker split is only clean if the client mirrors it with a family-aware travelGuidance model and only exposes valid options per model.
User
I'm implementing this plan on another thread, can you make a plan for what us? but first, answer these questions: 1. Scope boundary unclear. StructureGuidanceConfig is used by both travel (orchestrator.py,
guide_builder.py) AND non-travel tasks (task_registry.py:_process_structure_guidance()). Does
travel_guidance only replace the travel API surface, with StructureGuidanceConfig still living
underneath? Or are you replacing the internal config class too? The plan reads as travel-API-only,
which would mean StructureGuidanceConfig survives as the internal representation — that's probably
right, but worth being explicit.
2. Breaking change with no compat layer. "Do not keep structure_guidance as a supported travel API
shape" — who are the callers? If this is your own frontend only, fine. If there are external
consumers or the Supabase queue has in-flight tasks using the old shape, you need a migration story.
3. wan_structure vs vace naming. The codebase consistently calls this target "vace" (the target field
in StructureGuidanceConfig, is_vace property, etc.). Renaming to wan_structure at the API level
while the internals say "vace" could be confusing. Consider whether this is genuinely a "WAN
structure" concept or a "VACE preprocessing" concept — they're the same today but might not be if
non-VACE WAN models get structure guidance.
4. What happens to StructureGuidanceConfig? The plan says "Create a new family-aware travel guidance
parser/config" living "around structure_guidance.py." Is this a new class that wraps/replaces
StructureGuidanceConfig, or a layer on top that delegates to it? The current class has significant
logic (multi-source compositing, timeline calculation, legacy compat) that you don't want to rewrite.
5. ltx_control.mode: 'raw' maps to VG, but VG is also the current default for LTX guide video. In
segment_processor.py:145, LTX-2 defaults to "VG" when a guide is present regardless of mode. Is raw
actually a distinct mode, or is it "no preprocessing, just use VG"? If the latter, maybe omit raw and
make VG the default when no specific mode is requested.
6. 97-frame default. The plan mentions "segment frame requests preserve arbitrary valid lengths after
model quantization instead of defaulting to 97." I didn't find 97 hardcoded as a default —
_quantize_frames() in orchestrator.py:45-66 quantizes to step*N + 1. Is 97 coming from somewhere
specific, or is this aspirational?
7. Missing: Uni3C fields on wan_structure / ltx_control. The plan shows Uni3C has step_window,
frame_policy, zero_empty_frames, keep_on_gpu — but these are currently configurable via
_apply_uni3c_config. Are these fields only on the uni3c kind, or could they also appear on
wan_structure/ltx_control? The current code treats Uni3C as a separate target, so uni3c-only is
correct, just confirming.
Assistant
travel_guidance should replace only the travel API surface, not the shared internal config immediately.
StructureGuidanceConfig should survive underneath for the WAN/VACE and Uni3C branches. That is the safer boundary. Travel needs a new top-level family-aware contract, but the existing internal class still has real value for multi-source videos, compositing, timeline offsets, and Uni3C/VACE parameter normalization in structure_guidance.py. So the intended split should be:
external travel API: new travel_guidance
internal WAN/Uni3C normalization: still StructureGuidanceConfig
internal LTX control branch: separate path, because pose does not fit that class cleanly
The breaking-change point is valid.
If there are any in-flight queued tasks or any non-frontend callers, removing structure_guidance outright is too aggressive. My recommendation is:
accept both travel_guidance and legacy structure_guidance in the worker for one transition window
normalize legacy travel payloads into the new internal travel-guidance model
make the frontend emit only travel_guidance
So I would revise the plan: new shape becomes canonical immediately, but the worker should carry a short-lived compat parser until old tasks are drained.
wan_structure is probably the wrong name.
You’re right that the internals are really about VACE-style preprocessing, not “WAN” generically. Since non-VACE WAN models may diverge later, I would rename that branch to vace or vace_structure, not wan_structure. My preferred shape is:
none
vace
ltx_control
uni3c
That matches the codebase better and avoids pretending every WAN-family model shares the same guidance semantics.
StructureGuidanceConfig should be delegated to, not replaced.
I would not rewrite it. The cleaner design is:
add a new TravelGuidanceConfig or equivalent travel-only parser at the API boundary
if kind === 'vace' or kind === 'uni3c', convert into StructureGuidanceConfig
if kind === 'ltx_control', bypass and go down an LTX-specific control-video path
So this is a wrapper/dispatcher layer, not a replacement.
User
yes, please, 1. that's okay 2. no need for compatibility 3.
Assistant
I can draft the client plan now, but your last message cuts off at 3. and that choice affects naming across the UI and payload layer. I already have the implementation shape; I just need to lock the public label for the WAN/VACE branch before I freeze it.
User
No, you have to complete that plan first based on this feedback?
User
These may be bullshit, consider them: Issues to address
treatment is per-video, not per-kind
Currently treatment lives on each StructureVideoEntry, not at the config level. Your plan puts it at
the top level of each kind shape. If a travel job composites multiple source videos with different
treatments (e.g., one adjusted, one clipped), per-kind treatment would lose that. Either keep it
per-video inside the videos array, or explicitly note this is an intentional simplification and why.
mode on ltx_control — what does raw mean without VACE preprocessing?
For vace, raw = no preprocessing (skip flow/canny/depth). For ltx_control, raw maps to VG which is
LTX's native video guide format. These are semantically different things wearing the same name. The
plan acknowledges this ("raw maps to VG, so intent is visible") but consider whether video_guide or
just none would be clearer than overloading raw across two different guidance systems.
Full LTX + uni3c — does this actually work today?
The plan allows uni3c on full (non-distilled) LTX. Uni3C injects controlnet params into
generation_params, but full LTX uses a different pipeline than distilled. Has this combination been
tested? If not, should it be none-only for full LTX until validated?
What about ltx_control + uni3c combined?
The current architecture allows Uni3C alongside VACE (uni3c target skips V component but can still
have M). With travel_guidance being a single kind, you can't combine ltx_control + uni3c. Is that
intentional? If someone wants LTX control (e.g., pose) plus Uni3C motion guidance simultaneously,
this API shape prevents it.
Missing fields on uni3c kind: mode/preprocessing
Currently Uni3C guide videos still go through structure preprocessing (the structure_type param). The
plan's uni3c shape has no mode field. What preprocessing does the guide video get? Is it always
raw/none for Uni3C?
Legacy format removal scope
The plan says "no compatibility layer" — but StructureGuidanceConfig.from_params() currently handles
20+ legacy parameter names. Are you removing legacy support from from_params() entirely, or only
removing it at the travel payload boundary? The latter is safer (parse travel_guidance → build
StructureGuidanceConfig, but keep from_params() for non-travel callers).
videos required vs optional
For kind: 'none', no videos needed. But for vace/ltx_control/uni3c, videos are required — should the
schema enforce this (separate shapes per kind) or validate at runtime? The test plan covers "guidance
kind requiring videos but receiving none is a hard error" which is good, just confirming this is
runtime validation.
Assistant
Most of those are not bullshit. A few are real corrections, and they improve the plan.
What I’d change
treatment should stay per-video.
The current system already models it per entry via StructureVideoEntry, so moving it to kind-level would be a regression for multi-source guidance. The plan should keep treatment on each videos[] item, not on vace / ltx_control / uni3c.
raw on ltx_control is ambiguous naming.
You’re right that vace.raw and ltx_control.raw mean different things. I would rename the LTX mode to video instead of raw.
So:
vace.mode: flow | canny | depth | raw
ltx_control.mode: pose | depth | canny | video
with video -> VG
full LTX + Uni3C should be treated conservatively.
I do not have enough evidence that full ltx2_22B + Uni3C is truly supported in this travel path. The safer decision-complete plan is:
ltx2_22B_distilled: none | ltx_control | uni3c
full ltx2_22B: none only
If full LTX + Uni3C is later validated, it can be added deliberately.
ltx_control + uni3c should not be combinable in v1.
The single-kind shape should make that impossible on purpose. Combining them would create a second axis of guidance composition and reopen ambiguity around prompt type, guide ownership, and double-feeding. For this plan, guidance is mutually exclusive:
exactly one of none | vace | ltx_control | uni3c
uni3c should imply raw guide video, with no preprocessing field.
Yes, Uni3C should always use raw guide frames in this new split. It should not carry a separate mode/preprocessing field. That is actually part of the cleanup: Uni3C stops pretending to share the VACE preprocessing model.
legacy removal should be only at the travel boundary.
Agreed. Do not rip legacy support out of StructureGuidanceConfig.from_params() globally. The removal is:
travel API no longer accepts legacy structure_guidance
internal/non-travel callers can keep using StructureGuidanceConfig.from_params() and its legacy support
That is much safer.
videos should be required by schema shape, then validated at runtime too.
So for vace, ltx_control, and uni3c, videos is required in the contract. The worker should still runtime-validate non-empty arrays and usable paths.
Here’s the corrected replacement plan:
User
More likely bullshit: 2. Uni3C using StructureGuidanceConfig but being "its own branch"
The plan says Uni3C is "not a subtype of VACE" but still gets parsed into StructureGuidanceConfig.
That's fine mechanically, but the name StructureGuidanceConfig then becomes a misnomer — it's really
"VACE-or-Uni3C guidance config." Consider whether the dispatcher should produce a VaceGuidanceConfig
and Uni3cGuidanceConfig separately, or at minimum rename. Not blocking, but the "own branch" framing
in the plan is aspirational rather than structural if both still share a class.
ltx_control.video — what does it actually do?
The plan maps video → VG. But VG in current LTX means "use the guide video as-is for video-guided
generation." Is this distinct from what you'd get with no preprocessing on VACE? If the user sends a
raw reference video with kind: vace, mode: raw vs kind: ltx_control, mode: video — what's the
conceptual difference? Worth clarifying in the contract docs so users don't pick the wrong one.
strength on VACE vs Uni3C — different semantics, same field name
VACE strength maps to motion_strength. Uni3C strength maps to uni3c_weight. These have different
ranges and meanings. The plan puts strength on both shapes, which is fine for the wire format, but
worth calling out that validation ranges should differ per kind.
Missing: what happens to structure_guidance on OrchestratorDetails?
The plan adds travel_guidance but doesn't say what happens to the existing structure_guidance /
structure_videos / structure_type fields on the orchestrator payload. Are they removed for travel?
Left as dead weight? Actively conflicting if both present? Needs a clear statement.
Missing: segment-level override
Current design has segment-level structure config overrides (frame offsets, extracted guidance
video). The plan shows travel_guidance on "orchestrator and segment payloads" but doesn't detail the
segment-level shape. Does each segment get a full travel_guidance copy with resolved
_guidance_video_url and _frame_offset, or does the segment just inherit orchestrator-level and
compute locally? This is where the current code is most complex (stitched vs guidance timeline
offsets), and the plan is silent on it.
step_window / frame_policy / zero_empty_frames / keep_on_gpu on Uni3C
These are implementation details of Uni3C's inference behavior, not guidance input config. Putting
them in the travel API payload means the caller (likely the dashboard/frontend) needs to know about
Uni3C internals. Consider whether these should be worker-side defaults with optional overrides rather
than required contract fields.
Minor Nits
Assistant
Most of these are good catches. The important ones are OrchestratorDetails cleanup, segment-level shape, and Uni3C API surface. I’d revise the plan accordingly.
Shared StructureGuidanceConfig for Uni3C is acceptable in v1.
I agree the name becomes slightly misleading, but I would not split or rename that class in the same change. It is already the internal holder for both VACE and Uni3C semantics. The cleaner move is:
keep StructureGuidanceConfig internal as-is
make travel_guidance the external truth
let the dispatcher convert travel_guidance.kind === 'vace' | 'uni3c' into StructureGuidanceConfig
So “own branch” should mean API and control-flow branch, not necessarily a separate class.
ltx_control.video does need explicit contract docs.
Yes. The conceptual difference is:
vace.raw: use the VACE/WAN structure-guidance path with no preprocessing
ltx_control.video: use LTX’s native video-guide path (VG)
Same source material, different downstream engine and prompt semantics. That should be documented in the contract and surfaced in model-gated UI labels, otherwise users will pick the wrong branch.
strength should validate differently per kind.
Agreed. Keep the wire name if desired, but validation and help text should be per-branch:
vace.strength: VACE motion-strength semantics
uni3c.strength: Uni3C weight semantics
They should not share the same validation assumptions.
Old travel fields should be removed from travel orchestrator_details.
This is important. For travel payloads, once travel_guidance exists:
do not emit structure_guidance, structure_videos, structure_type, structure_video_path, or related legacy travel guidance fields
treat travel_guidance as the single source of truth
if both old and new fields are somehow present inside travel code, fail fast rather than merge
That avoids silent precedence bugs.
Segment-level shape needs to be explicit.
Yes. Each segment payload should receive a resolved travel_guidance object, not just inherit the orchestrator version blindly.
The segment shape should be:
same kind
User
LTX prompt modes are net-new
The current codebase only has "S" and "VG" for LTX video_prompt_type. PVG, DVG, EVG don't exist yet.
The plan reads like a refactor, but this part is new feature work — worth calling out explicitly
since it means touching the generation pipeline, not just the contract layer. Are these modes
actually supported by LTX today, or is this aspirational? 3. from_params() dual-path gets a third path
Currently StructureGuidanceConfig.from_params() tries _from_new_format() then _from_legacy_format().
The plan adds travel_guidance as a separate field from structure_guidance. So parsing needs to:
Check travel_guidance (new contract) → convert to internal config
Error if travel_guidance + any of the above coexist
Make sure the plan is explicit about where this parsing lives — does
StructureGuidanceConfig.from_params() grow a third path, or does a new
TravelGuidanceConfig.from_payload() handle the travel_guidance → StructureGuidanceConfig conversion
upstream?
ltx_control bypassing StructureGuidanceConfig
The plan says ltx_control "does not go through StructureGuidanceConfig" — but it still needs video
trimming, compositing, frame offset computation, and per-video treatment handling. That's a lot of
the machinery that currently lives in/around StructureGuidanceConfig and TravelSegmentProcessor.
Where does ltx_control's video prep live? In a parallel path in the segment processor? Worth
sketching the code path.
Uni3C + V-prompt exclusion test
"Uni3C guide path does not also activate V-based prompt control" — this is already handled in
create_video_prompt_type() (segment_processor.py line 108+: if uni3c, skip 'V'). The test is good to
have but this isn't a new behavior to implement, just to preserve.
Test plan gaps
No test for kind: 'none' explicitly
No test for orchestrator → segment payload resolution (the plan describes this flow but only tests
the segment side)
No negative test for uni3c on full LTX (only "full LTX + uni3c rejected" — but the validation
section says full LTX allows none only, so vace should also be rejected)
No test for single-video vs multi-video compositing differences
Minor contract questions
strength appears on both vace and uni3c with different semantics (VACE motion strength vs Uni3C
weight). The plan says "validate independently with branch-specific ranges/defaults" — consider
whether the field name should differ to prevent confusion, or if unified naming is intentional.
Assistant
Most of that is valid. The biggest corrections are: LTX control prompt modes are net-new worker feature work, parsing should stay out of StructureGuidanceConfig.from_params(), and the LTX execution path needs a clearer code path.
Here’s how I’d resolve each point:
PVG / DVG / EVG are new travel feature work.
Correct. The worker currently only emits S and VG in the LTX travel path in segment_processor.py. The plan should explicitly say this is not just a contract refactor; it adds new LTX travel prompt-mode generation. The reason it is still grounded is that the underlying LTX/WGP stack already advertises those modes in ltx2_handler.py and already maps P/D/E to control LoRA behavior in ltx2.py. What is missing today is the travel-layer bridge.
StructureGuidanceConfig.from_params() should not grow a third travel path.
I would keep travel parsing separate. The cleaner structure is:
TravelGuidanceConfig.from_payload(...) or equivalent new dispatcher for travel only
that dispatcher converts kind: 'vace' | 'uni3c' into StructureGuidanceConfig
StructureGuidanceConfig.from_params() remains for existing non-travel structure_guidance and legacy scattered fields
That avoids turning one already-overloaded parser into an even more overloaded one.
ltx_control needs an explicit parallel prep path.
Agreed. The plan should say where it lives:
orchestrator still owns multi-video composition, per-video treatment, stitched/guidance offsets, and segment slicing
for ltx_control, it uses the existing video loading/compositing primitives but skips structure preprocessing
the result is a raw resolved guide video per segment plus resolved frame offset metadata
segment processor then maps ltx_control.mode to PVG/DVG/EVG/VG
So this is a parallel branch in travel orchestration/segment prep, not an extension of StructureGuidanceConfig.
Uni3C -exclusion is preservation, not new behavior.
Yes. That item belongs in the test plan as regression coverage, not in the implementation plan as net-new logic.
User
can you move onto creating the client-side plan? Drop that plan entirely, executing it elsewhere, but how do we make sure eerything continues to work smoothly
Assistant
I’m switching to the client side only and treating the worker plan as fixed elsewhere. The goal here is to keep the dashboard stable while the payload model changes under it, so I’m focusing on type boundaries, UI gating, payload composition, and regression coverage rather than mirroring worker internals blindly.
User
can you sense-check this vs. ~/.claude/plans/immutable-honking-ladybug.md?
Assistant
I’m comparing the client plan against the existing ladybug plan now. I’ll check for scope mismatches, missing migration details, and any places where the two plans would fight each other rather than compose cleanly.
Assistant
Broadly, the client plan is compatible with immutable-honking-ladybug.md, but there are a few places I would tighten so the two plans don’t drift.
Main alignment:
Both use travel_guidance as the canonical travel contract.
Both make guidance mutually exclusive: none | vace | ltx_control | uni3c.
Both keep StructureGuidanceConfig as an internal worker concern, not a client concern.
Both treat full LTX as unguided for now and distilled LTX as the only LTX control branch.
Both preserve per-video treatment.
The main mismatches:
The ladybug plan assumes worker-side read strictness immediately: no legacy travel fields, hard exclusivity. The client plan should mirror that more explicitly by saying the payload builder must emit travel_guidance only and must not send legacy travel guidance fields under any circumstances.
The worker plan treats ltx_control.video as a first-class mode. The client plan should call that mode out explicitly in the UI spec, not just say “LTX-only controls,” otherwise implementers may forget the raw-video/native-guide option.
The worker plan makes strength meaningful on ltx_control too. My client plan currently under-specifies that. If the worker thread keeps that behavior, the client plan should decide whether to expose LTX control strength now or deliberately hide it and rely on worker defaults.
The worker plan includes segment-level resolved travel_guidance. The client plan should state that both main travel generation and segment regeneration must derive from the same canonical TravelGuidance state shape, so segment regen does not accidentally keep old structure_guidance plumbing.
One bigger architectural concern:
The ladybug plan adds a pose preprocessor on the worker and keeps LTX VPT at VG for all ltx_control modes because preprocessing happens before segment execution.
That means the client should not model LTX as “sending PVG/DVG/EVG.” It should model user intent only: pose/depth/canny/video. The payload contract should stay semantic, not letter-based. My client plan is already mostly doing that, but I’d make it explicit so nobody leaks worker prompt letters into the dashboard code.
What I would add to the client plan to match it cleanly:
Outgoing travel payloads must include travel_guidance only, never structure_guidance, structure_videos, , or similar legacy travel fields.
User
Is that plan okay? It's just yours that needs updating? Can you update it then?
User
And what about individual travel segments?
Assistant
Yes, that needs to be explicit. Individual travel segments are one of the main places this can quietly break.
The rule should be: individual_travel_segment must use the same canonical TravelGuidance shape and the same normalization/build pipeline as the main travel orchestrator flow. It should not keep its own legacy structure-guidance path.
What that means on the client side:
The segment regeneration input model should carry travelGuidance?: TravelGuidance, not structure_guidance or loose structureType fields.
When segment regen is launched from an existing travel generation, the client should resolve the current shot/editor state into canonical TravelGuidance first, then pass that into the segment task builder.
The segment task builder in segmentTaskPayload.ts and the family entrypoint in families/individualTravelSegment/index.ts should emit travel_guidance only.
Historical segment/task data can still be read from old fields, but once loaded it should normalize into TravelGuidance immediately, same as the main orchestrator flow.
I would add this directly to the plan as a dedicated section:
individual_travel_segment uses the same canonical TravelGuidance type as orchestrator generation.
Segment regeneration must reuse the same normalization and payload-building helpers as the main travel request path.
No separate legacy write path is allowed for segment regen.
Tests must cover segment regen for none, vace, ltx_control, and uni3c, plus model-switch coercion before segment submission.
So the short answer is: individual travel segments are not a side case; they should be treated as first-class consumers of the exact same TravelGuidance contract.
User
can you make sure that's included in the client side plan? Find the individual segment form
Assistant
I’m checking the actual individual-segment client path now so the plan references the real boundary instead of hand-waving it. I’ll trace the segment form and task builder, then fold that into the client plan so it’s implementation-ready.
Assistant
I found the concrete segment path. The main write boundary is segmentTaskPayload.ts: it currently pushes structure_guidance into both orchestrator_details and top-level task params, and the family entrypoint in index.ts just wraps that builder. There’s also UI-triggered segment submission in submitSegmentTask.ts and segment-form helpers in segmentSettingsUtils.ts.
Assistant
Yes. The individual segment form path is real, and it should be called out explicitly in the client plan.
The key write boundary today is segmentTaskPayload.ts, which currently emits structure_guidance into both orchestrator_details and top-level task params. That flows through families/individualTravelSegment/index.ts. The actual UI-triggered segment submission path also touches submitSegmentTask.ts and segmentSettingsUtils.ts.
So the client plan should be updated like this:
User
Implement the plan.
Assistant
I’m implementing the client-side travel_guidance migration now. I’ll trace the current write and read paths first, then update the shared types, payload builders, and individual segment path together so we don’t leave mixed old/new guidance state behind.
Assistant
I’ve confirmed the concrete segment write path and the main orchestrator builder. The safest way to get this in without destabilizing the editor is to keep the current UI controls intact for now, add a canonical TravelGuidance type plus normalization helpers, and switch both the main travel payload builder and the individual-segment builder over to emitting travel_guidance from that shared normalization layer.
Assistant
I’m going one layer deeper before editing: right now the client’s whole travel UI still runs on structure_guidance + structure_videos, so the clean migration is to add a shared adapter that converts between that old internal shape and new travel_guidance, then point both the main request builder and the individual-segment builder at it. I’m checking the existing read adapters so new worker responses don’t disappear from the UI after submission.
Assistant
I’ve reached the point where the migration needs one pragmatic decision: the existing UI still only knows the old structure modes, so I’m implementing the new canonical payload boundary first and tightening read/write compatibility around it. I’m also checking the current guidance mode selectors so I can avoid inventing a half-wired LTX UX that looks available but doesn’t serialize cleanly.
Assistant
I’ve got the implementation boundary. I’m adding a shared travelGuidance adapter first so the main travel request path and the individual-segment path can switch together, while the current UI still feeds its existing structure controls into that adapter. After that I’ll update the read side so new tasks still render in the current editor/task-detail surfaces.
Assistant
I’m finishing the client-side travel_guidance migration across the remaining write and read boundaries, with individual segment regeneration included. Next I’m checking the current compile surface and the segment form path so I can close the gaps without widening the change.
Assistant
I’ve confirmed the remaining gaps are exactly where expected: the main travel submitter still writes legacy guidance, the segment submit path still threads legacy structure state, and the task readers still only understand legacy fields. I’m patching those next so the migration is consistent across orchestrator generation, segment regeneration, and task hydration.
Assistant
I’ve got the canonical adapter in place already; now I’m wiring the last direct callers onto it and cleaning the read path so new travel_guidance tasks can still be opened by the existing UI. After that I’ll run typecheck and targeted tests to catch any places where the old segment form signatures still leak through.
Assistant
I’ve confirmed the migration boundary is still split in two places: the live travel submitter and the shared segment submit helper. I’m editing those now, then I’ll patch the task readers so new travel_guidance payloads still hydrate into the current task-details and segment UI.
Assistant
I’m making the concrete edits now. The focus is narrow: convert the last live write paths to travel_guidance, keep segment regeneration on the same canonical builder, and teach the read adapters to understand the new field so current UI surfaces don’t regress.
Assistant
The boundary changes are in. I’m running a typecheck now to catch the remaining signature drift, especially around the shared segment submitter and the task reader/test surfaces that still assumed structure_guidance writes.
Assistant
Typecheck is clean. I’m running the focused regression slice now: the shared segment submit helper, task payload builders, family contract tests, and task-details reader. If anything still assumes legacy write fields, it should surface there.
Assistant
The code paths are holding up. The two focused failures are expectation drift: tests still expect legacy structure_guidance / structure_videos writes. I’m updating those assertions to the new canonical travel_guidance contract rather than adding compatibility back in.
Assistant
The focused migration slice is green now. I’m doing one more sense-check on the travel submit path itself, since that service was still writing legacy guidance and doesn’t share the same test surface as the segment builder.
Assistant
The live travel submitter also cleared its test surface, so the migration is now consistent across both creation paths. I’m doing a final sanity pass on the touched files and then I’ll close with what changed, what I verified, and the remaining boundary I intentionally did not widen.
Assistant
Implemented the client-side travel_guidance migration across the live write paths and the task read adapters.
The main changes are in travelGuidance.ts, payloadBuilder.ts, generateVideoService.ts, segmentTaskPayload.ts, and submitSegmentTask.ts. Travel generation and individual_travel_segment now both emit canonical travel_guidance, and the segment form path in SegmentRegenerateForm.tsx and SegmentSlotFormView.tsx uses the same normalization path. I also updated the read side in travelContractData.ts, structureState.ts, and segmentStateResolvers.ts so new payloads still hydrate into the existing UI cleanly.
This keeps the UI stable without forcing a full presentation-layer rewrite right now: current editor/task-detail surfaces can still consume structure-style view state, but new writes round-trip through canonical travel_guidance.
Verified:
npx tsc --noEmit
npx vitest run --config config/testing/vitest.config.ts src/domains/media-lightbox/components/__tests__/submitSegmentTask.test.ts src/shared/lib/tasks/families/individualTravelSegment/index.test.ts src/shared/lib/tasks/travelBetweenImages/__tests__/payloadBuilder.test.ts src/shared/lib/tasks/segmentTaskPayload.test.ts src/shared/components/TaskDetails/hooks/useVideoTravelTaskData.test.ts
npx vitest run --config config/testing/vitest.config.ts src/tools/travel-between-images/components/ShotEditor/services/__tests__/generateVideoService.test.ts src/tools/travel-between-images/components/ShotEditor/services/applySettings/taskDataService.test.ts
I did not run the full repo test suite.
User
an you please execute this plan from top to bottom? Don't stop until it's 100% done? Be extremely
dilligent:
Assistant
I’m treating this as “finish the client-side travel_guidance plan end to end,” not just the boundary work already done. I’m checking the plan file(s) and the remaining repo surfaces that still use legacy travel guidance so I can close the full scope instead of stopping at the first green slice.
Assistant
I’ve finished the payload/read boundary, but that is not “top to bottom” yet. The remaining work is the actual client state/UI layer: model-aware guidance selection, LTX-specific control modes, and removing the last legacy assumptions from the travel editor surfaces. I’m mapping that state path now so I can convert it without breaking the existing shot/timeline flow.
Assistant
I’ve identified the real remaining gap: the app still stores and renders “structure guidance” semantics in the editor layer, even though submissions now normalize to travel_guidance. I’m moving that state layer onto a travel-guidance-aware model next, and I’m gating the guidance UI by model so full LTX can’t accidentally keep exposing unsupported guidance controls.
Assistant
I’m editing the shared travel-guidance helper first because it’s the choke point for everything else: model validation, UI-mode derivation, state persistence, and payload coercion. Once that is correct, the editor and segment forms can both ride the same logic instead of each inventing their own LTX/WAN rules.
Assistant
I’m broadening the shared helper now so the app has one canonical answer for three questions: “what guidance modes are valid for this model?”, “how does the UI represent them?”, and “how do we serialize them back to travel_guidance?” That removes the current split where payload builders understand LTX better than the editor does.
Assistant
I’m moving the shot-level structure-video settings onto canonical travel_guidance now. This is the point where the editor stops being “legacy state with a new payload adapter” and becomes genuinely model-aware state that the rest of the UI can trust.
Assistant
I’m wiring the actual editor UI now. The important behavioral change is that the guidance controls themselves become model-aware: WAN gets VACE/Uni3C modes, distilled LTX gets LTX-control/Uni3C modes, and full LTX stops pretending guidance is available.
Assistant
The segment forms need the same semantic model as the main editor, otherwise LTX pose/video control would still get collapsed back into legacy VACE semantics. I’m removing that last segment-form mismatch now by making the shared submit helper build canonical travel_guidance directly.
Assistant
The shared submitters and the editor hook are now both using semantic travel-guidance state. I’m running typecheck at this point because there are a lot of touched type surfaces, and it’s the fastest way to catch the remaining places where the old structureType union is still too narrow.
Assistant
I’ve got the editor state and segment path moved over far enough that the next useful step is behavioral tests. I’m running the touched UI/controller slice now, especially the batch-mode motion panel and the shared segment submit helper, because those are the places a model-aware guidance change is most likely to regress.
Assistant
I’ve got the main behavior in place, and I’m adding regression coverage for the two genuinely new cases: distilled LTX guidance-mode selection in the editor and canonical travel-guidance construction in the shared segment submit path. That’s the minimum test surface that proves this isn’t just a compile-clean refactor.
Assistant
I’ve got the edited surfaces green. I’m doing one last write-path audit now: a grep across the client for structure_guidance / structure_videos writes, so I can distinguish “legacy read support left intentionally” from any accidental remaining legacy write path.
Assistant
One thing still didn’t have direct regression coverage: the shared helper that enforces model compatibility and builds semantic guidance modes. I’m adding that now, because it’s the part most likely to silently drift if someone touches LTX/WAN logic later.
Assistant
The last thing I’m tightening is draft preservation across model switches. Without that, the payloads are right but the editor still degrades UX by collapsing one family’s guidance choice when you hop to another. I’m storing the current model’s canonical guidance separately so WAN and LTX can each keep their own draft state.
Assistant
Implemented the client-side travel_guidance plan end to end in this repo.
The main changes are:
Canonical travel-guidance helpers and model validation in travelGuidance.ts and new coverage in travelGuidance.test.ts.
Main travel generation and individual segment regeneration now both write travel_guidance through the same path in generateVideoService.ts, segmentTaskPayload.ts, segmentSettingsUtils.ts, and submitSegmentTask.ts.
The editor state now understands model-aware guidance, persists canonical guidance drafts per model, and exposes distilled-LTX guidance modes in useStructureVideo.ts, useStructureVideoHandlers.ts, and BatchModeContent.tsx.
Read/hydration paths now understand travel_guidance while preserving legacy read support in travelContractData.ts, structureState.ts, and useVideoRegenerateMode.ts.
I also did a write-path audit; remaining structure_guidance / structure_videos references in non-test code are now read-compat or local shot-setting metadata, not legacy travel task writes
I did not run the full repo test suite.
User
Is that completely done? If not, please proceeed. If so, can you sense-check it from top to bototm?
shift
Assistant
I’m checking the client-side travel_guidance work top to bottom and using the desloppify skill for a quick structural sanity pass. First I’ll verify the current write paths, run targeted checks, and look for any remaining legacy travel-guidance writes or model-state gaps.
Assistant
I’ve confirmed the main migration landed, but there are still enough legacy edges that I need to inspect the core files directly before I call it complete. I’m reading the canonical guidance helpers, the main travel payload builders, and the individual segment form path next.
Assistant
The main migration is present, but I still need to verify two failure-prone areas: the segment form/regeneration path and any remaining legacy travel writes from helper layers. After that I’ll run the targeted checks and a focused desloppify scan on the touched travel files.
Assistant
I’ve found one likely incomplete edge already: some shared task-layer types and validation messages still present structure_guidance as an acceptable write shape, even though the client plan says new travel writes should be travel_guidance only. I’m checking whether that’s just read-compat scaffolding or a real remaining write-path leak before I change anything.
Assistant
There’s still a type-level leak: the shared request/input types for both batch travel and individual_travel_segment still expose legacy structure fields as if they were normal inputs. That doesn’t break runtime today, but it means the migration is not actually “top to bottom” yet. I’m checking whether those fields are still referenced anywhere outside read adapters so I can tighten the types safely.
Assistant
I found a real bug in the canonical helper, not just a type nit: guidance-video sanitization could overwrite an explicit 'adjust' treatment with the fallback treatment in some paths. I’m fixing that now, and I’m also tightening the exported batch-travel request type so canonical write APIs no longer advertise legacy structure fields.
Assistant
I’ve got a small but meaningful cleanup batch to land: fix the treatment-preservation bug, tighten the exported batch request contract to canonical travel_guidance, and remove a few stale comments/messages that still describe the old structure-guidance write path. Then I’ll rerun the focused checks.
Assistant
The helper fix is in. TypeScript came back clean, and I’m waiting on the focused regression slice plus a targeted health scan over the touched travel files to catch anything structural I may have missed.
Assistant
The focused suite is green. The health scan itself hit a desloppify serialization bug after analysis, but before crashing it only reported one smell issue and no coupling/structural problems in the targeted travel files. I’m doing one last manual UI-state pass around full-LTX guidance gating, because that’s the likeliest place subtle behavior could still slip through.
Assistant
I wasn’t fully comfortable calling it 100% done before this pass. I found one real issue and fixed it: the canonical guidance sanitizer could overwrite an explicit 'adjust' treatment with the fallback treatment in some paths. That’s fixed in travelGuidance.ts, with regression coverage in travelGuidance.test.ts. I also tightened the exported batch-travel write surface so the canonical request type no longer advertises legacy structure fields in taskTypes.ts, and cleaned stale migration wording in payloadBuilder.ts, uiTypes.ts, and generateVideoService.ts.
Top-to-bottom sense-check result: the active write paths are aligned. Main travel generation writes canonical travel_guidance, the individual segment form path builds canonical guidance before submission, and historical/legacy shapes remain on the read/normalization side rather than the new write path. I did not find another active-path bug in the batch editor or segment regeneration flow.
I also ran a targeted desloppify scan over the touched travel files; it found no structural/coupling issues before the tool crashed on its own JSON serialization bug.
So the scoped client-side plan is now complete from my side. The only caveat is that I still did not run the full repo test suite.
User
run them
Assistant
I’m running the full repo test suite now rather than the focused slice, so we can see whether anything in this migration regressed outside the travel surface. I’ll use the project’s actual test command and then inspect any failures to separate pre-existing breakage from travel-guidance issues.
Assistant
The full suite is in progress. Once it finishes, I’ll sort failures into either new regressions from this work or existing unrelated failures so you have a clear signal.
Assistant
The full suite has several failures, and so far they look mixed: some are clearly pre-existing unrelated tests, but there may be at least one travel-adjacent expectation mismatch. I’m letting the run finish and then I’ll inspect the specific failing files rather than guessing from the live stream.
Assistant
One additional failure surfaced late in the run: a travel-task state resolver test. I’m waiting for the suite to finish, then I’ll inspect that test directly, since that one is the most likely to be a real consequence of the client migration.
Assistant
The full suite finished: 14 failed, 815 passed. Most failures are clearly unrelated repo-wide breakage or stale tests, but one travel-state resolver failure is in the migration surface, so I’m checking that now rather than leaving a likely regression unresolved.
Assistant
I’ve confirmed the travel-adjacent failures are stale tests, not new runtime bugs. I’m updating those tests to match the migrated canonical contract so the full-suite result reflects the real remaining unrelated failures.
Assistant
I found the actual issue behind that remaining travel test: segment guidance normalization was ignoring the contract-level modelName and only looking at raw/orchestrator params. That means canonical LTX segment guidance can be misclassified during rebuilds. I’m fixing that in the resolver now.
Assistant
The resolver fix is in, and TypeScript is still clean. I’m rerunning the resolver plus the surrounding travel task tests so I can confirm the remaining full-suite failures are outside this migration surface.
Assistant
I fixed the two travel-surface failures that showed up in the full run, including one real resolver bug around contract model-name handling. I’m rerunning the full suite once more so the final count reflects the current branch, not the pre-fix state.
Assistant
The second full run is underway with the travel fixes included. I’m only interested in the final fail set now, so I’ll let it run and then report the updated remaining failures cleanly.
Assistant
The rerun confirms the travel-specific failures are gone. I’m waiting for the final summary line so I can give you the updated exact fail count for the remaining unrelated suite issues.
User
wait, that isn't accurate? 'Full LTX currently runs unguided travel only. Switch to WAN 2.2 or LTX 2.3 Distilled to use camera guidance.
'
Assistant
That copy is too strong for what the code actually proves. I’m checking where it’s rendered now; if it’s hard-coded in the active LTX UI, I’ll replace it with something accurate instead of implying a backend guarantee we haven’t actually established.
User
or is it? can you validate from documents/Headless-Wan2GP? (the worker) - and why does wan 2.2 have all? should it not just have uni3c?
Assistant
I’m validating that against the worker docs in documents/Headless-Wan2GP now. I’ll check what those docs actually say about full LTX guidance modes versus WAN/VACE-style structure guidance, then map that back to the current client gating.
Assistant
That path doesn’t exist under this repo root as written. I’m locating the actual Headless-Wan2GP docs directory on disk first, then I’ll validate the mode support from the source files there.
Assistant
I validated it against the worker docs/code in Headless-Wan2GP, and the copy is accurate for the current worker contract.
Full ltx2_22B is none-only right now. The worker’s model gate in travel_guidance.py returns {"none"} for non-distilled LTX, and the worker test suite explicitly rejects ltx_control on full LTX in test_travel_guidance_config.py.
Distilled ltx2_22B_distilled supports ltx_control plus uni3c. The same files show ltx_control modes pose | depth | canny | video, and test_travel_ltx_vpt.py covers that path.
WAN should not be uni3c-only. In the worker, non-LTX models allow {"none", "vace", "uni3c"} in travel_guidance.py, and test_travel_guidance_config.py explicitly round-trips WAN/VACE modes flow, canny, depth, and raw.
So the real issue is naming, not capability:
WAN 2.2 in the client is acting like the non-LTX travel family bucket, which includes VACE-style structure guidance plus Uni3C.
If that feels misleading, the better fix is to relabel that branch as something like WAN / VACE or WAN Structure, not to collapse it to uni3c only.
User
So should we fix it here or there?
Assistant
Here, on the client copy.
The worker is already explicit and internally consistent:
full LTX: unguided only
distilled LTX: ltx_control + uni3c
non-LTX/WAN-family: vace + uni3c
So I would not change worker behavior for this question. The fix is to make the client language and labels match that reality.
What I’d change here:
Keep the full-LTX warning, but make it more precise:
Full LTX currently supports unguided travel only. Use WAN/VACE for flow, depth, canny, or raw guidance, or use LTX 2.3 Distilled for pose, depth, canny, or video guidance.
Rename the WAN 2.2 guidance branch in the UI so it does not imply “just plain WAN i2v”.
Best options: WAN / VACE or WAN Structure
If you want the cleanest UX, also rename the guidance section labels so users see:
Structure Guidance for WAN/VACE modes
Control Guidance for distilled LTX modes
So: no worker fix needed for this point. Client copy and labeling should be corrected.
User
Mix it!
Assistant
I’m updating the client wording and labels so the guidance split matches the worker reality instead of implying “WAN” and “camera guidance” too loosely. I’ll patch the active travel editor surfaces and then run the relevant UI tests.
Assistant
I’m updating the client copy and model labels to match the worker contract, then I’ll run the focused UI tests against that path.
Assistant
I found the exact strings. I’m patching the active batch editor path and its expectations so the UI names the WAN branch correctly and the LTX warning explains the real worker split.
Assistant
I’ve narrowed it to one active component. I’m keeping the change small and local: rename the WAN family pill to reflect VACE guidance, and rewrite the full-LTX warning so it matches the worker’s actual allowed guidance branches.
Assistant
I’m updating the focused UI test to match the renamed branch pill, then I’ll run the targeted checks.
Assistant
The copy update is in place. I’m waiting on the focused vitest run and tsc to confirm there’s no fallout in the active travel UI path.
Assistant
Updated the client copy in BatchModeContent.tsx and the matching expectation in BatchModeContent.test.tsx.
WAN 2.2 is now labeled WAN / VACE, and the full-LTX warning now matches the worker contract: full LTX is unguided only, WAN/VACE is for flow/depth/canny/raw, and LTX Distilled is for pose/depth/canny/video.
Verification:
npx vitest run --config config/testing/vitest.config.ts src/tools/travel-between-images/components/ShotEditor/sections/generation/BatchModeContent.test.tsx src/tools/travel-between-images/components/MotionControl.test.tsx
npx tsc --noEmit
Both passed.
User
And can you see why on the individual segment form, it doesn't show the model selector
Assistant
I’m tracing the individual segment form path now. I’ll check which component renders that form, how it decides whether to show model controls, and whether the new travel-guidance gating accidentally hid the selector there.
Assistant
I found the segment write path, but the visibility problem is probably earlier: whether SegmentSettingsForm is even given model-selection props. I’m checking that component and the hook that feeds it next.
Assistant
The issue looks structural, not a small visibility bug. The segment form is receiving modelName, but SegmentSettingsForm only uses it to infer i2v vs vace presets; it never renders a model picker at all. I’m confirming that in the motion section component before I patch it.
Assistant
The immediate reason is clear now: the individual segment form never had a model-selection control wired into it. modelName is passed in for preset detection only, and the form state/task builder doesn’t currently expose a mutable selected-model field there. I’m checking the segment settings state and task payload types now to see what the smallest correct fix is.
Assistant
I’ve confirmed the root cause: there is no hidden selector to unhide. The individual segment form has never been wired to a mutable travel model; it only carries a read-only modelName string through to preset detection and payload assembly. I’m checking the task-family builder now so I can add the selector in the right place instead of bolting it onto the UI without a write path.
Assistant
I’ve confirmed it’s not rendering because the segment form path is still on the older segment-settings abstraction: no selected-model state, no setter, and even the structure-video type typing there is older than the batch editor. I’m checking the structure-video section now so I can fix the segment form coherently rather than just adding a disconnected dropdown.
Assistant
The segment form is definitely lagging the batch tool: it only knows “current model name” as an input string, and the segment task builder never writes a changed model_name back out. I’m checking the payload resolver now so I can wire a real selector through end to end instead of just rendering pills that don’t affect the task.
Assistant
I found the underlying write-path constraint too: individual_travel_segment doesn’t currently carry an overrideable model_name, so even if the form had a selector it couldn’t change the task. I’m checking the guidance builder behavior for full LTX now so I can add the selector without accidentally sending invalid guidance.
Assistant
I’ve got enough context to fix it cleanly. The segment form needs its own selected-model state, a visible selector, and the segment task payload needs to honor that selection; otherwise the UI would still be lying. I’m wiring those three pieces together now.
Assistant
I’m keeping the fix scoped: add a real model selector to the segment form, thread the selected model into the segment submission payload, and make the segment payload resolver honor that override. I’m not broadening this into a segment guidance-UX rewrite in the same pass.
Assistant
Before editing, I’m tightening one more edge: if the segment selector allows full LTX while a structure video is attached, the form should warn that guidance won’t apply there, otherwise we’d just move the confusion from “missing selector” to “silent unguided submit.”
Assistant
I’ve finished the code path changes. I’m adding focused tests for the new selector behavior and the model override path, then I’ll run the affected slice.
Assistant
The selector and payload wiring are patched. I’m running the focused segment-form and segment-task slice now to catch any type drift or test breakage before I touch anything else.
Assistant
TypeScript is clean. I’m waiting on the targeted vitest run; if anything breaks, it should now be isolated to the new segment selector path rather than the payload plumbing.
Assistant
The focused selector tests passed. I’m running the neighboring segment payload/family tests too, because this change crosses the UI-task boundary and that’s the easiest place for a hidden regression to slip through.
Assistant
It wasn’t showing because the individual segment form never actually had a model selector wired in. modelName was only being passed through as a read-only string for preset/guidance inference in SegmentSettingsForm.tsx, and the segment task path wasn’t carrying a mutable model_name override anyway.
I fixed that end to end. The segment form now renders the same travel model pills, the selection is owned in SegmentRegenerateForm.tsx and SegmentSlotFormView.tsx, and the chosen model is written into segment task params through segmentSettingsUtils.ts, submitSegmentTask.ts, and respected by segmentStateResolvers.ts. I also added the full-LTX unguided warning on the segment form when a structure video is present.
Verification passed:
npx tsc --noEmit
focused tests:
SegmentSettingsForm.test.tsx
submitSegmentTask.test.ts
segmentStateResolvers.test.ts
settings.test.ts
segmentTaskPayload.test.ts
individualTravelSegment/index.test.ts
I did not rerun the full repo suite.
User
why does it not show the LTX settings? (just strength?) - is there something poorly engineered here? It feels like the break between individual segments and batch generation isn't cllean
Assistant
I’m checking the segment-form guidance surface against the batch editor and the shared travel-guidance helpers. This looks like an architectural split issue, not just a missing prop.
Assistant
I’m using the desloppify skill here because this is partly a code-quality question. I’m checking whether the segment form split is just incomplete UI or actual coupling/debt between the batch and segment flows.
Assistant
The targeted scans are running. Independently of that, the code already points to one concrete smell: batch flow owns canonical model-aware guidance state, while segment flow still owns a separate, older “segment settings” abstraction and only borrows parts of the newer travel contract.
Assistant
I’ve isolated the gap. I’m grabbing exact file/line references now so I can answer this as a proper architecture review instead of hand-waving.
Assistant
I’ve got the answer. The reason is not “one prop is missing”; it’s that the segment form is still built on a narrower override model than the batch editor. I’m pulling one more type reference so I can point at the exact missing state surface.
Assistant
Findings
The individual segment form does not have a model-aware guidance editor. In StructureVideoSection.tsx, structureVideoType is only displayed as a badge; there is no mode selector like the batch editor has in BatchModeContent.tsx. That is why you only see generic overrides like strength/treatment, not LTX-specific mode controls.
The segment settings model is too narrow for the current travel feature set. segmentSettings.ts only stores structureMotionStrength, structureTreatment, and structureUni3cEndPercent for guidance-related overrides. There is no place for selected guidance mode, guidanceScale, or any richer LTX-specific settings.
The batch and segment flows are using different abstractions. Batch owns canonical model-aware guidance state via useStructureVideo.ts, while the segment path still builds guidance late from a reduced override surface in submitSegmentTask.ts. That split is the real design debt.
The model selector I added to the segment form is currently a bridge, not a full unification. It now changes model_name and affects task payloads through SegmentSettingsForm.tsx and segmentSettingsUtils.ts, but the rest of the segment guidance UI is still the old override UI. So yes, the break is not clean yet.
So the direct answer is: it does not show the LTX settings because the segment form still isn’t using the same guidance editor as batch generation. It only exposes the old “structure video overrides” surface, and that surface was never designed for model-family-specific controls.
If you want this to feel clean, the next step is not another small patch. It is to extract one shared + view model and use it in both places, instead of having batch own the real travel UI and segment regen own a narrower legacy form.
User
Let's make a plan for how to make this clean
Assistant
I’ve confirmed the core issue: batch generation owns the real model-aware travel guidance UI, while individual segment regen still sits on an older override form. To make it clean, I need to lock two product decisions before writing the implementation plan.
User
Can you make sure that this + the model selector plug into the same full-shot and segment-specific shot default vs. overrides? I think we already hav ea structure
Assistant
I’m checking the existing shot-defaults and segment-override plumbing so the revised plan lands on the current persistence model instead of inventing a parallel one.
User
Updated it here, can you please sense-check those changes and execute it? tasks/2026-03-18-unify-travel-guidance.md
Assistant
I’m reviewing the plan file against the current repo shape first. I’ll check whether it matches the actual defaults/override plumbing and call out any gaps before I turn it into an implementation-ready spec.
Assistant
I sense-checked it against the repo. Direction is right, but it is not execution-ready yet, and I can’t execute it while we’re still in Plan Mode.
Main corrections needed before implementation:
The plan mixes SelectedModel ids and worker model_name strings. In this repo, UI state should stay on SelectedModel (wan-2.2, ltx-2.3, ltx-2.3-fast) and only convert to worker model_name at payload time. The plan’s modelName?: string segment override shape is the wrong abstraction.
guidanceStrength is not 0-1 here. Current travel guidance defaults/use are around 0.5, 1, 1.2, and the segment/batch UI strength sliders are effectively 0-2. The plan should not encode the wrong range.
guidanceScale is not part of the current batch guidance subsection; it lives with model settings in BatchSettingsForm. So the shared extraction should be a broader shared “model + guidance” section, not just a guidance-mode editor.
Shot defaults are already split across two stores for a reason. Segment inheritance has to merge:
shot travel defaults from travel-between-images
shot structure/guidance defaults from travel-structure-video
segment overrides from metadata.segmentOverrides
The plan hints at this, but the merge order and ownership need to be explicit.
“Set as Shot Defaults” cannot be a single generic save path yet. Prompt/motion fields already flow through saveFieldAsDefault, but structure/guidance defaults currently use a separate structure-settings path. The plan needs a host adapter that preserves that split instead of pretending it is one storage API.
The plan should explicitly reuse the existing travel_guidance_by_model shot-level behavior. Otherwise segment inheritance will drift from batch inheritance when switching models.
The clean version should be: one shared normalized editor state, two underlying shot stores, sparse segment overrides keyed by UI-level fields, and one payload builder. Here is the corrected replacement plan.
User
Implement the plan.
Assistant
I’m implementing the shared model-and-guidance cleanup now. First I’m checking the current state of the segment overrides, shared travel settings, and batch guidance host so I can make the changes on top of what’s already in the branch rather than duplicating logic.
Assistant
I’ve confirmed the current baseline: segment overrides are still flat and only cover the old three structure fields, so the bulk of the work is extending that override contract and then feeding both hosts from the same normalized model/guidance state. I’m mapping the batch and segment entrypoints now so I can implement it without creating a third state path.
Assistant
I’ve found another important repo fact: segment inheritance currently does not even read shot-level selectedModel or guidanceScale from the travel settings query, and the regenerate hook is only fetching travel_guidance, not travel_guidance_by_model. I’m tracing the save paths next so I can fix inheritance and persistence together instead of patching just the UI.
Assistant
I’m at the implementation split point now. The least risky path is: extend the override contract first, then wire segment inheritance/save logic to those new fields, then replace the segment’s reduced guidance controls with shared model/guidance controls reused by batch.
Assistant
I’ve got the implementation shape. I’m checking the exact guidanceScale UI in the batch form before I cut over, so I don’t leave a duplicate LTX slider in one host and move it in the other.
Assistant
I’m moving into the type and migration layer first. That’s the safest way to keep the branch stable while I replace the segment’s legacy structure overrides with model-aware guidance overrides.
Assistant
I’ve wired the new override fields into the segment persistence layer. I’m tightening the shot-default save path now so guidance defaults update the correct shot-level structure entry for the active model instead of silently writing to the wrong store.
Assistant
Implementing the plan by wiring the remaining segment/batch guidance paths onto the shared defaults-and-overrides model, then I’ll run TypeScript and focused tests to close the loop.
Assistant
I’m checking the remaining write paths and UI hosts first so the next edits land on the actual integration seams, not the symptoms.
Assistant
The segment host still has a local model-selection bridge and the structure section is still on legacy fields, so I’m pulling those next before patching the state flow.
Assistant
I’ve got the current split now. Next I’m patching the override plumbing and the structure section together so the segment host stops carrying a separate stale guidance model.
Assistant
I’ve finished the read pass. The next edits are the actual cleanup: remove the segment-local model bridge, migrate the remaining legacy guidance fields, and add one shared model/guidance control surface used by both hosts.
Assistant
I’m creating the shared model/guidance editor first, then I’ll hook both batch and segment onto it and remove the remaining legacy field plumbing underneath.
Assistant
I’m wiring the batch host onto the shared editor now, keeping the existing provider handlers underneath so the state contract doesn’t change.
Assistant
I found one UI duplication while wiring batch: the shared editor needs a model-only mode for hosts that already render guidance controls elsewhere. I’m fixing that before reusing it in the segment form.
Assistant
I’m now removing the remaining legacy structure* write path underneath the segment form so the new editor state actually reaches task payloads and uploaded segment videos.
Assistant
I’m switching the segment structure section onto the shared editor now. This is the point where the old badge-only segment guidance UI disappears and the override/default controls become model-aware.
Assistant
The segment form no longer needs its own separate model pill bridge now that the structure section owns the shared editor. I’m deleting that split so there’s one model/guidance surface instead of two.
Assistant
I’m moving the selected model out of the segment host’s local state and onto the existing override merge path now. That’s the core inheritance fix.
Assistant
I’m removing the segment form’s local selected-model state now and binding the model selector directly to merged settings plus sparse overrides. That’s the actual inheritance seam.
Assistant
I’m wiring the regenerate path to the shot-level travel_guidance_by_model store now, so segment model changes can inherit the right guidance defaults instead of whatever model happened to be active when the video was made.
Assistant
I’ve fixed the external regenerate path. I’m now aligning the segment-slot lightbox types so the same settings surface can consume model-aware structure defaults instead of a single stale default blob.
Assistant
I found one data gap in the settings hydrator while moving the form over: treatment was still falling back too late. I’m fixing that before running the first typecheck.
Assistant
The remaining changes are compiled together now: shared editor, segment override plumbing, and shot-level model-aware defaults. I’m running a typecheck before touching tests so I only fix real breakpoints once.
Assistant
Typecheck is clean. I’m running the focused segment/batch regression slice now to catch contract mismatches and update the stale tests around the old structure* overrides.
Assistant
The test slice is running. I’m waiting for the failures rather than guessing, then I’ll patch the exact mismatches and rerun.
Assistant
The failures are straightforward: one stale import, one stale migration expectation, and a segment-form test that still assumes the selector lives outside the advanced section. I’m fixing those directly.
Assistant
The first batch of fixes is in. I’m rerunning the same slice to see what’s still structurally wrong rather than broadening the scope.
Assistant
The remaining failures were test assumptions, not runtime regressions. I’ve updated them to match the new ownership of the model/guidance UI and I’m rerunning the same slice.
Assistant
The core slice is green. I’m running one broader regression pass over the segment hooks/lightbox path now, because that’s where the inheritance logic actually changed.
Assistant
I’ve got one stale hook expectation left. I’m updating it and adding one model-aware inheritance assertion so the new travel_guidance_by_model merge isn’t only covered by runtime smoke.
Assistant
I added one explicit model-aware inheritance test and reset the mocked hook defaults between cases so the segment hook suite doesn’t leak state across runs. Rechecking that slice now.
Assistant
The new hook test failed for the right reason: the suite globally mocks readSegmentOverrides, so the selected-model override never reached the hook. I’m fixing the test harness, not the hook.
Assistant
I’ve got the regenerate path correct. There’s still one asymmetry left: the shot-editor segment-slot lightbox can’t yet see per-model structure defaults because that map never leaves useStructureVideo. I’m tracing that path now.
Assistant
I’m finishing the last asymmetry now: exposing the per-model structure-default map from the shot editor’s structure store so the segment-slot lightbox can inherit the right guidance defaults too.
Assistant
The shot-editor segment-slot path is now wired to the same per-model defaults map. I’m doing another typecheck and a small segment-slot regression pass to make sure that extra data plumbing didn’t bend any existing contracts.
Assistant
There’s one small cleanup left from the refactor: the segment form still advertises top-level selectedModel props even though model selection now lives inside the shared guidance section and the merged settings state. I’m removing that dead bridge.
Assistant
The dead top-level model bridge is gone. I’m doing a final typecheck and then one last focused test pass on the files that changed after that cleanup.
Assistant
I’m doing one last write-path audit for leftover legacy structure* overrides so I can close this without leaving a second segment path behind.
Assistant
I found one remaining legacy write path outside the lightbox: batch per-pair payload assembly still serializes the old structure* override names. That would reintroduce the split on the shot-editor side, so I’m fixing it now.
Assistant
I found and fixed one real regression in the shot-editor batch path: per-pair guidance overrides were no longer flowing because the payload builder still looked for the old structure* fields. I’m covering that next.
Assistant
I’ve closed the last legacy batch write path. I’m running one final aggregate regression slice across the touched travel/segment areas so the close-out is based on one clean pass, not stitched-together partial runs.
Assistant
The final aggregate pass found one real cleanup bug: useSegmentSettingsForm was still returning deleted selectedModel variables. I’m removing that leftover and rerunning the exact aggregate slice.
Assistant
The leftover reference is removed. I’m rerunning typecheck and the full touched regression slice one more time so the close-out is based on a clean final pass.
Assistant
The touched slice is green now. I’m doing one quick diff summary and then I’ll close with the exact scope, what changed, and the remaining caveat.
Assistant
Implemented the plan. Batch generation and individual segment regeneration now use the same model-aware travel guidance surface and the same defaults/overrides model.
The main change is the shared editor in TravelGuidanceEditor.tsx, wired into batch in BatchModeContent.tsx and into the segment structure section in StructureVideoSection.tsx. Segment settings now carry canonical model/guidance fields in segmentSettings.ts, persist them through settingsMigration.ts, merge shot defaults plus sparse overrides in useSegmentSettings.ts, and feed both regenerate paths through the same payload logic in submitSegmentTask.ts. I also fixed the shot-editor batch pair path in pairPayload.ts so canonical guidance overrides are no longer dropped there.
For model-aware shot defaults, the external regenerate flow now reads and writes travel_guidance_by_model in useVideoRegenerateMode.ts, and the shot-editor segment-slot flow now receives the same per-model defaults map via useStructureVideo.ts, TimelineSection.tsx, and useSegmentSlotPresentationAdapter.ts. That closes the old split where segment regen had a reduced legacy guidance UI and stale model handling.
User
› why does the model selector only show there's a structure video present?
run the full test suite of course too
Assistant
I’m checking the segment/model-selector gating and then I’ll run the full suite after the fix. First step is tracing where the shared travel editor is conditionally rendered relative to structure-video presence.
Assistant
I found the likely cause: the shared editor sits inside StructureVideoSection, and that section’s rendering is still coupled to structureVideoType / structureVideoUrl. I’m opening the rest of that component and the segment-form wiring so I can remove the accidental “only show model selector when structure video exists” gate instead of patching symptoms.
Assistant
The bug is straightforward now: TravelGuidanceEditor is nested under structureVideoType && (...), so in the segment form the model selector disappears whenever there’s no active structure video. I’m moving the shared editor out of that gate, then I’ll add coverage for the no-video case and run the full suite.
Assistant
I’m editing StructureVideoSection now so the shared editor always renders its model controls, with guidance controls still gated by video presence. Then I’m adding a regression test for the no-structure-video case before running the full suite.
Assistant
The logic fix is in; I’m cleaning the JSX structure now because that component was left a bit uneven after moving the editor outside the gate. After that I’ll add a regression test and go straight into npm test.
Assistant
I’ve isolated the fix; I’m adding a direct StructureVideoSection regression test now so the no-video case is locked down before the full suite runs.
Assistant
The no-video regression test and typecheck are running now. If either complains, I’ll fix that first before starting the full-suite run.
Assistant
The gating fix is good: targeted tests passed and tsc came back clean. I’m starting the full npm test run now so we can see whether anything outside this slice regressed or if the branch still has unrelated failures.
Assistant
npm test is underway. I’ll let the whole Vitest run finish and then separate anything newly introduced from pre-existing failures if the suite isn’t fully green.
Assistant
The full suite has confirmed the branch is not globally green independent of this fix. The failures showing so far are in unrelated areas like usePersistentToolState, segmentOutputsQueries, useSegmentMutations, and systemLogger; I’m waiting for the run to finish so I can give you the complete failure count instead of a partial snapshot.
Assistant
The model selector was only showing when a structure video existed because the shared editor was literally nested under structureVideoType && ... in StructureVideoSection.tsx. I moved TravelGuidanceEditor outside that gate, so the segment form now always shows model selection, while the guidance-mode controls still stay correctly gated by actual structure-video presence. I also added a regression test in StructureVideoSection.test.tsx to lock down the no-video case.
Validation:
npx tsc --noEmit passed.
Targeted segment tests passed.
npm test completed and the repo is still not globally green: 12 failed | 819 passed test files, 6 failed | 4301 passed tests.
The full-suite failures are not from this selector fix. The current failing set is:
missing-module suites like moduleImportCoverage.test.ts, navigation.test.ts, HoverScrubVideo.test.tsx, LineageGifModal.test.tsx, touchableTooltip.test.tsx, useResources.test.ts, projectSetupRepository.test.ts, and projectSetupService.test.ts
pre-existing mock drift in usePersistentToolState.test.ts and
User
Is this all excellently engineered now?
Assistant
I’m doing a code-quality pass on the travel batch/segment integration using the desloppify skill, focused on whether the new shared editor/defaults-overrides split is actually clean rather than just functional.
Assistant
I’ve finished the manual review. I’m running one targeted desloppify scan over the touched travel/segment surface now, mainly to sanity-check whether the remaining issues are real structural coupling rather than just my judgment call.
Assistant
desloppify only takes one --path, so I’m rerunning it against src/ and using it as a cross-check on the manual findings rather than waiting for a full queue workflow.
“Can you see the plan at ~/.claude/plans/wobbly-petting-neumann.md - can you execute that….” Conversation with gpt-5.4, from the Peter O’Mallet DataClaw Conversations dataset. The Chat Archive, 2026. https://thechatarchive.com/c/01m80epv1cg76r4avwsxgbgh1x
Dataset releases
Not yet included in a published release.
segmentOutputsQueries.test.ts
pairPayload.test.ts
So the answer is: for the plan scope, yes, it is complete. The remaining risk is not missing client work; it is the worker repo still lacking an LTX travel-segment matrix case, even though the contract itself now checks out.
97 frames does make sense for LTX. Your defaults are explicitly frameStep: 8, fps: 24, frames: 97 in settings.ts, and the worker UI also defaults non-WAN video length to 97 in /tmp/reigh-worker-check.BazBg2/Wan2GP/wgp.py. 97 = 8*12 + 1, so it matches the LTX frame quantization rule and gives about 4.04s. It is a sensible default, not a magic fixed requirement.
Verification
npx tsc --noEmit passed.
npx vitest run --config config/testing/vitest.config.ts ... passed for the touched slice: 5 files, 36 tests.
npm run build:dev passed. The remaining warnings were pre-existing bundle/CSS warnings, not from these changes.
I also ran a targeted desloppify scan --path src/tools/travel-between-images; it completed analysis and reported substantial existing coupling/structural debt before crashing while serializing its own state. That lines up with the conclusion above: functional now, but not yet “beautiful” if you keep adding model families.
So the direct answer is: no, it was not elegantly engineered enough before this pass. It is materially better now, the concrete bugs are fixed, and I do not see a missing required LTX setting. The main remaining design debt is that model family/variant capability is still encoded as string conventions instead of an explicit model registry.
Important limitation: this is effectively a distilled-only path. The handler only exposes LTX control-video choices for distilled in ltx2_handler.py, and get_loras_transformer() exits early for non-distilled in ltx2.py. So full ltx2_22B is not really the IC-LoRA control path here.
What’s Missing
The shared travel abstraction is centered on structure_guidance, not LTX-specific control modes. In the worker that abstraction only knows flow, canny, depth, none/raw, and uni3c in structure_guidance.py.
That means pose is not representable there at all, even though distilled LTX supports it via PVG. So pose control is a real missing concept in the current shared travel contract.
There also appears to be a wiring gap for LTX travel: I did not find code on this branch that maps structure_guidance.preprocessing to the LTX control letters (PVG / DVG / EVG / VG). The segment processor only uses an explicit guide_preprocessing override if it is already present in segment_processor.py, and I did not find the orchestrator setting that field.
On the frontend side, your current travel types only expose uni3c | flow | canny | depth, not pose or raw, in mediaHandlers.ts and structureGuidance.ts.
So the practical conclusion is:
97 is not fixed.
“No IC-LoRA settings” is partly intentional, because the worker auto-loads them from control mode.
But there is also a genuine product/integration gap: the current travel contract/UI does not cleanly model LTX-specific control modes, especially pose and raw, and I do not see the travel worker wiring that turns generic structure_guidance into LTX distilled control selection.
If you want, I can do the next pass as a concrete integration spec: exactly what fields the client should send and exactly where the worker should translate them for ltx2_22B_distilled.
full ltx2_22B + pose/depth/canny/raw should error
control mode requiring guide video should error if no guide exists
This should happen before queue submission in task_registry.py.
Keep IC-LoRA loading automatic, but log it clearly.
The existing auto-load behavior in ltx2.py is fine. What’s missing is better observability: log effective control_mode, derived video_prompt_type, and whether union-control was activated.
Add matrix tests for travel.
At minimum:
distilled LTX + pose
distilled LTX + depth
distilled LTX + canny
distilled LTX + raw
distilled/full LTX + invalid mode
LTX segment frame quantization showing lengths are valid 8N+1, not fixed at 97
The best places are worker tests around segment_processor.py, task_registry.py, and the travel orchestrator in orchestrator.py.
If you want the shortest practical version: the worker needs one explicit LTX travel control field, one capability matrix, one deterministic mapper to PVG/DVG/EVG/VG/S, and hard validation. That would close the current ambiguity.
StructureGuidanceConfig
raw is distinct conceptually, even if it currently lands on VG.
The distinction is not that the letters differ today; it is that the user explicitly requested raw control-video semantics instead of pose/depth/canny. In worker terms, yes, raw for LTX distilled currently maps to VG, and VG is also the present “guide present” behavior in segment_processor.py. I would still keep raw as an explicit mode in the new API, because otherwise there is no way to distinguish:
“user intentionally chose raw control”
“worker fell back to generic guide-video mode”
So API-level raw is useful even if runtime mapping stays VG.
97 is not from travel quantization logic.
You’re correct that _quantize_frames() is not defaulting to 97. The 97 comes from defaults/fallbacks outside the quantizer:
generic WGP UI fallback for non-WAN models in wgp.py
current frontend defaults for LTX in settings.ts
So the plan wording should be tightened to: “travel must continue honoring requested lengths after quantization, rather than assuming the common LTX default of 97.”
Uni3C fields should be uni3c-only.
Yes, only the uni3c branch should carry step_window, frame_policy, zero_empty_frames, and keep_on_gpu. They should not appear on vace or ltx_control. That matches current semantics in _apply_uni3c_config() and keeps the branches clean.
If I rewrite the plan, I’d make these changes explicit:
StructureGuidanceConfig remains internal for vace and uni3c
worker supports a temporary legacy structure_guidance compat layer
LTX raw remains explicit at API level even though it maps to VG
97 is documented as a common default, not a travel invariant
I can turn that into a revised client-side plan next.
treatment: 'adjust' | 'clip' — the current code uses structure_video_treatment. The rename is fine
but confirm there aren't other treatment values lurking.
canny_intensity and depth_contrast are VACE-only optional fields — good. But mode: 'flow' doesn't
use them either — might be worth noting they're only meaningful for mode: 'canny' and mode: 'depth'
respectively.
The test plan doesn't include "distilled LTX + uni3c" (allowed combination per the validation
rules). Should be tested.
Verdict
The architectural direction is right — discriminated union, LTX out of StructureGuidanceConfig,
explicit model validation. The main gaps are around the migration boundary (old → new payload shape
in flight), the segment-level payload shape, and whether Uni3C inference params belong in the API
contract. I'd address those before implementing.
same user-selected mode/parameters
resolved videos or resolved per-segment guide reference
internal resolved fields for segment execution where needed, such as _guidance_video_url and _frame_offset on branches that use them
So the orchestrator owns stitched/guidance timeline math, and segment tasks receive already-resolved per-segment guidance inputs.
Uni3C inference knobs should be optional, not required.
I agree. They are too implementation-specific to force every caller to understand them.
Better shape:
uni3c requires only videos and optionally strength
step_window, frame_policy, zero_empty_frames, keep_on_gpu are optional overrides with worker defaults
That keeps the API smaller while preserving escape hatches.
Missing test: distilled LTX + Uni3C.
Correct. Since the validation rules allow it, it needs explicit test coverage.
Here is the revised replacement plan.
treatment: 'adjust' | 'clip' — is this exhaustive? Current StructureVideoEntry might support other
values.
frame_policy?: string on uni3c — should this be an enum? The current code has specific allowed
values.
Assumption worth double-checking
"full ltx2_22B remains none-only" — does this mean full LTX travel segments can't use any guidance?
If so, what's the use case for full LTX in travel at all? This might be correct but it's worth a
sentence explaining why.
Otherwise the ownership boundaries (orchestrator owns timeline, segment consumes resolved inputs),
the mutual exclusivity constraint, and the internal/external split (StructureGuidanceConfig stays
internal) all look sound.
single-video and multi-video guidance resolution tests
distilled LTX + Uni3C positive test
full LTX + any non-none guidance negative tests
Contract nits:
strength can stay unified intentionally, but the plan should say it is a shared wire name with branch-specific semantics and validation
treatment should stay adjust | clip; that matches current StructureVideoEntry typing, so I don’t see evidence of more values
frame_policy should be an enum in the API, not a free string, matching the worker’s accepted values
full ltx2_22B being none-only needs justification.
Yes. The rationale should be explicit: full LTX still remains useful for plain start/end-image travel generation, but the new control-guidance feature is scoped to the distilled control-video path because that is the path the worker currently exposes and the only one with IC-LoRA-driven control semantics. So full LTX is still valid for higher-quality plain travel, just not guided travel in this change.
Here is the corrected replacement plan.
structure_type
Distilled LTX guidance UI must include video alongside pose, depth, and canny.
Decide explicitly whether ltx_control.strength is exposed in v1 or intentionally hidden behind worker defaults.
Segment regeneration must use the same canonical TravelGuidance view model and builder as orchestrator generation.
Historical task read-compat is fine for UI hydration, but once normalized, all saves/regens must round-trip through TravelGuidance only.
So the answer is: yes, the client plan is directionally consistent with the ladybug plan, but it should be tightened around ltx_control.video, ltx_control.strength, strict payload emission, and segment-regeneration reuse. Those are the main places I’d adjust before handing it off.
This included batch UI, segment form, segment hook merge logic, regenerate submission, slot presentation, settings migration, and pair-payload coverage
One caveat remains: I did not run the full repo test suite. The only issue seen in the focused pass was a pre-existing React act(...) warning in useSegmentSettingsForm.test.ts, but it is not a failing test.
segmentOutputsQueries.test.ts
a contract expectation mismatch in useSegmentMutations.test.ts
Deno missing in systemLogger.test.ts
So the selector issue is fixed; the branch still has unrelated full-suite failures outside this change.