Run a standard all-codex implementation plan for VibeComfy/Wan2GP feature parity across the coordinated workspace repos: vibecomfy, reigh-worker, reigh-worker-orchestrator, and runpod-lifecycle.
Goal: reach feature-level parity between the Wan2GP path and VibeComfy path for all app-exposed image/video/generation capabilities. VibeComfy workflows must be pure Python ready templates, not JSON execution. Every supported workflow should have a contract, route selection, static validation, model/custom-node asset validation, live evidence, and docs. Unsupported routes must fail closed with explicit blockers, not silently drift.
User bar: no hidden or suspended functionality if it works in Wan2GP; VibeComfy should ultimately implement every applicable capability. Preserve exact settings/variation behavior: LoRAs, control guidance, first/last images, video source, join bridge, orchestrator child tasks, output artifacts, and worker route contracts.
Worker branch: megaplan/vibecomfy-sprint-09-control-rail-travel-matrix. Currently has uncommitted edits in docs/vibecomfy-app-parity-tracker.md, scripts/capability_contracts/loaders.py, and tests/test_capability_contracts.py that clear stale template-index blockers and add a regression check. Worker test tests/test_capability_contracts.py previously passed: 12 passed.
Root blocker identified by main thread: durable worker still marks LTX first/last travel routes fail-closed in source/task_handlers/tasks/template_routing.py, while VibeComfy has Python LTX first/last templates in ready_templates/video/ltx2_3_runexx_first_last_frame.py and related LTX templates. The old live-test case name travel_segment_ltx2_control_video_first_last no longer exists; current matrix case names are in scripts/live_test/matrix.py.
Prior temporary-worktree RunPod work found/fixed multiple issues: stale object_info/schema aliases, missing LTX/Kijai model assets, output artifact contracts, pod liveness false positives, and local venv install path. Those fixes may already be represented differently in durable repos; verify before redoing.
Assistant
{"output":"I’ll work only on T1 in reigh-worker: first inspect the current branch and the six named files, then make the fail-closed baseline consistent and run the relevant full test modules/docs generation available for this slice.","files_changed":[],"commands_run":[],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"The root workspace is dirty outside the worker repo, so I’m leaving those changes alone. I found the target repo at reigh-worker and am switching scope there.","files_changed":[],"commands_run":["pwd && rg --files -g 'template_routing.py' -g 'contracts.json' -g 'matrix.py' -g 'live_matrix_manifest.json' -g 'test_template_routing.py' -g 'vibecomfy-app-parity-tracker.md'","git status --short --branch","find /Users/user_c042661f/Documents/reigh-workspace -maxdepth 2 -type d -name 'reigh-worker' -o -name 'vibecomfy' -o -name 'reigh-worker-orchestrator' -o -name 'runpod-lifecycle'"],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"There are already uncommitted changes in the exact worker files from the prior slice, and they currently promote both LTX first/last routes. I’m going to reverse only that promotion state into the requested explicit fail-closed baseline while preserving unrelated dirty edits.","files_changed":[],"commands_run":[],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"I’m editing the six T1 files now: route entries become unsupported with explicit reasons, matrix and manifest keep the current case names but mark them unsupported, contracts lose the stale VibeComfy template binding, and routing tests return to fail-closed assertions.","files_changed":[],"commands_run":[],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"The contract validator is clean after the fail-closed edits, and I regenerated the parity tracker from the contract tool. I’m running the full worker modules that cover routing and capability-contract drift now.","files_changed":[[REDACTED],[REDACTED],[REDACTED],[REDACTED],[REDACTED],[REDACTED]],"commands_run":["python -m json.tool scripts/capability_contracts/contracts.json >/tmp/contracts.ok && python -m json.tool scripts/capability_contracts/live_matrix_manifest.json >/tmp/manifest.ok && rg -n "cap\.travel-segment\.model-ltx2|template_id\": \"video/ltx2_3_runexx_first_last_frame\"|support_state=\"vibecomfy_supported\"|travel_segment_ltx2_control_video_first_last" scripts/capability_contracts/contracts.json scripts/capability_contracts/live_matrix_manifest.json scripts/live_test/matrix.py source/task_handlers/tasks/template_routing.py tests/test_template_routing.py","python -m scripts.capability_contracts.report validate --json","python -m scripts.capability_contracts.report render docs/vibecomfy-app-parity-tracker.md"],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"The first full test run exposed four expected drift points: a route-doc fixture still says the LTX routes are supported, the sprint inventory doc lacks the new blocker text, and the fail-closed reason is generated by the resolver rather than the custom blocker. I’m updating those fixtures/assertions, then rerunning the full modules.","files_changed":[],"commands_run":["python -m pytest tests/test_capability_contracts.py tests/test_template_routing.py -q"],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"The full routing/capability modules are green now: 104 passed with only existing warning classes. I’m doing a final consistency sweep for stale LTX supported markers/case names and then I’ll checkpoint the batch result if the execution file is available.","files_changed":[[REDACTED],[REDACTED],[REDACTED],[REDACTED],[REDACTED],[REDACTED],[REDACTED],[REDACTED]],"commands_run":["python -m scripts.capability_contracts.report validate --json","python -m pytest tests/test_capability_contracts.py tests/test_template_routing.py -q"],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"A concurrent git operation appears to have started after the green test run: reigh-worker is now detached with unmerged conflict markers against commit a9471ee4 (Promote LTX first-last VibeComfy route). I’m not going to resolve unrelated conflict files blindly; I’m checking whether I can safely restore the T1-owned fail-closed files without touching unrelated work.","files_changed":[],"commands_run":["rg -n "<<<<<<<|=======|>>>>>>>" source/task_handlers/tasks/template_routing.py scripts/capability_contracts/contracts.json scripts/live_test/matrix.py scripts/capability_contracts/live_matrix_manifest.json tests/test_template_routing.py docs/vibecomfy-app-parity-tracker.md scripts/dual_run_compare/fixtures/section3a_matrix.fixture","git branch --show-current && git rev-parse --abbrev-ref HEAD && git status --porcelain=v2 -uall | head -n 80"],"deviations":["Concurrent git conflict state appeared after the green verification run."],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
User
Assistant
{"output":"Starting T1 only. I’ll first verify actual branch/commit/status for reigh-worker and vibecomfy, then inspect current worker diffs and LTX route/contract state before making any edits.","files_changed":[],"commands_run":[],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"Current state is clean in the touched repos: reigh-worker is on megaplan/vibecomfy-sprint-09-control-rail-travel-matrix at 9deb9b33, and vibecomfy is on megaplan/production-parity-templates at 26c381d. Root workspace still has unrelated docs/untracked changes, which I’m leaving alone.","files_changed":[],"commands_run":["git status --short --branch && git rev-parse --short HEAD && git branch --show-current (reigh-worker)","git status --short --branch && git rev-parse --short HEAD && git branch --show-current (vibecomfy)","git status --short --branch (workspace root)"],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"The worker is currently over-promoted for all seven LTX first/last route keys: source routes are VIBECOMFY_SUPPORTED, and contracts are implementation: vibecomfy / status: static_valid. I’m narrowing T1 edits to route source and contracts, with blockers for non-distilled, pre-gate distilled, and control-guide evidence gaps.","files_changed":[],"commands_run":["sed -n '326,372p' source/task_handlers/tasks/template_routing.py && rg -n "ltx2.*first_last|ltx_control.*first_last|ltx2_3_runexx|travel_segment_ltx2_control_video_first_last" source/task_handlers/tasks/template_routing.py scripts/capability_contracts/contracts.json","contract summary inspection for seven LTX first/last routes"],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"Route source now fails closed for the two no-control LTX first/last routes and all five LTX control-guide first/last routes. I’m updating the matching contract objects structurally so validation sees unsupported_fail_closed rather than a stale VibeComfy/static-valid contract.","files_changed":[[REDACTED]],"commands_run":[],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"Contract validation is green after T1 (0 errors/warnings). The broader capability/routing modules now fail in the expected T2-owned places: matrix, manifest, route inventory, and routing tests still advertise the old promoted LTX state, so I’m not editing those in this batch.","files_changed":[[REDACTED],[REDACTED]],"commands_run":["python -m scripts.capability_contracts.report validate --json","python -m pytest tests/test_capability_contracts.py tests/test_template_routing.py -q"],"deviations":["Full capability/routing test modules fail on T2-owned support surfaces after T1 source/contract normalization."],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
User
User
Constraints:
Inspect current code and docs during prep/plan. Identify whether existing tools already cover workflow conversion/doctor/contract/index/model validation and where they are missing.
Execute useful, bounded feature work directly if execution is reached. Prefer tooling/docs/static-contract improvements that do not conflict with main-thread live-test work. Good candidates: robust workflow doctor/checklist, stale blocker detection, pure-Python ready-template lint, route-contract coverage reports, capability inventory docs, object_info cache guidance, matrix case discoverability.
Avoid launching expensive RunPod jobs unless execution explicitly requires it and there is high confidence it will not duplicate main-thread work. If launched, terminate pods and record evidence.
Do not revert user/main-thread changes. There may be concurrent edits.
Keep implementation pragmatic: contracts should be informative and aligned with what actually runs, but not burdensome disconnected updates. Improve discoverability for future agents/developers.
Expected final report: plan name, status, executed changes, tests, and remaining blockers.
code
Batch framing:
- Execute batch 1 of 6.
- Actionable task IDs for this batch: ['T1']
- Already completed task IDs available as dependency context: []
Actionable tasks for this batch:
[
{
"id": "T1",
"description": "In reigh-worker, establish the explicit fail-closed baseline for both LTX first/last routes before any promotion: update source/task_handlers/tasks/template_routing.py, scripts/capability_contracts/contracts.json, scripts/live_test/matrix.py, scripts/capability_contracts/live_matrix_manifest.json, tests/test_template_routing.py, and regenerated docs/vibecomfy-app-parity-tracker.md so non-distilled and distilled LTX first/last routes are unsupported/fail-closed with clear blockers, LTX control-guide routes remain fail-closed, current matrix case names are used, and the removed travel_segment_ltx2_control_video_first_last case is not reintroduced.",
"depends_on": [],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
}
]
code
Completed task context (already satisfied, do not re-execute unless directly required by current edits):
[]
Prior batch deviations (address if applicable):
None
User action prerequisites:
No user_action prerequisites for this batch.
Batch-scoped sense checks:
[
{
"id": "SC1",
"task_id": "T1",
"question": "Do route source, contracts, matrix, manifest, routing tests, and tracker all agree that both LTX first/last routes are fail-closed at the baseline, with distinct blockers and no stale supported non-distilled surface?",
"executor_note": "",
"verdict": ""
}
]
code
Full execution tracking source of truth (`finalize.json`):
{
"tasks": [
{
"id": "T1",
"description": "In reigh-worker, establish the explicit fail-closed baseline for both LTX first/last routes before any promotion: update source/task_handlers/tasks/template_routing.py, scripts/capability_contracts/contracts.json, scripts/live_test/matrix.py, scripts/capability_contracts/live_matrix_manifest.json, tests/test_template_routing.py, and regenerated docs/vibecomfy-app-parity-tracker.md so non-distilled and distilled LTX first/last routes are unsupported/fail-closed with clear blockers, LTX control-guide routes remain fail-closed, current matrix case names are used, and the removed travel_segment_ltx2_control_video_first_last case is not reintroduced.",
"depends_on": [],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T2",
"description": "Validate the reigh-worker fail-closed baseline and fix any contract/matrix/doc drift it exposes. Run python -m scripts.capability_contracts.report validate --json and python -m pytest tests/test_capability_contracts.py tests/test_template_routing.py -q from reigh-worker; iterate until both pass without weakening fail-closed behavior.",
"depends_on": [
"T1"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T3",
"description": "In vibecomfy, make video/ltx2_3_runexx_first_last_frame promotable as a durable pure-Python ready template. Account for the generated header by updating generator inputs/overrides when possible, or mark the template # vibecomfy: manual before direct edits. Fix doctor failures only where the graph or doctor policy is genuinely wrong; declare all concrete LTX model assets and custom-node requirements referenced by the template; add focused coverage in existing tests so referenced model filenames must appear in READY_METADATA['model_assets'] or READY_REQUIREMENTS['models']. Run python -m tools.refresh_template_index --check, python -m vibecomfy.cli validate video/ltx2_3_runexx_first_last_frame, python -m vibecomfy.cli doctor video/ltx2_3_runexx_first_last_frame --json, and python -m pytest tests/test_ready_templates.py tests/test_model_assets.py -q until green.",
"depends_on": [
"T2"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T4",
"description": "In reigh-worker, adjust existing adapter coverage to prove pre-promotion LTX scratchpad binding at the low-level writer/builder boundary only. Use a synthetic supported ResolvedTask in tests/test_vibecomfy_adapter.py and do not call handle_vibecomfy_resolved_task before promotion. Assert first image, last image, prompt, negative prompt, seed, resolution, frame count, and FPS are preserved in the generated/patched scratchpad. Keep _validate_supported_resolved_task strict and add/keep assertions that the public handler rejects fail-closed or unsupported resolved tasks.",
"depends_on": [
"T2",
"T3"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T5",
"description": "Atomically promote only the distilled LTX first/last route in reigh-worker after T3 and T4 pass. Flip travel_segment__model-ltx2_distilled__guidance-none__continuity-first_last__profile-default to VIBECOMFY_SUPPORTED and update scripts/capability_contracts/contracts.json in the same change set to implementation: vibecomfy, template_id: video/ltx2_3_runexx_first_last_frame, and a static/template-bound status, not runtime_green. Preserve non-distilled LTX as fail-closed, preserve all LTX control-guide blockers, update artifact contract fields for child completion/MP4/storage/output expectations, update live matrix and manifest discoverability for the distilled static/live candidate, update routing/backend/adapter tests for post-promotion public handler proof, and regenerate docs/vibecomfy-app-parity-tracker.md so it distinguishes distilled static support from non-distilled/control blockers.",
"depends_on": [
"T3",
"T4"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T6",
"description": "Final verification pass across the coordinated static slice. From reigh-worker, run python -m scripts.capability_contracts.report validate --json and python -m pytest tests/test_capability_contracts.py tests/test_template_routing.py tests/test_vibecomfy_adapter.py tests/test_vibecomfy_backend_selection.py -q. From vibecomfy, rerun python -m tools.refresh_template_index --check, python -m vibecomfy.cli validate video/ltx2_3_runexx_first_last_frame, python -m vibecomfy.cli doctor video/ltx2_3_runexx_first_last_frame --json, and python -m pytest tests/test_ready_templates.py tests/test_model_assets.py -q. If route metadata shape changed, from reigh-worker-orchestrator run python -m pytest tests/gpu_orchestrator/test_route_aware_task_counts.py tests/test_route_stale_worker_state.py -q. Also write a short throwaway script under a temporary path to reproduce the original bug: resolve the non-distilled route and confirm it fail-closes, resolve the distilled route through backend='vibecomfy', confirm it binds video/ltx2_3_runexx_first_last_frame, and confirm no LTX route is marked runtime_green without live evidence; run it and delete it. If any command fails, inspect the error, fix the code, and rerun until passing. Do not create new test files during this final verification task.",
"depends_on": [
"T5"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
}
],
"watch_items": [
"Do not invoke the megaplan CLI, read the megaplan skill, or start nested planning harnesses; treat megaplan references as implementation context only.",
"Keep the fail-closed baseline and distilled promotion as separate validation slices. Route source and contracts must not disagree at any point where validation is expected to be green.",
"Do not weaken _validate_supported_resolved_task; pre-promotion proof must call the low-level scratchpad writer/builder with a synthetic supported task, not the public handler.",
"Do not promote non-distilled ltx2_22B to the distilled template. It must remain fail-closed unless a true non-distilled implementation is added.",
"Keep all LTX control-guide routes explicitly fail-closed until control-capable VibeComfy evidence exists.",
"The LTX ready template is generated unless deliberately changed; model-asset and doctor fixes must survive regeneration or the file must be marked manual before direct edits.",
"vibecomfy doctor video/ltx2_3_runexx_first_last_frame --json is a hard gate before distilled promotion; validate alone is not enough.",
"Static/template-bound support is not runtime evidence. Do not set runtime_green or add live evidence without a completed live report and output artifact location.",
"Use current matrix case names only. Do not resurrect travel_segment_ltx2_control_video_first_last.",
"Avoid RunPod/live execution in this slice unless static gates are green and the run is explicitly judged non-duplicative. If any live run is launched, terminate pods and record pod IDs, reports, final statuses, artifacts, and termination evidence.",
"There may be concurrent user/main-thread edits. Do not revert unrelated changes; inspect and work with any dirty files before editing.",
"Preserve exact worker route contracts and runtime field behavior for first image, last image, prompt, negative prompt, seed, resolution, frame count, and FPS."
],
"sense_checks": [
{
"id": "SC1",
"task_id": "T1",
"question": "Do route source, contracts, matrix, manifest, routing tests, and tracker all agree that both LTX first/last routes are fail-closed at the baseline, with distinct blockers and no stale supported non-distilled surface?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC2",
"task_id": "T2",
"question": "Do worker contract validation and the capability/routing tests pass while both LTX first/last routes remain fail-closed?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC3",
"task_id": "T3",
"question": "Does the distilled LTX ready template pass refresh-index, validate, doctor, and model-asset tests, and are any template edits durable against regeneration or explicitly marked manual?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC4",
"task_id": "T4",
"question": "Does the pre-promotion adapter test prove low-level scratchpad field binding without entering the public handler, while public handler validation still rejects unsupported/fail-closed resolved tasks?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC5",
"task_id": "T5",
"question": "Was only the distilled route promoted, with route source and contract flipped together to the same template id and static/template-bound status, while non-distilled and control routes remain fail-closed?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC6",
"task_id": "T6",
"question": "Do all final validation commands and the throwaway reproduction script pass, and is there still no LTX runtime_green status without completed live evidence?",
"executor_note": "",
"verdict": ""
}
],
"user_actions": [],
"meta_commentary": "Execution should proceed as a two-state rollout: first make the worker consistently fail-closed and green, then make the VibeComfy distilled template statically promotable, then atomically promote only the distilled route. The highest-risk mistakes are blurring those states, accidentally routing non-distilled LTX through distilled assets, and treating static validation as runtime evidence. Prefer existing repo tooling and generated docs over hand-maintained drift. If RunPod/live work becomes tempting, defer it unless the static gates are already green and the run will not duplicate main-thread work.",
"validation": {
"plan_steps_covered": [
{
"plan_step_summary": "Step 1: Make both current LTX first/last worker routes unsupported/fail-closed with explicit blockers.",
"finalize_item_ids": [
"T1"
]
},
{
"plan_step_summary": "Step 2: Update matrix, manifest, routing tests, and tracker to match the fail-closed worker state.",
"finalize_item_ids": [
"T1",
"T2"
]
},
{
"plan_step_summary": "Step 3: Prove worker fail-closed baseline validation is green.",
"finalize_item_ids": [
"T2"
]
},
{
"plan_step_summary": "Step 4: Choose a durable edit path for the generated VibeComfy LTX ready template.",
"finalize_item_ids": [
"T3"
]
},
{
"plan_step_summary": "Step 5: Make vibecomfy doctor a hard static gate and fix template or doctor issues appropriately.",
"finalize_item_ids": [
"T3",
"T6"
]
},
{
"plan_step_summary": "Step 6: Declare concrete LTX model assets and aligned custom-node/model requirements with focused coverage.",
"finalize_item_ids": [
"T3",
"T6"
]
},
{
"plan_step_summary": "Step 7: Add pre-promotion low-level scratchpad writer proof without using the public handler.",
"finalize_item_ids": [
"T4"
]
},
{
"plan_step_summary": "Step 8: Keep backend-selection and public handler proof scoped for post-promotion, and keep non-distilled from silently using distilled template path.",
"finalize_item_ids": [
"T4",
"T5"
]
},
{
"plan_step_summary": "Step 9: Atomically flip distilled route source and contract to VibeComfy static/template-bound support.",
"finalize_item_ids": [
"T5",
"T6"
]
},
{
"plan_step_summary": "Step 10: Add post-promotion public handler proof for distilled route and public rejection for non-distilled fail-closed route.",
"finalize_item_ids": [
"T5",
"T6"
]
},
{
"plan_step_summary": "Step 11: Update matrix, manifest, routing tests, and tracker for promoted distilled route while non-distilled remains fail-closed.",
"finalize_item_ids": [
"T5",
"T6"
]
},
{
"plan_step_summary": "Step 12: Keep live matrix evidence disciplined and avoid runtime_green without completed report artifacts.",
"finalize_item_ids": [
"T5",
"T6"
]
},
{
"plan_step_summary": "Step 13: Launch live runs only when non-duplicative, record evidence if launched, and otherwise leave runtime evidence absent.",
"finalize_item_ids": [
"T6"
]
}
],
"orphan_tasks": [],
"completeness_notes": "All approved plan steps are mapped. No separate human action is required for the static slice. Optional RunPod execution is intentionally not a blocking user action because the approved plan says no live jobs are required for this static correction slice; T6 covers the decision to avoid or, if explicitly justified during execution, record live evidence correctly.",
"coverage_complete": true
},
"baseline_test_failures": [],
"baseline_test_command": "pytest --tb=no -q --no-header",
"baseline_test_note": "This finalize briefing did not run repository tests; execution tasks include the required baseline and final validation commands."
}
code
Debt watch items (do not make these worse):
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: for ordinary pairs, the new diagnosis is not well-supported by the repo. the current sync effect in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/tools/travel-between-images/components/shotimageseditor/hooks/usesegmentslotmode.ts already syncs url and primaryvariantid, and the regenerate path reads exactly starturl, endurl, startgenid, endgenid, startvariantid, and endvariantid from segmentslotmode.pairdata in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/domains/media-lightbox/hooks/usevideoregeneratemode.ts. adding thumburl and generationid to the sync does not, by itself, explain why an old image url is still being used for regular pairs. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: the fix is incomplete for extra trailing slots. handlepairclick can populate activepairdata from trailingpairdata when pairindex === pairdatabyindex.size in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/tools/travel-between-images/components/shotimageseditor/hooks/usesegmentslotmode.ts, but the proposed sync effect only reads pairdatabyindex.get(segmentslotlightboxindex). for those trailing-slot cases fresh is undefined, so no image refresh happens. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: the merge pseudocode does not actually sync 'all image fields' as claimed. it omits id and position from change detection, and when fresh.startimage or fresh.endimage becomes null it preserves the stale previous object instead of syncing that null state. as written, it also needs explicit null-guards around spreads of prev.startimage / prev.endimage to be safe in strict typescript. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: the plan's claim that worker_state.py:200-204 (the 30-minute startup safety net) catches abandoned pods that exited before patching is slightly imprecise. line 200-204 only runs when in_startup_phase is true, which requires startup_phase to be in ('deps_installing', 'deps_verified', 'worker_starting') per line 161. a pod that exits before its first patch has startup_phase = none, so in_startup_phase is false and the code falls through to the normal timeout checks (active_stale / not_claiming) at line 207+, not the 30-minute startup cap. both paths eventually reap the worker, so the end result is the same, but the overview's reasoning (naming 200-204 specifically) is wrong. worth correcting so future readers don't mis-reason about the invariant. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: checked worker_state.py line 161 (in_startup_phase = startup_phase in (...)) against the plan's assumption that subsequent lenient writes are safe. if deps_installing succeeds but deps_verified silently fails, startup_phase stays at 'deps_installing' and the 30-minute cap from line 200-204 applies — even though the pod is actually progressing through uv sync. on a slow runpod image with cold wheel downloads, uv sync --extra cuda124 plus wan2gp deps can take 20+ minutes. there's no concrete benchmark in the plan that says the 30-minute cap is safely above the expected sync time; if uv sync legitimately takes 25 minutes and the deps_verified patch fails on a transient network blip, the orchestrator will terminate a healthy pod. plan should either bump the cap or note that deps_verified swallowing is acceptable because the cap is generously above typical sync time. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: the path-mapping defect from the previous iteration is fixed, but a different technical gap remains around self_refiner. repository search shows shared.utils.self_refiner is imported by wan2gp/wgp.py, wan2gp/models/ltx2/ltx_pipelines/distilled.py, ti2vid_one_stage.py, ti2vid_two_stages.py, wan2gp/models/ltx2/ltx_pipelines/utils/helpers.py, and wan2gp/models/wan/any2video.py; the v4 plan still aligns wan2gp/shared/utils/self_refiner.py to upstream head without any concrete runtime step that exercises those code paths after the change, so the only repo-documented behavior check for that file is still missing from the executable body. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: the direct adapter still has a correctness risk around resolution parity. current vibecomfy ready templates hardcode image dimensions (image/z_image uses emptysd3latentimage 1024x1024 and image/qwen_image_2512 uses 768x768), while vibecomfy run exposes no --resolution flag; the revised plan says a temporary scratchpad/input file may be generated only if supported, otherwise resolution is left out. that means a vibecomfy-supported direct route can silently ignore the worker's resolution param unless scratchpad resolution patching is made mandatory for supported direct routes or the support is explicitly limited to default-resolution smoke fixtures. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: route support states: the revised step 5 says to classify ltx control rows as vibecomfy_supported, wgp_only, vibecomfy_unsupported, new, or blocked, but the current worker routesupportstate enum at reigh-worker/source/task_handlers/tasks/template_routing.py:17-20 only supports wgp_only, vibecomfy_supported, and vibecomfy_unsupported. the plan needs to either extend the enum/report schema for new/blocked or keep new/blocked strictly as fixture disposition values mapped to an existing runtime support state. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: startup tests: step 11 still needs sharper wording for vibecomfy_memory_profile. the current startup template exports it only inside if [ "$reigh_backend" = "vibecomfy" ] && [[ "$reigh_worker_profile" =~ ^[0-9]+$ ]] at worker_startup.template.sh lines 28-30, while the revised plan says to assert it is exported consistently when proving both wgp and vibecomfy render from the same template. if implemented as an unconditional wgp+vibecomfy export assertion, the test would conflict with the current template's intentional conditional behavior. (flagged 1 times across 1 plans)
[DEBT] are-the-success-criteria-well-prioritized-and-verifiable: are the success criteria well-prioritized and verifiable?: the attached success criteria are stale and do not match the current plan body. they still require 'no usestate for activepairdata', 'setactivepairdata fully removed', 'sync effect deleted', and 'onpairclick simplified to (pairindex: number) => void', which are the opposite of the current targeted-sync plan. as presented, the criteria are not usable for review or execution. (flagged 1 times across 1 plans)
[DEBT] audio-loading: getaudiodata in useeffect removes render-readiness signal (flagged 1 times across 1 plans)
[DEBT] audio-loading: same as correctness-3 — preview/render parity risk (flagged 1 times across 1 plans)
[DEBT] audio-loading: preview/render parity partially satisfied (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: overlapping clips use first-found, volume not scaled (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: same as audio-reactivity-1 — overlapping/volume-adjusted clips diverge from audible mix (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: textclip missing globalframeprovider (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: same as audio-reactivity-2 — textclipsequence missing provider (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: textclip effects surface not covered (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: continuous effects shared by visual and text clips (flagged 1 times across 1 plans)
[DEBT] batch-generation-pipeline: enhancement in usegeneratebatch before generatevideo() could compute prompts against a stale pair snapshot if mutations are still in flight. (flagged 1 times across 1 plans)
[DEBT] cas-intern-short-circuit: symlink short-circuit comparison may produce false negatives on macos-like layouts where project_dir contains symlinked segments (/var → /private/var) because resolve(strict=true) on the source returns canonical paths but project_dir / cas_dirname may be non-canonical. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-cascade-paths: cascade lookup only reads params->>'orchestrator_task_id_ref', missing shared reference paths and orchestrator-self detection. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-cascade-paths: duplicate of correctness-2 + correctness-3: invalid sql syntax and narrow cascade lookup. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-cascade-paths: shared orchestrator-reference helpers not referenced. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-cascade-paths: orchestrator tasks that crash don't get orchestrator-self cascade. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-cascade-paths: hardcoded params->>'orchestrator_task_id_ref' misses other reference paths. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-retry: crash requeue sql does not increment attempts, risking infinite requeue loop. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-retry: duplicate of correctness-1: attempts never advance on crash requeue. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-retry: missing attempts increment location in heartbeat sql. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-retry: step 6 under-scoped for real retry convergence and orchestrator-self handling. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-sql-syntax: bare select inside plpgsql is invalid — needs perform. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-testing: no multi-crash convergence test exercising attempts 0→1→2→3. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-testing: no validation that plpgsql body executes successfully. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-testing: criteria don't require proof of crash requeue convergence. (flagged 1 times across 1 plans)
[DEBT] criteria-verifiability: 'no unsafe .maybesingle()' criterion requires judgment about column uniqueness. (flagged 1 times across 1 plans)
[DEBT] criteria-verifiability: decision documentation location not specified. (flagged 1 times across 1 plans)
[DEBT] criteria-verifiability: the must criterion requiring 5 task types to exist as active db rows is not verifiable from code diff alone — it requires a live db query. (flagged 1 times across 1 plans)
[DEBT] db-fallback-testing: no new automated test for the db fallback dispatch path or dependant_on preservation for raw worker families. (flagged 1 times across 1 plans)
[DEBT] dependency-resolution: dependency resolution: the plan does not lock down the active python-version matrix even though the repo currently splits between python 3.10 local installs and a python 3.11 runpod image. (flagged 1 times across 1 plans)
[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: the package is internally inconsistent. the plan body says to keep activepairdata in usestate and make phase 2 optional, but the attached metadata and success criteria still describe the previous derive-via-usememo / remove-setactivepairdata / simplify-onpairclick plan. that means the approved-plan requirements are only partially coherent as presented. (flagged 1 times across 1 plans)
[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: the linux distro note is documentation-only; the generated install command in step 7 still runs apt-get install python3.10-venv python3.10-dev ffmpeg without any pre-check that the package exists. users on ubuntu 24.04+ who ignore the doc and try to copy-paste the command will hit a confusing e: unable to locate package python3.10-venv from apt rather than a targeted error from commandutils.ts. a one-line detection pre-check (e.g., apt-cache show python3.10-venv >/dev/null 2>&1 || { echo 'install deadsnakes ppa first — see readme'; exit 1; }) would convert the silent failure into an actionable error, but the plan does not add this. (flagged 1 times across 1 plans)
[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: checked the revised v4 body against docs/wan2gp_fork_migration_plan.md sprint 2. the repo plan doc still lists an "ltx-2 self_refiner smoke against the pre-sprint behavioral baseline" as a sprint 2 verification gate and repeats that smoke in the functionality-preservation checks, but the revised execution steps no longer schedule that smoke anywhere; it survives only as an info-level metadata criterion. because wan2gp/shared/utils/self_refiner.py remains an explicit sprint 2 deliverable, the revised plan still only partially carries forward the verification package described in the source migration plan. (flagged 1 times across 1 plans)
[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: worker integration: the migration doc describes the per-call profile override gap as involving reigh-worker adapter handling of override_profile before constructing vibecomfy sessionconfig, but the plan limits sprint 1 per-run work to the vibecomfy cli/runtime. that may be acceptable for a vibecomfy-library mvp, but it does not fully exercise the production-facing per-task override semantics called out in the overall context. (flagged 1 times across 1 plans)
[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: a residual issue-hint tension remains for resolution handling. the plan acknowledges current vibecomfy run lacks a resolution flag, but allows the adapter to leave resolution and other template-specific values unwired for sprint 2. because z_image_turbo and qwen_image_2512 are marked vibecomfy-supported direct routes, this may not preserve the existing worker task-parameter contract for tasks that provide a non-default resolution. (flagged 1 times across 1 plans)
[DEBT] direct-route-parameter-parity: direct route parameter parity: vibecomfy-supported direct routes may ignore the worker resolution parameter. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: phase 1 still misses a real supporting-data location: trailingpairdata lives outside pairdatabyindex in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/tools/travel-between-images/components/shotimageseditor/hooks/usesegmentslotpresentationadapter.ts, but the proposed sync logic only considers pairdatabyindex. if trailing slot regenerate is part of the bug surface, that location is not covered. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: the non-swallowing helper update_worker_phase_strict is a new shell function, but phase 1 step 2 introduces it only as pseudo-code. there is no concrete note that the helper must handle supabase http non-2xx responses as failures (curl returns 0 even on http 4xx/5xx by default unless -f or --fail-with-body is used). if the implementer ports update_worker_phase verbatim with only || return 0 removed, a 500 from supabase would still report success because curl's exit code is 0. the plan should specify curl --fail or explicit http status code checking in the strict variant. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: the supporting-infrastructure review still finds one missing check. in docs/wan2gp_fork_migration_plan.md, sprint 2's verification matrix and risk register both single out self_refiner as a distinct drift-upgrade surface with its own smoke and its own silent-behavior-change risk, but the revised v4 body updates the file without keeping that supporting verification step in the actual execution checklist. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: documentation/data gap: the sprint exit criteria require profiles 1 and 3 to have vram and wall-clock data, but the plan puts that only in metadata as an info-level criterion and does not schedule a concrete artifact location or command for recording the measurements. the implementation could satisfy all unit tests while still missing one of the explicit exit criteria. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: the supporting infrastructure for resolution is still incomplete if direct vibecomfy routes are considered production-supported. vibecomfy has a vibecomfy.patches.resolution helper and the cli can load scratchpad files with allow_scratchpad=true, but the plan does not require using that path; it permits leaving resolution out for sprint 2. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: checked vibecomfy profile wording against vibecomfy/tests/test_ready_templates.py. the revised plan says to add the production template to representative compile profile coverage 'alongside the existing dry-run id', but the dry-run id is not currently in profile_smoke_template_ids; only video/wanvideo_wrapper_22_5b_i2v and video/wan_t2v are. this is a small wording mismatch rather than a functional blocker because adding either the production id alone or both ids would still satisfy sprint 4. (flagged 1 times across 1 plans)
[DEBT] edge-test-config: plan's vitest commands use the wrong config entry point. (flagged 1 times across 1 plans)
[DEBT] edge-test-config: same as verification-3: wrong vitest config in validation commands. (flagged 1 times across 1 plans)
[DEBT] edge-test-config: success criterion references wrong test command. (flagged 1 times across 1 plans)
[DEBT] error-handling: db loader error handling convention mismatch (plan says log+null, existing loaders throw) (flagged 1 times across 1 plans)
[DEBT] error-propagation-logging: generation.ts and handler.ts logging endpoints are not directly tested. (flagged 1 times across 1 plans)
[DEBT] error-propagation-testing: no end-to-end regression test for the full symptom chain (db error → tocompletionerror metadata → handler log). (flagged 1 times across 1 plans)
[DEBT] error-propagation-testing: handler.ts metadata surfacing criterion lacks a concrete automated verifier. (flagged 1 times across 1 plans)
[DEBT] error-propagation-testing: main issue only partially validated without an integration test. (flagged 1 times across 1 plans)
[DEBT] find-the-callers-of-the-changed-function-what-arguments-do-they-actually-pass-does-the-fix-handle-all-of-them: find the callers of the changed function. what arguments do they actually pass? does the fix handle all of them?: the step 2 retry loop uses a naked sleep 2 between attempts, which adds up to 6 seconds of latency on the happy path when the first patch eventually succeeds on attempt 2 or 3. for pods where supabase is reachable but slow during the initial moments of a cold runpod start, the retry logic is fine. however, if the first attempt fails with a tls handshake delay and the retry loop sleeps 2s per attempt regardless of whether curl itself has been blocking for tens of seconds, the total startup latency penalty could be substantial. this is a minor tuning concern, not a correctness issue. (flagged 1 times across 1 plans)
[DEBT] find-the-callers-of-the-changed-function-what-arguments-do-they-actually-pass-does-the-fix-handle-all-of-them: find the callers of the changed function. what arguments do they actually pass? does the fix handle all of them?: finding callers of the changed module shows that shared.utils.self_refiner is consumed by wan2gp/wgp.py, wan2gp/models/ltx2/ltx2_handler.py, multiple ltx2 pipeline modules, and wan2gp/models/wan/any2video.py. the revised validation steps still only drive the three bridge getters in source/runtime/wgp_ports/vendor_imports.py; none of the scheduled commands execute a real self_refiner caller, so the plan does not yet verify the main caller shapes for the other explicit sprint 2 file change. (flagged 1 times across 1 plans)
[DEBT] find-the-callers-of-the-changed-function-what-arguments-do-they-actually-pass-does-the-fix-handle-all-of-them: find the callers of the changed function. what arguments do they actually pass? does the fix handle all of them?: checked direct queue caller values in db_task_to_generation_task(): direct image tasks may carry resolution, steps/num_inference_steps, seed, and override_profile. the revised adapter plan covers seed, steps, and memory profile but not guaranteed resolution propagation, so it does not handle all relevant direct-route caller arguments for a supported vibecomfy direct route. (flagged 1 times across 1 plans)
[DEBT] gpu-branching-test-matrix: linux cuda128 path under-verified (flagged 1 times across 1 plans)
[DEBT] gpu-branching-ui-surface: nvidia-50 option is exposed on linux in the ui but linux cuda128 smoke test is missing (flagged 1 times across 1 plans)
[DEBT] hook-abstraction: usepairsettingshandler becomes trivial with single caller — keeping it is extra indirection. (flagged 1 times across 1 plans)
[DEBT] hype-mirror-cas-coverage: hype-mirrored files whose parent step does not declare matching produces will not be cas-interned, even with the follow_symlinks=false edit. (flagged 1 times across 1 plans)
[DEBT] is-the-change-in-the-right-place-and-would-it-break-any-callers: is the change in the right place, and would it break any callers?: the optional cleanup steps are not in the right place yet. pairregionslayer does not receive pairdatabyindex today; its props are only images, imagepositionswithpending, pairinfowithpending, and callback/display props in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/tools/travel-between-images/components/timeline/timelinecontainer/components/pairregionslayer.tsx. so step 4's 'pass pairdatabyindex.get(pairindex) directly' would require new prop plumbing or a different seam. (flagged 1 times across 1 plans)
[DEBT] is-the-scope-and-scale-of-the-change-appropriate: is the scope and scale of the change appropriate?: phase 2 is still under-specified for execution. step 4 says pairregionslayer should either pass pairdatabyindex.get(pairindex) directly or 'just pass the index + frame-only data', which are materially different designs. if phase 2 is kept in the plan, it needs a single concrete direction. (flagged 1 times across 1 plans)
[DEBT] is-there-convincing-verification-for-the-change: is there convincing verification for the change?: the plan still lacks an explicit automated regression test for the reported bug. step 2 is manual ('check that usevideoregeneratemode now gets the fresh url'), but there is no concrete test that opens a segment slot, changes the primary variant data, and asserts that the regenerate path sees the fresh url, generationid, and primaryvariantid. (flagged 1 times across 1 plans)
[DEBT] is-there-convincing-verification-for-the-change: is there convincing verification for the change?: the current usesegmentslotmode test remains only a smoke test in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/tools/travel-between-images/components/shotimageseditor/hooks/tests/usesegmentslotmode.test.ts, and the plan does not add behavior coverage for the new sync effect. (flagged 1 times across 1 plans)
[DEBT] is-there-convincing-verification-for-the-change: is there convincing verification for the change?: no verification step covers the trailing-slot branch, even though the proposed phase 1 logic currently misses trailingpairdata refreshes. (flagged 1 times across 1 plans)
[DEBT] legacy-data-backfill: the step 8 diagnostic query only detects cross-shot pair_shot_generation_id misassociations, not same-shot misassociations caused by timeline reordering within a shot. (flagged 1 times across 1 plans)
[DEBT] lookup-consistency: other repo call sites use unordered .limit(1).maybesingle() and will remain inconsistent. (flagged 1 times across 1 plans)
[DEBT] lookup-consistency: other call sites with same unsafe pattern not covered. (flagged 1 times across 1 plans)
[DEBT] lora-management: lora tools simplified vs full ui parity (multi-stage metadata, private loras) (flagged 1 times across 1 plans)
[DEBT] media-lightbox-persistence: variant switches do not clear/restore inpaintprompt, so stale prompt state can leak across variants with no cached prompt. (flagged 1 times across 1 plans)
[DEBT] media-lightbox-persistence: removing prompt/numgenerations from the variant-keyed localstorage cache means all variants within a generation share the same prompt. this broadens existing debt-002 (variant prompt leakage). (flagged 1 times across 1 plans)
[DEBT] media-lightbox-segment-slot: media lightbox / segment slot: the targeted sync rationale does not fully explain the reported stale-url bug for regular pairs, and the proposed effect still misses trailing-slot refreshes because those can come from trailingpairdata rather than pairdatabyindex. (flagged 1 times across 1 plans)
[DEBT] number-input-nullable: plan doesn't explicitly state onchange must also accept null, though step 3 depends on it. (flagged 1 times across 1 plans)
[DEBT] number-input-nullable: disputed v1 flag — original concern about bulkclippanel being unimplementable. (flagged 1 times across 1 plans)
[DEBT] number-input-nullable: onchange null filtering not explicitly addressed in plan. (flagged 1 times across 1 plans)
[DEBT] number-input-testing: no planned tests for numberinput shared component or bulkclippanel nullable draft flow. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: pre-existing individual_travel_segment children won't drive orchestrator completion through segment_type_config after deploy. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: missing compatibility seam in orchestratorcore.ts:123-126 for old individual_travel_segment rows. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: mixed old/new data during rollout can leave old orchestrators without completion counting. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: no test or deployment guard for pre-existing individual_travel_segment children completing after worker change. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: plan overstates backward compatibility for existing data. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: missing rollout compatibility step for in-flight individual_travel_segment tasks. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: pre-deploy individual_travel_segment child completing post-rollout won't be treated as segment task by checkorchestratorcompletion. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: orchestrator.test.ts criterion too narrow to verify old individual_travel_segment compatibility. (flagged 1 times across 1 plans)
[DEBT] pair-settings-plumbing: handleopenpairsettings(pairindex, pairframedata) path in timelinetrackprelude, segmentoutputstrip, and usesegmentoutputstrip not explicitly named. (flagged 1 times across 1 plans)
[DEBT] pair-settings-plumbing: same as flag-002 — segmentoutputstrip and usesegmentoutputstrip still carry pairframedata. (flagged 1 times across 1 plans)
[DEBT] pair-settings-plumbing: timelinetrackprelude and segmentoutputstrip still forward (pairindex, pairframedata). (flagged 1 times across 1 plans)
[DEBT] plan-scope: step 3 is larger than a light megaplan warrants. (flagged 1 times across 1 plans)
[DEBT] planning-metadata: planning metadata: the attached metadata and success criteria still describe a different implementation than the current plan body, which risks sending execution and review down the wrong path. (flagged 1 times across 1 plans)
[DEBT] planning-metadata: success criteria don't cover wave 4 scope (flagged 1 times across 1 plans)
[DEBT] position-key-semantics: plan investigates a unique constraint on (parent_generation_id, child_order) which doesn't match repo semantics for position keys. (flagged 1 times across 1 plans)
[DEBT] position-key-semantics: plan weights toward child_order rather than pair_shot_generation_id as the key that matters. (flagged 1 times across 1 plans)
[DEBT] position-key-semantics: unique constraint on (parent_generation_id, child_order) not supported by repo semantics. (flagged 1 times across 1 plans)
[DEBT] prompt-composition: the plan's step 1 signature includes textbeforeprompts/textafterprompts parameters that would be applied before enhancement, double-wrapping the prompt. (flagged 1 times across 1 plans)
[DEBT] ready-template-snapshots: step 4.2 drops markdownnote nodes but step 4.5 and the success criteria require class_type/widget parity with pre-refactor snapshots, which currently include markdownnote nodes. (flagged 1 times across 1 plans)
[DEBT] ready-template-snapshots: same tension as issue_hints v2: drop-markdownnote vs. snapshot parity. (flagged 1 times across 1 plans)
[DEBT] reigh-worker-orchestrator-dockerfile: step 7 §3 claims gpu_orchestrator/dockerfile has wan2gp install steps; current main is generic and contains none. (flagged 1 times across 1 plans)
[DEBT] reigh-worker-orchestrator-runpod-startup: gpu_orchestrator/runpod/startup_script.py embeds headless-wan2gp in _workdir_discovery_snippet and is not named explicitly in step 7 §3's checklist. (flagged 1 times across 1 plans)
[DEBT] route-support-states: route support states: new and blocked are added to the plan as worker support classifications but are not representable in the current routesupportstate enum. (flagged 1 times across 1 plans)
[DEBT] search-for-related-code-that-handles-the-same-concept-is-the-reported-issue-a-symptom-of-something-broader: search for related code that handles the same concept. is the reported issue a symptom of something broader?: checked the broader runtime surface after the v4 path fix. sprint 2 is still moving two behavior-sensitive seams rather than just the import-path contract: the wan2gp/ mount path and the self_refiner runtime. step 6.2 covers only the three vendor_imports getters, while the 6-file travel suite and the bridge-contract tests do not mention self_refiner, so dropping the dedicated self-refiner smoke from the runnable steps leaves the broader downstream surface of that changed file under-covered. (flagged 1 times across 1 plans)
[DEBT] search-for-related-code-that-handles-the-same-concept-is-the-reported-issue-a-symptom-of-something-broader: search for related code that handles the same concept. is the reported issue a symptom of something broader?: the supported direct-route scope is still broader than the adapter's guaranteed parameter surface. db_task_to_generation_task() currently carries direct task params such as resolution, steps, and seed into wgp generation, but the vibecomfy cli path only guarantees prompt, seed, steps, and memory profile; resolution remains optional/documentation-only in the plan. (flagged 1 times across 1 plans)
[DEBT] search-for-related-code-that-handles-the-same-concept-is-the-reported-issue-a-symptom-of-something-broader: search for related code that handles the same concept. is the reported issue a symptom of something broader?: checked the revised child-route scope against migration-thresholds.yaml. the threshold corpus currently has wan/vace entries for travel_segment__model-wan22_vace__... and join_clips_segment__model-wan22_vace__..., but only an i2v entry for individual_travel_segment; the revised plan makes individual_travel_segment with vace model params a must-level worker fixture, which broadens the worker smoke scope beyond the currently tracked wan/vace threshold routes. (flagged 1 times across 1 plans)
[DEBT] self-refiner-verification: self-refiner verification: the revised plan still aligns wan2gp/shared/utils/self_refiner.py without scheduling the sprint 2 ltx-2 self_refiner smoke that docs/wan2gp_fork_migration_plan.md defines as the behavior-preservation check for that drift upgrade. (flagged 1 times across 1 plans)
[DEBT] settings-defaults: workerrepopath default can go stale if user switches computertype before editing path (flagged 1 times across 1 plans)
[DEBT] settings-resolution: settings cascade missing — shot-only read diverges from form's defaults→user→project→shot merge (flagged 1 times across 1 plans)
[DEBT] settings-resolution: settings cascade missing — shot-only read (flagged 1 times across 1 plans)
[DEBT] shared-component-compatibility: numberinput changes affect callers outside video-editor (billing, travel-between-images, phaseconfigselectormodal). (flagged 1 times across 1 plans)
[DEBT] shared-component-compatibility: shared ui component blast radius not audited in plan. (flagged 1 times across 1 plans)
[DEBT] shot-linking-testing: no test covers the linkgenerationtoshot error/catch branches. (flagged 1 times across 1 plans)
[DEBT] signature-propagation: plan doesn't explicitly name timeline/index.tsx and segmentslotcontracts.ts for updates. (flagged 1 times across 1 plans)
[DEBT] signature-propagation: same as flag-001 — timeline/index.tsx and segmentslotcontracts.ts not in checklist. (flagged 1 times across 1 plans)
[DEBT] signature-propagation: five supporting contract/plumbing sites not named in the checklist. (flagged 1 times across 1 plans)
[DEBT] task-types-verification: step 3 cites wrong migration file (task_cost_configs instead of task_types) as evidence for db fallback path. (flagged 1 times across 1 plans)
[DEBT] task-types-verification: step 3 should cite task_types source, not task_cost_configs. (flagged 1 times across 1 plans)
[DEBT] task-types-verification: plan doesn't verify travel_segment and travel_stitch exist as active task_types rows using the correct table. (flagged 1 times across 1 plans)
[DEBT] test-coverage: current generation-child.test.ts is only a smoke test. (flagged 1 times across 1 plans)
[DEBT] test-coverage: no plan to verify other lookup paths choose rows consistently. (flagged 1 times across 1 plans)
[DEBT] test-coverage: no new tests for db loader or travel param merge path (flagged 1 times across 1 plans)
[DEBT] test-coverage: must-level criteria depend on manual testing rather than automated assertions (flagged 1 times across 1 plans)
[DEBT] test-coverage: no new unit tests for wave 4 tools (flagged 1 times across 1 plans)
[DEBT] test-coverage: must criteria backed by manual testing only (flagged 1 times across 1 plans)
[DEBT] test-infrastructure: no test fixtures for resources table (flagged 1 times across 1 plans)
[DEBT] timeline-drag-coordination: plan keeps two hooks instead of a single coordinator (flagged 1 times across 1 plans)
[DEBT] timeline-drag-coordination: brief says single coordinator but plan keeps separate hooks (flagged 2 times across 1 plans)
[DEBT] timeline-drag-coordination: pendingopsref retained despite brief suggesting removal (flagged 1 times across 1 plans)
[DEBT] timeline-drag-coordination: wrapper-bound listener mount wiring under-specified (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: read path still assembles config and registry from separate requests (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: poll sync verification not structurally changed (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: backend save helpers not wired to new rpc (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: read infrastructure not updated (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: backend tests not in validation list (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: backend callers not migrated (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: broader persistence-contract problem (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: backend split-save not addressed (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: split polling can combine config and registry from different snapshots (flagged 1 times across 1 plans)
[DEBT] timeline-scaling: the plan only specifies a concrete fix for the default scale(1) case; explicit-scale tracks may still break blend-mode effects. (flagged 1 times across 1 plans)
[DEBT] timeline-snap-threshold: threshold is generous (duration) rather than zoom-scaled (8px) (flagged 1 times across 1 plans)
[DEBT] timeline-snap-threshold: computedropposition does not pass a zoom-scaled threshold override (flagged 1 times across 1 plans)
[DEBT] travel-continuations: smooth continuations not threaded — agent tasks won't have continuation_config even when shot settings enable it (flagged 1 times across 1 plans)
[DEBT] travel-continuations: continuation_config omitted from form parity (flagged 1 times across 1 plans)
[DEBT] travel-payload-cleanup-scope: plan scope narrower than original user request (flagged 1 times across 1 plans)
[DEBT] travel-payload-cleanup-scope: broader create-task contract problem left untouched (flagged 1 times across 1 plans)
[DEBT] travel-payload-readers: phase 4 app-side reader audit incomplete (flagged 1 times across 1 plans)
[DEBT] travel-payload-readers: phase 4 field inventory incomplete for app-side readers (flagged 1 times across 1 plans)
[DEBT] travel-request-contract: image_variant_ids is in frontend request contract (flagged 1 times across 1 plans)
[DEBT] travel-request-contract: image_variant_ids contract change (flagged 1 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: spawn_worker does not internally call start_worker_process; harness must call both explicitly (flagged 1 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: worker_id and runpod_id must be generated and threaded distinctly; plan currently uses pod_id as both (flagged 1 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: duplicate of correctness-1 — spawn_worker two-step misstatement (flagged 2 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: duplicate of correctness-2 — worker_id/runpod_id propagation across takeover and restore paths (flagged 1 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: duplicate of correctness-1 + correctness-2 — missing create_worker_record glue and start_worker_process integration (flagged 1 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: duplicate of correctness-2 — caller contract for spawn_worker requires worker_id, not pod_id (flagged 1 times across 1 plans)
[DEBT] verification: no end-to-end render test for audio analysis timing (flagged 1 times across 1 plans)
[DEBT] verification: no automated coverage for text clips or overlapping clips with audio effects (flagged 1 times across 1 plans)
[DEBT] verification-coverage: no automated test exercises the full segment-slot opening path after cleanup. (flagged 1 times across 1 plans)
[DEBT] verification-coverage: no automated coverage that clicking a pair opens the correct modal after cleanup. (flagged 1 times across 1 plans)
[DEBT] verification-coverage: zero behavioral change criterion is not verifiable from tsc + existing tests alone. (flagged 1 times across 1 plans)
[DEBT] verification-workflow: tsconfig.app.json excludes test files, so tsc won't catch test breakage. (flagged 1 times across 1 plans)
[DEBT] worker-test-staleness: worker test in test_additional_coverage_modules.py:37 may assert stale payload structure (task_type vs family). (flagged 1 times across 1 plans)
code
Note: User chose auto-approve mode. This execution was not manually reviewed at the gate. Exercise extra caution on destructive operations.
Robustness level: standard.
Requirements:
- Execute only the actionable tasks in this batch.
- Treat completed tasks as dependency context, not new work.
- Return structured JSON only.
- Only produce `task_updates` for these tasks: [T1]
- Only produce `sense_check_acknowledgments` for these sense checks: [SC1]
- Do not include updates for tasks or sense checks outside this batch.
- Keep `executor_notes` verification-focused.
- Best-effort progress checkpointing: if `/Users/user_c042661f/Documents/reigh-workspace/.megaplan/plans/run-a-standard-all-codex-20260511-1359/execution_batch_1.json` is writable, checkpoint task and sense-check updates there (not `finalize.json`). The harness owns `finalize.json`.
- When verifying changes, run the entire test file or module, not individual test functions. Individual tests miss regressions.
- finalize.json includes baseline_test_failures — a list of test IDs that were already failing before your changes. If a test fails and its ID appears in baseline_test_failures, it is pre-existing — do not scope-creep into fixing it. If baseline_test_failures is null, the baseline could not be captured; use your judgment but err on the side of assuming failures are regressions. You MUST still re-run the FULL test suite with your changes applied — pre-existing failures do not excuse skipping verification. Never narrow to individual test functions and stop.
- If this batch includes the final verification task, write a short script that reproduces the exact bug described in the task, run it to confirm the fix resolves it, then delete the script.
{"output":"Batch 1 / T1 reached a verified fail-closed baseline, but the current reigh-worker workspace became blocked by a concurrent in-progress git conflict after verification. I did not resolve unrelated conflict files or abort the git operation. Checkpoint written to .megaplan/plans/run-a-standard-all-codex-20260511-1359/execution_batch_1.json.","files_changed":[[REDACTED],[REDACTED],[REDACTED],[REDACTED],[REDACTED],[REDACTED],[REDACTED],[REDACTED],[REDACTED]],"commands_run":["python -m scripts.capability_contracts.report validate --json","python -m scripts.capability_contracts.report render docs/vibecomfy-app-parity-tracker.md","python -m scripts.capability_contracts.report render docs/vibecomfy-app-parity-tracker.md --check","python -m pytest tests/test_capability_contracts.py tests/test_template_routing.py -q","rg -n "travel_segment_ltx2_control_video_first_last|cap\.travel-segment\.model-ltx2|travel_segment__model-ltx2[^\n]+vibecomfy_supported|travel_segment__model-ltx2_distilled__guidance-none[^\n]+vibecomfy_supported|video/ltx2_3_runexx_first_last_frame" source/task_handlers/tasks/template_routing.py scripts/capability_contracts/contracts.json scripts/live_test/matrix.py scripts/capability_contracts/live_matrix_manifest.json tests/test_template_routing.py docs/vibecomfy-app-parity-tracker.md scripts/dual_run_compare/fixtures/section3a_matrix.fixture /Users/user_c042661f/Documents/reigh-workspace/docs/sprint-12-route-inventory.md","python -m json.tool /Users/user_c042661f/Documents/reigh-workspace/.megaplan/plans/run-a-standard-all-codex-20260511-1359/execution_batch_1.json >/tmp/execution_batch_1.ok"],"deviations":["Updated scripts/dual_run_compare/fixtures/section3a_matrix.fixture and workspace-root docs/sprint-12-route-inventory.md because the full routing test module asserts those supporting artifacts match the route source blockers.","After the green verification run, reigh-worker changed to detached HEAD with unmerged conflict markers from an in-progress operation against a9471ee4 (Promote LTX first-last VibeComfy route). I did not abort or resolve unrelated conflict files."],"task_updates":[{"task_id":"T1","status":"blocked","executor_notes":"Fail-closed baseline was established and verified before the concurrent conflict: python -m scripts.capability_contracts.report validate --json returned 0 errors/warnings; python -m pytest tests/test_capability_contracts.py tests/test_template_routing.py -q passed 104 tests; tracker render check passed; stale travel_segment_ltx2_control_video_first_last was absent. Current blocker: reigh-worker now contains unmerged conflict markers in T1-owned files from an in-progress git operation, so the workspace is not currently clean/usable.","files_changed":["reigh-worker/source/task_handlers/tasks/template_routing.py","reigh-worker/scripts/capability_contracts/contracts.json","reigh-worker/scripts/live_test/matrix.py","reigh-worker/scripts/capability_contracts/live_matrix_manifest.json","reigh-worker/tests/test_template_routing.py","reigh-worker/docs/vibecomfy-app-parity-tracker.md","reigh-worker/scripts/dual_run_compare/fixtures/section3a_matrix.fixture","docs/sprint-12-route-inventory.md"],"commands_run":["python -m scripts.capability_contracts.report validate --json","python -m scripts.capability_contracts.report render docs/vibecomfy-app-parity-tracker.md","python -m scripts.capability_contracts.report render docs/vibecomfy-app-parity-tracker.md --check","python -m pytest tests/test_capability_contracts.py tests/test_template_routing.py -q"],"auto_attributed_files":false}],"sense_check_acknowledgments":[{"sense_check_id":"SC1","executor_note":"Passed before the concurrent git conflict: route source, contracts, matrix, manifest, routing tests, and regenerated tracker agreed both LTX first/last routes were fail-closed with distinct blockers; current matrix case names were travel_segment_ltx2_first_last and travel_segment_ltx2_distilled_first_last; the removed travel_segment_ltx2_control_video_first_last case was not reintroduced. Current conflict markers prevent treating this as durable until the in-progress git operation is resolved."}]}
Run a standard all-codex implementation plan for VibeComfy/Wan2GP feature parity across the coordinated workspace repos: vibecomfy, reigh-worker, reigh-worker-orchestrator, and runpod-lifecycle.
Goal: reach feature-level parity between the Wan2GP path and VibeComfy path for all app-exposed image/video/generation capabilities. VibeComfy workflows must be pure Python ready templates, not JSON execution. Every supported workflow should have a contract, route selection, static validation, model/custom-node asset validation, live evidence, and docs. Unsupported routes must fail closed with explicit blockers, not silently drift.
User bar: no hidden or suspended functionality if it works in Wan2GP; VibeComfy should ultimately implement every applicable capability. Preserve exact settings/variation behavior: LoRAs, control guidance, first/last images, video source, join bridge, orchestrator child tasks, output artifacts, and worker route contracts.
Worker branch: megaplan/vibecomfy-sprint-09-control-rail-travel-matrix. Currently has uncommitted edits in docs/vibecomfy-app-parity-tracker.md, scripts/capability_contracts/loaders.py, and tests/test_capability_contracts.py that clear stale template-index blockers and add a regression check. Worker test tests/test_capability_contracts.py previously passed: 12 passed.
Root blocker identified by main thread: durable worker still marks LTX first/last travel routes fail-closed in source/task_handlers/tasks/template_routing.py, while VibeComfy has Python LTX first/last templates in ready_templates/video/ltx2_3_runexx_first_last_frame.py and related LTX templates. The old live-test case name travel_segment_ltx2_control_video_first_last no longer exists; current matrix case names are in scripts/live_test/matrix.py.
Prior temporary-worktree RunPod work found/fixed multiple issues: stale object_info/schema aliases, missing LTX/Kijai model assets, output artifact contracts, pod liveness false positives, and local venv install path. Those fixes may already be represented differently in durable repos; verify before redoing.
Constraints:
Inspect current code and docs during prep/plan. Identify whether existing tools already cover workflow conversion/doctor/contract/index/model validation and where they are missing.
Execute useful, bounded feature work directly if execution is reached. Prefer tooling/docs/static-contract improvements that do not conflict with main-thread live-test work. Good candidates: robust workflow doctor/checklist, stale blocker detection, pure-Python ready-template lint, route-contract coverage reports, capability inventory docs, object_info cache guidance, matrix case discoverability.
Avoid launching expensive RunPod jobs unless execution explicitly requires it and there is high confidence it will not duplicate main-thread work. If launched, terminate pods and record evidence.
Do not revert user/main-thread changes. There may be concurrent edits.
Keep implementation pragmatic: contracts should be informative and aligned with what actually runs, but not burdensome disconnected updates. Improve discoverability for future agents/developers.
Expected final report: plan name, status, executed changes, tests, and remaining blockers.
User notes and answers:
After the blocked execute result, direct inspection shows reigh-worker is clean on branch megaplan/vibecomfy-sprint-09-control-rail-travel-matrix at 027c1492 ahead 1, and vibecomfy is clean on branch megaplan/production-parity-templates at 26c381d ahead 1. Workspace root has unrelated modified docs/untracked paths; do not revert them. Re-check actual git status before assuming unresolved conflicts.
Do not edit execution JSON manually. Do not revert unrelated root workspace changes. Before planning, inspect current commits: reigh-worker 027c1492, vibecomfy 26c381d, and current route/template state; the prior T1 blocker may no longer apply.
code
Batch framing:
- Execute batch 1 of 7.
- Actionable task IDs for this batch: ['T1']
- Already completed task IDs available as dependency context: []
Actionable tasks for this batch:
[
{
"id": "T1",
"description": "In each touched repo, start by running git status --short --branch and confirming the current commits/branches instead of trusting the checkpoint text: reigh-worker around 027c1492 on megaplan/vibecomfy-sprint-09-control-rail-travel-matrix, vibecomfy around 26c381d on megaplan/production-parity-templates, and orchestrator only if later needed. In reigh-worker, inspect and preserve any existing local diffs before editing, especially tests/test_vibecomfy_adapter.py and docs/sprint-12-route-inventory.md; layer changes additively and do not revert unrelated root workspace changes. Then normalize the current over-promoted worker state to a green fail-closed baseline: set non-distilled travel_segment__model-ltx2__guidance-none__continuity-first_last__profile-default, distilled travel_segment__model-ltx2_distilled__guidance-none__continuity-first_last__profile-default, and all LTX control-guide first/last route keys to VIBECOMFY_UNSUPPORTED in source/task_handlers/tasks/template_routing.py; set matching implementation: unsupported and status: unsupported_fail_closed entries in scripts/capability_contracts/contracts.json; record blockers that non-distilled would reuse distilled assets, distilled promotion is pending VibeComfy doctor/model-assets/adapter proof, and control-guide routes lack control-capable VibeComfy evidence.",
"depends_on": [],
"status": "pending",
"executor_notes": "",
"reviewer_verdict": ""
}
]
code
{
"plan_name": "VibeComfy/Wan2GP parity fail-closed baseline - batch 1",
"status": "completed_with_expected_followup_failures",
"executed_changes": [
"Verified current repo state before editing: reigh-worker was clean on megaplan/vibecomfy-sprint-09-control-rail-travel-matrix at 9deb9b33; vibecomfy was clean on megaplan/production-parity-templates at 26c381d; root workspace had unrelated existing changes left untouched.",
"In reigh-worker/source/task_handlers/tasks/template_routing.py, set non-distilled LTX first/last, distilled LTX first/last, and all five LTX control-guide first/last route keys to VIBECOMFY_UNSUPPORTED with BLOCKED disposition and explicit blockers.",
"In reigh-worker/scripts/capability_contracts/contracts.json, changed matching seven LTX route contracts to implementation: unsupported and status: unsupported_fail_closed, removed template bindings, kept worker-route static evidence, and recorded route-specific blockers."
],
"files_changed": [
"reigh-worker/source/task_handlers/tasks/template_routing.py",
"reigh-worker/scripts/capability_contracts/contracts.json"
],
"commands_run": [
"git status --short --branch && git rev-parse --short HEAD && git branch --show-current (reigh-worker)",
"git status --short --branch && git rev-parse --short HEAD && git branch --show-current (vibecomfy)",
"git status --short --branch (workspace root)",
"python -m json.tool scripts/capability_contracts/contracts.json >/tmp/contracts.t1.ok",
"python -m scripts.capability_contracts.report validate --json",
"python -m pytest tests/test_capability_contracts.py tests/test_template_routing.py -q"
],
"tests": [
{
"command": "python -m scripts.capability_contracts.report validate --json",
"status": "passed",
"summary": "0 errors, 0 warnings"
},
{
"command": "python -m pytest tests/test_capability_contracts.py tests/test_template_routing.py -q",
"status": "failed",
"summary": "95 passed, 10 failed, 2 warnings. Failures are expected T2-owned drift: matrix, live manifest, sprint route inventory, and routing tests still advertise the old promoted LTX state."
}
],
"remaining_blockers": [
"T2 must update scripts/live_test/matrix.py, scripts/capability_contracts/live_matrix_manifest.json, tests/test_template_routing.py, and supporting docs to match the fail-closed baseline.",
"The stale travel_segment_ltx2_control_video_first_last case still exists in matrix/manifest and is intentionally left for T2, not changed in this T1-only batch.",
"Root workspace has unrelated modified docs and untracked paths; preserved and not reverted."
],
"task_updates": [
{
"task_id": "T1",
"status": "completed",
"executor_notes": "Verified current git status/commits before editing. reigh-worker and vibecomfy were clean; root had unrelated existing changes. T1 source and contracts now fail-close non-distilled LTX first/last, distilled pre-gate LTX first/last, and all LTX control first/last route keys with explicit blockers. Contract validation passes with 0 errors/warnings. Broader capability/routing tests fail only on T2-owned support surfaces that still expect promoted LTX routes.",
"reviewer_verdict": ""
}
],
"sense_check_acknowledgments": [
{
"sense_check_id": "SC1",
"verdict": "passed",
"executor_note": "Yes. Current git status and commits were verified; existing local/root diffs were preserved; route source plus contracts now fail-close non-distilled, distilled pre-gate, and all LTX control first/last routes with explicit blockers."
}
]
}
Run a standard all-codex implementation plan for VibeComfy/Wan2GP feature parity across the coordinated workspace repos: vibecomfy, reigh-worker, reigh-worker-orchestrator, and runpod-lifecycle.
Goal: reach feature-level parity between the Wan2GP path and VibeComfy path for all app-exposed image/video/generation capabilities. VibeComfy workflows must be pure Python ready templates, not JSON execution. Every supported workflow should have a contract, route selection, static validation, model/custom-node asset validation, live evidence, and docs. Unsupported routes must fail closed with explicit blockers, not silently drift.
User bar: no hidden or suspended functionality if it works in Wan2GP; VibeComfy should ultimately implement every applicable capability. Preserve exact settings/variation behavior: LoRAs, control guidance, first/last images, video source, join bridge, orchestrator child tasks, output artifacts, and worker route contracts.
Worker branch: megaplan/vibecomfy-sprint-09-control-rail-travel-matrix. Currently has uncommitted edits in docs/vibecomfy-app-parity-tracker.md, scripts/capability_contracts/loaders.py, and tests/test_capability_contracts.py that clear stale template-index blockers and add a regression check. Worker test tests/test_capability_contracts.py previously passed: 12 passed.
Root blocker identified by main thread: durable worker still marks LTX first/last travel routes fail-closed in source/task_handlers/tasks/template_routing.py, while VibeComfy has Python LTX first/last templates in ready_templates/video/ltx2_3_runexx_first_last_frame.py and related LTX templates. The old live-test case name travel_segment_ltx2_control_video_first_last no longer exists; current matrix case names are in scripts/live_test/matrix.py.
Prior temporary-worktree RunPod work found/fixed multiple issues: stale object_info/schema aliases, missing LTX/Kijai model assets, output artifact contracts, pod liveness false positives, and local venv install path. Those fixes may already be represented differently in durable repos; verify before redoing.
Constraints:
Inspect current code and docs during prep/plan. Identify whether existing tools already cover workflow conversion/doctor/contract/index/model validation and where they are missing.
Execute useful, bounded feature work directly if execution is reached. Prefer tooling/docs/static-contract improvements that do not conflict with main-thread live-test work. Good candidates: robust workflow doctor/checklist, stale blocker detection, pure-Python ready-template lint, route-contract coverage reports, capability inventory docs, object_info cache guidance, matrix case discoverability.
Avoid launching expensive RunPod jobs unless execution explicitly requires it and there is high confidence it will not duplicate main-thread work. If launched, terminate pods and record evidence.
Do not revert user/main-thread changes. There may be concurrent edits.
Keep implementation pragmatic: contracts should be informative and aligned with what actually runs, but not burdensome disconnected updates. Improve discoverability for future agents/developers.
Expected final report: plan name, status, executed changes, tests, and remaining blockers.
User notes and answers:
After the blocked execute result, direct inspection shows reigh-worker is clean on branch megaplan/vibecomfy-sprint-09-control-rail-travel-matrix at 027c1492 ahead 1, and vibecomfy is clean on branch megaplan/production-parity-templates at 26c381d ahead 1. Workspace root has unrelated modified docs/untracked paths; do not revert them. Re-check actual git status before assuming unresolved conflicts.
Do not edit execution JSON manually. Do not revert unrelated root workspace changes. Before planning, inspect current commits: reigh-worker 027c1492, vibecomfy 26c381d, and current route/template state; the prior T1 blocker may no longer apply.
code
Batch framing:
- Execute batch 2 of 7.
- Actionable task IDs for this batch: ['T2']
- Already completed task IDs available as dependency context: ['T1']
Actionable tasks for this batch:
[
{
"id": "T2",
"description": "Update every worker support surface to match the fail-closed baseline from T1. In scripts/live_test/matrix.py, stop advertising travel_segment_ltx2_first_last and travel_segment_ltx2_distilled_first_last as supported VibeComfy live-run cases during the baseline; keep them only as explicit fail-closed/discoverability cases if the matrix supports unsupported cases cleanly. Remove or rename the stale travel_segment_ltx2_control_video_first_last case and use only current matrix case names. Update scripts/capability_contracts/live_matrix_manifest.json to match build_matrix() stable fields. Update tests/test_template_routing.py, especially test_section3a_ltx_first_last_rows_are_supported_after_adapter_wiring, so non-promoted LTX first/last routes and LTX control-guide routes assert fail-closed behavior. Regenerate docs/vibecomfy-app-parity-tracker.md from contracts after edits, preserving any unrelated local doc changes.",
"depends_on": [
"T1"
],
"status": "pending",
"executor_notes": "",
"reviewer_verdict": ""
}
]
code
Completed task context (already satisfied, do not re-execute unless directly required by current edits):
[
{
"id": "T1",
"description": "In each touched repo, start by running git status --short --branch and confirming the current commits/branches instead of trusting the checkpoint text: reigh-worker around 027c1492 on megaplan/vibecomfy-sprint-09-control-rail-travel-matrix, vibecomfy around on , and orchestrator only if later needed. In , inspect and preserve any existing local diffs before editing, especially and ; layer changes additively and do not revert unrelated root workspace changes. Then normalize the current over-promoted worker state to a green fail-closed baseline: set non-distilled , distilled , and all LTX control-guide first/last route keys to in ; set matching and entries in ; record blockers that non-distilled would reuse distilled assets, distilled promotion is pending VibeComfy doctor/model-assets/adapter proof, and control-guide routes lack control-capable VibeComfy evidence.",
"depends_on": [],
"status": "done",
"executor_notes": "Verified current git status/commits before editing. reigh-worker and vibecomfy were clean; root had unrelated existing changes. T1 source and contracts now fail-close non-distilled LTX first/last, distilled pre-gate LTX first/last, and all LTX control first/last route keys with explicit blockers. Contract validation passes with 0 errors/warnings. Broader capability/routing tests fail only on T2-owned support surfaces that still expect promoted LTX routes.",
"reviewer_verdict": "",
"files_changed": [
"docs/migration-vibecomfy-live-validation.md",
"docs/migration-vibecomfy.md",
"docs/sprint-12-route-inventory.md",
"reigh-app-cloud-chain"
],
"commands_run": [],
"auto_attributed_files": true
}
]
Run a standard all-codex implementation plan for VibeComfy/Wan2GP feature parity across the coordinated workspace repos: vibecomfy, reigh-worker, reigh-worker-orchestrator, and runpod-lifecycle.
Goal: reach feature-level parity between the Wan2GP path and VibeComfy path for all app-exposed image/video/generation capabilities. VibeComfy workflows must be pure Python ready templates, not JSON execution. Every supported workflow should have a contract, route selection, static validation, model/custom-node asset validation, live evidence, and docs. Unsupported routes must fail closed with explicit blockers, not silently drift.
User bar: no hidden or suspended functionality if it works in Wan2GP; VibeComfy should ultimately implement every applicable capability. Preserve exact settings/variation behavior: LoRAs, control guidance, first/last images, video source, join bridge, orchestrator child tasks, output artifacts, and worker route contracts.
Worker branch: megaplan/vibecomfy-sprint-09-control-rail-travel-matrix. Currently has uncommitted edits in docs/vibecomfy-app-parity-tracker.md, scripts/capability_contracts/loaders.py, and tests/test_capability_contracts.py that clear stale template-index blockers and add a regression check. Worker test tests/test_capability_contracts.py previously passed: 12 passed.
Root blocker identified by main thread: durable worker still marks LTX first/last travel routes fail-closed in source/task_handlers/tasks/template_routing.py, while VibeComfy has Python LTX first/last templates in ready_templates/video/ltx2_3_runexx_first_last_frame.py and related LTX templates. The old live-test case name travel_segment_ltx2_control_video_first_last no longer exists; current matrix case names are in scripts/live_test/matrix.py.
Prior temporary-worktree RunPod work found/fixed multiple issues: stale object_info/schema aliases, missing LTX/Kijai model assets, output artifact contracts, pod liveness false positives, and local venv install path. Those fixes may already be represented differently in durable repos; verify before redoing.
Constraints:
Inspect current code and docs during prep/plan. Identify whether existing tools already cover workflow conversion/doctor/contract/index/model validation and where they are missing.
Execute useful, bounded feature work directly if execution is reached. Prefer tooling/docs/static-contract improvements that do not conflict with main-thread live-test work. Good candidates: robust workflow doctor/checklist, stale blocker detection, pure-Python ready-template lint, route-contract coverage reports, capability inventory docs, object_info cache guidance, matrix case discoverability.
Avoid launching expensive RunPod jobs unless execution explicitly requires it and there is high confidence it will not duplicate main-thread work. If launched, terminate pods and record evidence.
Do not revert user/main-thread changes. There may be concurrent edits.
Keep implementation pragmatic: contracts should be informative and aligned with what actually runs, but not burdensome disconnected updates. Improve discoverability for future agents/developers.
Expected final report: plan name, status, executed changes, tests, and remaining blockers.
User notes and answers:
After the blocked execute result, direct inspection shows reigh-worker is clean on branch megaplan/vibecomfy-sprint-09-control-rail-travel-matrix at 027c1492 ahead 1, and vibecomfy is clean on branch megaplan/production-parity-templates at 26c381d ahead 1. Workspace root has unrelated modified docs/untracked paths; do not revert them. Re-check actual git status before assuming unresolved conflicts.
Do not edit execution JSON manually. Do not revert unrelated root workspace changes. Before planning, inspect current commits: reigh-worker 027c1492, vibecomfy 26c381d, and current route/template state; the prior T1 blocker may no longer apply.
code
Batch framing:
- Execute batch 2 of 7.
- Actionable task IDs for this batch: ['T2']
- Already completed task IDs available as dependency context: ['T1']
Actionable tasks for this batch:
[
{
"id": "T2",
"description": "Update every worker support surface to match the fail-closed baseline from T1. In scripts/live_test/matrix.py, stop advertising travel_segment_ltx2_first_last and travel_segment_ltx2_distilled_first_last as supported VibeComfy live-run cases during the baseline; keep them only as explicit fail-closed/discoverability cases if the matrix supports unsupported cases cleanly. Remove or rename the stale travel_segment_ltx2_control_video_first_last case and use only current matrix case names. Update scripts/capability_contracts/live_matrix_manifest.json to match build_matrix() stable fields. Update tests/test_template_routing.py, especially test_section3a_ltx_first_last_rows_are_supported_after_adapter_wiring, so non-promoted LTX first/last routes and LTX control-guide routes assert fail-closed behavior. Regenerate docs/vibecomfy-app-parity-tracker.md from contracts after edits, preserving any unrelated local doc changes.",
"depends_on": [
"T1"
],
"status": "pending",
"executor_notes": "",
"reviewer_verdict": ""
}
]
code
Completed task context (already satisfied, do not re-execute unless directly required by current edits):
[
{
"id": "T1",
"description": "In each touched repo, start by running git status --short --branch and confirming the current commits/branches instead of trusting the checkpoint text: reigh-worker around 027c1492 on megaplan/vibecomfy-sprint-09-control-rail-travel-matrix, vibecomfy around on , and orchestrator only if later needed. In , inspect and preserve any existing local diffs before editing, especially and ; layer changes additively and do not revert unrelated root workspace changes. Then normalize the current over-promoted worker state to a green fail-closed baseline: set non-distilled , distilled , and all LTX control-guide first/last route keys to in ; set matching and entries in ; record blockers that non-distilled would reuse distilled assets, distilled promotion is pending VibeComfy doctor/model-assets/adapter proof, and control-guide routes lack control-capable VibeComfy evidence.",
"depends_on": [],
"status": "done",
"executor_notes": "Verified current git status/commits before editing. reigh-worker and vibecomfy were clean; root had unrelated existing changes. T1 source and contracts now fail-close non-distilled LTX first/last, distilled pre-gate LTX first/last, and all LTX control first/last route keys with explicit blockers. Contract validation passes with 0 errors/warnings. Broader capability/routing tests fail only on T2-owned support surfaces that still expect promoted LTX routes.",
"reviewer_verdict": "",
"files_changed": [
"docs/migration-vibecomfy-live-validation.md",
"docs/migration-vibecomfy.md",
"docs/sprint-12-route-inventory.md",
"reigh-app-cloud-chain"
],
"commands_run": [],
"auto_attributed_files": true
}
]
“Execute the approved plan in the repository. Project directory:….” Conversation with gpt-5.5, from the Peter O’Mallet DataClaw Conversations dataset. The Chat Archive, 2026. https://thechatarchive.com/c/01m80eqmf4546vy41vtrdjpgna
Dataset releases
Not yet included in a published release.
Completed task context (already satisfied, do not re-execute unless directly required by current edits):
[]
Prior batch deviations (address if applicable):
None
User action prerequisites:
No user_action prerequisites for this batch.
Batch-scoped sense checks:
[
{
"id": "SC1",
"task_id": "T1",
"question": "Did execution verify current git status/commits, preserve existing local diffs, and make route source plus contracts fail-closed for non-distilled, distilled pre-gate, and all LTX control first/last routes with explicit blockers?",
"verdict": ""
}
]
code
Full execution tracking source of truth (`finalize.json`):
{
"tasks": [
{
"id": "T1",
"description": "In each touched repo, start by running git status --short --branch and confirming the current commits/branches instead of trusting the checkpoint text: reigh-worker around 027c1492 on megaplan/vibecomfy-sprint-09-control-rail-travel-matrix, vibecomfy around 26c381d on megaplan/production-parity-templates, and orchestrator only if later needed. In reigh-worker, inspect and preserve any existing local diffs before editing, especially tests/test_vibecomfy_adapter.py and docs/sprint-12-route-inventory.md; layer changes additively and do not revert unrelated root workspace changes. Then normalize the current over-promoted worker state to a green fail-closed baseline: set non-distilled travel_segment__model-ltx2__guidance-none__continuity-first_last__profile-default, distilled travel_segment__model-ltx2_distilled__guidance-none__continuity-first_last__profile-default, and all LTX control-guide first/last route keys to VIBECOMFY_UNSUPPORTED in source/task_handlers/tasks/template_routing.py; set matching implementation: unsupported and status: unsupported_fail_closed entries in scripts/capability_contracts/contracts.json; record blockers that non-distilled would reuse distilled assets, distilled promotion is pending VibeComfy doctor/model-assets/adapter proof, and control-guide routes lack control-capable VibeComfy evidence.",
"depends_on": [],
"status": "pending",
"executor_notes": "",
"reviewer_verdict": ""
},
{
"id": "T2",
"description": "Update every worker support surface to match the fail-closed baseline from T1. In scripts/live_test/matrix.py, stop advertising travel_segment_ltx2_first_last and travel_segment_ltx2_distilled_first_last as supported VibeComfy live-run cases during the baseline; keep them only as explicit fail-closed/discoverability cases if the matrix supports unsupported cases cleanly. Remove or rename the stale travel_segment_ltx2_control_video_first_last case and use only current matrix case names. Update scripts/capability_contracts/live_matrix_manifest.json to match build_matrix() stable fields. Update tests/test_template_routing.py, especially test_section3a_ltx_first_last_rows_are_supported_after_adapter_wiring, so non-promoted LTX first/last routes and LTX control-guide routes assert fail-closed behavior. Regenerate docs/vibecomfy-app-parity-tracker.md from contracts after edits, preserving any unrelated local doc changes.",
"depends_on": [
"T1"
],
"status": "pending",
"executor_notes": "",
"reviewer_verdict": ""
},
{
"id": "T3",
"description": "Validate and stabilize the fail-closed worker baseline. From reigh-worker, run python -m scripts.capability_contracts.report validate --json and python -m pytest tests/test_capability_contracts.py tests/test_template_routing.py -q. Fix any route-binding, matrix-manifest, or tracker drift without promoting LTX routes. Keep existing regression coverage that detects future route, matrix, manifest, and contract drift.",
"depends_on": [
"T2"
],
"status": "pending",
"executor_notes": "",
"reviewer_verdict": ""
},
{
"id": "T4",
"description": "In vibecomfy, make video/ltx2_3_runexx_first_last_frame promotable as a durable pure-Python ready template. Before editing ready_templates/video/ltx2_3_runexx_first_last_frame.py, account for its # vibecomfy: generated header: prefer updating generator inputs or override metadata used by tools/convert_ready_templates.py; if the fix cannot be represented there, change the first-line marker to # vibecomfy: manual before direct edits. Run python -m vibecomfy.cli doctor video/ltx2_3_runexx_first_last_frame --json, inspect GetNode/SetNode broadcast runtime-link errors, and fix only genuine graph invalidity or incorrect doctor policy handling. Keep python -m vibecomfy.cli validate video/ltx2_3_runexx_first_last_frame passing. Add durable model asset declarations for every concrete LTX model file referenced by the template, including UNET/GGUF, CLIP/projection, video/audio/tiny VAE, spatial upscaler, and any distilled LoRA actually used. Keep READY_REQUIREMENTS['custom_nodes'] aligned with node classes. Add focused coverage in existing tests so referenced filenames must appear in READY_METADATA['model_assets'] or READY_REQUIREMENTS['models']. Run python -m tools.refresh_template_index --check, python -m vibecomfy.cli validate video/ltx2_3_runexx_first_last_frame, python -m vibecomfy.cli doctor video/ltx2_3_runexx_first_last_frame --json, and python -m pytest tests/test_ready_templates.py tests/test_model_assets.py -q until green.",
"depends_on": [
"T3"
],
"status": "pending",
"executor_notes": "",
"reviewer_verdict": ""
},
{
"id": "T5",
"description": "In reigh-worker, prove low-level LTX scratchpad binding before route promotion. First inspect the current local diff for tests/test_vibecomfy_adapter.py and preserve any existing user/main-thread edits. Add or adjust an existing adapter test so it calls the LTX scratchpad writer or builder directly with a synthetic supported ResolvedTask; do not call handle_vibecomfy_resolved_task in this pre-promotion test. Assert the generated/patched scratchpad preserves first image, last image, prompt, negative prompt, seed, resolution, frame count, and FPS. Keep _validate_supported_resolved_task strict, and keep/add assertions that the public handler rejects fail-closed or unsupported resolved tasks. Keep backend-selection tests focused on route/backend dispatch and leave public resolve_task_route(... backend='vibecomfy') plus handler proof for after promotion. Assert non-distilled ltx2_22B does not silently use the distilled template path. Run python -m pytest tests/test_vibecomfy_adapter.py -q for this pre-promotion proof.",
"depends_on": [
"T3",
"T4"
],
"status": "pending",
"executor_notes": "",
"reviewer_verdict": ""
},
{
"id": "T6",
"description": "After T4 and T5 pass, atomically promote only the distilled no-control LTX first/last route. In reigh-worker/source/task_handlers/tasks/template_routing.py, change travel_segment__model-ltx2_distilled__guidance-none__continuity-first_last__profile-default to VIBECOMFY_SUPPORTED; in the same change set update scripts/capability_contracts/contracts.json to implementation: vibecomfy, template_id: video/ltx2_3_runexx_first_last_frame, and status: static_valid or template_bound, not runtime_green. Update artifact contract fields for child task completion, MP4 output, storage path, and output artifact expectations. Immediately run python -m scripts.capability_contracts.report validate --json to catch implementation_mismatch or template_mismatch. Then add/restore post-promotion public handler proof in existing tests: build resolved = resolve_task_route(... backend='vibecomfy') for ltx2_22B_distilled_1_1, call handle_vibecomfy_resolved_task, assert the route is VIBECOMFY_SUPPORTED, has no fail_closed_reason, selects video/ltx2_3_runexx_first_last_frame, and preserves runtime fields through the handler path. Keep a parallel assertion that non-distilled ltx2_22B remains fail-closed and is rejected by the public handler. Update scripts/live_test/matrix.py, scripts/capability_contracts/live_matrix_manifest.json, tests/test_template_routing.py, and regenerated docs/vibecomfy-app-parity-tracker.md so the distilled case is discoverable as the current supported static/live candidate, non-distilled remains fail-closed, all LTX control routes remain fail-closed, current matrix case names are used, and no live evidence is added without a completed report.",
"depends_on": [
"T4",
"T5"
],
"status": "pending",
"executor_notes": "",
"reviewer_verdict": ""
},
{
"id": "T7",
"description": "Final verification and runtime-evidence discipline. Run the full validation sequence and fix/re-run until green: from reigh-worker, python -m scripts.capability_contracts.report validate --json and python -m pytest tests/test_capability_contracts.py tests/test_template_routing.py tests/test_vibecomfy_adapter.py tests/test_vibecomfy_backend_selection.py -q; from vibecomfy, python -m tools.refresh_template_index --check, python -m vibecomfy.cli validate video/ltx2_3_runexx_first_last_frame, python -m vibecomfy.cli doctor video/ltx2_3_runexx_first_last_frame --json, and python -m pytest tests/test_ready_templates.py tests/test_model_assets.py -q; from reigh-worker-orchestrator, only if route metadata shape changed, python -m pytest tests/gpu_orchestrator/test_route_aware_task_counts.py tests/test_route_stale_worker_state.py -q. Also write a short throwaway script under a temporary path, not a test file, that reproduces the original route drift: confirm non-distilled LTX first/last fail-closes, distilled LTX first/last resolves through backend='vibecomfy' to video/ltx2_3_runexx_first_last_frame, stale travel_segment_ltx2_control_video_first_last is absent, LTX control routes fail-close, and no LTX route is marked runtime_green without completed live evidence; run it and delete it. Do not launch RunPod/live jobs unless all static gates are green and the run is explicitly non-duplicative; if launched, record pod IDs, report paths, final statuses, output artifacts, and termination evidence, and only then consider runtime_green. Finish by checking git status --short --branch in touched repos and summarizing executed changes, tests, and remaining blockers.",
"depends_on": [
"T6"
],
"status": "pending",
"executor_notes": "",
"reviewer_verdict": ""
}
],
"watch_items": [
"Do not invoke the megaplan CLI, read or activate the megaplan skill, start nested plans, or edit execution JSON manually.",
"Re-check actual git status --short --branch in every touched repo before editing. The checkpoint may be stale; reigh-worker/tests/test_vibecomfy_adapter.py and docs/sprint-12-route-inventory.md may already have local changes that must be preserved.",
"Do not revert unrelated root workspace changes or user/main-thread edits. If a file is already modified and in scope, inspect its diff and layer changes additively.",
"The current durable code may be over-promoted. Normalize to a fail-closed baseline before attempting distilled promotion.",
"Keep fail-closed baseline and atomic distilled promotion as separate validation slices. Do not expect contract validation to be green while route source and contracts disagree.",
"Do not weaken _validate_supported_resolved_task; pre-promotion proof must call the low-level scratchpad writer/builder with a synthetic supported task, not the public handler.",
"Only the distilled no-control first/last route may be promoted in this slice. Non-distilled ltx2_22B must remain fail-closed unless a true non-distilled implementation is added.",
"All LTX control-guide route keys must remain explicitly fail-closed until control-capable VibeComfy evidence exists, including any currently over-promoted control-video first/last route.",
"Do not resurrect travel_segment_ltx2_control_video_first_last; use current matrix case names only.",
"The LTX ready template is generated unless deliberately changed. Model-asset and doctor fixes must survive regeneration or the file must be marked manual before direct edits.",
"vibecomfy doctor video/ltx2_3_runexx_first_last_frame --json is a hard gate before promotion; validate alone is insufficient.",
"Static/template-bound support is not runtime evidence. Do not set runtime_green or add live evidence without a completed live report and output artifact location.",
"Avoid RunPod/live execution in this static correction slice unless static gates are green and the run will not duplicate main-thread work.",
"Preserve exact route/runtime field behavior: first image, last image, prompt, negative prompt, seed, resolution, frame count, FPS, output artifact expectations, and child task completion contracts."
],
"sense_checks": [
{
"id": "SC1",
"task_id": "T1",
"question": "Did execution verify current git status/commits, preserve existing local diffs, and make route source plus contracts fail-closed for non-distilled, distilled pre-gate, and all LTX control first/last routes with explicit blockers?",
"verdict": ""
},
{
"id": "SC2",
"task_id": "T2",
"question": "Do matrix, manifest, routing tests, and regenerated tracker all agree with the fail-closed baseline, with the stale travel_segment_ltx2_control_video_first_last supported surface removed?",
"verdict": ""
},
{
"id": "SC3",
"task_id": "T3",
"question": "Do worker contract validation and capability/routing tests pass while LTX first/last and LTX control-guide routes remain fail-closed?",
"verdict": ""
},
{
"id": "SC4",
"task_id": "T4",
"question": "Does the distilled LTX VibeComfy template pass refresh-index, validate, doctor, and model-asset tests, and are edits durable via generator inputs/overrides or an explicit manual marker?",
"verdict": ""
},
{
"id": "SC5",
"task_id": "T5",
"question": "Does the pre-promotion adapter proof exercise only the low-level scratchpad writer/builder with a synthetic supported task, preserve all required runtime fields, and leave public handler rejection strict for fail-closed tasks?",
"verdict": ""
},
{
"id": "SC6",
"task_id": "T6",
"question": "Was only the distilled no-control route promoted atomically with a matching VibeComfy contract/template id and static/template-bound status, while non-distilled and all control routes remain fail-closed?",
"verdict": ""
},
{
"id": "SC7",
"task_id": "T7",
"question": "Do all final validation commands and the throwaway drift-reproduction script pass, with no stale matrix case, no unsupported LTX promotion, and no runtime_green status without completed live evidence?",
"verdict": ""
}
],
"user_actions": [],
"meta_commentary": "Execution should treat the repo as a moving workspace, not as the checkpoint snapshot. The first practical move is to inspect current statuses and diffs, especially the already-modified adapter test, then normalize the over-promoted LTX surfaces to a fail-closed baseline. Only after worker baseline validation, VibeComfy doctor/model-asset gates, and low-level scratchpad proof are green should the distilled no-control route be promoted. The most important judgment calls are to preserve existing local edits, avoid silently mapping non-distilled LTX to distilled assets, keep control-guide routes blocked, and never equate static validation with runtime evidence.",
"validation": {
"plan_steps_covered": [
{
"plan_step_summary": "Current replan checkpoint: verify current commits/status, do not assume prior clean state, and inspect/preserve local worker diffs before editing.",
"finalize_item_ids": [
"T1",
"T5",
"T7"
]
},
{
"plan_step_summary": "Step 1: Make current LTX first/last and LTX control-guide worker routes consistently unsupported/fail-closed with explicit blockers.",
"finalize_item_ids": [
"T1"
]
},
{
"plan_step_summary": "Step 2: Update worker matrix, manifest, routing tests, and tracker to match fail-closed state and remove stale matrix case.",
"finalize_item_ids": [
"T2"
]
},
{
"plan_step_summary": "Step 3: Prove fail-closed worker validator and capability-contract tests are green.",
"finalize_item_ids": [
"T3"
]
},
{
"plan_step_summary": "Step 4: Choose a durable edit path for the generated VibeComfy LTX ready template.",
"finalize_item_ids": [
"T4"
]
},
{
"plan_step_summary": "Step 5: Make VibeComfy doctor a hard static gate and fix template/doctor issues appropriately.",
"finalize_item_ids": [
"T4",
"T7"
]
},
{
"plan_step_summary": "Step 6: Declare concrete LTX model assets and aligned custom-node/model requirements with focused coverage.",
"finalize_item_ids": [
"T4",
"T7"
]
},
{
"plan_step_summary": "Step 7: Add pre-promotion low-level scratchpad writer proof without using the public handler.",
"finalize_item_ids": [
"T5"
]
},
{
"plan_step_summary": "Step 8: Keep backend-selection tests focused, defer public handler proof until after promotion, and prove non-distilled does not use distilled template path.",
"finalize_item_ids": [
"T5",
"T6"
]
},
{
"plan_step_summary": "Step 9: Atomically flip distilled route source and contract to VibeComfy static/template-bound support after gates pass.",
"finalize_item_ids": [
"T6",
"T7"
]
},
{
"plan_step_summary": "Step 10: Add post-promotion public handler proof for distilled route and rejection proof for non-distilled fail-closed route.",
"finalize_item_ids": [
"T6",
"T7"
]
},
{
"plan_step_summary": "Step 11: Update matrix, manifest, routing tests, and tracker for promoted distilled route while non-distilled/control routes remain fail-closed.",
"finalize_item_ids": [
"T6",
"T7"
]
},
{
"plan_step_summary": "Step 12: Keep live matrix evidence disciplined, use current matrix case names only, and avoid runtime_green without completed evidence.",
"finalize_item_ids": [
"T6",
"T7"
]
},
{
"plan_step_summary": "Step 13: Launch live runs only when non-duplicative and record full evidence if any run is intentionally launched.",
"finalize_item_ids": [
"T7"
]
}
],
"orphan_tasks": [],
"completeness_notes": "All numbered approved-plan steps plus the current replan checkpoint are mapped to execution tasks. No human-only setup is required for the static correction slice; optional RunPod execution remains guarded inside T7 rather than a user action because the plan explicitly says no live jobs are required and they should only occur if static gates are green and non-duplicative.",
"coverage_complete": true
},
"baseline_test_failures": [],
"baseline_test_command": "pytest --tb=no -q --no-header"
}
code
Debt watch items (do not make these worse):
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: for ordinary pairs, the new diagnosis is not well-supported by the repo. the current sync effect in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/tools/travel-between-images/components/shotimageseditor/hooks/usesegmentslotmode.ts already syncs url and primaryvariantid, and the regenerate path reads exactly starturl, endurl, startgenid, endgenid, startvariantid, and endvariantid from segmentslotmode.pairdata in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/domains/media-lightbox/hooks/usevideoregeneratemode.ts. adding thumburl and generationid to the sync does not, by itself, explain why an old image url is still being used for regular pairs. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: the fix is incomplete for extra trailing slots. handlepairclick can populate activepairdata from trailingpairdata when pairindex === pairdatabyindex.size in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/tools/travel-between-images/components/shotimageseditor/hooks/usesegmentslotmode.ts, but the proposed sync effect only reads pairdatabyindex.get(segmentslotlightboxindex). for those trailing-slot cases fresh is undefined, so no image refresh happens. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: the merge pseudocode does not actually sync 'all image fields' as claimed. it omits id and position from change detection, and when fresh.startimage or fresh.endimage becomes null it preserves the stale previous object instead of syncing that null state. as written, it also needs explicit null-guards around spreads of prev.startimage / prev.endimage to be safe in strict typescript. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: the plan's claim that worker_state.py:200-204 (the 30-minute startup safety net) catches abandoned pods that exited before patching is slightly imprecise. line 200-204 only runs when in_startup_phase is true, which requires startup_phase to be in ('deps_installing', 'deps_verified', 'worker_starting') per line 161. a pod that exits before its first patch has startup_phase = none, so in_startup_phase is false and the code falls through to the normal timeout checks (active_stale / not_claiming) at line 207+, not the 30-minute startup cap. both paths eventually reap the worker, so the end result is the same, but the overview's reasoning (naming 200-204 specifically) is wrong. worth correcting so future readers don't mis-reason about the invariant. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: checked worker_state.py line 161 (in_startup_phase = startup_phase in (...)) against the plan's assumption that subsequent lenient writes are safe. if deps_installing succeeds but deps_verified silently fails, startup_phase stays at 'deps_installing' and the 30-minute cap from line 200-204 applies — even though the pod is actually progressing through uv sync. on a slow runpod image with cold wheel downloads, uv sync --extra cuda124 plus wan2gp deps can take 20+ minutes. there's no concrete benchmark in the plan that says the 30-minute cap is safely above the expected sync time; if uv sync legitimately takes 25 minutes and the deps_verified patch fails on a transient network blip, the orchestrator will terminate a healthy pod. plan should either bump the cap or note that deps_verified swallowing is acceptable because the cap is generously above typical sync time. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: the path-mapping defect from the previous iteration is fixed, but a different technical gap remains around self_refiner. repository search shows shared.utils.self_refiner is imported by wan2gp/wgp.py, wan2gp/models/ltx2/ltx_pipelines/distilled.py, ti2vid_one_stage.py, ti2vid_two_stages.py, wan2gp/models/ltx2/ltx_pipelines/utils/helpers.py, and wan2gp/models/wan/any2video.py; the v4 plan still aligns wan2gp/shared/utils/self_refiner.py to upstream head without any concrete runtime step that exercises those code paths after the change, so the only repo-documented behavior check for that file is still missing from the executable body. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: the direct adapter still has a correctness risk around resolution parity. current vibecomfy ready templates hardcode image dimensions (image/z_image uses emptysd3latentimage 1024x1024 and image/qwen_image_2512 uses 768x768), while vibecomfy run exposes no --resolution flag; the revised plan says a temporary scratchpad/input file may be generated only if supported, otherwise resolution is left out. that means a vibecomfy-supported direct route can silently ignore the worker's resolution param unless scratchpad resolution patching is made mandatory for supported direct routes or the support is explicitly limited to default-resolution smoke fixtures. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: route support states: the revised step 5 says to classify ltx control rows as vibecomfy_supported, wgp_only, vibecomfy_unsupported, new, or blocked, but the current worker routesupportstate enum at reigh-worker/source/task_handlers/tasks/template_routing.py:17-20 only supports wgp_only, vibecomfy_supported, and vibecomfy_unsupported. the plan needs to either extend the enum/report schema for new/blocked or keep new/blocked strictly as fixture disposition values mapped to an existing runtime support state. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: startup tests: step 11 still needs sharper wording for vibecomfy_memory_profile. the current startup template exports it only inside if [ "$reigh_backend" = "vibecomfy" ] && [[ "$reigh_worker_profile" =~ ^[0-9]+$ ]] at worker_startup.template.sh lines 28-30, while the revised plan says to assert it is exported consistently when proving both wgp and vibecomfy render from the same template. if implemented as an unconditional wgp+vibecomfy export assertion, the test would conflict with the current template's intentional conditional behavior. (flagged 1 times across 1 plans)
[DEBT] are-the-success-criteria-well-prioritized-and-verifiable: are the success criteria well-prioritized and verifiable?: the attached success criteria are stale and do not match the current plan body. they still require 'no usestate for activepairdata', 'setactivepairdata fully removed', 'sync effect deleted', and 'onpairclick simplified to (pairindex: number) => void', which are the opposite of the current targeted-sync plan. as presented, the criteria are not usable for review or execution. (flagged 1 times across 1 plans)
[DEBT] audio-loading: getaudiodata in useeffect removes render-readiness signal (flagged 1 times across 1 plans)
[DEBT] audio-loading: same as correctness-3 — preview/render parity risk (flagged 1 times across 1 plans)
[DEBT] audio-loading: preview/render parity partially satisfied (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: overlapping clips use first-found, volume not scaled (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: same as audio-reactivity-1 — overlapping/volume-adjusted clips diverge from audible mix (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: textclip missing globalframeprovider (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: same as audio-reactivity-2 — textclipsequence missing provider (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: textclip effects surface not covered (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: continuous effects shared by visual and text clips (flagged 1 times across 1 plans)
[DEBT] batch-generation-pipeline: enhancement in usegeneratebatch before generatevideo() could compute prompts against a stale pair snapshot if mutations are still in flight. (flagged 1 times across 1 plans)
[DEBT] cas-intern-short-circuit: symlink short-circuit comparison may produce false negatives on macos-like layouts where project_dir contains symlinked segments (/var → /private/var) because resolve(strict=true) on the source returns canonical paths but project_dir / cas_dirname may be non-canonical. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-cascade-paths: cascade lookup only reads params->>'orchestrator_task_id_ref', missing shared reference paths and orchestrator-self detection. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-cascade-paths: duplicate of correctness-2 + correctness-3: invalid sql syntax and narrow cascade lookup. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-cascade-paths: shared orchestrator-reference helpers not referenced. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-cascade-paths: orchestrator tasks that crash don't get orchestrator-self cascade. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-cascade-paths: hardcoded params->>'orchestrator_task_id_ref' misses other reference paths. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-retry: crash requeue sql does not increment attempts, risking infinite requeue loop. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-retry: duplicate of correctness-1: attempts never advance on crash requeue. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-retry: missing attempts increment location in heartbeat sql. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-retry: step 6 under-scoped for real retry convergence and orchestrator-self handling. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-sql-syntax: bare select inside plpgsql is invalid — needs perform. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-testing: no multi-crash convergence test exercising attempts 0→1→2→3. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-testing: no validation that plpgsql body executes successfully. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-testing: criteria don't require proof of crash requeue convergence. (flagged 1 times across 1 plans)
[DEBT] criteria-verifiability: 'no unsafe .maybesingle()' criterion requires judgment about column uniqueness. (flagged 1 times across 1 plans)
[DEBT] criteria-verifiability: decision documentation location not specified. (flagged 1 times across 1 plans)
[DEBT] criteria-verifiability: the must criterion requiring 5 task types to exist as active db rows is not verifiable from code diff alone — it requires a live db query. (flagged 1 times across 1 plans)
[DEBT] db-fallback-testing: no new automated test for the db fallback dispatch path or dependant_on preservation for raw worker families. (flagged 1 times across 1 plans)
[DEBT] dependency-resolution: dependency resolution: the plan does not lock down the active python-version matrix even though the repo currently splits between python 3.10 local installs and a python 3.11 runpod image. (flagged 1 times across 1 plans)
[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: the package is internally inconsistent. the plan body says to keep activepairdata in usestate and make phase 2 optional, but the attached metadata and success criteria still describe the previous derive-via-usememo / remove-setactivepairdata / simplify-onpairclick plan. that means the approved-plan requirements are only partially coherent as presented. (flagged 1 times across 1 plans)
[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: the linux distro note is documentation-only; the generated install command in step 7 still runs apt-get install python3.10-venv python3.10-dev ffmpeg without any pre-check that the package exists. users on ubuntu 24.04+ who ignore the doc and try to copy-paste the command will hit a confusing e: unable to locate package python3.10-venv from apt rather than a targeted error from commandutils.ts. a one-line detection pre-check (e.g., apt-cache show python3.10-venv >/dev/null 2>&1 || { echo 'install deadsnakes ppa first — see readme'; exit 1; }) would convert the silent failure into an actionable error, but the plan does not add this. (flagged 1 times across 1 plans)
[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: checked the revised v4 body against docs/wan2gp_fork_migration_plan.md sprint 2. the repo plan doc still lists an "ltx-2 self_refiner smoke against the pre-sprint behavioral baseline" as a sprint 2 verification gate and repeats that smoke in the functionality-preservation checks, but the revised execution steps no longer schedule that smoke anywhere; it survives only as an info-level metadata criterion. because wan2gp/shared/utils/self_refiner.py remains an explicit sprint 2 deliverable, the revised plan still only partially carries forward the verification package described in the source migration plan. (flagged 1 times across 1 plans)
[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: worker integration: the migration doc describes the per-call profile override gap as involving reigh-worker adapter handling of override_profile before constructing vibecomfy sessionconfig, but the plan limits sprint 1 per-run work to the vibecomfy cli/runtime. that may be acceptable for a vibecomfy-library mvp, but it does not fully exercise the production-facing per-task override semantics called out in the overall context. (flagged 1 times across 1 plans)
[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: a residual issue-hint tension remains for resolution handling. the plan acknowledges current vibecomfy run lacks a resolution flag, but allows the adapter to leave resolution and other template-specific values unwired for sprint 2. because z_image_turbo and qwen_image_2512 are marked vibecomfy-supported direct routes, this may not preserve the existing worker task-parameter contract for tasks that provide a non-default resolution. (flagged 1 times across 1 plans)
[DEBT] direct-route-parameter-parity: direct route parameter parity: vibecomfy-supported direct routes may ignore the worker resolution parameter. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: phase 1 still misses a real supporting-data location: trailingpairdata lives outside pairdatabyindex in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/tools/travel-between-images/components/shotimageseditor/hooks/usesegmentslotpresentationadapter.ts, but the proposed sync logic only considers pairdatabyindex. if trailing slot regenerate is part of the bug surface, that location is not covered. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: the non-swallowing helper update_worker_phase_strict is a new shell function, but phase 1 step 2 introduces it only as pseudo-code. there is no concrete note that the helper must handle supabase http non-2xx responses as failures (curl returns 0 even on http 4xx/5xx by default unless -f or --fail-with-body is used). if the implementer ports update_worker_phase verbatim with only || return 0 removed, a 500 from supabase would still report success because curl's exit code is 0. the plan should specify curl --fail or explicit http status code checking in the strict variant. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: the supporting-infrastructure review still finds one missing check. in docs/wan2gp_fork_migration_plan.md, sprint 2's verification matrix and risk register both single out self_refiner as a distinct drift-upgrade surface with its own smoke and its own silent-behavior-change risk, but the revised v4 body updates the file without keeping that supporting verification step in the actual execution checklist. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: documentation/data gap: the sprint exit criteria require profiles 1 and 3 to have vram and wall-clock data, but the plan puts that only in metadata as an info-level criterion and does not schedule a concrete artifact location or command for recording the measurements. the implementation could satisfy all unit tests while still missing one of the explicit exit criteria. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: the supporting infrastructure for resolution is still incomplete if direct vibecomfy routes are considered production-supported. vibecomfy has a vibecomfy.patches.resolution helper and the cli can load scratchpad files with allow_scratchpad=true, but the plan does not require using that path; it permits leaving resolution out for sprint 2. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: checked vibecomfy profile wording against vibecomfy/tests/test_ready_templates.py. the revised plan says to add the production template to representative compile profile coverage 'alongside the existing dry-run id', but the dry-run id is not currently in profile_smoke_template_ids; only video/wanvideo_wrapper_22_5b_i2v and video/wan_t2v are. this is a small wording mismatch rather than a functional blocker because adding either the production id alone or both ids would still satisfy sprint 4. (flagged 1 times across 1 plans)
[DEBT] edge-test-config: plan's vitest commands use the wrong config entry point. (flagged 1 times across 1 plans)
[DEBT] edge-test-config: same as verification-3: wrong vitest config in validation commands. (flagged 1 times across 1 plans)
[DEBT] edge-test-config: success criterion references wrong test command. (flagged 1 times across 1 plans)
[DEBT] error-handling: db loader error handling convention mismatch (plan says log+null, existing loaders throw) (flagged 1 times across 1 plans)
[DEBT] error-propagation-logging: generation.ts and handler.ts logging endpoints are not directly tested. (flagged 1 times across 1 plans)
[DEBT] error-propagation-testing: no end-to-end regression test for the full symptom chain (db error → tocompletionerror metadata → handler log). (flagged 1 times across 1 plans)
[DEBT] error-propagation-testing: handler.ts metadata surfacing criterion lacks a concrete automated verifier. (flagged 1 times across 1 plans)
[DEBT] error-propagation-testing: main issue only partially validated without an integration test. (flagged 1 times across 1 plans)
[DEBT] find-the-callers-of-the-changed-function-what-arguments-do-they-actually-pass-does-the-fix-handle-all-of-them: find the callers of the changed function. what arguments do they actually pass? does the fix handle all of them?: the step 2 retry loop uses a naked sleep 2 between attempts, which adds up to 6 seconds of latency on the happy path when the first patch eventually succeeds on attempt 2 or 3. for pods where supabase is reachable but slow during the initial moments of a cold runpod start, the retry logic is fine. however, if the first attempt fails with a tls handshake delay and the retry loop sleeps 2s per attempt regardless of whether curl itself has been blocking for tens of seconds, the total startup latency penalty could be substantial. this is a minor tuning concern, not a correctness issue. (flagged 1 times across 1 plans)
[DEBT] find-the-callers-of-the-changed-function-what-arguments-do-they-actually-pass-does-the-fix-handle-all-of-them: find the callers of the changed function. what arguments do they actually pass? does the fix handle all of them?: finding callers of the changed module shows that shared.utils.self_refiner is consumed by wan2gp/wgp.py, wan2gp/models/ltx2/ltx2_handler.py, multiple ltx2 pipeline modules, and wan2gp/models/wan/any2video.py. the revised validation steps still only drive the three bridge getters in source/runtime/wgp_ports/vendor_imports.py; none of the scheduled commands execute a real self_refiner caller, so the plan does not yet verify the main caller shapes for the other explicit sprint 2 file change. (flagged 1 times across 1 plans)
[DEBT] find-the-callers-of-the-changed-function-what-arguments-do-they-actually-pass-does-the-fix-handle-all-of-them: find the callers of the changed function. what arguments do they actually pass? does the fix handle all of them?: checked direct queue caller values in db_task_to_generation_task(): direct image tasks may carry resolution, steps/num_inference_steps, seed, and override_profile. the revised adapter plan covers seed, steps, and memory profile but not guaranteed resolution propagation, so it does not handle all relevant direct-route caller arguments for a supported vibecomfy direct route. (flagged 1 times across 1 plans)
[DEBT] gpu-branching-test-matrix: linux cuda128 path under-verified (flagged 1 times across 1 plans)
[DEBT] gpu-branching-ui-surface: nvidia-50 option is exposed on linux in the ui but linux cuda128 smoke test is missing (flagged 1 times across 1 plans)
[DEBT] hook-abstraction: usepairsettingshandler becomes trivial with single caller — keeping it is extra indirection. (flagged 1 times across 1 plans)
[DEBT] hype-mirror-cas-coverage: hype-mirrored files whose parent step does not declare matching produces will not be cas-interned, even with the follow_symlinks=false edit. (flagged 1 times across 1 plans)
[DEBT] is-the-change-in-the-right-place-and-would-it-break-any-callers: is the change in the right place, and would it break any callers?: the optional cleanup steps are not in the right place yet. pairregionslayer does not receive pairdatabyindex today; its props are only images, imagepositionswithpending, pairinfowithpending, and callback/display props in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/tools/travel-between-images/components/timeline/timelinecontainer/components/pairregionslayer.tsx. so step 4's 'pass pairdatabyindex.get(pairindex) directly' would require new prop plumbing or a different seam. (flagged 1 times across 1 plans)
[DEBT] is-the-scope-and-scale-of-the-change-appropriate: is the scope and scale of the change appropriate?: phase 2 is still under-specified for execution. step 4 says pairregionslayer should either pass pairdatabyindex.get(pairindex) directly or 'just pass the index + frame-only data', which are materially different designs. if phase 2 is kept in the plan, it needs a single concrete direction. (flagged 1 times across 1 plans)
[DEBT] is-there-convincing-verification-for-the-change: is there convincing verification for the change?: the plan still lacks an explicit automated regression test for the reported bug. step 2 is manual ('check that usevideoregeneratemode now gets the fresh url'), but there is no concrete test that opens a segment slot, changes the primary variant data, and asserts that the regenerate path sees the fresh url, generationid, and primaryvariantid. (flagged 1 times across 1 plans)
[DEBT] is-there-convincing-verification-for-the-change: is there convincing verification for the change?: the current usesegmentslotmode test remains only a smoke test in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/tools/travel-between-images/components/shotimageseditor/hooks/tests/usesegmentslotmode.test.ts, and the plan does not add behavior coverage for the new sync effect. (flagged 1 times across 1 plans)
[DEBT] is-there-convincing-verification-for-the-change: is there convincing verification for the change?: no verification step covers the trailing-slot branch, even though the proposed phase 1 logic currently misses trailingpairdata refreshes. (flagged 1 times across 1 plans)
[DEBT] legacy-data-backfill: the step 8 diagnostic query only detects cross-shot pair_shot_generation_id misassociations, not same-shot misassociations caused by timeline reordering within a shot. (flagged 1 times across 1 plans)
[DEBT] lookup-consistency: other repo call sites use unordered .limit(1).maybesingle() and will remain inconsistent. (flagged 1 times across 1 plans)
[DEBT] lookup-consistency: other call sites with same unsafe pattern not covered. (flagged 1 times across 1 plans)
[DEBT] lora-management: lora tools simplified vs full ui parity (multi-stage metadata, private loras) (flagged 1 times across 1 plans)
[DEBT] media-lightbox-persistence: variant switches do not clear/restore inpaintprompt, so stale prompt state can leak across variants with no cached prompt. (flagged 1 times across 1 plans)
[DEBT] media-lightbox-persistence: removing prompt/numgenerations from the variant-keyed localstorage cache means all variants within a generation share the same prompt. this broadens existing debt-002 (variant prompt leakage). (flagged 1 times across 1 plans)
[DEBT] media-lightbox-segment-slot: media lightbox / segment slot: the targeted sync rationale does not fully explain the reported stale-url bug for regular pairs, and the proposed effect still misses trailing-slot refreshes because those can come from trailingpairdata rather than pairdatabyindex. (flagged 1 times across 1 plans)
[DEBT] number-input-nullable: plan doesn't explicitly state onchange must also accept null, though step 3 depends on it. (flagged 1 times across 1 plans)
[DEBT] number-input-nullable: disputed v1 flag — original concern about bulkclippanel being unimplementable. (flagged 1 times across 1 plans)
[DEBT] number-input-nullable: onchange null filtering not explicitly addressed in plan. (flagged 1 times across 1 plans)
[DEBT] number-input-testing: no planned tests for numberinput shared component or bulkclippanel nullable draft flow. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: pre-existing individual_travel_segment children won't drive orchestrator completion through segment_type_config after deploy. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: missing compatibility seam in orchestratorcore.ts:123-126 for old individual_travel_segment rows. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: mixed old/new data during rollout can leave old orchestrators without completion counting. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: no test or deployment guard for pre-existing individual_travel_segment children completing after worker change. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: plan overstates backward compatibility for existing data. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: missing rollout compatibility step for in-flight individual_travel_segment tasks. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: pre-deploy individual_travel_segment child completing post-rollout won't be treated as segment task by checkorchestratorcompletion. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: orchestrator.test.ts criterion too narrow to verify old individual_travel_segment compatibility. (flagged 1 times across 1 plans)
[DEBT] pair-settings-plumbing: handleopenpairsettings(pairindex, pairframedata) path in timelinetrackprelude, segmentoutputstrip, and usesegmentoutputstrip not explicitly named. (flagged 1 times across 1 plans)
[DEBT] pair-settings-plumbing: same as flag-002 — segmentoutputstrip and usesegmentoutputstrip still carry pairframedata. (flagged 1 times across 1 plans)
[DEBT] pair-settings-plumbing: timelinetrackprelude and segmentoutputstrip still forward (pairindex, pairframedata). (flagged 1 times across 1 plans)
[DEBT] plan-scope: step 3 is larger than a light megaplan warrants. (flagged 1 times across 1 plans)
[DEBT] planning-metadata: planning metadata: the attached metadata and success criteria still describe a different implementation than the current plan body, which risks sending execution and review down the wrong path. (flagged 1 times across 1 plans)
[DEBT] planning-metadata: success criteria don't cover wave 4 scope (flagged 1 times across 1 plans)
[DEBT] position-key-semantics: plan investigates a unique constraint on (parent_generation_id, child_order) which doesn't match repo semantics for position keys. (flagged 1 times across 1 plans)
[DEBT] position-key-semantics: plan weights toward child_order rather than pair_shot_generation_id as the key that matters. (flagged 1 times across 1 plans)
[DEBT] position-key-semantics: unique constraint on (parent_generation_id, child_order) not supported by repo semantics. (flagged 1 times across 1 plans)
[DEBT] prompt-composition: the plan's step 1 signature includes textbeforeprompts/textafterprompts parameters that would be applied before enhancement, double-wrapping the prompt. (flagged 1 times across 1 plans)
[DEBT] ready-template-snapshots: step 4.2 drops markdownnote nodes but step 4.5 and the success criteria require class_type/widget parity with pre-refactor snapshots, which currently include markdownnote nodes. (flagged 1 times across 1 plans)
[DEBT] ready-template-snapshots: same tension as issue_hints v2: drop-markdownnote vs. snapshot parity. (flagged 1 times across 1 plans)
[DEBT] reigh-worker-orchestrator-dockerfile: step 7 §3 claims gpu_orchestrator/dockerfile has wan2gp install steps; current main is generic and contains none. (flagged 1 times across 1 plans)
[DEBT] reigh-worker-orchestrator-runpod-startup: gpu_orchestrator/runpod/startup_script.py embeds headless-wan2gp in _workdir_discovery_snippet and is not named explicitly in step 7 §3's checklist. (flagged 1 times across 1 plans)
[DEBT] route-support-states: route support states: new and blocked are added to the plan as worker support classifications but are not representable in the current routesupportstate enum. (flagged 1 times across 1 plans)
[DEBT] search-for-related-code-that-handles-the-same-concept-is-the-reported-issue-a-symptom-of-something-broader: search for related code that handles the same concept. is the reported issue a symptom of something broader?: checked the broader runtime surface after the v4 path fix. sprint 2 is still moving two behavior-sensitive seams rather than just the import-path contract: the wan2gp/ mount path and the self_refiner runtime. step 6.2 covers only the three vendor_imports getters, while the 6-file travel suite and the bridge-contract tests do not mention self_refiner, so dropping the dedicated self-refiner smoke from the runnable steps leaves the broader downstream surface of that changed file under-covered. (flagged 1 times across 1 plans)
[DEBT] search-for-related-code-that-handles-the-same-concept-is-the-reported-issue-a-symptom-of-something-broader: search for related code that handles the same concept. is the reported issue a symptom of something broader?: the supported direct-route scope is still broader than the adapter's guaranteed parameter surface. db_task_to_generation_task() currently carries direct task params such as resolution, steps, and seed into wgp generation, but the vibecomfy cli path only guarantees prompt, seed, steps, and memory profile; resolution remains optional/documentation-only in the plan. (flagged 1 times across 1 plans)
[DEBT] search-for-related-code-that-handles-the-same-concept-is-the-reported-issue-a-symptom-of-something-broader: search for related code that handles the same concept. is the reported issue a symptom of something broader?: checked the revised child-route scope against migration-thresholds.yaml. the threshold corpus currently has wan/vace entries for travel_segment__model-wan22_vace__... and join_clips_segment__model-wan22_vace__..., but only an i2v entry for individual_travel_segment; the revised plan makes individual_travel_segment with vace model params a must-level worker fixture, which broadens the worker smoke scope beyond the currently tracked wan/vace threshold routes. (flagged 1 times across 1 plans)
[DEBT] self-refiner-verification: self-refiner verification: the revised plan still aligns wan2gp/shared/utils/self_refiner.py without scheduling the sprint 2 ltx-2 self_refiner smoke that docs/wan2gp_fork_migration_plan.md defines as the behavior-preservation check for that drift upgrade. (flagged 1 times across 1 plans)
[DEBT] settings-defaults: workerrepopath default can go stale if user switches computertype before editing path (flagged 1 times across 1 plans)
[DEBT] settings-resolution: settings cascade missing — shot-only read diverges from form's defaults→user→project→shot merge (flagged 1 times across 1 plans)
[DEBT] settings-resolution: settings cascade missing — shot-only read (flagged 1 times across 1 plans)
[DEBT] shared-component-compatibility: numberinput changes affect callers outside video-editor (billing, travel-between-images, phaseconfigselectormodal). (flagged 1 times across 1 plans)
[DEBT] shared-component-compatibility: shared ui component blast radius not audited in plan. (flagged 1 times across 1 plans)
[DEBT] shot-linking-testing: no test covers the linkgenerationtoshot error/catch branches. (flagged 1 times across 1 plans)
[DEBT] signature-propagation: plan doesn't explicitly name timeline/index.tsx and segmentslotcontracts.ts for updates. (flagged 1 times across 1 plans)
[DEBT] signature-propagation: same as flag-001 — timeline/index.tsx and segmentslotcontracts.ts not in checklist. (flagged 1 times across 1 plans)
[DEBT] signature-propagation: five supporting contract/plumbing sites not named in the checklist. (flagged 1 times across 1 plans)
[DEBT] task-types-verification: step 3 cites wrong migration file (task_cost_configs instead of task_types) as evidence for db fallback path. (flagged 1 times across 1 plans)
[DEBT] task-types-verification: step 3 should cite task_types source, not task_cost_configs. (flagged 1 times across 1 plans)
[DEBT] task-types-verification: plan doesn't verify travel_segment and travel_stitch exist as active task_types rows using the correct table. (flagged 1 times across 1 plans)
[DEBT] test-coverage: current generation-child.test.ts is only a smoke test. (flagged 1 times across 1 plans)
[DEBT] test-coverage: no plan to verify other lookup paths choose rows consistently. (flagged 1 times across 1 plans)
[DEBT] test-coverage: no new tests for db loader or travel param merge path (flagged 1 times across 1 plans)
[DEBT] test-coverage: must-level criteria depend on manual testing rather than automated assertions (flagged 1 times across 1 plans)
[DEBT] test-coverage: no new unit tests for wave 4 tools (flagged 1 times across 1 plans)
[DEBT] test-coverage: must criteria backed by manual testing only (flagged 1 times across 1 plans)
[DEBT] test-infrastructure: no test fixtures for resources table (flagged 1 times across 1 plans)
[DEBT] timeline-drag-coordination: plan keeps two hooks instead of a single coordinator (flagged 1 times across 1 plans)
[DEBT] timeline-drag-coordination: brief says single coordinator but plan keeps separate hooks (flagged 2 times across 1 plans)
[DEBT] timeline-drag-coordination: pendingopsref retained despite brief suggesting removal (flagged 1 times across 1 plans)
[DEBT] timeline-drag-coordination: wrapper-bound listener mount wiring under-specified (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: read path still assembles config and registry from separate requests (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: poll sync verification not structurally changed (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: backend save helpers not wired to new rpc (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: read infrastructure not updated (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: backend tests not in validation list (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: backend callers not migrated (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: broader persistence-contract problem (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: backend split-save not addressed (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: split polling can combine config and registry from different snapshots (flagged 1 times across 1 plans)
[DEBT] timeline-scaling: the plan only specifies a concrete fix for the default scale(1) case; explicit-scale tracks may still break blend-mode effects. (flagged 1 times across 1 plans)
[DEBT] timeline-snap-threshold: threshold is generous (duration) rather than zoom-scaled (8px) (flagged 1 times across 1 plans)
[DEBT] timeline-snap-threshold: computedropposition does not pass a zoom-scaled threshold override (flagged 1 times across 1 plans)
[DEBT] travel-continuations: smooth continuations not threaded — agent tasks won't have continuation_config even when shot settings enable it (flagged 1 times across 1 plans)
[DEBT] travel-continuations: continuation_config omitted from form parity (flagged 1 times across 1 plans)
[DEBT] travel-payload-cleanup-scope: plan scope narrower than original user request (flagged 1 times across 1 plans)
[DEBT] travel-payload-cleanup-scope: broader create-task contract problem left untouched (flagged 1 times across 1 plans)
[DEBT] travel-payload-readers: phase 4 app-side reader audit incomplete (flagged 1 times across 1 plans)
[DEBT] travel-payload-readers: phase 4 field inventory incomplete for app-side readers (flagged 1 times across 1 plans)
[DEBT] travel-request-contract: image_variant_ids is in frontend request contract (flagged 1 times across 1 plans)
[DEBT] travel-request-contract: image_variant_ids contract change (flagged 1 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: spawn_worker does not internally call start_worker_process; harness must call both explicitly (flagged 1 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: worker_id and runpod_id must be generated and threaded distinctly; plan currently uses pod_id as both (flagged 1 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: duplicate of correctness-1 — spawn_worker two-step misstatement (flagged 2 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: duplicate of correctness-2 — worker_id/runpod_id propagation across takeover and restore paths (flagged 1 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: duplicate of correctness-1 + correctness-2 — missing create_worker_record glue and start_worker_process integration (flagged 1 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: duplicate of correctness-2 — caller contract for spawn_worker requires worker_id, not pod_id (flagged 1 times across 1 plans)
[DEBT] verification: no end-to-end render test for audio analysis timing (flagged 1 times across 1 plans)
[DEBT] verification: no automated coverage for text clips or overlapping clips with audio effects (flagged 1 times across 1 plans)
[DEBT] verification-coverage: no automated test exercises the full segment-slot opening path after cleanup. (flagged 1 times across 1 plans)
[DEBT] verification-coverage: no automated coverage that clicking a pair opens the correct modal after cleanup. (flagged 1 times across 1 plans)
[DEBT] verification-coverage: zero behavioral change criterion is not verifiable from tsc + existing tests alone. (flagged 1 times across 1 plans)
[DEBT] verification-workflow: tsconfig.app.json excludes test files, so tsc won't catch test breakage. (flagged 1 times across 1 plans)
[DEBT] worker-test-staleness: worker test in test_additional_coverage_modules.py:37 may assert stale payload structure (task_type vs family). (flagged 1 times across 1 plans)
[DEBT] workspace-state: plan checkpoint says the repo was clean, but current worker files may already be modified. (flagged 1 times across 1 plans)
[DEBT] workspace-state: tests/test_vibecomfy_adapter.py is both locally modified and in scope for planned edits. (flagged 1 times across 1 plans)
code
Note: User chose auto-approve mode. This execution was not manually reviewed at the gate. Exercise extra caution on destructive operations.
Robustness level: standard.
Requirements:
- Execute only the actionable tasks in this batch.
- Treat completed tasks as dependency context, not new work.
- Return structured JSON only.
- Only produce `task_updates` for these tasks: [T1]
- Only produce `sense_check_acknowledgments` for these sense checks: [SC1]
- Do not include updates for tasks or sense checks outside this batch.
- Keep `executor_notes` verification-focused.
- Best-effort progress checkpointing: if `/Users/user_c042661f/Documents/reigh-workspace/.megaplan/plans/run-a-standard-all-codex-20260511-1359/execution_batch_1.json` is writable, checkpoint task and sense-check updates there (not `finalize.json`). The harness owns `finalize.json`.
- When verifying changes, run the entire test file or module, not individual test functions. Individual tests miss regressions.
- finalize.json includes baseline_test_failures — a list of test IDs that were already failing before your changes. If a test fails and its ID appears in baseline_test_failures, it is pre-existing — do not scope-creep into fixing it. If baseline_test_failures is null, the baseline could not be captured; use your judgment but err on the side of assuming failures are regressions. You MUST still re-run the FULL test suite with your changes applied — pre-existing failures do not excuse skipping verification. Never narrow to individual test functions and stop.
- If this batch includes the final verification task, write a short script that reproduces the exact bug described in the task, run it to confirm the fix resolves it, then delete the script.
"Auto-attributed 4 unclaimed file(s) to task T1 (worker reported empty files_changed): docs/migration-vibecomfy-live-validation.md, docs/migration-vibecomfy.md, docs/sprint-12-route-inventory.md, reigh-app-cloud-chain",
"Advisory observation mismatch: executor claimed files not observed in git status/content hash delta: docs/migration-vibecomfy-live-validation.md, docs/migration-vibecomfy.md, docs/sprint-12-route-inventory.md, reigh-app-cloud-chain, reigh-worker/scripts/capability_contracts/contracts.json, reigh-worker/source/task_handlers/tasks/template_routing.py",
"Advisory audit finding: Git status shows changed files not claimed by any task: Astrid/",
"Advisory audit finding: Sense check SC2 is missing an executor acknowledgment.",
"Advisory audit finding: Sense check SC3 is missing an executor acknowledgment.",
"Advisory audit finding: Sense check SC4 is missing an executor acknowledgment.",
"Advisory audit finding: Sense check SC5 is missing an executor acknowledgment.",
"Advisory audit finding: Sense check SC6 is missing an executor acknowledgment.",
"Advisory audit finding: Sense check SC7 is missing an executor acknowledgment.",
"Advisory audit finding: Tasks left pending after execute (executor never started them): T2, T3, T4, T5, T6, T7"
]
code
User action prerequisites:
No user_action prerequisites for this batch.
Batch-scoped sense checks:
[
{
"id": "SC2",
"task_id": "T2",
"question": "Do matrix, manifest, routing tests, and regenerated tracker all agree with the fail-closed baseline, with the stale travel_segment_ltx2_control_video_first_last supported surface removed?",
"verdict": ""
}
]
code
Full execution tracking source of truth (`finalize.json`):
{
"tasks": [
{
"id": "T1",
"description": "In each touched repo, start by running git status --short --branch and confirming the current commits/branches instead of trusting the checkpoint text: reigh-worker around 027c1492 on megaplan/vibecomfy-sprint-09-control-rail-travel-matrix, vibecomfy around 26c381d on megaplan/production-parity-templates, and orchestrator only if later needed. In reigh-worker, inspect and preserve any existing local diffs before editing, especially tests/test_vibecomfy_adapter.py and docs/sprint-12-route-inventory.md; layer changes additively and do not revert unrelated root workspace changes. Then normalize the current over-promoted worker state to a green fail-closed baseline: set non-distilled travel_segment__model-ltx2__guidance-none__continuity-first_last__profile-default, distilled travel_segment__model-ltx2_distilled__guidance-none__continuity-first_last__profile-default, and all LTX control-guide first/last route keys to VIBECOMFY_UNSUPPORTED in source/task_handlers/tasks/template_routing.py; set matching implementation: unsupported and status: unsupported_fail_closed entries in scripts/capability_contracts/contracts.json; record blockers that non-distilled would reuse distilled assets, distilled promotion is pending VibeComfy doctor/model-assets/adapter proof, and control-guide routes lack control-capable VibeComfy evidence.",
"depends_on": [],
"status": "done",
"executor_notes": "Verified current git status/commits before editing. reigh-worker and vibecomfy were clean; root had unrelated existing changes. T1 source and contracts now fail-close non-distilled LTX first/last, distilled pre-gate LTX first/last, and all LTX control first/last route keys with explicit blockers. Contract validation passes with 0 errors/warnings. Broader capability/routing tests fail only on T2-owned support surfaces that still expect promoted LTX routes.",
"reviewer_verdict": "",
"files_changed": [
"docs/migration-vibecomfy-live-validation.md",
"docs/migration-vibecomfy.md",
"docs/sprint-12-route-inventory.md",
"reigh-app-cloud-chain"
],
"commands_run": [],
"auto_attributed_files": true
},
{
"id": "T2",
"description": "Update every worker support surface to match the fail-closed baseline from T1. In scripts/live_test/matrix.py, stop advertising travel_segment_ltx2_first_last and travel_segment_ltx2_distilled_first_last as supported VibeComfy live-run cases during the baseline; keep them only as explicit fail-closed/discoverability cases if the matrix supports unsupported cases cleanly. Remove or rename the stale travel_segment_ltx2_control_video_first_last case and use only current matrix case names. Update scripts/capability_contracts/live_matrix_manifest.json to match build_matrix() stable fields. Update tests/test_template_routing.py, especially test_section3a_ltx_first_last_rows_are_supported_after_adapter_wiring, so non-promoted LTX first/last routes and LTX control-guide routes assert fail-closed behavior. Regenerate docs/vibecomfy-app-parity-tracker.md from contracts after edits, preserving any unrelated local doc changes.",
"depends_on": [
"T1"
],
"status": "pending",
"executor_notes": "",
"reviewer_verdict": ""
},
{
"id": "T3",
"description": "Validate and stabilize the fail-closed worker baseline. From reigh-worker, run python -m scripts.capability_contracts.report validate --json and python -m pytest tests/test_capability_contracts.py tests/test_template_routing.py -q. Fix any route-binding, matrix-manifest, or tracker drift without promoting LTX routes. Keep existing regression coverage that detects future route, matrix, manifest, and contract drift.",
"depends_on": [
"T2"
],
"status": "pending",
"executor_notes": "",
"reviewer_verdict": ""
},
{
"id": "T4",
"description": "In vibecomfy, make video/ltx2_3_runexx_first_last_frame promotable as a durable pure-Python ready template. Before editing ready_templates/video/ltx2_3_runexx_first_last_frame.py, account for its # vibecomfy: generated header: prefer updating generator inputs or override metadata used by tools/convert_ready_templates.py; if the fix cannot be represented there, change the first-line marker to # vibecomfy: manual before direct edits. Run python -m vibecomfy.cli doctor video/ltx2_3_runexx_first_last_frame --json, inspect GetNode/SetNode broadcast runtime-link errors, and fix only genuine graph invalidity or incorrect doctor policy handling. Keep python -m vibecomfy.cli validate video/ltx2_3_runexx_first_last_frame passing. Add durable model asset declarations for every concrete LTX model file referenced by the template, including UNET/GGUF, CLIP/projection, video/audio/tiny VAE, spatial upscaler, and any distilled LoRA actually used. Keep READY_REQUIREMENTS['custom_nodes'] aligned with node classes. Add focused coverage in existing tests so referenced filenames must appear in READY_METADATA['model_assets'] or READY_REQUIREMENTS['models']. Run python -m tools.refresh_template_index --check, python -m vibecomfy.cli validate video/ltx2_3_runexx_first_last_frame, python -m vibecomfy.cli doctor video/ltx2_3_runexx_first_last_frame --json, and python -m pytest tests/test_ready_templates.py tests/test_model_assets.py -q until green.",
"depends_on": [
"T3"
],
"status": "pending",
"executor_notes": "",
"reviewer_verdict": ""
},
{
"id": "T5",
"description": "In reigh-worker, prove low-level LTX scratchpad binding before route promotion. First inspect the current local diff for tests/test_vibecomfy_adapter.py and preserve any existing user/main-thread edits. Add or adjust an existing adapter test so it calls the LTX scratchpad writer or builder directly with a synthetic supported ResolvedTask; do not call handle_vibecomfy_resolved_task in this pre-promotion test. Assert the generated/patched scratchpad preserves first image, last image, prompt, negative prompt, seed, resolution, frame count, and FPS. Keep _validate_supported_resolved_task strict, and keep/add assertions that the public handler rejects fail-closed or unsupported resolved tasks. Keep backend-selection tests focused on route/backend dispatch and leave public resolve_task_route(... backend='vibecomfy') plus handler proof for after promotion. Assert non-distilled ltx2_22B does not silently use the distilled template path. Run python -m pytest tests/test_vibecomfy_adapter.py -q for this pre-promotion proof.",
"depends_on": [
"T3",
"T4"
],
"status": "pending",
"executor_notes": "",
"reviewer_verdict": ""
},
{
"id": "T6",
"description": "After T4 and T5 pass, atomically promote only the distilled no-control LTX first/last route. In reigh-worker/source/task_handlers/tasks/template_routing.py, change travel_segment__model-ltx2_distilled__guidance-none__continuity-first_last__profile-default to VIBECOMFY_SUPPORTED; in the same change set update scripts/capability_contracts/contracts.json to implementation: vibecomfy, template_id: video/ltx2_3_runexx_first_last_frame, and status: static_valid or template_bound, not runtime_green. Update artifact contract fields for child task completion, MP4 output, storage path, and output artifact expectations. Immediately run python -m scripts.capability_contracts.report validate --json to catch implementation_mismatch or template_mismatch. Then add/restore post-promotion public handler proof in existing tests: build resolved = resolve_task_route(... backend='vibecomfy') for ltx2_22B_distilled_1_1, call handle_vibecomfy_resolved_task, assert the route is VIBECOMFY_SUPPORTED, has no fail_closed_reason, selects video/ltx2_3_runexx_first_last_frame, and preserves runtime fields through the handler path. Keep a parallel assertion that non-distilled ltx2_22B remains fail-closed and is rejected by the public handler. Update scripts/live_test/matrix.py, scripts/capability_contracts/live_matrix_manifest.json, tests/test_template_routing.py, and regenerated docs/vibecomfy-app-parity-tracker.md so the distilled case is discoverable as the current supported static/live candidate, non-distilled remains fail-closed, all LTX control routes remain fail-closed, current matrix case names are used, and no live evidence is added without a completed report.",
"depends_on": [
"T4",
"T5"
],
"status": "pending",
"executor_notes": "",
"reviewer_verdict": ""
},
{
"id": "T7",
"description": "Final verification and runtime-evidence discipline. Run the full validation sequence and fix/re-run until green: from reigh-worker, python -m scripts.capability_contracts.report validate --json and python -m pytest tests/test_capability_contracts.py tests/test_template_routing.py tests/test_vibecomfy_adapter.py tests/test_vibecomfy_backend_selection.py -q; from vibecomfy, python -m tools.refresh_template_index --check, python -m vibecomfy.cli validate video/ltx2_3_runexx_first_last_frame, python -m vibecomfy.cli doctor video/ltx2_3_runexx_first_last_frame --json, and python -m pytest tests/test_ready_templates.py tests/test_model_assets.py -q; from reigh-worker-orchestrator, only if route metadata shape changed, python -m pytest tests/gpu_orchestrator/test_route_aware_task_counts.py tests/test_route_stale_worker_state.py -q. Also write a short throwaway script under a temporary path, not a test file, that reproduces the original route drift: confirm non-distilled LTX first/last fail-closes, distilled LTX first/last resolves through backend='vibecomfy' to video/ltx2_3_runexx_first_last_frame, stale travel_segment_ltx2_control_video_first_last is absent, LTX control routes fail-close, and no LTX route is marked runtime_green without completed live evidence; run it and delete it. Do not launch RunPod/live jobs unless all static gates are green and the run is explicitly non-duplicative; if launched, record pod IDs, report paths, final statuses, output artifacts, and termination evidence, and only then consider runtime_green. Finish by checking git status --short --branch in touched repos and summarizing executed changes, tests, and remaining blockers.",
"depends_on": [
"T6"
],
"status": "pending",
"executor_notes": "",
"reviewer_verdict": ""
}
],
"watch_items": [
"Do not invoke the megaplan CLI, read or activate the megaplan skill, start nested plans, or edit execution JSON manually.",
"Re-check actual git status --short --branch in every touched repo before editing. The checkpoint may be stale; reigh-worker/tests/test_vibecomfy_adapter.py and docs/sprint-12-route-inventory.md may already have local changes that must be preserved.",
"Do not revert unrelated root workspace changes or user/main-thread edits. If a file is already modified and in scope, inspect its diff and layer changes additively.",
"The current durable code may be over-promoted. Normalize to a fail-closed baseline before attempting distilled promotion.",
"Keep fail-closed baseline and atomic distilled promotion as separate validation slices. Do not expect contract validation to be green while route source and contracts disagree.",
"Do not weaken _validate_supported_resolved_task; pre-promotion proof must call the low-level scratchpad writer/builder with a synthetic supported task, not the public handler.",
"Only the distilled no-control first/last route may be promoted in this slice. Non-distilled ltx2_22B must remain fail-closed unless a true non-distilled implementation is added.",
"All LTX control-guide route keys must remain explicitly fail-closed until control-capable VibeComfy evidence exists, including any currently over-promoted control-video first/last route.",
"Do not resurrect travel_segment_ltx2_control_video_first_last; use current matrix case names only.",
"The LTX ready template is generated unless deliberately changed. Model-asset and doctor fixes must survive regeneration or the file must be marked manual before direct edits.",
"vibecomfy doctor video/ltx2_3_runexx_first_last_frame --json is a hard gate before promotion; validate alone is insufficient.",
"Static/template-bound support is not runtime evidence. Do not set runtime_green or add live evidence without a completed live report and output artifact location.",
"Avoid RunPod/live execution in this static correction slice unless static gates are green and the run will not duplicate main-thread work.",
"Preserve exact route/runtime field behavior: first image, last image, prompt, negative prompt, seed, resolution, frame count, FPS, output artifact expectations, and child task completion contracts."
],
"sense_checks": [
{
"id": "SC1",
"task_id": "T1",
"question": "Did execution verify current git status/commits, preserve existing local diffs, and make route source plus contracts fail-closed for non-distilled, distilled pre-gate, and all LTX control first/last routes with explicit blockers?",
"verdict": "",
"executor_note": "Yes. Current git status and commits were verified; existing local/root diffs were preserved; route source plus contracts now fail-close non-distilled, distilled pre-gate, and all LTX control first/last routes with explicit blockers."
},
{
"id": "SC2",
"task_id": "T2",
"question": "Do matrix, manifest, routing tests, and regenerated tracker all agree with the fail-closed baseline, with the stale travel_segment_ltx2_control_video_first_last supported surface removed?",
"verdict": ""
},
{
"id": "SC3",
"task_id": "T3",
"question": "Do worker contract validation and capability/routing tests pass while LTX first/last and LTX control-guide routes remain fail-closed?",
"verdict": ""
},
{
"id": "SC4",
"task_id": "T4",
"question": "Does the distilled LTX VibeComfy template pass refresh-index, validate, doctor, and model-asset tests, and are edits durable via generator inputs/overrides or an explicit manual marker?",
"verdict": ""
},
{
"id": "SC5",
"task_id": "T5",
"question": "Does the pre-promotion adapter proof exercise only the low-level scratchpad writer/builder with a synthetic supported task, preserve all required runtime fields, and leave public handler rejection strict for fail-closed tasks?",
"verdict": ""
},
{
"id": "SC6",
"task_id": "T6",
"question": "Was only the distilled no-control route promoted atomically with a matching VibeComfy contract/template id and static/template-bound status, while non-distilled and all control routes remain fail-closed?",
"verdict": ""
},
{
"id": "SC7",
"task_id": "T7",
"question": "Do all final validation commands and the throwaway drift-reproduction script pass, with no stale matrix case, no unsupported LTX promotion, and no runtime_green status without completed live evidence?",
"verdict": ""
}
],
"user_actions": [],
"meta_commentary": "Execution should treat the repo as a moving workspace, not as the checkpoint snapshot. The first practical move is to inspect current statuses and diffs, especially the already-modified adapter test, then normalize the over-promoted LTX surfaces to a fail-closed baseline. Only after worker baseline validation, VibeComfy doctor/model-asset gates, and low-level scratchpad proof are green should the distilled no-control route be promoted. The most important judgment calls are to preserve existing local edits, avoid silently mapping non-distilled LTX to distilled assets, keep control-guide routes blocked, and never equate static validation with runtime evidence.",
"validation": {
"plan_steps_covered": [
{
"plan_step_summary": "Current replan checkpoint: verify current commits/status, do not assume prior clean state, and inspect/preserve local worker diffs before editing.",
"finalize_item_ids": [
"T1",
"T5",
"T7"
]
},
{
"plan_step_summary": "Step 1: Make current LTX first/last and LTX control-guide worker routes consistently unsupported/fail-closed with explicit blockers.",
"finalize_item_ids": [
"T1"
]
},
{
"plan_step_summary": "Step 2: Update worker matrix, manifest, routing tests, and tracker to match fail-closed state and remove stale matrix case.",
"finalize_item_ids": [
"T2"
]
},
{
"plan_step_summary": "Step 3: Prove fail-closed worker validator and capability-contract tests are green.",
"finalize_item_ids": [
"T3"
]
},
{
"plan_step_summary": "Step 4: Choose a durable edit path for the generated VibeComfy LTX ready template.",
"finalize_item_ids": [
"T4"
]
},
{
"plan_step_summary": "Step 5: Make VibeComfy doctor a hard static gate and fix template/doctor issues appropriately.",
"finalize_item_ids": [
"T4",
"T7"
]
},
{
"plan_step_summary": "Step 6: Declare concrete LTX model assets and aligned custom-node/model requirements with focused coverage.",
"finalize_item_ids": [
"T4",
"T7"
]
},
{
"plan_step_summary": "Step 7: Add pre-promotion low-level scratchpad writer proof without using the public handler.",
"finalize_item_ids": [
"T5"
]
},
{
"plan_step_summary": "Step 8: Keep backend-selection tests focused, defer public handler proof until after promotion, and prove non-distilled does not use distilled template path.",
"finalize_item_ids": [
"T5",
"T6"
]
},
{
"plan_step_summary": "Step 9: Atomically flip distilled route source and contract to VibeComfy static/template-bound support after gates pass.",
"finalize_item_ids": [
"T6",
"T7"
]
},
{
"plan_step_summary": "Step 10: Add post-promotion public handler proof for distilled route and rejection proof for non-distilled fail-closed route.",
"finalize_item_ids": [
"T6",
"T7"
]
},
{
"plan_step_summary": "Step 11: Update matrix, manifest, routing tests, and tracker for promoted distilled route while non-distilled/control routes remain fail-closed.",
"finalize_item_ids": [
"T6",
"T7"
]
},
{
"plan_step_summary": "Step 12: Keep live matrix evidence disciplined, use current matrix case names only, and avoid runtime_green without completed evidence.",
"finalize_item_ids": [
"T6",
"T7"
]
},
{
"plan_step_summary": "Step 13: Launch live runs only when non-duplicative and record full evidence if any run is intentionally launched.",
"finalize_item_ids": [
"T7"
]
}
],
"orphan_tasks": [],
"completeness_notes": "All numbered approved-plan steps plus the current replan checkpoint are mapped to execution tasks. No human-only setup is required for the static correction slice; optional RunPod execution remains guarded inside T7 rather than a user action because the plan explicitly says no live jobs are required and they should only occur if static gates are green and non-duplicative.",
"coverage_complete": true
},
"baseline_test_failures": [],
"baseline_test_command": "pytest --tb=no -q --no-header"
}
code
Debt watch items (do not make these worse):
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: for ordinary pairs, the new diagnosis is not well-supported by the repo. the current sync effect in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/tools/travel-between-images/components/shotimageseditor/hooks/usesegmentslotmode.ts already syncs url and primaryvariantid, and the regenerate path reads exactly starturl, endurl, startgenid, endgenid, startvariantid, and endvariantid from segmentslotmode.pairdata in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/domains/media-lightbox/hooks/usevideoregeneratemode.ts. adding thumburl and generationid to the sync does not, by itself, explain why an old image url is still being used for regular pairs. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: the fix is incomplete for extra trailing slots. handlepairclick can populate activepairdata from trailingpairdata when pairindex === pairdatabyindex.size in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/tools/travel-between-images/components/shotimageseditor/hooks/usesegmentslotmode.ts, but the proposed sync effect only reads pairdatabyindex.get(segmentslotlightboxindex). for those trailing-slot cases fresh is undefined, so no image refresh happens. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: the merge pseudocode does not actually sync 'all image fields' as claimed. it omits id and position from change detection, and when fresh.startimage or fresh.endimage becomes null it preserves the stale previous object instead of syncing that null state. as written, it also needs explicit null-guards around spreads of prev.startimage / prev.endimage to be safe in strict typescript. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: the plan's claim that worker_state.py:200-204 (the 30-minute startup safety net) catches abandoned pods that exited before patching is slightly imprecise. line 200-204 only runs when in_startup_phase is true, which requires startup_phase to be in ('deps_installing', 'deps_verified', 'worker_starting') per line 161. a pod that exits before its first patch has startup_phase = none, so in_startup_phase is false and the code falls through to the normal timeout checks (active_stale / not_claiming) at line 207+, not the 30-minute startup cap. both paths eventually reap the worker, so the end result is the same, but the overview's reasoning (naming 200-204 specifically) is wrong. worth correcting so future readers don't mis-reason about the invariant. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: checked worker_state.py line 161 (in_startup_phase = startup_phase in (...)) against the plan's assumption that subsequent lenient writes are safe. if deps_installing succeeds but deps_verified silently fails, startup_phase stays at 'deps_installing' and the 30-minute cap from line 200-204 applies — even though the pod is actually progressing through uv sync. on a slow runpod image with cold wheel downloads, uv sync --extra cuda124 plus wan2gp deps can take 20+ minutes. there's no concrete benchmark in the plan that says the 30-minute cap is safely above the expected sync time; if uv sync legitimately takes 25 minutes and the deps_verified patch fails on a transient network blip, the orchestrator will terminate a healthy pod. plan should either bump the cap or note that deps_verified swallowing is acceptable because the cap is generously above typical sync time. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: the path-mapping defect from the previous iteration is fixed, but a different technical gap remains around self_refiner. repository search shows shared.utils.self_refiner is imported by wan2gp/wgp.py, wan2gp/models/ltx2/ltx_pipelines/distilled.py, ti2vid_one_stage.py, ti2vid_two_stages.py, wan2gp/models/ltx2/ltx_pipelines/utils/helpers.py, and wan2gp/models/wan/any2video.py; the v4 plan still aligns wan2gp/shared/utils/self_refiner.py to upstream head without any concrete runtime step that exercises those code paths after the change, so the only repo-documented behavior check for that file is still missing from the executable body. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: the direct adapter still has a correctness risk around resolution parity. current vibecomfy ready templates hardcode image dimensions (image/z_image uses emptysd3latentimage 1024x1024 and image/qwen_image_2512 uses 768x768), while vibecomfy run exposes no --resolution flag; the revised plan says a temporary scratchpad/input file may be generated only if supported, otherwise resolution is left out. that means a vibecomfy-supported direct route can silently ignore the worker's resolution param unless scratchpad resolution patching is made mandatory for supported direct routes or the support is explicitly limited to default-resolution smoke fixtures. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: route support states: the revised step 5 says to classify ltx control rows as vibecomfy_supported, wgp_only, vibecomfy_unsupported, new, or blocked, but the current worker routesupportstate enum at reigh-worker/source/task_handlers/tasks/template_routing.py:17-20 only supports wgp_only, vibecomfy_supported, and vibecomfy_unsupported. the plan needs to either extend the enum/report schema for new/blocked or keep new/blocked strictly as fixture disposition values mapped to an existing runtime support state. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: startup tests: step 11 still needs sharper wording for vibecomfy_memory_profile. the current startup template exports it only inside if [ "$reigh_backend" = "vibecomfy" ] && [[ "$reigh_worker_profile" =~ ^[0-9]+$ ]] at worker_startup.template.sh lines 28-30, while the revised plan says to assert it is exported consistently when proving both wgp and vibecomfy render from the same template. if implemented as an unconditional wgp+vibecomfy export assertion, the test would conflict with the current template's intentional conditional behavior. (flagged 1 times across 1 plans)
[DEBT] are-the-success-criteria-well-prioritized-and-verifiable: are the success criteria well-prioritized and verifiable?: the attached success criteria are stale and do not match the current plan body. they still require 'no usestate for activepairdata', 'setactivepairdata fully removed', 'sync effect deleted', and 'onpairclick simplified to (pairindex: number) => void', which are the opposite of the current targeted-sync plan. as presented, the criteria are not usable for review or execution. (flagged 1 times across 1 plans)
[DEBT] audio-loading: getaudiodata in useeffect removes render-readiness signal (flagged 1 times across 1 plans)
[DEBT] audio-loading: same as correctness-3 — preview/render parity risk (flagged 1 times across 1 plans)
[DEBT] audio-loading: preview/render parity partially satisfied (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: overlapping clips use first-found, volume not scaled (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: same as audio-reactivity-1 — overlapping/volume-adjusted clips diverge from audible mix (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: textclip missing globalframeprovider (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: same as audio-reactivity-2 — textclipsequence missing provider (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: textclip effects surface not covered (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: continuous effects shared by visual and text clips (flagged 1 times across 1 plans)
[DEBT] batch-generation-pipeline: enhancement in usegeneratebatch before generatevideo() could compute prompts against a stale pair snapshot if mutations are still in flight. (flagged 1 times across 1 plans)
[DEBT] cas-intern-short-circuit: symlink short-circuit comparison may produce false negatives on macos-like layouts where project_dir contains symlinked segments (/var → /private/var) because resolve(strict=true) on the source returns canonical paths but project_dir / cas_dirname may be non-canonical. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-cascade-paths: cascade lookup only reads params->>'orchestrator_task_id_ref', missing shared reference paths and orchestrator-self detection. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-cascade-paths: duplicate of correctness-2 + correctness-3: invalid sql syntax and narrow cascade lookup. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-cascade-paths: shared orchestrator-reference helpers not referenced. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-cascade-paths: orchestrator tasks that crash don't get orchestrator-self cascade. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-cascade-paths: hardcoded params->>'orchestrator_task_id_ref' misses other reference paths. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-retry: crash requeue sql does not increment attempts, risking infinite requeue loop. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-retry: duplicate of correctness-1: attempts never advance on crash requeue. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-retry: missing attempts increment location in heartbeat sql. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-retry: step 6 under-scoped for real retry convergence and orchestrator-self handling. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-sql-syntax: bare select inside plpgsql is invalid — needs perform. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-testing: no multi-crash convergence test exercising attempts 0→1→2→3. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-testing: no validation that plpgsql body executes successfully. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-testing: criteria don't require proof of crash requeue convergence. (flagged 1 times across 1 plans)
[DEBT] criteria-verifiability: 'no unsafe .maybesingle()' criterion requires judgment about column uniqueness. (flagged 1 times across 1 plans)
[DEBT] criteria-verifiability: decision documentation location not specified. (flagged 1 times across 1 plans)
[DEBT] criteria-verifiability: the must criterion requiring 5 task types to exist as active db rows is not verifiable from code diff alone — it requires a live db query. (flagged 1 times across 1 plans)
[DEBT] db-fallback-testing: no new automated test for the db fallback dispatch path or dependant_on preservation for raw worker families. (flagged 1 times across 1 plans)
[DEBT] dependency-resolution: dependency resolution: the plan does not lock down the active python-version matrix even though the repo currently splits between python 3.10 local installs and a python 3.11 runpod image. (flagged 1 times across 1 plans)
[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: the package is internally inconsistent. the plan body says to keep activepairdata in usestate and make phase 2 optional, but the attached metadata and success criteria still describe the previous derive-via-usememo / remove-setactivepairdata / simplify-onpairclick plan. that means the approved-plan requirements are only partially coherent as presented. (flagged 1 times across 1 plans)
[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: the linux distro note is documentation-only; the generated install command in step 7 still runs apt-get install python3.10-venv python3.10-dev ffmpeg without any pre-check that the package exists. users on ubuntu 24.04+ who ignore the doc and try to copy-paste the command will hit a confusing e: unable to locate package python3.10-venv from apt rather than a targeted error from commandutils.ts. a one-line detection pre-check (e.g., apt-cache show python3.10-venv >/dev/null 2>&1 || { echo 'install deadsnakes ppa first — see readme'; exit 1; }) would convert the silent failure into an actionable error, but the plan does not add this. (flagged 1 times across 1 plans)
[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: checked the revised v4 body against docs/wan2gp_fork_migration_plan.md sprint 2. the repo plan doc still lists an "ltx-2 self_refiner smoke against the pre-sprint behavioral baseline" as a sprint 2 verification gate and repeats that smoke in the functionality-preservation checks, but the revised execution steps no longer schedule that smoke anywhere; it survives only as an info-level metadata criterion. because wan2gp/shared/utils/self_refiner.py remains an explicit sprint 2 deliverable, the revised plan still only partially carries forward the verification package described in the source migration plan. (flagged 1 times across 1 plans)
[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: worker integration: the migration doc describes the per-call profile override gap as involving reigh-worker adapter handling of override_profile before constructing vibecomfy sessionconfig, but the plan limits sprint 1 per-run work to the vibecomfy cli/runtime. that may be acceptable for a vibecomfy-library mvp, but it does not fully exercise the production-facing per-task override semantics called out in the overall context. (flagged 1 times across 1 plans)
[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: a residual issue-hint tension remains for resolution handling. the plan acknowledges current vibecomfy run lacks a resolution flag, but allows the adapter to leave resolution and other template-specific values unwired for sprint 2. because z_image_turbo and qwen_image_2512 are marked vibecomfy-supported direct routes, this may not preserve the existing worker task-parameter contract for tasks that provide a non-default resolution. (flagged 1 times across 1 plans)
[DEBT] direct-route-parameter-parity: direct route parameter parity: vibecomfy-supported direct routes may ignore the worker resolution parameter. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: phase 1 still misses a real supporting-data location: trailingpairdata lives outside pairdatabyindex in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/tools/travel-between-images/components/shotimageseditor/hooks/usesegmentslotpresentationadapter.ts, but the proposed sync logic only considers pairdatabyindex. if trailing slot regenerate is part of the bug surface, that location is not covered. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: the non-swallowing helper update_worker_phase_strict is a new shell function, but phase 1 step 2 introduces it only as pseudo-code. there is no concrete note that the helper must handle supabase http non-2xx responses as failures (curl returns 0 even on http 4xx/5xx by default unless -f or --fail-with-body is used). if the implementer ports update_worker_phase verbatim with only || return 0 removed, a 500 from supabase would still report success because curl's exit code is 0. the plan should specify curl --fail or explicit http status code checking in the strict variant. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: the supporting-infrastructure review still finds one missing check. in docs/wan2gp_fork_migration_plan.md, sprint 2's verification matrix and risk register both single out self_refiner as a distinct drift-upgrade surface with its own smoke and its own silent-behavior-change risk, but the revised v4 body updates the file without keeping that supporting verification step in the actual execution checklist. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: documentation/data gap: the sprint exit criteria require profiles 1 and 3 to have vram and wall-clock data, but the plan puts that only in metadata as an info-level criterion and does not schedule a concrete artifact location or command for recording the measurements. the implementation could satisfy all unit tests while still missing one of the explicit exit criteria. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: the supporting infrastructure for resolution is still incomplete if direct vibecomfy routes are considered production-supported. vibecomfy has a vibecomfy.patches.resolution helper and the cli can load scratchpad files with allow_scratchpad=true, but the plan does not require using that path; it permits leaving resolution out for sprint 2. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: checked vibecomfy profile wording against vibecomfy/tests/test_ready_templates.py. the revised plan says to add the production template to representative compile profile coverage 'alongside the existing dry-run id', but the dry-run id is not currently in profile_smoke_template_ids; only video/wanvideo_wrapper_22_5b_i2v and video/wan_t2v are. this is a small wording mismatch rather than a functional blocker because adding either the production id alone or both ids would still satisfy sprint 4. (flagged 1 times across 1 plans)
[DEBT] edge-test-config: plan's vitest commands use the wrong config entry point. (flagged 1 times across 1 plans)
[DEBT] edge-test-config: same as verification-3: wrong vitest config in validation commands. (flagged 1 times across 1 plans)
[DEBT] edge-test-config: success criterion references wrong test command. (flagged 1 times across 1 plans)
[DEBT] error-handling: db loader error handling convention mismatch (plan says log+null, existing loaders throw) (flagged 1 times across 1 plans)
[DEBT] error-propagation-logging: generation.ts and handler.ts logging endpoints are not directly tested. (flagged 1 times across 1 plans)
[DEBT] error-propagation-testing: no end-to-end regression test for the full symptom chain (db error → tocompletionerror metadata → handler log). (flagged 1 times across 1 plans)
[DEBT] error-propagation-testing: handler.ts metadata surfacing criterion lacks a concrete automated verifier. (flagged 1 times across 1 plans)
[DEBT] error-propagation-testing: main issue only partially validated without an integration test. (flagged 1 times across 1 plans)
[DEBT] find-the-callers-of-the-changed-function-what-arguments-do-they-actually-pass-does-the-fix-handle-all-of-them: find the callers of the changed function. what arguments do they actually pass? does the fix handle all of them?: the step 2 retry loop uses a naked sleep 2 between attempts, which adds up to 6 seconds of latency on the happy path when the first patch eventually succeeds on attempt 2 or 3. for pods where supabase is reachable but slow during the initial moments of a cold runpod start, the retry logic is fine. however, if the first attempt fails with a tls handshake delay and the retry loop sleeps 2s per attempt regardless of whether curl itself has been blocking for tens of seconds, the total startup latency penalty could be substantial. this is a minor tuning concern, not a correctness issue. (flagged 1 times across 1 plans)
[DEBT] find-the-callers-of-the-changed-function-what-arguments-do-they-actually-pass-does-the-fix-handle-all-of-them: find the callers of the changed function. what arguments do they actually pass? does the fix handle all of them?: finding callers of the changed module shows that shared.utils.self_refiner is consumed by wan2gp/wgp.py, wan2gp/models/ltx2/ltx2_handler.py, multiple ltx2 pipeline modules, and wan2gp/models/wan/any2video.py. the revised validation steps still only drive the three bridge getters in source/runtime/wgp_ports/vendor_imports.py; none of the scheduled commands execute a real self_refiner caller, so the plan does not yet verify the main caller shapes for the other explicit sprint 2 file change. (flagged 1 times across 1 plans)
[DEBT] find-the-callers-of-the-changed-function-what-arguments-do-they-actually-pass-does-the-fix-handle-all-of-them: find the callers of the changed function. what arguments do they actually pass? does the fix handle all of them?: checked direct queue caller values in db_task_to_generation_task(): direct image tasks may carry resolution, steps/num_inference_steps, seed, and override_profile. the revised adapter plan covers seed, steps, and memory profile but not guaranteed resolution propagation, so it does not handle all relevant direct-route caller arguments for a supported vibecomfy direct route. (flagged 1 times across 1 plans)
[DEBT] gpu-branching-test-matrix: linux cuda128 path under-verified (flagged 1 times across 1 plans)
[DEBT] gpu-branching-ui-surface: nvidia-50 option is exposed on linux in the ui but linux cuda128 smoke test is missing (flagged 1 times across 1 plans)
[DEBT] hook-abstraction: usepairsettingshandler becomes trivial with single caller — keeping it is extra indirection. (flagged 1 times across 1 plans)
[DEBT] hype-mirror-cas-coverage: hype-mirrored files whose parent step does not declare matching produces will not be cas-interned, even with the follow_symlinks=false edit. (flagged 1 times across 1 plans)
[DEBT] is-the-change-in-the-right-place-and-would-it-break-any-callers: is the change in the right place, and would it break any callers?: the optional cleanup steps are not in the right place yet. pairregionslayer does not receive pairdatabyindex today; its props are only images, imagepositionswithpending, pairinfowithpending, and callback/display props in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/tools/travel-between-images/components/timeline/timelinecontainer/components/pairregionslayer.tsx. so step 4's 'pass pairdatabyindex.get(pairindex) directly' would require new prop plumbing or a different seam. (flagged 1 times across 1 plans)
[DEBT] is-the-scope-and-scale-of-the-change-appropriate: is the scope and scale of the change appropriate?: phase 2 is still under-specified for execution. step 4 says pairregionslayer should either pass pairdatabyindex.get(pairindex) directly or 'just pass the index + frame-only data', which are materially different designs. if phase 2 is kept in the plan, it needs a single concrete direction. (flagged 1 times across 1 plans)
[DEBT] is-there-convincing-verification-for-the-change: is there convincing verification for the change?: the plan still lacks an explicit automated regression test for the reported bug. step 2 is manual ('check that usevideoregeneratemode now gets the fresh url'), but there is no concrete test that opens a segment slot, changes the primary variant data, and asserts that the regenerate path sees the fresh url, generationid, and primaryvariantid. (flagged 1 times across 1 plans)
[DEBT] is-there-convincing-verification-for-the-change: is there convincing verification for the change?: the current usesegmentslotmode test remains only a smoke test in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/tools/travel-between-images/components/shotimageseditor/hooks/tests/usesegmentslotmode.test.ts, and the plan does not add behavior coverage for the new sync effect. (flagged 1 times across 1 plans)
[DEBT] is-there-convincing-verification-for-the-change: is there convincing verification for the change?: no verification step covers the trailing-slot branch, even though the proposed phase 1 logic currently misses trailingpairdata refreshes. (flagged 1 times across 1 plans)
[DEBT] legacy-data-backfill: the step 8 diagnostic query only detects cross-shot pair_shot_generation_id misassociations, not same-shot misassociations caused by timeline reordering within a shot. (flagged 1 times across 1 plans)
[DEBT] lookup-consistency: other repo call sites use unordered .limit(1).maybesingle() and will remain inconsistent. (flagged 1 times across 1 plans)
[DEBT] lookup-consistency: other call sites with same unsafe pattern not covered. (flagged 1 times across 1 plans)
[DEBT] lora-management: lora tools simplified vs full ui parity (multi-stage metadata, private loras) (flagged 1 times across 1 plans)
[DEBT] media-lightbox-persistence: variant switches do not clear/restore inpaintprompt, so stale prompt state can leak across variants with no cached prompt. (flagged 1 times across 1 plans)
[DEBT] media-lightbox-persistence: removing prompt/numgenerations from the variant-keyed localstorage cache means all variants within a generation share the same prompt. this broadens existing debt-002 (variant prompt leakage). (flagged 1 times across 1 plans)
[DEBT] media-lightbox-segment-slot: media lightbox / segment slot: the targeted sync rationale does not fully explain the reported stale-url bug for regular pairs, and the proposed effect still misses trailing-slot refreshes because those can come from trailingpairdata rather than pairdatabyindex. (flagged 1 times across 1 plans)
[DEBT] number-input-nullable: plan doesn't explicitly state onchange must also accept null, though step 3 depends on it. (flagged 1 times across 1 plans)
[DEBT] number-input-nullable: disputed v1 flag — original concern about bulkclippanel being unimplementable. (flagged 1 times across 1 plans)
[DEBT] number-input-nullable: onchange null filtering not explicitly addressed in plan. (flagged 1 times across 1 plans)
[DEBT] number-input-testing: no planned tests for numberinput shared component or bulkclippanel nullable draft flow. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: pre-existing individual_travel_segment children won't drive orchestrator completion through segment_type_config after deploy. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: missing compatibility seam in orchestratorcore.ts:123-126 for old individual_travel_segment rows. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: mixed old/new data during rollout can leave old orchestrators without completion counting. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: no test or deployment guard for pre-existing individual_travel_segment children completing after worker change. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: plan overstates backward compatibility for existing data. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: missing rollout compatibility step for in-flight individual_travel_segment tasks. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: pre-deploy individual_travel_segment child completing post-rollout won't be treated as segment task by checkorchestratorcompletion. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: orchestrator.test.ts criterion too narrow to verify old individual_travel_segment compatibility. (flagged 1 times across 1 plans)
[DEBT] pair-settings-plumbing: handleopenpairsettings(pairindex, pairframedata) path in timelinetrackprelude, segmentoutputstrip, and usesegmentoutputstrip not explicitly named. (flagged 1 times across 1 plans)
[DEBT] pair-settings-plumbing: same as flag-002 — segmentoutputstrip and usesegmentoutputstrip still carry pairframedata. (flagged 1 times across 1 plans)
[DEBT] pair-settings-plumbing: timelinetrackprelude and segmentoutputstrip still forward (pairindex, pairframedata). (flagged 1 times across 1 plans)
[DEBT] plan-scope: step 3 is larger than a light megaplan warrants. (flagged 1 times across 1 plans)
[DEBT] planning-metadata: planning metadata: the attached metadata and success criteria still describe a different implementation than the current plan body, which risks sending execution and review down the wrong path. (flagged 1 times across 1 plans)
[DEBT] planning-metadata: success criteria don't cover wave 4 scope (flagged 1 times across 1 plans)
[DEBT] position-key-semantics: plan investigates a unique constraint on (parent_generation_id, child_order) which doesn't match repo semantics for position keys. (flagged 1 times across 1 plans)
[DEBT] position-key-semantics: plan weights toward child_order rather than pair_shot_generation_id as the key that matters. (flagged 1 times across 1 plans)
[DEBT] position-key-semantics: unique constraint on (parent_generation_id, child_order) not supported by repo semantics. (flagged 1 times across 1 plans)
[DEBT] prompt-composition: the plan's step 1 signature includes textbeforeprompts/textafterprompts parameters that would be applied before enhancement, double-wrapping the prompt. (flagged 1 times across 1 plans)
[DEBT] ready-template-snapshots: step 4.2 drops markdownnote nodes but step 4.5 and the success criteria require class_type/widget parity with pre-refactor snapshots, which currently include markdownnote nodes. (flagged 1 times across 1 plans)
[DEBT] ready-template-snapshots: same tension as issue_hints v2: drop-markdownnote vs. snapshot parity. (flagged 1 times across 1 plans)
[DEBT] reigh-worker-orchestrator-dockerfile: step 7 §3 claims gpu_orchestrator/dockerfile has wan2gp install steps; current main is generic and contains none. (flagged 1 times across 1 plans)
[DEBT] reigh-worker-orchestrator-runpod-startup: gpu_orchestrator/runpod/startup_script.py embeds headless-wan2gp in _workdir_discovery_snippet and is not named explicitly in step 7 §3's checklist. (flagged 1 times across 1 plans)
[DEBT] route-support-states: route support states: new and blocked are added to the plan as worker support classifications but are not representable in the current routesupportstate enum. (flagged 1 times across 1 plans)
[DEBT] search-for-related-code-that-handles-the-same-concept-is-the-reported-issue-a-symptom-of-something-broader: search for related code that handles the same concept. is the reported issue a symptom of something broader?: checked the broader runtime surface after the v4 path fix. sprint 2 is still moving two behavior-sensitive seams rather than just the import-path contract: the wan2gp/ mount path and the self_refiner runtime. step 6.2 covers only the three vendor_imports getters, while the 6-file travel suite and the bridge-contract tests do not mention self_refiner, so dropping the dedicated self-refiner smoke from the runnable steps leaves the broader downstream surface of that changed file under-covered. (flagged 1 times across 1 plans)
[DEBT] search-for-related-code-that-handles-the-same-concept-is-the-reported-issue-a-symptom-of-something-broader: search for related code that handles the same concept. is the reported issue a symptom of something broader?: the supported direct-route scope is still broader than the adapter's guaranteed parameter surface. db_task_to_generation_task() currently carries direct task params such as resolution, steps, and seed into wgp generation, but the vibecomfy cli path only guarantees prompt, seed, steps, and memory profile; resolution remains optional/documentation-only in the plan. (flagged 1 times across 1 plans)
[DEBT] search-for-related-code-that-handles-the-same-concept-is-the-reported-issue-a-symptom-of-something-broader: search for related code that handles the same concept. is the reported issue a symptom of something broader?: checked the revised child-route scope against migration-thresholds.yaml. the threshold corpus currently has wan/vace entries for travel_segment__model-wan22_vace__... and join_clips_segment__model-wan22_vace__..., but only an i2v entry for individual_travel_segment; the revised plan makes individual_travel_segment with vace model params a must-level worker fixture, which broadens the worker smoke scope beyond the currently tracked wan/vace threshold routes. (flagged 1 times across 1 plans)
[DEBT] self-refiner-verification: self-refiner verification: the revised plan still aligns wan2gp/shared/utils/self_refiner.py without scheduling the sprint 2 ltx-2 self_refiner smoke that docs/wan2gp_fork_migration_plan.md defines as the behavior-preservation check for that drift upgrade. (flagged 1 times across 1 plans)
[DEBT] settings-defaults: workerrepopath default can go stale if user switches computertype before editing path (flagged 1 times across 1 plans)
[DEBT] settings-resolution: settings cascade missing — shot-only read diverges from form's defaults→user→project→shot merge (flagged 1 times across 1 plans)
[DEBT] settings-resolution: settings cascade missing — shot-only read (flagged 1 times across 1 plans)
[DEBT] shared-component-compatibility: numberinput changes affect callers outside video-editor (billing, travel-between-images, phaseconfigselectormodal). (flagged 1 times across 1 plans)
[DEBT] shared-component-compatibility: shared ui component blast radius not audited in plan. (flagged 1 times across 1 plans)
[DEBT] shot-linking-testing: no test covers the linkgenerationtoshot error/catch branches. (flagged 1 times across 1 plans)
[DEBT] signature-propagation: plan doesn't explicitly name timeline/index.tsx and segmentslotcontracts.ts for updates. (flagged 1 times across 1 plans)
[DEBT] signature-propagation: same as flag-001 — timeline/index.tsx and segmentslotcontracts.ts not in checklist. (flagged 1 times across 1 plans)
[DEBT] signature-propagation: five supporting contract/plumbing sites not named in the checklist. (flagged 1 times across 1 plans)
[DEBT] task-types-verification: step 3 cites wrong migration file (task_cost_configs instead of task_types) as evidence for db fallback path. (flagged 1 times across 1 plans)
[DEBT] task-types-verification: step 3 should cite task_types source, not task_cost_configs. (flagged 1 times across 1 plans)
[DEBT] task-types-verification: plan doesn't verify travel_segment and travel_stitch exist as active task_types rows using the correct table. (flagged 1 times across 1 plans)
[DEBT] test-coverage: current generation-child.test.ts is only a smoke test. (flagged 1 times across 1 plans)
[DEBT] test-coverage: no plan to verify other lookup paths choose rows consistently. (flagged 1 times across 1 plans)
[DEBT] test-coverage: no new tests for db loader or travel param merge path (flagged 1 times across 1 plans)
[DEBT] test-coverage: must-level criteria depend on manual testing rather than automated assertions (flagged 1 times across 1 plans)
[DEBT] test-coverage: no new unit tests for wave 4 tools (flagged 1 times across 1 plans)
[DEBT] test-coverage: must criteria backed by manual testing only (flagged 1 times across 1 plans)
[DEBT] test-infrastructure: no test fixtures for resources table (flagged 1 times across 1 plans)
[DEBT] timeline-drag-coordination: plan keeps two hooks instead of a single coordinator (flagged 1 times across 1 plans)
[DEBT] timeline-drag-coordination: brief says single coordinator but plan keeps separate hooks (flagged 2 times across 1 plans)
[DEBT] timeline-drag-coordination: pendingopsref retained despite brief suggesting removal (flagged 1 times across 1 plans)
[DEBT] timeline-drag-coordination: wrapper-bound listener mount wiring under-specified (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: read path still assembles config and registry from separate requests (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: poll sync verification not structurally changed (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: backend save helpers not wired to new rpc (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: read infrastructure not updated (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: backend tests not in validation list (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: backend callers not migrated (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: broader persistence-contract problem (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: backend split-save not addressed (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: split polling can combine config and registry from different snapshots (flagged 1 times across 1 plans)
[DEBT] timeline-scaling: the plan only specifies a concrete fix for the default scale(1) case; explicit-scale tracks may still break blend-mode effects. (flagged 1 times across 1 plans)
[DEBT] timeline-snap-threshold: threshold is generous (duration) rather than zoom-scaled (8px) (flagged 1 times across 1 plans)
[DEBT] timeline-snap-threshold: computedropposition does not pass a zoom-scaled threshold override (flagged 1 times across 1 plans)
[DEBT] travel-continuations: smooth continuations not threaded — agent tasks won't have continuation_config even when shot settings enable it (flagged 1 times across 1 plans)
[DEBT] travel-continuations: continuation_config omitted from form parity (flagged 1 times across 1 plans)
[DEBT] travel-payload-cleanup-scope: plan scope narrower than original user request (flagged 1 times across 1 plans)
[DEBT] travel-payload-cleanup-scope: broader create-task contract problem left untouched (flagged 1 times across 1 plans)
[DEBT] travel-payload-readers: phase 4 app-side reader audit incomplete (flagged 1 times across 1 plans)
[DEBT] travel-payload-readers: phase 4 field inventory incomplete for app-side readers (flagged 1 times across 1 plans)
[DEBT] travel-request-contract: image_variant_ids is in frontend request contract (flagged 1 times across 1 plans)
[DEBT] travel-request-contract: image_variant_ids contract change (flagged 1 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: spawn_worker does not internally call start_worker_process; harness must call both explicitly (flagged 1 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: worker_id and runpod_id must be generated and threaded distinctly; plan currently uses pod_id as both (flagged 1 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: duplicate of correctness-1 — spawn_worker two-step misstatement (flagged 2 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: duplicate of correctness-2 — worker_id/runpod_id propagation across takeover and restore paths (flagged 1 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: duplicate of correctness-1 + correctness-2 — missing create_worker_record glue and start_worker_process integration (flagged 1 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: duplicate of correctness-2 — caller contract for spawn_worker requires worker_id, not pod_id (flagged 1 times across 1 plans)
[DEBT] verification: no end-to-end render test for audio analysis timing (flagged 1 times across 1 plans)
[DEBT] verification: no automated coverage for text clips or overlapping clips with audio effects (flagged 1 times across 1 plans)
[DEBT] verification-coverage: no automated test exercises the full segment-slot opening path after cleanup. (flagged 1 times across 1 plans)
[DEBT] verification-coverage: no automated coverage that clicking a pair opens the correct modal after cleanup. (flagged 1 times across 1 plans)
[DEBT] verification-coverage: zero behavioral change criterion is not verifiable from tsc + existing tests alone. (flagged 1 times across 1 plans)
[DEBT] verification-workflow: tsconfig.app.json excludes test files, so tsc won't catch test breakage. (flagged 1 times across 1 plans)
[DEBT] worker-test-staleness: worker test in test_additional_coverage_modules.py:37 may assert stale payload structure (task_type vs family). (flagged 1 times across 1 plans)
[DEBT] workspace-state: plan checkpoint says the repo was clean, but current worker files may already be modified. (flagged 1 times across 1 plans)
[DEBT] workspace-state: tests/test_vibecomfy_adapter.py is both locally modified and in scope for planned edits. (flagged 1 times across 1 plans)
code
Note: User chose auto-approve mode. This execution was not manually reviewed at the gate. Exercise extra caution on destructive operations.
Robustness level: standard.
Requirements:
- Execute only the actionable tasks in this batch.
- Treat completed tasks as dependency context, not new work.
- Return structured JSON only.
- Only produce `task_updates` for these tasks: [T2]
- Only produce `sense_check_acknowledgments` for these sense checks: [SC2]
- Do not include updates for tasks or sense checks outside this batch.
- Keep `executor_notes` verification-focused.
- Best-effort progress checkpointing: if `/Users/user_c042661f/Documents/reigh-workspace/.megaplan/plans/run-a-standard-all-codex-20260511-1359/execution_batch_2.json` is writable, checkpoint task and sense-check updates there (not `finalize.json`). The harness owns `finalize.json`.
- When verifying changes, run the entire test file or module, not individual test functions. Individual tests miss regressions.
- finalize.json includes baseline_test_failures — a list of test IDs that were already failing before your changes. If a test fails and its ID appears in baseline_test_failures, it is pre-existing — do not scope-creep into fixing it. If baseline_test_failures is null, the baseline could not be captured; use your judgment but err on the side of assuming failures are regressions. You MUST still re-run the FULL test suite with your changes applied — pre-existing failures do not excuse skipping verification. Never narrow to individual test functions and stop.
- If this batch includes the final verification task, write a short script that reproduces the exact bug described in the task, run it to confirm the fix resolves it, then delete the script.
"Auto-attributed 4 unclaimed file(s) to task T1 (worker reported empty files_changed): docs/migration-vibecomfy-live-validation.md, docs/migration-vibecomfy.md, docs/sprint-12-route-inventory.md, reigh-app-cloud-chain",
"Advisory observation mismatch: executor claimed files not observed in git status/content hash delta: docs/migration-vibecomfy-live-validation.md, docs/migration-vibecomfy.md, docs/sprint-12-route-inventory.md, reigh-app-cloud-chain, reigh-worker/scripts/capability_contracts/contracts.json, reigh-worker/source/task_handlers/tasks/template_routing.py",
"Advisory audit finding: Git status shows changed files not claimed by any task: Astrid/",
"Advisory audit finding: Sense check SC2 is missing an executor acknowledgment.",
"Advisory audit finding: Sense check SC3 is missing an executor acknowledgment.",
"Advisory audit finding: Sense check SC4 is missing an executor acknowledgment.",
"Advisory audit finding: Sense check SC5 is missing an executor acknowledgment.",
"Advisory audit finding: Sense check SC6 is missing an executor acknowledgment.",
"Advisory audit finding: Sense check SC7 is missing an executor acknowledgment.",
"Advisory audit finding: Tasks left pending after execute (executor never started them): T2, T3, T4, T5, T6, T7"
]
code
User action prerequisites:
No user_action prerequisites for this batch.
Batch-scoped sense checks:
[
{
"id": "SC2",
"task_id": "T2",
"question": "Do matrix, manifest, routing tests, and regenerated tracker all agree with the fail-closed baseline, with the stale travel_segment_ltx2_control_video_first_last supported surface removed?",
"verdict": ""
}
]
code
Full execution tracking source of truth (`finalize.json`):
{
"tasks": [
{
"id": "T1",
"description": "In each touched repo, start by running git status --short --branch and confirming the current commits/branches instead of trusting the checkpoint text: reigh-worker around 027c1492 on megaplan/vibecomfy-sprint-09-control-rail-travel-matrix, vibecomfy around 26c381d on megaplan/production-parity-templates, and orchestrator only if later needed. In reigh-worker, inspect and preserve any existing local diffs before editing, especially tests/test_vibecomfy_adapter.py and docs/sprint-12-route-inventory.md; layer changes additively and do not revert unrelated root workspace changes. Then normalize the current over-promoted worker state to a green fail-closed baseline: set non-distilled travel_segment__model-ltx2__guidance-none__continuity-first_last__profile-default, distilled travel_segment__model-ltx2_distilled__guidance-none__continuity-first_last__profile-default, and all LTX control-guide first/last route keys to VIBECOMFY_UNSUPPORTED in source/task_handlers/tasks/template_routing.py; set matching implementation: unsupported and status: unsupported_fail_closed entries in scripts/capability_contracts/contracts.json; record blockers that non-distilled would reuse distilled assets, distilled promotion is pending VibeComfy doctor/model-assets/adapter proof, and control-guide routes lack control-capable VibeComfy evidence.",
"depends_on": [],
"status": "done",
"executor_notes": "Verified current git status/commits before editing. reigh-worker and vibecomfy were clean; root had unrelated existing changes. T1 source and contracts now fail-close non-distilled LTX first/last, distilled pre-gate LTX first/last, and all LTX control first/last route keys with explicit blockers. Contract validation passes with 0 errors/warnings. Broader capability/routing tests fail only on T2-owned support surfaces that still expect promoted LTX routes.",
"reviewer_verdict": "",
"files_changed": [
"docs/migration-vibecomfy-live-validation.md",
"docs/migration-vibecomfy.md",
"docs/sprint-12-route-inventory.md",
"reigh-app-cloud-chain"
],
"commands_run": [],
"auto_attributed_files": true
},
{
"id": "T2",
"description": "Update every worker support surface to match the fail-closed baseline from T1. In scripts/live_test/matrix.py, stop advertising travel_segment_ltx2_first_last and travel_segment_ltx2_distilled_first_last as supported VibeComfy live-run cases during the baseline; keep them only as explicit fail-closed/discoverability cases if the matrix supports unsupported cases cleanly. Remove or rename the stale travel_segment_ltx2_control_video_first_last case and use only current matrix case names. Update scripts/capability_contracts/live_matrix_manifest.json to match build_matrix() stable fields. Update tests/test_template_routing.py, especially test_section3a_ltx_first_last_rows_are_supported_after_adapter_wiring, so non-promoted LTX first/last routes and LTX control-guide routes assert fail-closed behavior. Regenerate docs/vibecomfy-app-parity-tracker.md from contracts after edits, preserving any unrelated local doc changes.",
"depends_on": [
"T1"
],
"status": "pending",
"executor_notes": "",
"reviewer_verdict": ""
},
{
"id": "T3",
"description": "Validate and stabilize the fail-closed worker baseline. From reigh-worker, run python -m scripts.capability_contracts.report validate --json and python -m pytest tests/test_capability_contracts.py tests/test_template_routing.py -q. Fix any route-binding, matrix-manifest, or tracker drift without promoting LTX routes. Keep existing regression coverage that detects future route, matrix, manifest, and contract drift.",
"depends_on": [
"T2"
],
"status": "pending",
"executor_notes": "",
"reviewer_verdict": ""
},
{
"id": "T4",
"description": "In vibecomfy, make video/ltx2_3_runexx_first_last_frame promotable as a durable pure-Python ready template. Before editing ready_templates/video/ltx2_3_runexx_first_last_frame.py, account for its # vibecomfy: generated header: prefer updating generator inputs or override metadata used by tools/convert_ready_templates.py; if the fix cannot be represented there, change the first-line marker to # vibecomfy: manual before direct edits. Run python -m vibecomfy.cli doctor video/ltx2_3_runexx_first_last_frame --json, inspect GetNode/SetNode broadcast runtime-link errors, and fix only genuine graph invalidity or incorrect doctor policy handling. Keep python -m vibecomfy.cli validate video/ltx2_3_runexx_first_last_frame passing. Add durable model asset declarations for every concrete LTX model file referenced by the template, including UNET/GGUF, CLIP/projection, video/audio/tiny VAE, spatial upscaler, and any distilled LoRA actually used. Keep READY_REQUIREMENTS['custom_nodes'] aligned with node classes. Add focused coverage in existing tests so referenced filenames must appear in READY_METADATA['model_assets'] or READY_REQUIREMENTS['models']. Run python -m tools.refresh_template_index --check, python -m vibecomfy.cli validate video/ltx2_3_runexx_first_last_frame, python -m vibecomfy.cli doctor video/ltx2_3_runexx_first_last_frame --json, and python -m pytest tests/test_ready_templates.py tests/test_model_assets.py -q until green.",
"depends_on": [
"T3"
],
"status": "pending",
"executor_notes": "",
"reviewer_verdict": ""
},
{
"id": "T5",
"description": "In reigh-worker, prove low-level LTX scratchpad binding before route promotion. First inspect the current local diff for tests/test_vibecomfy_adapter.py and preserve any existing user/main-thread edits. Add or adjust an existing adapter test so it calls the LTX scratchpad writer or builder directly with a synthetic supported ResolvedTask; do not call handle_vibecomfy_resolved_task in this pre-promotion test. Assert the generated/patched scratchpad preserves first image, last image, prompt, negative prompt, seed, resolution, frame count, and FPS. Keep _validate_supported_resolved_task strict, and keep/add assertions that the public handler rejects fail-closed or unsupported resolved tasks. Keep backend-selection tests focused on route/backend dispatch and leave public resolve_task_route(... backend='vibecomfy') plus handler proof for after promotion. Assert non-distilled ltx2_22B does not silently use the distilled template path. Run python -m pytest tests/test_vibecomfy_adapter.py -q for this pre-promotion proof.",
"depends_on": [
"T3",
"T4"
],
"status": "pending",
"executor_notes": "",
"reviewer_verdict": ""
},
{
"id": "T6",
"description": "After T4 and T5 pass, atomically promote only the distilled no-control LTX first/last route. In reigh-worker/source/task_handlers/tasks/template_routing.py, change travel_segment__model-ltx2_distilled__guidance-none__continuity-first_last__profile-default to VIBECOMFY_SUPPORTED; in the same change set update scripts/capability_contracts/contracts.json to implementation: vibecomfy, template_id: video/ltx2_3_runexx_first_last_frame, and status: static_valid or template_bound, not runtime_green. Update artifact contract fields for child task completion, MP4 output, storage path, and output artifact expectations. Immediately run python -m scripts.capability_contracts.report validate --json to catch implementation_mismatch or template_mismatch. Then add/restore post-promotion public handler proof in existing tests: build resolved = resolve_task_route(... backend='vibecomfy') for ltx2_22B_distilled_1_1, call handle_vibecomfy_resolved_task, assert the route is VIBECOMFY_SUPPORTED, has no fail_closed_reason, selects video/ltx2_3_runexx_first_last_frame, and preserves runtime fields through the handler path. Keep a parallel assertion that non-distilled ltx2_22B remains fail-closed and is rejected by the public handler. Update scripts/live_test/matrix.py, scripts/capability_contracts/live_matrix_manifest.json, tests/test_template_routing.py, and regenerated docs/vibecomfy-app-parity-tracker.md so the distilled case is discoverable as the current supported static/live candidate, non-distilled remains fail-closed, all LTX control routes remain fail-closed, current matrix case names are used, and no live evidence is added without a completed report.",
"depends_on": [
"T4",
"T5"
],
"status": "pending",
"executor_notes": "",
"reviewer_verdict": ""
},
{
"id": "T7",
"description": "Final verification and runtime-evidence discipline. Run the full validation sequence and fix/re-run until green: from reigh-worker, python -m scripts.capability_contracts.report validate --json and python -m pytest tests/test_capability_contracts.py tests/test_template_routing.py tests/test_vibecomfy_adapter.py tests/test_vibecomfy_backend_selection.py -q; from vibecomfy, python -m tools.refresh_template_index --check, python -m vibecomfy.cli validate video/ltx2_3_runexx_first_last_frame, python -m vibecomfy.cli doctor video/ltx2_3_runexx_first_last_frame --json, and python -m pytest tests/test_ready_templates.py tests/test_model_assets.py -q; from reigh-worker-orchestrator, only if route metadata shape changed, python -m pytest tests/gpu_orchestrator/test_route_aware_task_counts.py tests/test_route_stale_worker_state.py -q. Also write a short throwaway script under a temporary path, not a test file, that reproduces the original route drift: confirm non-distilled LTX first/last fail-closes, distilled LTX first/last resolves through backend='vibecomfy' to video/ltx2_3_runexx_first_last_frame, stale travel_segment_ltx2_control_video_first_last is absent, LTX control routes fail-close, and no LTX route is marked runtime_green without completed live evidence; run it and delete it. Do not launch RunPod/live jobs unless all static gates are green and the run is explicitly non-duplicative; if launched, record pod IDs, report paths, final statuses, output artifacts, and termination evidence, and only then consider runtime_green. Finish by checking git status --short --branch in touched repos and summarizing executed changes, tests, and remaining blockers.",
"depends_on": [
"T6"
],
"status": "pending",
"executor_notes": "",
"reviewer_verdict": ""
}
],
"watch_items": [
"Do not invoke the megaplan CLI, read or activate the megaplan skill, start nested plans, or edit execution JSON manually.",
"Re-check actual git status --short --branch in every touched repo before editing. The checkpoint may be stale; reigh-worker/tests/test_vibecomfy_adapter.py and docs/sprint-12-route-inventory.md may already have local changes that must be preserved.",
"Do not revert unrelated root workspace changes or user/main-thread edits. If a file is already modified and in scope, inspect its diff and layer changes additively.",
"The current durable code may be over-promoted. Normalize to a fail-closed baseline before attempting distilled promotion.",
"Keep fail-closed baseline and atomic distilled promotion as separate validation slices. Do not expect contract validation to be green while route source and contracts disagree.",
"Do not weaken _validate_supported_resolved_task; pre-promotion proof must call the low-level scratchpad writer/builder with a synthetic supported task, not the public handler.",
"Only the distilled no-control first/last route may be promoted in this slice. Non-distilled ltx2_22B must remain fail-closed unless a true non-distilled implementation is added.",
"All LTX control-guide route keys must remain explicitly fail-closed until control-capable VibeComfy evidence exists, including any currently over-promoted control-video first/last route.",
"Do not resurrect travel_segment_ltx2_control_video_first_last; use current matrix case names only.",
"The LTX ready template is generated unless deliberately changed. Model-asset and doctor fixes must survive regeneration or the file must be marked manual before direct edits.",
"vibecomfy doctor video/ltx2_3_runexx_first_last_frame --json is a hard gate before promotion; validate alone is insufficient.",
"Static/template-bound support is not runtime evidence. Do not set runtime_green or add live evidence without a completed live report and output artifact location.",
"Avoid RunPod/live execution in this static correction slice unless static gates are green and the run will not duplicate main-thread work.",
"Preserve exact route/runtime field behavior: first image, last image, prompt, negative prompt, seed, resolution, frame count, FPS, output artifact expectations, and child task completion contracts."
],
"sense_checks": [
{
"id": "SC1",
"task_id": "T1",
"question": "Did execution verify current git status/commits, preserve existing local diffs, and make route source plus contracts fail-closed for non-distilled, distilled pre-gate, and all LTX control first/last routes with explicit blockers?",
"verdict": "",
"executor_note": "Yes. Current git status and commits were verified; existing local/root diffs were preserved; route source plus contracts now fail-close non-distilled, distilled pre-gate, and all LTX control first/last routes with explicit blockers."
},
{
"id": "SC2",
"task_id": "T2",
"question": "Do matrix, manifest, routing tests, and regenerated tracker all agree with the fail-closed baseline, with the stale travel_segment_ltx2_control_video_first_last supported surface removed?",
"verdict": ""
},
{
"id": "SC3",
"task_id": "T3",
"question": "Do worker contract validation and capability/routing tests pass while LTX first/last and LTX control-guide routes remain fail-closed?",
"verdict": ""
},
{
"id": "SC4",
"task_id": "T4",
"question": "Does the distilled LTX VibeComfy template pass refresh-index, validate, doctor, and model-asset tests, and are edits durable via generator inputs/overrides or an explicit manual marker?",
"verdict": ""
},
{
"id": "SC5",
"task_id": "T5",
"question": "Does the pre-promotion adapter proof exercise only the low-level scratchpad writer/builder with a synthetic supported task, preserve all required runtime fields, and leave public handler rejection strict for fail-closed tasks?",
"verdict": ""
},
{
"id": "SC6",
"task_id": "T6",
"question": "Was only the distilled no-control route promoted atomically with a matching VibeComfy contract/template id and static/template-bound status, while non-distilled and all control routes remain fail-closed?",
"verdict": ""
},
{
"id": "SC7",
"task_id": "T7",
"question": "Do all final validation commands and the throwaway drift-reproduction script pass, with no stale matrix case, no unsupported LTX promotion, and no runtime_green status without completed live evidence?",
"verdict": ""
}
],
"user_actions": [],
"meta_commentary": "Execution should treat the repo as a moving workspace, not as the checkpoint snapshot. The first practical move is to inspect current statuses and diffs, especially the already-modified adapter test, then normalize the over-promoted LTX surfaces to a fail-closed baseline. Only after worker baseline validation, VibeComfy doctor/model-asset gates, and low-level scratchpad proof are green should the distilled no-control route be promoted. The most important judgment calls are to preserve existing local edits, avoid silently mapping non-distilled LTX to distilled assets, keep control-guide routes blocked, and never equate static validation with runtime evidence.",
"validation": {
"plan_steps_covered": [
{
"plan_step_summary": "Current replan checkpoint: verify current commits/status, do not assume prior clean state, and inspect/preserve local worker diffs before editing.",
"finalize_item_ids": [
"T1",
"T5",
"T7"
]
},
{
"plan_step_summary": "Step 1: Make current LTX first/last and LTX control-guide worker routes consistently unsupported/fail-closed with explicit blockers.",
"finalize_item_ids": [
"T1"
]
},
{
"plan_step_summary": "Step 2: Update worker matrix, manifest, routing tests, and tracker to match fail-closed state and remove stale matrix case.",
"finalize_item_ids": [
"T2"
]
},
{
"plan_step_summary": "Step 3: Prove fail-closed worker validator and capability-contract tests are green.",
"finalize_item_ids": [
"T3"
]
},
{
"plan_step_summary": "Step 4: Choose a durable edit path for the generated VibeComfy LTX ready template.",
"finalize_item_ids": [
"T4"
]
},
{
"plan_step_summary": "Step 5: Make VibeComfy doctor a hard static gate and fix template/doctor issues appropriately.",
"finalize_item_ids": [
"T4",
"T7"
]
},
{
"plan_step_summary": "Step 6: Declare concrete LTX model assets and aligned custom-node/model requirements with focused coverage.",
"finalize_item_ids": [
"T4",
"T7"
]
},
{
"plan_step_summary": "Step 7: Add pre-promotion low-level scratchpad writer proof without using the public handler.",
"finalize_item_ids": [
"T5"
]
},
{
"plan_step_summary": "Step 8: Keep backend-selection tests focused, defer public handler proof until after promotion, and prove non-distilled does not use distilled template path.",
"finalize_item_ids": [
"T5",
"T6"
]
},
{
"plan_step_summary": "Step 9: Atomically flip distilled route source and contract to VibeComfy static/template-bound support after gates pass.",
"finalize_item_ids": [
"T6",
"T7"
]
},
{
"plan_step_summary": "Step 10: Add post-promotion public handler proof for distilled route and rejection proof for non-distilled fail-closed route.",
"finalize_item_ids": [
"T6",
"T7"
]
},
{
"plan_step_summary": "Step 11: Update matrix, manifest, routing tests, and tracker for promoted distilled route while non-distilled/control routes remain fail-closed.",
"finalize_item_ids": [
"T6",
"T7"
]
},
{
"plan_step_summary": "Step 12: Keep live matrix evidence disciplined, use current matrix case names only, and avoid runtime_green without completed evidence.",
"finalize_item_ids": [
"T6",
"T7"
]
},
{
"plan_step_summary": "Step 13: Launch live runs only when non-duplicative and record full evidence if any run is intentionally launched.",
"finalize_item_ids": [
"T7"
]
}
],
"orphan_tasks": [],
"completeness_notes": "All numbered approved-plan steps plus the current replan checkpoint are mapped to execution tasks. No human-only setup is required for the static correction slice; optional RunPod execution remains guarded inside T7 rather than a user action because the plan explicitly says no live jobs are required and they should only occur if static gates are green and non-duplicative.",
"coverage_complete": true
},
"baseline_test_failures": [],
"baseline_test_command": "pytest --tb=no -q --no-header"
}
code
Debt watch items (do not make these worse):
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: for ordinary pairs, the new diagnosis is not well-supported by the repo. the current sync effect in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/tools/travel-between-images/components/shotimageseditor/hooks/usesegmentslotmode.ts already syncs url and primaryvariantid, and the regenerate path reads exactly starturl, endurl, startgenid, endgenid, startvariantid, and endvariantid from segmentslotmode.pairdata in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/domains/media-lightbox/hooks/usevideoregeneratemode.ts. adding thumburl and generationid to the sync does not, by itself, explain why an old image url is still being used for regular pairs. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: the fix is incomplete for extra trailing slots. handlepairclick can populate activepairdata from trailingpairdata when pairindex === pairdatabyindex.size in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/tools/travel-between-images/components/shotimageseditor/hooks/usesegmentslotmode.ts, but the proposed sync effect only reads pairdatabyindex.get(segmentslotlightboxindex). for those trailing-slot cases fresh is undefined, so no image refresh happens. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: the merge pseudocode does not actually sync 'all image fields' as claimed. it omits id and position from change detection, and when fresh.startimage or fresh.endimage becomes null it preserves the stale previous object instead of syncing that null state. as written, it also needs explicit null-guards around spreads of prev.startimage / prev.endimage to be safe in strict typescript. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: the plan's claim that worker_state.py:200-204 (the 30-minute startup safety net) catches abandoned pods that exited before patching is slightly imprecise. line 200-204 only runs when in_startup_phase is true, which requires startup_phase to be in ('deps_installing', 'deps_verified', 'worker_starting') per line 161. a pod that exits before its first patch has startup_phase = none, so in_startup_phase is false and the code falls through to the normal timeout checks (active_stale / not_claiming) at line 207+, not the 30-minute startup cap. both paths eventually reap the worker, so the end result is the same, but the overview's reasoning (naming 200-204 specifically) is wrong. worth correcting so future readers don't mis-reason about the invariant. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: checked worker_state.py line 161 (in_startup_phase = startup_phase in (...)) against the plan's assumption that subsequent lenient writes are safe. if deps_installing succeeds but deps_verified silently fails, startup_phase stays at 'deps_installing' and the 30-minute cap from line 200-204 applies — even though the pod is actually progressing through uv sync. on a slow runpod image with cold wheel downloads, uv sync --extra cuda124 plus wan2gp deps can take 20+ minutes. there's no concrete benchmark in the plan that says the 30-minute cap is safely above the expected sync time; if uv sync legitimately takes 25 minutes and the deps_verified patch fails on a transient network blip, the orchestrator will terminate a healthy pod. plan should either bump the cap or note that deps_verified swallowing is acceptable because the cap is generously above typical sync time. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: the path-mapping defect from the previous iteration is fixed, but a different technical gap remains around self_refiner. repository search shows shared.utils.self_refiner is imported by wan2gp/wgp.py, wan2gp/models/ltx2/ltx_pipelines/distilled.py, ti2vid_one_stage.py, ti2vid_two_stages.py, wan2gp/models/ltx2/ltx_pipelines/utils/helpers.py, and wan2gp/models/wan/any2video.py; the v4 plan still aligns wan2gp/shared/utils/self_refiner.py to upstream head without any concrete runtime step that exercises those code paths after the change, so the only repo-documented behavior check for that file is still missing from the executable body. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: the direct adapter still has a correctness risk around resolution parity. current vibecomfy ready templates hardcode image dimensions (image/z_image uses emptysd3latentimage 1024x1024 and image/qwen_image_2512 uses 768x768), while vibecomfy run exposes no --resolution flag; the revised plan says a temporary scratchpad/input file may be generated only if supported, otherwise resolution is left out. that means a vibecomfy-supported direct route can silently ignore the worker's resolution param unless scratchpad resolution patching is made mandatory for supported direct routes or the support is explicitly limited to default-resolution smoke fixtures. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: route support states: the revised step 5 says to classify ltx control rows as vibecomfy_supported, wgp_only, vibecomfy_unsupported, new, or blocked, but the current worker routesupportstate enum at reigh-worker/source/task_handlers/tasks/template_routing.py:17-20 only supports wgp_only, vibecomfy_supported, and vibecomfy_unsupported. the plan needs to either extend the enum/report schema for new/blocked or keep new/blocked strictly as fixture disposition values mapped to an existing runtime support state. (flagged 1 times across 1 plans)
[DEBT] are-the-proposed-changes-technically-correct: are the proposed changes technically correct?: startup tests: step 11 still needs sharper wording for vibecomfy_memory_profile. the current startup template exports it only inside if [ "$reigh_backend" = "vibecomfy" ] && [[ "$reigh_worker_profile" =~ ^[0-9]+$ ]] at worker_startup.template.sh lines 28-30, while the revised plan says to assert it is exported consistently when proving both wgp and vibecomfy render from the same template. if implemented as an unconditional wgp+vibecomfy export assertion, the test would conflict with the current template's intentional conditional behavior. (flagged 1 times across 1 plans)
[DEBT] are-the-success-criteria-well-prioritized-and-verifiable: are the success criteria well-prioritized and verifiable?: the attached success criteria are stale and do not match the current plan body. they still require 'no usestate for activepairdata', 'setactivepairdata fully removed', 'sync effect deleted', and 'onpairclick simplified to (pairindex: number) => void', which are the opposite of the current targeted-sync plan. as presented, the criteria are not usable for review or execution. (flagged 1 times across 1 plans)
[DEBT] audio-loading: getaudiodata in useeffect removes render-readiness signal (flagged 1 times across 1 plans)
[DEBT] audio-loading: same as correctness-3 — preview/render parity risk (flagged 1 times across 1 plans)
[DEBT] audio-loading: preview/render parity partially satisfied (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: overlapping clips use first-found, volume not scaled (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: same as audio-reactivity-1 — overlapping/volume-adjusted clips diverge from audible mix (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: textclip missing globalframeprovider (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: same as audio-reactivity-2 — textclipsequence missing provider (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: textclip effects surface not covered (flagged 1 times across 1 plans)
[DEBT] audio-reactivity: continuous effects shared by visual and text clips (flagged 1 times across 1 plans)
[DEBT] batch-generation-pipeline: enhancement in usegeneratebatch before generatevideo() could compute prompts against a stale pair snapshot if mutations are still in flight. (flagged 1 times across 1 plans)
[DEBT] cas-intern-short-circuit: symlink short-circuit comparison may produce false negatives on macos-like layouts where project_dir contains symlinked segments (/var → /private/var) because resolve(strict=true) on the source returns canonical paths but project_dir / cas_dirname may be non-canonical. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-cascade-paths: cascade lookup only reads params->>'orchestrator_task_id_ref', missing shared reference paths and orchestrator-self detection. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-cascade-paths: duplicate of correctness-2 + correctness-3: invalid sql syntax and narrow cascade lookup. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-cascade-paths: shared orchestrator-reference helpers not referenced. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-cascade-paths: orchestrator tasks that crash don't get orchestrator-self cascade. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-cascade-paths: hardcoded params->>'orchestrator_task_id_ref' misses other reference paths. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-retry: crash requeue sql does not increment attempts, risking infinite requeue loop. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-retry: duplicate of correctness-1: attempts never advance on crash requeue. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-retry: missing attempts increment location in heartbeat sql. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-retry: step 6 under-scoped for real retry convergence and orchestrator-self handling. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-sql-syntax: bare select inside plpgsql is invalid — needs perform. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-testing: no multi-crash convergence test exercising attempts 0→1→2→3. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-testing: no validation that plpgsql body executes successfully. (flagged 1 times across 1 plans)
[DEBT] crash-recovery-testing: criteria don't require proof of crash requeue convergence. (flagged 1 times across 1 plans)
[DEBT] criteria-verifiability: 'no unsafe .maybesingle()' criterion requires judgment about column uniqueness. (flagged 1 times across 1 plans)
[DEBT] criteria-verifiability: decision documentation location not specified. (flagged 1 times across 1 plans)
[DEBT] criteria-verifiability: the must criterion requiring 5 task types to exist as active db rows is not verifiable from code diff alone — it requires a live db query. (flagged 1 times across 1 plans)
[DEBT] db-fallback-testing: no new automated test for the db fallback dispatch path or dependant_on preservation for raw worker families. (flagged 1 times across 1 plans)
[DEBT] dependency-resolution: dependency resolution: the plan does not lock down the active python-version matrix even though the repo currently splits between python 3.10 local installs and a python 3.11 runpod image. (flagged 1 times across 1 plans)
[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: the package is internally inconsistent. the plan body says to keep activepairdata in usestate and make phase 2 optional, but the attached metadata and success criteria still describe the previous derive-via-usememo / remove-setactivepairdata / simplify-onpairclick plan. that means the approved-plan requirements are only partially coherent as presented. (flagged 1 times across 1 plans)
[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: the linux distro note is documentation-only; the generated install command in step 7 still runs apt-get install python3.10-venv python3.10-dev ffmpeg without any pre-check that the package exists. users on ubuntu 24.04+ who ignore the doc and try to copy-paste the command will hit a confusing e: unable to locate package python3.10-venv from apt rather than a targeted error from commandutils.ts. a one-line detection pre-check (e.g., apt-cache show python3.10-venv >/dev/null 2>&1 || { echo 'install deadsnakes ppa first — see readme'; exit 1; }) would convert the silent failure into an actionable error, but the plan does not add this. (flagged 1 times across 1 plans)
[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: checked the revised v4 body against docs/wan2gp_fork_migration_plan.md sprint 2. the repo plan doc still lists an "ltx-2 self_refiner smoke against the pre-sprint behavioral baseline" as a sprint 2 verification gate and repeats that smoke in the functionality-preservation checks, but the revised execution steps no longer schedule that smoke anywhere; it survives only as an info-level metadata criterion. because wan2gp/shared/utils/self_refiner.py remains an explicit sprint 2 deliverable, the revised plan still only partially carries forward the verification package described in the source migration plan. (flagged 1 times across 1 plans)
[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: worker integration: the migration doc describes the per-call profile override gap as involving reigh-worker adapter handling of override_profile before constructing vibecomfy sessionconfig, but the plan limits sprint 1 per-run work to the vibecomfy cli/runtime. that may be acceptable for a vibecomfy-library mvp, but it does not fully exercise the production-facing per-task override semantics called out in the overall context. (flagged 1 times across 1 plans)
[DEBT] did-the-work-fully-address-the-issue-hints-user-notes-and-approved-plan-requirements: did the work fully address the issue hints, user notes, and approved plan requirements?: a residual issue-hint tension remains for resolution handling. the plan acknowledges current vibecomfy run lacks a resolution flag, but allows the adapter to leave resolution and other template-specific values unwired for sprint 2. because z_image_turbo and qwen_image_2512 are marked vibecomfy-supported direct routes, this may not preserve the existing worker task-parameter contract for tasks that provide a non-default resolution. (flagged 1 times across 1 plans)
[DEBT] direct-route-parameter-parity: direct route parameter parity: vibecomfy-supported direct routes may ignore the worker resolution parameter. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: phase 1 still misses a real supporting-data location: trailingpairdata lives outside pairdatabyindex in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/tools/travel-between-images/components/shotimageseditor/hooks/usesegmentslotpresentationadapter.ts, but the proposed sync logic only considers pairdatabyindex. if trailing slot regenerate is part of the bug surface, that location is not covered. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: the non-swallowing helper update_worker_phase_strict is a new shell function, but phase 1 step 2 introduces it only as pseudo-code. there is no concrete note that the helper must handle supabase http non-2xx responses as failures (curl returns 0 even on http 4xx/5xx by default unless -f or --fail-with-body is used). if the implementer ports update_worker_phase verbatim with only || return 0 removed, a 500 from supabase would still report success because curl's exit code is 0. the plan should specify curl --fail or explicit http status code checking in the strict variant. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: the supporting-infrastructure review still finds one missing check. in docs/wan2gp_fork_migration_plan.md, sprint 2's verification matrix and risk register both single out self_refiner as a distinct drift-upgrade surface with its own smoke and its own silent-behavior-change risk, but the revised v4 body updates the file without keeping that supporting verification step in the actual execution checklist. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: documentation/data gap: the sprint exit criteria require profiles 1 and 3 to have vram and wall-clock data, but the plan puts that only in metadata as an info-level criterion and does not schedule a concrete artifact location or command for recording the measurements. the implementation could satisfy all unit tests while still missing one of the explicit exit criteria. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: the supporting infrastructure for resolution is still incomplete if direct vibecomfy routes are considered production-supported. vibecomfy has a vibecomfy.patches.resolution helper and the cli can load scratchpad files with allow_scratchpad=true, but the plan does not require using that path; it permits leaving resolution out for sprint 2. (flagged 1 times across 1 plans)
[DEBT] does-the-change-touch-all-locations-and-supporting-infrastructure: does the change touch all locations and supporting infrastructure?: checked vibecomfy profile wording against vibecomfy/tests/test_ready_templates.py. the revised plan says to add the production template to representative compile profile coverage 'alongside the existing dry-run id', but the dry-run id is not currently in profile_smoke_template_ids; only video/wanvideo_wrapper_22_5b_i2v and video/wan_t2v are. this is a small wording mismatch rather than a functional blocker because adding either the production id alone or both ids would still satisfy sprint 4. (flagged 1 times across 1 plans)
[DEBT] edge-test-config: plan's vitest commands use the wrong config entry point. (flagged 1 times across 1 plans)
[DEBT] edge-test-config: same as verification-3: wrong vitest config in validation commands. (flagged 1 times across 1 plans)
[DEBT] edge-test-config: success criterion references wrong test command. (flagged 1 times across 1 plans)
[DEBT] error-handling: db loader error handling convention mismatch (plan says log+null, existing loaders throw) (flagged 1 times across 1 plans)
[DEBT] error-propagation-logging: generation.ts and handler.ts logging endpoints are not directly tested. (flagged 1 times across 1 plans)
[DEBT] error-propagation-testing: no end-to-end regression test for the full symptom chain (db error → tocompletionerror metadata → handler log). (flagged 1 times across 1 plans)
[DEBT] error-propagation-testing: handler.ts metadata surfacing criterion lacks a concrete automated verifier. (flagged 1 times across 1 plans)
[DEBT] error-propagation-testing: main issue only partially validated without an integration test. (flagged 1 times across 1 plans)
[DEBT] find-the-callers-of-the-changed-function-what-arguments-do-they-actually-pass-does-the-fix-handle-all-of-them: find the callers of the changed function. what arguments do they actually pass? does the fix handle all of them?: the step 2 retry loop uses a naked sleep 2 between attempts, which adds up to 6 seconds of latency on the happy path when the first patch eventually succeeds on attempt 2 or 3. for pods where supabase is reachable but slow during the initial moments of a cold runpod start, the retry logic is fine. however, if the first attempt fails with a tls handshake delay and the retry loop sleeps 2s per attempt regardless of whether curl itself has been blocking for tens of seconds, the total startup latency penalty could be substantial. this is a minor tuning concern, not a correctness issue. (flagged 1 times across 1 plans)
[DEBT] find-the-callers-of-the-changed-function-what-arguments-do-they-actually-pass-does-the-fix-handle-all-of-them: find the callers of the changed function. what arguments do they actually pass? does the fix handle all of them?: finding callers of the changed module shows that shared.utils.self_refiner is consumed by wan2gp/wgp.py, wan2gp/models/ltx2/ltx2_handler.py, multiple ltx2 pipeline modules, and wan2gp/models/wan/any2video.py. the revised validation steps still only drive the three bridge getters in source/runtime/wgp_ports/vendor_imports.py; none of the scheduled commands execute a real self_refiner caller, so the plan does not yet verify the main caller shapes for the other explicit sprint 2 file change. (flagged 1 times across 1 plans)
[DEBT] find-the-callers-of-the-changed-function-what-arguments-do-they-actually-pass-does-the-fix-handle-all-of-them: find the callers of the changed function. what arguments do they actually pass? does the fix handle all of them?: checked direct queue caller values in db_task_to_generation_task(): direct image tasks may carry resolution, steps/num_inference_steps, seed, and override_profile. the revised adapter plan covers seed, steps, and memory profile but not guaranteed resolution propagation, so it does not handle all relevant direct-route caller arguments for a supported vibecomfy direct route. (flagged 1 times across 1 plans)
[DEBT] gpu-branching-test-matrix: linux cuda128 path under-verified (flagged 1 times across 1 plans)
[DEBT] gpu-branching-ui-surface: nvidia-50 option is exposed on linux in the ui but linux cuda128 smoke test is missing (flagged 1 times across 1 plans)
[DEBT] hook-abstraction: usepairsettingshandler becomes trivial with single caller — keeping it is extra indirection. (flagged 1 times across 1 plans)
[DEBT] hype-mirror-cas-coverage: hype-mirrored files whose parent step does not declare matching produces will not be cas-interned, even with the follow_symlinks=false edit. (flagged 1 times across 1 plans)
[DEBT] is-the-change-in-the-right-place-and-would-it-break-any-callers: is the change in the right place, and would it break any callers?: the optional cleanup steps are not in the right place yet. pairregionslayer does not receive pairdatabyindex today; its props are only images, imagepositionswithpending, pairinfowithpending, and callback/display props in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/tools/travel-between-images/components/timeline/timelinecontainer/components/pairregionslayer.tsx. so step 4's 'pass pairdatabyindex.get(pairindex) directly' would require new prop plumbing or a different seam. (flagged 1 times across 1 plans)
[DEBT] is-the-scope-and-scale-of-the-change-appropriate: is the scope and scale of the change appropriate?: phase 2 is still under-specified for execution. step 4 says pairregionslayer should either pass pairdatabyindex.get(pairindex) directly or 'just pass the index + frame-only data', which are materially different designs. if phase 2 is kept in the plan, it needs a single concrete direction. (flagged 1 times across 1 plans)
[DEBT] is-there-convincing-verification-for-the-change: is there convincing verification for the change?: the plan still lacks an explicit automated regression test for the reported bug. step 2 is manual ('check that usevideoregeneratemode now gets the fresh url'), but there is no concrete test that opens a segment slot, changes the primary variant data, and asserts that the regenerate path sees the fresh url, generationid, and primaryvariantid. (flagged 1 times across 1 plans)
[DEBT] is-there-convincing-verification-for-the-change: is there convincing verification for the change?: the current usesegmentslotmode test remains only a smoke test in /users/user_c042661f/documents/reigh-workspace/reigh-app/src/tools/travel-between-images/components/shotimageseditor/hooks/tests/usesegmentslotmode.test.ts, and the plan does not add behavior coverage for the new sync effect. (flagged 1 times across 1 plans)
[DEBT] is-there-convincing-verification-for-the-change: is there convincing verification for the change?: no verification step covers the trailing-slot branch, even though the proposed phase 1 logic currently misses trailingpairdata refreshes. (flagged 1 times across 1 plans)
[DEBT] legacy-data-backfill: the step 8 diagnostic query only detects cross-shot pair_shot_generation_id misassociations, not same-shot misassociations caused by timeline reordering within a shot. (flagged 1 times across 1 plans)
[DEBT] lookup-consistency: other repo call sites use unordered .limit(1).maybesingle() and will remain inconsistent. (flagged 1 times across 1 plans)
[DEBT] lookup-consistency: other call sites with same unsafe pattern not covered. (flagged 1 times across 1 plans)
[DEBT] lora-management: lora tools simplified vs full ui parity (multi-stage metadata, private loras) (flagged 1 times across 1 plans)
[DEBT] media-lightbox-persistence: variant switches do not clear/restore inpaintprompt, so stale prompt state can leak across variants with no cached prompt. (flagged 1 times across 1 plans)
[DEBT] media-lightbox-persistence: removing prompt/numgenerations from the variant-keyed localstorage cache means all variants within a generation share the same prompt. this broadens existing debt-002 (variant prompt leakage). (flagged 1 times across 1 plans)
[DEBT] media-lightbox-segment-slot: media lightbox / segment slot: the targeted sync rationale does not fully explain the reported stale-url bug for regular pairs, and the proposed effect still misses trailing-slot refreshes because those can come from trailingpairdata rather than pairdatabyindex. (flagged 1 times across 1 plans)
[DEBT] number-input-nullable: plan doesn't explicitly state onchange must also accept null, though step 3 depends on it. (flagged 1 times across 1 plans)
[DEBT] number-input-nullable: disputed v1 flag — original concern about bulkclippanel being unimplementable. (flagged 1 times across 1 plans)
[DEBT] number-input-nullable: onchange null filtering not explicitly addressed in plan. (flagged 1 times across 1 plans)
[DEBT] number-input-testing: no planned tests for numberinput shared component or bulkclippanel nullable draft flow. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: pre-existing individual_travel_segment children won't drive orchestrator completion through segment_type_config after deploy. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: missing compatibility seam in orchestratorcore.ts:123-126 for old individual_travel_segment rows. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: mixed old/new data during rollout can leave old orchestrators without completion counting. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: no test or deployment guard for pre-existing individual_travel_segment children completing after worker change. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: plan overstates backward compatibility for existing data. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: missing rollout compatibility step for in-flight individual_travel_segment tasks. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: pre-deploy individual_travel_segment child completing post-rollout won't be treated as segment task by checkorchestratorcompletion. (flagged 1 times across 1 plans)
[DEBT] orchestrator-completion-rollout: orchestrator.test.ts criterion too narrow to verify old individual_travel_segment compatibility. (flagged 1 times across 1 plans)
[DEBT] pair-settings-plumbing: handleopenpairsettings(pairindex, pairframedata) path in timelinetrackprelude, segmentoutputstrip, and usesegmentoutputstrip not explicitly named. (flagged 1 times across 1 plans)
[DEBT] pair-settings-plumbing: same as flag-002 — segmentoutputstrip and usesegmentoutputstrip still carry pairframedata. (flagged 1 times across 1 plans)
[DEBT] pair-settings-plumbing: timelinetrackprelude and segmentoutputstrip still forward (pairindex, pairframedata). (flagged 1 times across 1 plans)
[DEBT] plan-scope: step 3 is larger than a light megaplan warrants. (flagged 1 times across 1 plans)
[DEBT] planning-metadata: planning metadata: the attached metadata and success criteria still describe a different implementation than the current plan body, which risks sending execution and review down the wrong path. (flagged 1 times across 1 plans)
[DEBT] planning-metadata: success criteria don't cover wave 4 scope (flagged 1 times across 1 plans)
[DEBT] position-key-semantics: plan investigates a unique constraint on (parent_generation_id, child_order) which doesn't match repo semantics for position keys. (flagged 1 times across 1 plans)
[DEBT] position-key-semantics: plan weights toward child_order rather than pair_shot_generation_id as the key that matters. (flagged 1 times across 1 plans)
[DEBT] position-key-semantics: unique constraint on (parent_generation_id, child_order) not supported by repo semantics. (flagged 1 times across 1 plans)
[DEBT] prompt-composition: the plan's step 1 signature includes textbeforeprompts/textafterprompts parameters that would be applied before enhancement, double-wrapping the prompt. (flagged 1 times across 1 plans)
[DEBT] ready-template-snapshots: step 4.2 drops markdownnote nodes but step 4.5 and the success criteria require class_type/widget parity with pre-refactor snapshots, which currently include markdownnote nodes. (flagged 1 times across 1 plans)
[DEBT] ready-template-snapshots: same tension as issue_hints v2: drop-markdownnote vs. snapshot parity. (flagged 1 times across 1 plans)
[DEBT] reigh-worker-orchestrator-dockerfile: step 7 §3 claims gpu_orchestrator/dockerfile has wan2gp install steps; current main is generic and contains none. (flagged 1 times across 1 plans)
[DEBT] reigh-worker-orchestrator-runpod-startup: gpu_orchestrator/runpod/startup_script.py embeds headless-wan2gp in _workdir_discovery_snippet and is not named explicitly in step 7 §3's checklist. (flagged 1 times across 1 plans)
[DEBT] route-support-states: route support states: new and blocked are added to the plan as worker support classifications but are not representable in the current routesupportstate enum. (flagged 1 times across 1 plans)
[DEBT] search-for-related-code-that-handles-the-same-concept-is-the-reported-issue-a-symptom-of-something-broader: search for related code that handles the same concept. is the reported issue a symptom of something broader?: checked the broader runtime surface after the v4 path fix. sprint 2 is still moving two behavior-sensitive seams rather than just the import-path contract: the wan2gp/ mount path and the self_refiner runtime. step 6.2 covers only the three vendor_imports getters, while the 6-file travel suite and the bridge-contract tests do not mention self_refiner, so dropping the dedicated self-refiner smoke from the runnable steps leaves the broader downstream surface of that changed file under-covered. (flagged 1 times across 1 plans)
[DEBT] search-for-related-code-that-handles-the-same-concept-is-the-reported-issue-a-symptom-of-something-broader: search for related code that handles the same concept. is the reported issue a symptom of something broader?: the supported direct-route scope is still broader than the adapter's guaranteed parameter surface. db_task_to_generation_task() currently carries direct task params such as resolution, steps, and seed into wgp generation, but the vibecomfy cli path only guarantees prompt, seed, steps, and memory profile; resolution remains optional/documentation-only in the plan. (flagged 1 times across 1 plans)
[DEBT] search-for-related-code-that-handles-the-same-concept-is-the-reported-issue-a-symptom-of-something-broader: search for related code that handles the same concept. is the reported issue a symptom of something broader?: checked the revised child-route scope against migration-thresholds.yaml. the threshold corpus currently has wan/vace entries for travel_segment__model-wan22_vace__... and join_clips_segment__model-wan22_vace__..., but only an i2v entry for individual_travel_segment; the revised plan makes individual_travel_segment with vace model params a must-level worker fixture, which broadens the worker smoke scope beyond the currently tracked wan/vace threshold routes. (flagged 1 times across 1 plans)
[DEBT] self-refiner-verification: self-refiner verification: the revised plan still aligns wan2gp/shared/utils/self_refiner.py without scheduling the sprint 2 ltx-2 self_refiner smoke that docs/wan2gp_fork_migration_plan.md defines as the behavior-preservation check for that drift upgrade. (flagged 1 times across 1 plans)
[DEBT] settings-defaults: workerrepopath default can go stale if user switches computertype before editing path (flagged 1 times across 1 plans)
[DEBT] settings-resolution: settings cascade missing — shot-only read diverges from form's defaults→user→project→shot merge (flagged 1 times across 1 plans)
[DEBT] settings-resolution: settings cascade missing — shot-only read (flagged 1 times across 1 plans)
[DEBT] shared-component-compatibility: numberinput changes affect callers outside video-editor (billing, travel-between-images, phaseconfigselectormodal). (flagged 1 times across 1 plans)
[DEBT] shared-component-compatibility: shared ui component blast radius not audited in plan. (flagged 1 times across 1 plans)
[DEBT] shot-linking-testing: no test covers the linkgenerationtoshot error/catch branches. (flagged 1 times across 1 plans)
[DEBT] signature-propagation: plan doesn't explicitly name timeline/index.tsx and segmentslotcontracts.ts for updates. (flagged 1 times across 1 plans)
[DEBT] signature-propagation: same as flag-001 — timeline/index.tsx and segmentslotcontracts.ts not in checklist. (flagged 1 times across 1 plans)
[DEBT] signature-propagation: five supporting contract/plumbing sites not named in the checklist. (flagged 1 times across 1 plans)
[DEBT] task-types-verification: step 3 cites wrong migration file (task_cost_configs instead of task_types) as evidence for db fallback path. (flagged 1 times across 1 plans)
[DEBT] task-types-verification: step 3 should cite task_types source, not task_cost_configs. (flagged 1 times across 1 plans)
[DEBT] task-types-verification: plan doesn't verify travel_segment and travel_stitch exist as active task_types rows using the correct table. (flagged 1 times across 1 plans)
[DEBT] test-coverage: current generation-child.test.ts is only a smoke test. (flagged 1 times across 1 plans)
[DEBT] test-coverage: no plan to verify other lookup paths choose rows consistently. (flagged 1 times across 1 plans)
[DEBT] test-coverage: no new tests for db loader or travel param merge path (flagged 1 times across 1 plans)
[DEBT] test-coverage: must-level criteria depend on manual testing rather than automated assertions (flagged 1 times across 1 plans)
[DEBT] test-coverage: no new unit tests for wave 4 tools (flagged 1 times across 1 plans)
[DEBT] test-coverage: must criteria backed by manual testing only (flagged 1 times across 1 plans)
[DEBT] test-infrastructure: no test fixtures for resources table (flagged 1 times across 1 plans)
[DEBT] timeline-drag-coordination: plan keeps two hooks instead of a single coordinator (flagged 1 times across 1 plans)
[DEBT] timeline-drag-coordination: brief says single coordinator but plan keeps separate hooks (flagged 2 times across 1 plans)
[DEBT] timeline-drag-coordination: pendingopsref retained despite brief suggesting removal (flagged 1 times across 1 plans)
[DEBT] timeline-drag-coordination: wrapper-bound listener mount wiring under-specified (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: read path still assembles config and registry from separate requests (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: poll sync verification not structurally changed (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: backend save helpers not wired to new rpc (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: read infrastructure not updated (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: backend tests not in validation list (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: backend callers not migrated (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: broader persistence-contract problem (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: backend split-save not addressed (flagged 1 times across 1 plans)
[DEBT] timeline-persistence: split polling can combine config and registry from different snapshots (flagged 1 times across 1 plans)
[DEBT] timeline-scaling: the plan only specifies a concrete fix for the default scale(1) case; explicit-scale tracks may still break blend-mode effects. (flagged 1 times across 1 plans)
[DEBT] timeline-snap-threshold: threshold is generous (duration) rather than zoom-scaled (8px) (flagged 1 times across 1 plans)
[DEBT] timeline-snap-threshold: computedropposition does not pass a zoom-scaled threshold override (flagged 1 times across 1 plans)
[DEBT] travel-continuations: smooth continuations not threaded — agent tasks won't have continuation_config even when shot settings enable it (flagged 1 times across 1 plans)
[DEBT] travel-continuations: continuation_config omitted from form parity (flagged 1 times across 1 plans)
[DEBT] travel-payload-cleanup-scope: plan scope narrower than original user request (flagged 1 times across 1 plans)
[DEBT] travel-payload-cleanup-scope: broader create-task contract problem left untouched (flagged 1 times across 1 plans)
[DEBT] travel-payload-readers: phase 4 app-side reader audit incomplete (flagged 1 times across 1 plans)
[DEBT] travel-payload-readers: phase 4 field inventory incomplete for app-side readers (flagged 1 times across 1 plans)
[DEBT] travel-request-contract: image_variant_ids is in frontend request contract (flagged 1 times across 1 plans)
[DEBT] travel-request-contract: image_variant_ids contract change (flagged 1 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: spawn_worker does not internally call start_worker_process; harness must call both explicitly (flagged 1 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: worker_id and runpod_id must be generated and threaded distinctly; plan currently uses pod_id as both (flagged 1 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: duplicate of correctness-1 — spawn_worker two-step misstatement (flagged 2 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: duplicate of correctness-2 — worker_id/runpod_id propagation across takeover and restore paths (flagged 1 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: duplicate of correctness-1 + correctness-2 — missing create_worker_record glue and start_worker_process integration (flagged 1 times across 1 plans)
[DEBT] variant-update-b-fresh-takeover: duplicate of correctness-2 — caller contract for spawn_worker requires worker_id, not pod_id (flagged 1 times across 1 plans)
[DEBT] verification: no end-to-end render test for audio analysis timing (flagged 1 times across 1 plans)
[DEBT] verification: no automated coverage for text clips or overlapping clips with audio effects (flagged 1 times across 1 plans)
[DEBT] verification-coverage: no automated test exercises the full segment-slot opening path after cleanup. (flagged 1 times across 1 plans)
[DEBT] verification-coverage: no automated coverage that clicking a pair opens the correct modal after cleanup. (flagged 1 times across 1 plans)
[DEBT] verification-coverage: zero behavioral change criterion is not verifiable from tsc + existing tests alone. (flagged 1 times across 1 plans)
[DEBT] verification-workflow: tsconfig.app.json excludes test files, so tsc won't catch test breakage. (flagged 1 times across 1 plans)
[DEBT] worker-test-staleness: worker test in test_additional_coverage_modules.py:37 may assert stale payload structure (task_type vs family). (flagged 1 times across 1 plans)
[DEBT] workspace-state: plan checkpoint says the repo was clean, but current worker files may already be modified. (flagged 1 times across 1 plans)
[DEBT] workspace-state: tests/test_vibecomfy_adapter.py is both locally modified and in scope for planned edits. (flagged 1 times across 1 plans)
code
Note: User chose auto-approve mode. This execution was not manually reviewed at the gate. Exercise extra caution on destructive operations.
Robustness level: standard.
Requirements:
- Execute only the actionable tasks in this batch.
- Treat completed tasks as dependency context, not new work.
- Return structured JSON only.
- Only produce `task_updates` for these tasks: [T2]
- Only produce `sense_check_acknowledgments` for these sense checks: [SC2]
- Do not include updates for tasks or sense checks outside this batch.
- Keep `executor_notes` verification-focused.
- Best-effort progress checkpointing: if `/Users/user_c042661f/Documents/reigh-workspace/.megaplan/plans/run-a-standard-all-codex-20260511-1359/execution_batch_2.json` is writable, checkpoint task and sense-check updates there (not `finalize.json`). The harness owns `finalize.json`.
- When verifying changes, run the entire test file or module, not individual test functions. Individual tests miss regressions.
- finalize.json includes baseline_test_failures — a list of test IDs that were already failing before your changes. If a test fails and its ID appears in baseline_test_failures, it is pre-existing — do not scope-creep into fixing it. If baseline_test_failures is null, the baseline could not be captured; use your judgment but err on the side of assuming failures are regressions. You MUST still re-run the FULL test suite with your changes applied — pre-existing failures do not excuse skipping verification. Never narrow to individual test functions and stop.
- If this batch includes the final verification task, write a short script that reproduces the exact bug described in the task, run it to confirm the fix resolves it, then delete the script.