This follows Sprint 0A's contract freeze and creates the comparison oracles consumed by every later parity, harness, and canary sprint. The epic cannot rely on subjective media review; later sprints need route-keyed baselines and a single threshold source of truth.
Use route keys, not friendly names, for baselines and cutover evidence.
Keep active non-RayWorker routes covered as preservation fixtures even when they stay outside RayWorker.
Keep docs/migration-vibecomfy-live-validation.md synchronized with threshold and route versions.
Sprint Goal
Produce executable comparison oracles and WGP golden corpora for later migration sprints.
Required Deliverables
migration-thresholds.yaml.
WGP self-repeatability report.
Route-keyed WGP golden corpus for Cohort A/B and representative Cohort E routes.
Lightweight product-contract fixtures for video_enhance, image-upscale, animate_character, and flux_klein_edit.
Live-validation document updated to the same route/threshold version.
Exit Criteria
Threshold YAML is committed and read by a smoke script; WGP self-drift is below thresholds or affected routes are marked WGP-only/pending; corpus is route-keyed; non-RayWorker active routes have owner-approved fixtures or explicit deferral rationale.
code
Batch framing:
- Execute batch 1 of 9.
- Actionable task IDs for this batch: ['T11']
- Already completed task IDs available as dependency context: []
Actionable tasks for this batch:
[
{
"id": "T11",
"description": "Read user_actions.md. For each before_execute action, programmatically verify completion using bash tools \u2014 grep .env for required keys, query the migrations table, curl the dev server, etc. Reading the file does NOT count as verification; you must run a command. For actions that genuinely cannot be verified mechanically (manual UI checks), explicitly ask the user. If anything is incomplete or unverifiable, mark this task blocked with reason and STOP.",
"depends_on": [],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"evidence_files": [],
"reviewer_verdict": ""
}
]
Assistant
{"output":"I’ll verify only T11: first locate and read the user action file, then run mechanical checks for each before_execute prerequisite and stop if any are incomplete or require human confirmation.","files_changed":[],"commands_run":[],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"I found the plan’s user_actions.md. Next I’m reading that specific file, then I’ll verify the before-execute item mechanically where possible rather than treating the file contents as proof.","files_changed":[],"commands_run":["pwd && rg --files -g 'user_actions.md' -g 'useractions*.md' -g '.megaplan/**'","ls -la /Users/user_c042661f/Documents/reigh-workspace/.megaplan/plans/sprint-0b-thresholds-and-20260505-2252"],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"The mechanical checks so far show local RunPod CLIs are installed, but no local NVIDIA GPU is visible and available disk is only about 7.5 GiB. I’m checking whether credentials and remote pod access are configured before deciding whether U1 is satisfied or conditional/blocked.","files_changed":[],"commands_run":["sed -n '1,220p' .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/user_actions.md","find . -maxdepth 3 \( -name '.env' -o -name '.env.*' \) -type f -print","rg -n "RUNPOD|RunPod|runpod|GPU|WGP|wgp|WAN2GP|WAN" reigh-worker scripts docs .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/finalize.json -S","command -v runpodctl; command -v runpod; df -h . reigh-worker 2>/dev/null","env | awk -F= "/^(RUNPOD|RUN_POD|GPU|WAN2GP|WGP|SUPABASE|DATABASE_URL)/ {print $1}" | sort","runpodctl --help | sed -n "1,80p"; runpod --help | sed -n "1,80p"","runpodctl config --help | sed -n "1,120p"; runpod config --help | sed -n "1,120p"","nvidia-smi --query-gpu=name,memory.total --format=csv,noheader"],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"U1 is not mechanically satisfied for a live calibration path: local RunPod key material exists in env files, but the configured CLI profile check failed, API/pod listing failed due DNS/network resolution, no local NVIDIA GPU is visible, and local disk is far below a plausible calibration requirement. I’m checkpointing T11 as blocked and will not proceed to implementation tasks in this batch.","files_changed":[],"commands_run":["runpod config --check","runpodctl get pod","runpod pod list","python env-key presence check for RunPod/WGP-related keys"],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
User
Assistant
{"output":"I’ll execute only T1 in reigh-worker: audit Section 11 and the current dual-run compare state, then add the threshold YAML and checkpoint batch 2.","files_changed":[],"commands_run":[],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"reigh-worker has a clean nested git status, but the expected docs/scripts paths are not at the worker repo root. I’m locating the actual migration doc and dual-run compare directory before editing.","files_changed":[],"commands_run":["git status --short (workspace)","git status --short (reigh-worker)","rg Section 11/threshold terms in expected worker paths","find scripts/dual_run_compare"],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"Section 11 has 14 concrete threshold rows. Existing worker matrix data covers some Cohort A/B direct cases and one audited Cohort E individual_travel_segment case with wan_2_2_i2v_lightning_baseline_2_2_2; I’m checking model-family spellings before creating the YAML.","files_changed":[],"commands_run":["sed -n '1379,1402p' docs/migration-vibecomfy.md","find reigh-worker/scripts -maxdepth 3 -type f -print | sort","sed -n '1,260p' scripts/worker_matrix_cases.json","selected worker-matrix JSON audit commands"],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"I’m adding the YAML as the Sprint 0B threshold source of truth. The schema keeps each Section 11 row as its own metric key and seeds route entries with calibration status only from the approved enum.","files_changed":[],"commands_run":["mkdir -p scripts/dual_run_compare"],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
User
Assistant
{"output":"I’ll implement only T2 and T3 in reigh-worker: package loading/validation plus canonical route keys and focused tests, then run the full dual-run-compare test module.","files_changed":[],"commands_run":[],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"I’m adding a small typed threshold loader/validator and route-key module now. The tests will cover both library behavior and the strict CLI path so the sense checks are executable.","files_changed":[],"commands_run":["git status --short","find scripts/dual_run_compare -maxdepth 3 -type f -print","find tests scripts -maxdepth 4 -type f -name test_*.py","sed -n '1,220p' pyproject.toml"],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"The package surface and tests are in place. I’m running the strict smoke command and the full scripts/dual_run_compare/tests/ module now, not individual tests.","files_changed":["reigh-worker/scripts/dual_run_compare/init.py","reigh-worker/scripts/dual_run_compare/thresholds.py","reigh-worker/scripts/dual_run_compare/check_thresholds.py","reigh-worker/scripts/dual_run_compare/route_keys.py","reigh-worker/scripts/dual_run_compare/tests/test_thresholds.py","reigh-worker/scripts/dual_run_compare/tests/test_route_keys.py"],"commands_run":["mkdir -p scripts/dual_run_compare/tests"],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"The strict CLI passes, but pytest could not import scripts.dual_run_compare because the repo’s scripts/ directory is not a test import package. I’m adding a minimal scripts/__init__.py and rerunning the full module.","files_changed":["reigh-worker/scripts/dual_run_compare/init.py","reigh-worker/scripts/dual_run_compare/thresholds.py","reigh-worker/scripts/dual_run_compare/check_thresholds.py","reigh-worker/scripts/dual_run_compare/route_keys.py","reigh-worker/scripts/dual_run_compare/tests/test_thresholds.py","reigh-worker/scripts/dual_run_compare/tests/test_route_keys.py"],"commands_run":["python -m scripts.dual_run_compare.check_thresholds --strict","pytest scripts/dual_run_compare/tests/"],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"The full module now collects and mostly passes; one alias test exposed a real normalization gap for optimised-t2i. I’m fixing the alias table and rerunning the full module.","files_changed":["reigh-worker/scripts/init.py","reigh-worker/scripts/dual_run_compare/init.py","reigh-worker/scripts/dual_run_compare/thresholds.py","reigh-worker/scripts/dual_run_compare/check_thresholds.py","reigh-worker/scripts/dual_run_compare/route_keys.py","reigh-worker/scripts/dual_run_compare/tests/conftest.py","reigh-worker/scripts/dual_run_compare/tests/test_thresholds.py","reigh-worker/scripts/dual_run_compare/tests/test_route_keys.py"],"commands_run":["python -m scripts.dual_run_compare.check_thresholds --strict","pytest scripts/dual_run_compare/tests/"],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"Focused validation is green. The batch instructions also ask for the full suite with changes applied, so I’m starting the repo-wide pytest command and will report whether it completes or times out, without fixing unrelated failures.","files_changed":["reigh-worker/scripts/init.py","reigh-worker/scripts/dual_run_compare/init.py","reigh-worker/scripts/dual_run_compare/thresholds.py","reigh-worker/scripts/dual_run_compare/check_thresholds.py","reigh-worker/scripts/dual_run_compare/route_keys.py","reigh-worker/scripts/dual_run_compare/tests/conftest.py","reigh-worker/scripts/dual_run_compare/tests/test_thresholds.py","reigh-worker/scripts/dual_run_compare/tests/test_route_keys.py"],"commands_run":["python -m scripts.dual_run_compare.check_thresholds --strict","pytest scripts/dual_run_compare/tests/"],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"The repo-wide suite failed during collection because this Python/pytest invocation did not have the repo root on PYTHONPATH (ModuleNotFoundError: source). I’m rerunning the full suite with PYTHONPATH=. so the collection environment matches the package imports.","files_changed":["reigh-worker/scripts/init.py","reigh-worker/scripts/dual_run_compare/init.py","reigh-worker/scripts/dual_run_compare/thresholds.py","reigh-worker/scripts/dual_run_compare/check_thresholds.py","reigh-worker/scripts/dual_run_compare/route_keys.py","reigh-worker/scripts/dual_run_compare/tests/conftest.py","reigh-worker/scripts/dual_run_compare/tests/test_thresholds.py","reigh-worker/scripts/dual_run_compare/tests/test_route_keys.py"],"commands_run":["pytest --tb=no -q --no-header","pytest tests/core/log/test_stdout_filter.py -q --tb=short"],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"The focused module passes and the strict CLI passes. The repo-wide suite was attempted as requested; it fails during collection because this environment is missing existing test dependencies such as httpx, which is outside this batch’s changes.","files_changed":["reigh-worker/scripts/init.py","reigh-worker/scripts/dual_run_compare/init.py","reigh-worker/scripts/dual_run_compare/thresholds.py","reigh-worker/scripts/dual_run_compare/check_thresholds.py","reigh-worker/scripts/dual_run_compare/route_keys.py","reigh-worker/scripts/dual_run_compare/tests/conftest.py","reigh-worker/scripts/dual_run_compare/tests/test_thresholds.py","reigh-worker/scripts/dual_run_compare/tests/test_route_keys.py"],"commands_run":["python -m scripts.dual_run_compare.check_thresholds --strict","pytest scripts/dual_run_compare/tests/","pytest --tb=no -q --no-header","PYTHONPATH=. pytest --tb=no -q --no-header","PYTHONPATH=. pytest tests/test_additional_coverage_modules.py -q --tb=short","python -m compileall -q scripts/dual_run_compare"],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
User
Assistant
{"output":"I’ll execute only T4 and T5: generate manifests for the existing YAML routes, add seed payload placeholders where the YAML already marks them required, then add non-RayWorker fixtures and validation tests.","files_changed":[],"commands_run":[],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
Assistant
{"output":"I found the non-RayWorker contract source and the sibling orchestrator registry. I’m generating the manifest/fixture JSON from the YAML and baseline doc data, then I’ll add tests that validate the generated corpus shape.","files_changed":[],"commands_run":["git status --short --untracked-files=all","sed -n '1,280p' docs/migration-baselines.md","sed -n '1,260p' ../reigh-worker-orchestrator/api_orchestrator/task_handlers.py","python route listing from Thresholds.load"],"deviations":[],"task_updates":[],"sense_check_acknowledgments":[]}
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:
[
Full execution tracking source of truth (`finalize.json`):
{
"tasks": [
{
"id": "T11",
"description": "Read user_actions.md. For each before_execute action, programmatically verify completion using bash tools \u2014 grep .env for required keys, query the migrations table, curl the dev server, etc. Reading the file does NOT count as verification; you must run a command. For actions that genuinely cannot be verified mechanically (manual UI checks), explicitly ask the user. If anything is incomplete or unverifiable, mark this task blocked with reason and STOP.",
"depends_on": [],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"evidence_files": [],
"reviewer_verdict": ""
},
{
"id": "T1",
"description": "In reigh-worker, audit docs/migration-vibecomfy.md Section 11 and existing scripts/dual_run_compare state, then create scripts/dual_run_compare/migration-thresholds.yaml with version 0B-2026-05-05, schema version 1, row-granular metric keys/defaults for every concrete Section 11 threshold row, the single calibration status enum, and seeded Cohort A/B plus representative Cohort E route entries using audited model-family values.",
"depends_on": [
"T11"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T2",
"description": "Add the threshold package surface under reigh-worker/scripts/dual_run_compare: __init__.py, typed thresholds.py, and check_thresholds.py runnable as python -m scripts.dual_run_compare.check_thresholds [--strict], including strict validation for schema version, complete metric rows, enum membership, override keys, and YAML/manifest sync when manifests exist. Add focused tests for load, completeness, override merge, invalid status rejection, and missing metric rejection.",
"depends_on": [
"T11",
"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": "Implement route_keys.py with documented canonicalization modes for direct Cohort A/B product routes, dimensional Cohort B edit variants, and dimensional Cohort E keys. Include model-family mapping from audited model_name values, especially wan_2_2_i2v_lightning_baseline_2_2_2 -> wan22_i2v, with VACE only for actual VACE model names. Add route-key tests covering aliases, edit dimensions, Cohort E shape, slug normalization, determinism, and the I2V-not-VACE assertion.",
"depends_on": [
"T11",
"T1"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T4",
"description": "Create route-keyed golden corpus manifests under reigh-worker/scripts/dual_run_compare/golden/<route_key>/manifest.json for required Cohort A direct routes, Cohort B direct preservation routes, and at least four representative Cohort E dimensional routes. Each manifest must include all required metadata fields, use canonical route keys, record missing worker-matrix coverage as source_fixture_status: seed_fixture_required, and point to local seed payload references under fixtures/golden_seed_payloads/ where needed. Add tests asserting YAML/manifests have no orphan routes, Cohort E directories are dimensional, I2V travel routes are not VACE-keyed, and missing matrix cases are explicit.",
"depends_on": [
"T11",
"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": "Add non-RayWorker preservation fixtures under reigh-worker/scripts/dual_run_compare/fixtures/non_rayworker/ for video_enhance, image-upscale, animate_character, and flux_klein_edit, plus a committed registry_snapshot.json. Source handler and contract details from reigh-worker/docs/migration-baselines.md, validate active spellings against ../reigh-worker-orchestrator/api_orchestrator/task_handlers.py when present, and include tests that always validate fixture JSON/snapshot while gracefully skipping only the sibling-repo live registry assertion when absent.",
"depends_on": [
"T11",
"T3"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T6",
"description": "Implement reigh-worker/scripts/dual_run_compare/wgp_self_repeat.py around the real live-test CLI contract: python scripts/live_test/main.py --variant fresh|update --wgp-profile ... --timeout-image ... --timeout-travel-segment ... --timeout-travel-orchestrator .... Support paired live runs when available, --record-deferral when GPU execution is blocked, threshold comparison through Thresholds.for_route, JSON and Markdown reports under reports/, and command-construction smoke coverage proving invalid flags such as positional update, --backend, --semantic-validation, and generic --timeout are not used.",
"depends_on": [
"T11",
"T2",
"T4"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T7",
"description": "Produce the Sprint 0B WGP repeatability evidence artifact. Attempt live Cohort A WGP-vs-WGP repeatability only if the required RunPod/GPU access is actually available; otherwise run wgp_self_repeat.py --record-deferral and commit machine-readable JSON plus Markdown reports listing every required route, attempted command shape, blocker, calibration status, and next action. Update YAML route statuses and notes to reference the report, using deferred_pending_sprint_0c_disk for routes blocked by the 50 GB pod limit.",
"depends_on": [
"T11",
"T6"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T8",
"description": "Update top-level docs after artifacts are final: add Threshold and Route Version 0B (2026-05-05) to docs/migration-vibecomfy-live-validation.md with YAML path, version, metric row list, route-key module, golden manifest layout, report path, and status summary; update docs/migration-vibecomfy.md Sprint 0/3/3.5/11 references so the YAML version is named as the executable threshold source of truth.",
"depends_on": [
"T11",
"T7"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T9",
"description": "Add the Sprint 0B performance review record at docs/megaplan-vibecomfy-chain/performance/sprint-00b-thresholds-golden-corpus.md, following the Sprint 0A template and recording sprint identity, intended scope, actual outcome, verification, known blockers, calibration status, completion assessment, and next action.",
"depends_on": [
"T11",
"T8"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T10",
"description": "Run final validation from reigh-worker: python -m scripts.dual_run_compare.check_thresholds --strict, focused pytest scripts/dual_run_compare/tests/, and any narrower relevant checks needed for edited files. If failures occur, inspect errors, fix the implementation, and rerun until local non-GPU validation passes. Also create a short throwaway script to exercise threshold loading, a representative route override merge, and one canonical Cohort E route key; run it, confirm behavior, then delete it before finishing.",
"depends_on": [
"T11",
"T1",
"T2",
"T3",
"T4",
"T5",
"T6",
"T7",
"T8",
"T9"
],
"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 nested megaplan tooling or read/activate the megaplan skill; this briefing is for direct execution only.",
"reigh-worker/ is a nested git repository. Keep worker artifacts in that repo and top-level docs in the workspace repo; do not mix commit assumptions.",
"Section 11 in docs/migration-vibecomfy.md is the source of truth for threshold rows. If it has more concrete rows than expected, add them immediately and update tests.",
"Preserve metric identity at row granularity; do not collapse video duration and audio duration, pHash mean and p95, or dimensions and format into broad classes.",
"Use exactly one calibration status enum: green, pending_calibration, deferred_pending_sprint_0c_disk, wgp_only, owner_deferred. Strict validation must reject unknown values.",
"Cohort A/B direct product routes use direct route keys; Cohort B edit variants use dimensional edit keys when those dimensions are present; Cohort E always uses dimensional keys.",
"Derive Cohort E model_family from audited model_name. wan_2_2_i2v_lightning_baseline_2_2_2 must key as wan22_i2v, not wan22_vace.",
"Friendly task names belong only in manifest metadata, not as substitutes for dimensional route-key directories.",
"Do not assume worker_matrix_cases.json covers every required route. Missing cases need explicit seed fixture references and source_fixture_status: seed_fixture_required.",
"Non-RayWorker fixture tests must remain deterministic in a reigh-worker-only checkout by validating the committed registry snapshot and skipping only the sibling orchestrator live assertion when absent.",
"wgp_self_repeat.py must use the real live-test CLI flags: --variant, --wgp-profile, --timeout-image, --timeout-travel-segment, and --timeout-travel-orchestrator; never use positional update, --backend, --semantic-validation, or generic --timeout.",
"If RunPod, credentials, disk, or hardware access blocks live WGP calibration, produce a committed deferral report artifact rather than leaving the deliverable as narrative status.",
"Keep docs/migration-vibecomfy-live-validation.md synchronized with the exact YAML version, route list, manifest layout, and report status produced in the worker repo.",
"Do not worsen unrelated debt watch items from previous plans; this sprint is focused on threshold/golden-corpus artifacts and docs."
],
"sense_checks": [
{
"id": "SC1",
"task_id": "T1",
"question": "Does migration-thresholds.yaml include version 0B-2026-05-05, schema version 1, every concrete Section 11 metric row as a distinct key/default, and only the approved calibration status enum?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC2",
"task_id": "T2",
"question": "Does python -m scripts.dual_run_compare.check_thresholds --strict reject incomplete metrics, invalid statuses, unknown route override keys, and manifest/YAML drift when manifests exist?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC3",
"task_id": "T3",
"question": "Do route-key tests prove direct Cohort A/B aliases, Cohort B edit dimensions, Cohort E dimensional keys, deterministic slugging, and wan_2_2_i2v_lightning_baseline_2_2_2 -> wan22_i2v?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC4",
"task_id": "T4",
"question": "Does every YAML route have exactly one matching golden manifest and vice versa, with Cohort E directory names containing task type, model family, guidance kind, continuity case, and profile?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC5",
"task_id": "T5",
"question": "Do all four non-RayWorker fixtures include payload shape, completion handler, billing path, output shape, owner, preserve/move decision, exact route-key spelling, and any alias mismatch?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC6",
"task_id": "T6",
"question": "Does WGP command construction include the three named timeout flags and exclude every known invalid live-test argument?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC7",
"task_id": "T7",
"question": "Is there a committed JSON and Markdown WGP repeatability or deferral report under reports/, and do YAML route statuses/notes point to it accurately?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC8",
"task_id": "T8",
"question": "Do both live-validation and migration docs name the YAML version/path and explain that it is the executable threshold source of truth for later sprints?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC9",
"task_id": "T9",
"question": "Does the performance review stub follow the Sprint 0A record shape and capture verification, blockers, calibration status, completion assessment, and next action?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC10",
"task_id": "T10",
"question": "Do strict threshold validation, focused dual-run-compare tests, and the deleted throwaway smoke script all pass locally without GPU access?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC11",
"task_id": "T11",
"question": "Were all before_execute user_actions programmatically verified before execution proceeded?",
"executor_note": "",
"verdict": ""
}
],
"user_actions": [
{
"id": "U1",
"description": "Provide RunPod/GPU credentials, pod access, and sufficient disk capacity if live Cohort A WGP-vs-WGP calibration is required instead of a committed deferral report.",
"phase": "before_execute",
"blocks_task_ids": [
"T7"
],
"rationale": "Local repo execution can create the harness and deferral report, but live calibration needs external infrastructure access.",
"requires_human_only_reason": "RunPod/GPU access and credentials are outside repo-editing work and cannot be manufactured by the executor."
},
{
"id": "U2",
"description": "Review and approve non-RayWorker route owner decisions if the committed fixtures need to claim owner-approved preservation versus explicit deferral.",
"phase": "after_execute",
"blocks_task_ids": [],
"rationale": "The executor can document interim owners and rationale, but formal route-owner approval may be an out-of-band product/operations decision.",
"requires_human_only_reason": "Owner approval is an organizational approval, not a repository edit."
}
],
"meta_commentary": "Execute in the approved order: threshold contract first, [REDACTED] second, manifests/fixtures next, WGP report artifact, then docs and review record. The highest-risk mistakes are value-level route-key drift for Cohort E, silently using the wrong live-test CLI, and leaving WGP repeatability as prose instead of a committed artifact. Treat the deferral report as the correct no-GPU path, but make it machine-readable and route-keyed. Keep all worker artifacts under reigh-worker/scripts/dual_run_compare/ and run final validation from inside reigh-worker.",
"validation": {
"plan_steps_covered": [
{
"plan_step_summary": "Step 1: Audit Section 11 threshold rows and existing dual-run compare consumers",
"finalize_item_ids": [
"T1"
]
},
{
"plan_step_summary": "Step 2: Author migration-thresholds.yaml with row-granular defaults and route statuses",
"finalize_item_ids": [
"T1"
]
},
{
"plan_step_summary": "Step 3: Add threshold parser, smoke CLI, and threshold tests",
"finalize_item_ids": [
"T2",
"T10"
]
},
{
"plan_step_summary": "Step 4: Define canonical route-key schema and tests",
"finalize_item_ids": [
"T3",
"T10"
]
},
{
"plan_step_summary": "Step 5: Create route-keyed golden corpus manifests and tests",
"finalize_item_ids": [
"T4",
"T10"
]
},
{
"plan_step_summary": "Step 6: Author non-RayWorker preservation fixtures and validation tests",
"finalize_item_ids": [
"T5",
"U2",
"T10"
]
},
{
"plan_step_summary": "Step 7: Add WGP self-repeatability harness using real live-test CLI",
"finalize_item_ids": [
"T6",
"T10"
]
},
{
"plan_step_summary": "Step 8: Produce Sprint 0B repeatability or deferral evidence",
"finalize_item_ids": [
"T7",
"U1",
"T10"
]
},
{
"plan_step_summary": "Step 9: Update live-validation and migration docs to cite YAML version/source of truth",
"finalize_item_ids": [
"T8"
]
},
{
"plan_step_summary": "Step 10: Add Sprint 0B performance review stub",
"finalize_item_ids": [
"T9"
]
},
{
"plan_step_summary": "Verify before_execute user_actions",
"finalize_item_ids": [
"T11"
]
}
],
"orphan_tasks": [],
"completeness_notes": "All approved plan steps are mapped to execution tasks. The only human-only coverage is for optional live RunPod calibration and out-of-band owner approval; repo-editable deferral artifacts and fixture rationale remain executor tasks. Final validation is centralized in T10 and includes the specified strict smoke command, focused tests, and a deleted throwaway smoke script.",
"coverage_complete": true
},
"baseline_test_failures": null,
"baseline_test_command": "pytest --tb=no -q --no-header",
"baseline_test_note": "Baseline test capture timed out after 120 seconds while running: 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-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] 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] 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] 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] 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] 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: [T11]
- Only produce `sense_check_acknowledgments` for these sense checks: [SC11]
- 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/sprint-0b-thresholds-and-20260505-2252/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":"Blocked on T11. I read the plan user_actions.md and mechanically checked U1. RunPod-related env keys and CLIs exist, but live RunPod/GPU readiness was not verified: CLI default profile check failed, RunPod API/pod listing could not resolve api.runpod.io, no local NVIDIA GPU is visible, and local free disk is about 7.5 GiB. Per task instructions, I stopped without executing downstream tasks.","files_changed":[[REDACTED]],"commands_run":["sed -n '1,220p' .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/user_actions.md","find . -maxdepth 3 \( -name '.env' -o -name '.env.*' \) -type f -print","rg -n "RUNPOD|RunPod|runpod|GPU|WGP|wgp|WAN2GP|WAN" reigh-worker scripts docs .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/finalize.json -S","command -v runpodctl; command -v runpod; df -h . reigh-worker 2>/dev/null","env | awk -F= "/^(RUNPOD|RUN_POD|GPU|WAN2GP|WGP|SUPABASE|DATABASE_URL)/ {print 1}\" | sort","runpodctl --help | sed -n \"1,80p\"; runpod --help | sed -n \"1,80p\"","runpodctl config --help | sed -n \"1,120p\"; runpod config --help | sed -n \"1,120p\"","nvidia-smi --query-gpu=name,memory.total --format=csv,noheader","runpod config --check","runpodctl get pod","runpod pod list","python env-key presence check for RunPod/WGP-related keys"],"deviations":["Stopped after T11 as required because before_execute U1 could not be fully verified mechanically for the live calibration path."],"task_updates":[{"task_id":"T11","status":"blocked","executor_notes":"Read .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/user_actions.md and mechanically checked the only before_execute item, U1. RunPod-related env keys are present in reigh-worker/.env and runpod-lifecycle/.env, and RunPod CLIs are installed, but live access was not verified: runpod config --check reported the default profile missing, RunPod API/pod listing failed due DNS/network resolution for api.runpod.io, nvidia-smi is unavailable locally, and df -h . reigh-worker showed only about 7.5 GiB free locally. Because U1 cannot be confirmed complete for live Cohort A WGP-vs-WGP calibration, execution stopped before downstream tasks.","files_changed":[[REDACTED]],"commands_run":["sed -n '1,220p' .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/user_actions.md","find . -maxdepth 3 \\( -name '.env' -o -name '.env.*' \\) -type f -print","command -v runpodctl; command -v runpod; df -h . reigh-worker 2>/dev/null","env | awk -F= \"/^(RUNPOD|RUN_POD|GPU|WAN2GP|WGP|SUPABASE|DATABASE_URL)/ {print 1}" | sort","runpodctl --help | sed -n "1,80p"; runpod --help | sed -n "1,80p"","runpodctl config --help | sed -n "1,120p"; runpod config --help | sed -n "1,120p"","nvidia-smi --query-gpu=name,memory.total --format=csv,noheader","runpod config --check","runpodctl get pod","runpod pod list","python env-key presence check for RunPod/WGP-related keys"],"auto_attributed_files":false}],"sense_check_acknowledgments":[{"sense_check_id":"SC11","executor_note":"No. The before_execute action U1 was checked mechanically, but full live RunPod/GPU access and sufficient capacity could not be verified in this environment, so execution stopped and T11 is blocked."}]}
This follows Sprint 0A's contract freeze and creates the comparison oracles consumed by every later parity, harness, and canary sprint. The epic cannot rely on subjective media review; later sprints need route-keyed baselines and a single threshold source of truth.
Use route keys, not friendly names, for baselines and cutover evidence.
Keep active non-RayWorker routes covered as preservation fixtures even when they stay outside RayWorker.
Keep docs/migration-vibecomfy-live-validation.md synchronized with threshold and route versions.
Sprint Goal
Produce executable comparison oracles and WGP golden corpora for later migration sprints.
Required Deliverables
migration-thresholds.yaml.
WGP self-repeatability report.
Route-keyed WGP golden corpus for Cohort A/B and representative Cohort E routes.
Lightweight product-contract fixtures for video_enhance, image-upscale, animate_character, and flux_klein_edit.
Live-validation document updated to the same route/threshold version.
Exit Criteria
Threshold YAML is committed and read by a smoke script; WGP self-drift is below thresholds or affected routes are marked WGP-only/pending; corpus is route-keyed; non-RayWorker active routes have owner-approved fixtures or explicit deferral rationale.
code
Batch framing:
- Execute batch 2 of 9.
- 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, audit docs/migration-vibecomfy.md Section 11 and existing scripts/dual_run_compare state, then create scripts/dual_run_compare/migration-thresholds.yaml with version 0B-2026-05-05, schema version 1, row-granular metric keys/defaults for every concrete Section 11 threshold row, the single calibration status enum, and seeded Cohort A/B plus representative Cohort E route entries using audited model-family values.",
"depends_on": [
"T11"
],
"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):
[
"Stopped after T11 as required because before_execute U1 could not be fully verified mechanically for the live calibration path.",
"1/1 batch tasks have no executor update \u2014 tracking is incomplete.",
"Advisory observation mismatch: executor claimed files not observed in git status/content hash delta: .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/execution_batch_1.json",
"Advisory audit finding: Executor claimed changed files not present in git status: .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/execution_batch_1.json",
"Advisory audit finding: Git status shows changed files not claimed by any task: megaplan-fix, reigh-app-cloud-chain",
"Advisory audit finding: Sense check SC1 is missing an executor acknowledgment.",
"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: Sense check SC8 is missing an executor acknowledgment.",
"Advisory audit finding: Sense check SC9 is missing an executor acknowledgment.",
"Advisory audit finding: Sense check SC10 is missing an executor acknowledgment.",
"Advisory audit finding: Tasks left pending after execute (executor never started them): T1, T2, T3, T4, T5, T6, T7, T8, T9, T10"
]
code
User action prerequisites:
No user_action prerequisites for this batch.
Batch-scoped sense checks:
[
{
"id": "SC1",
"task_id": "T1",
"question": "Does migration-thresholds.yaml include version 0B-2026-05-05, schema version 1, every concrete Section 11 metric row as a distinct key/default, and only the approved calibration status enum?",
"executor_note": "",
"verdict": ""
}
]
code
Full execution tracking source of truth (`finalize.json`):
{
"tasks": [
{
"id": "T11",
"description": "Read user_actions.md. For each before_execute action, programmatically verify completion using bash tools \u2014 grep .env for required keys, query the migrations table, curl the dev server, etc. Reading the file does NOT count as verification; you must run a command. For actions that genuinely cannot be verified mechanically (manual UI checks), explicitly ask the user. If anything is incomplete or unverifiable, mark this task blocked with reason and STOP.",
"depends_on": [],
"status": "blocked",
"executor_notes": "Read .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/user_actions.md and mechanically checked the only before_execute item, U1. RunPod-related env keys are present in reigh-worker/.env and runpod-lifecycle/.env, and RunPod CLIs are installed, but live access was not verified: runpod config --check reported the default profile missing, RunPod API/pod listing failed due DNS/network resolution for api.runpod.io, nvidia-smi is unavailable locally, and df -h . reigh-worker showed only about 7.5 GiB free locally. Because U1 cannot be confirmed complete for live Cohort A WGP-vs-WGP calibration, execution stopped before downstream tasks.",
"files_changed": [
[REDACTED]
],
"commands_run": [
"sed -n '1,220p' .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/user_actions.md",
"find . -maxdepth 3 \( -name '.env' -o -name '.env.*' \) -type f -print",
"command -v runpodctl; command -v runpod; df -h . reigh-worker 2>/dev/null",
"env | awk -F= "/^(RUNPOD|RUN_POD|GPU|WAN2GP|WGP|SUPABASE|DATABASE_URL)/ {print $1}" | sort",
"runpodctl --help | sed -n "1,80p"; runpod --help | sed -n "1,80p"",
"runpodctl config --help | sed -n "1,120p"; runpod config --help | sed -n "1,120p"",
"nvidia-smi --query-gpu=name,memory.total --format=csv,noheader",
"runpod config --check",
"runpodctl get pod",
"runpod pod list",
"python env-key presence check for RunPod/WGP-related keys"
],
"evidence_files": [],
"reviewer_verdict": ""
},
{
"id": "T1",
"description": "In reigh-worker, audit docs/migration-vibecomfy.md Section 11 and existing scripts/dual_run_compare state, then create scripts/dual_run_compare/migration-thresholds.yaml with version 0B-2026-05-05, schema version 1, row-granular metric keys/defaults for every concrete Section 11 threshold row, the single calibration status enum, and seeded Cohort A/B plus representative Cohort E route entries using audited model-family values.",
"depends_on": [
"T11"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T2",
"description": "Add the threshold package surface under reigh-worker/scripts/dual_run_compare: __init__.py, typed thresholds.py, and check_thresholds.py runnable as python -m scripts.dual_run_compare.check_thresholds [--strict], including strict validation for schema version, complete metric rows, enum membership, override keys, and YAML/manifest sync when manifests exist. Add focused tests for load, completeness, override merge, invalid status rejection, and missing metric rejection.",
"depends_on": [
"T11",
"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": "Implement with documented canonicalization modes for direct Cohort A/B product routes, dimensional Cohort B edit variants, and dimensional Cohort E keys. Include model-family mapping from audited values, especially , with VACE only for actual VACE model names. Add route-key tests covering aliases, edit dimensions, Cohort E shape, slug normalization, determinism, and the I2V-not-VACE assertion.",
"depends_on": [
"T11",
"T1"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T4",
"description": "Create route-keyed golden corpus manifests under for required Cohort A direct routes, Cohort B direct preservation routes, and at least four representative Cohort E dimensional routes. Each manifest must include all required metadata fields, use canonical route keys, record missing worker-matrix coverage as , and point to local seed payload references under where needed. Add tests asserting YAML/manifests have no orphan routes, Cohort E directories are dimensional, I2V travel routes are not VACE-keyed, and missing matrix cases are explicit.",
"depends_on": [
"T11",
"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": "Add non-RayWorker preservation fixtures under for , , , and , plus a committed . Source handler and contract details from , validate active spellings against when present, and include tests that always validate fixture JSON/snapshot while gracefully skipping only the sibling-repo live registry assertion when absent.",
"depends_on": [
"T11",
"T3"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T6",
"description": "Implement around the real live-test CLI contract: . Support paired live runs when available, when GPU execution is blocked, threshold comparison through , JSON and Markdown reports under , and command-construction smoke coverage proving invalid flags such as positional , , , and generic are not used.",
"depends_on": [
"T11",
"T2",
"T4"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T7",
"description": "Produce the Sprint 0B WGP repeatability evidence artifact. Attempt live Cohort A WGP-vs-WGP repeatability only if the required RunPod/GPU access is actually available; otherwise run and commit machine-readable JSON plus Markdown reports listing every required route, attempted command shape, blocker, calibration status, and next action. Update YAML route statuses and notes to reference the report, using for routes blocked by the 50 GB pod limit.",
"depends_on": [
"T11",
"T6"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T8",
"description": "Update top-level docs after artifacts are final: add to with YAML path, version, metric row list, route-key module, golden manifest layout, report path, and status summary; update Sprint 0/3/3.5/11 references so the YAML version is named as the executable threshold source of truth.",
"depends_on": [
"T11",
"T7"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T9",
"description": "Add the Sprint 0B performance review record at , following the Sprint 0A template and recording sprint identity, intended scope, actual outcome, verification, known blockers, calibration status, completion assessment, and next action.",
"depends_on": [
"T11",
"T8"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T10",
"description": "Run final validation from : , focused , and any narrower relevant checks needed for edited files. If failures occur, inspect errors, fix the implementation, and rerun until local non-GPU validation passes. Also create a short throwaway script to exercise threshold loading, a representative route override merge, and one canonical Cohort E route key; run it, confirm behavior, then delete it before finishing.",
"depends_on": [
"T11",
"T1",
"T2",
"T3",
"T4",
"T5",
"T6",
"T7",
"T8",
"T9"
],
"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 nested megaplan tooling or read/activate the megaplan skill; this briefing is for direct execution only.",
" is a nested git repository. Keep worker artifacts in that repo and top-level docs in the workspace repo; do not mix commit assumptions.",
"Section 11 in is the source of truth for threshold rows. If it has more concrete rows than expected, add them immediately and update tests.",
"Preserve metric identity at row granularity; do not collapse video duration and audio duration, pHash mean and p95, or dimensions and format into broad classes.",
"Use exactly one calibration status enum: , , , , . Strict validation must reject unknown values.",
"Cohort A/B direct product routes use direct route keys; Cohort B edit variants use dimensional edit keys when those dimensions are present; Cohort E always uses dimensional keys.",
"Derive Cohort E from audited . must key as , not .",
"Friendly task names belong only in manifest metadata, not as substitutes for dimensional route-key directories.",
"Do not assume covers every required route. Missing cases need explicit seed fixture references and .",
"Non-RayWorker fixture tests must remain deterministic in a -only checkout by validating the committed registry snapshot and skipping only the sibling orchestrator live assertion when absent.",
" must use the real live-test CLI flags: , , , , and ; never use positional , , , or generic .",
"If RunPod, credentials, disk, or hardware access blocks live WGP calibration, produce a committed deferral report artifact rather than leaving the deliverable as narrative status.",
"Keep synchronized with the exact YAML version, route list, manifest layout, and report status produced in the worker repo.",
"Do not worsen unrelated debt watch items from previous plans; this sprint is focused on threshold/golden-corpus artifacts and docs."
],
"sense_checks": [
{
"id": "SC1",
"task_id": "T1",
"question": "Does include version , schema version 1, every concrete Section 11 metric row as a distinct key/default, and only the approved calibration status enum?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC2",
"task_id": "T2",
"question": "Does reject incomplete metrics, invalid statuses, unknown route override keys, and manifest/YAML drift when manifests exist?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC3",
"task_id": "T3",
"question": "Do route-key tests prove direct Cohort A/B aliases, Cohort B edit dimensions, Cohort E dimensional keys, deterministic slugging, and ?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC4",
"task_id": "T4",
"question": "Does every YAML route have exactly one matching golden manifest and vice versa, with Cohort E directory names containing task type, model family, guidance kind, continuity case, and profile?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC5",
"task_id": "T5",
"question": "Do all four non-RayWorker fixtures include payload shape, completion handler, billing path, output shape, owner, preserve/move decision, exact route-key spelling, and any alias mismatch?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC6",
"task_id": "T6",
"question": "Does WGP command construction include the three named timeout flags and exclude every known invalid live-test argument?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC7",
"task_id": "T7",
"question": "Is there a committed JSON and Markdown WGP repeatability or deferral report under , and do YAML route statuses/notes point to it accurately?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC8",
"task_id": "T8",
"question": "Do both live-validation and migration docs name the YAML version/path and explain that it is the executable threshold source of truth for later sprints?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC9",
"task_id": "T9",
"question": "Does the performance review stub follow the Sprint 0A record shape and capture verification, blockers, calibration status, completion assessment, and next action?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC10",
"task_id": "T10",
"question": "Do strict threshold validation, focused dual-run-compare tests, and the deleted throwaway smoke script all pass locally without GPU access?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC11",
"task_id": "T11",
"question": "Were all before_execute user_actions programmatically verified before execution proceeded?",
"executor_note": "No. The before_execute action U1 was checked mechanically, but full live RunPod/GPU access and sufficient capacity could not be verified in this environment, so execution stopped and T11 is blocked.",
"verdict": ""
}
],
"user_actions": [
{
"id": "U1",
"description": "Provide RunPod/GPU credentials, pod access, and sufficient disk capacity if live Cohort A WGP-vs-WGP calibration is required instead of a committed deferral report.",
"phase": "before_execute",
"blocks_task_ids": [
"T7"
],
"rationale": "Local repo execution can create the harness and deferral report, but live calibration needs external infrastructure access.",
"requires_human_only_reason": "RunPod/GPU access and credentials are outside repo-editing work and cannot be manufactured by the executor."
},
{
"id": "U2",
"description": "Review and approve non-RayWorker route owner decisions if the committed fixtures need to claim owner-approved preservation versus explicit deferral.",
"phase": "after_execute",
"blocks_task_ids": [],
"rationale": "The executor can document interim owners and rationale, but formal route-owner approval may be an out-of-band product/operations decision.",
"requires_human_only_reason": "Owner approval is an organizational approval, not a repository edit."
}
],
"meta_commentary": "Execute in the approved order: threshold contract first, [REDACTED] second, manifests/fixtures next, WGP report artifact, then docs and review record. The highest-risk mistakes are value-level route-key drift for Cohort E, silently using the wrong live-test CLI, and leaving WGP repeatability as prose instead of a committed artifact. Treat the deferral report as the correct no-GPU path, but make it machine-readable and route-keyed. Keep all worker artifacts under and run final validation from inside .",
"validation": {
"plan_steps_covered": [
{
"plan_step_summary": "Step 1: Audit Section 11 threshold rows and existing dual-run compare consumers",
"finalize_item_ids": [
"T1"
]
},
{
"plan_step_summary": "Step 2: Author with row-granular defaults and route statuses",
"finalize_item_ids": [
"T1"
]
},
{
"plan_step_summary": "Step 3: Add threshold parser, smoke CLI, and threshold tests",
"finalize_item_ids": [
"T2",
"T10"
]
},
{
"plan_step_summary": "Step 4: Define canonical route-key schema and tests",
"finalize_item_ids": [
"T3",
"T10"
]
},
{
"plan_step_summary": "Step 5: Create route-keyed golden corpus manifests and tests",
"finalize_item_ids": [
"T4",
"T10"
]
},
{
"plan_step_summary": "Step 6: Author non-RayWorker preservation fixtures and validation tests",
"finalize_item_ids": [
"T5",
"U2",
"T10"
]
},
{
"plan_step_summary": "Step 7: Add WGP self-repeatability harness using real live-test CLI",
"finalize_item_ids": [
"T6",
"T10"
]
},
{
"plan_step_summary": "Step 8: Produce Sprint 0B repeatability or deferral evidence",
"finalize_item_ids": [
"T7",
"U1",
"T10"
]
},
{
"plan_step_summary": "Step 9: Update live-validation and migration docs to cite YAML version/source of truth",
"finalize_item_ids": [
"T8"
]
},
{
"plan_step_summary": "Step 10: Add Sprint 0B performance review stub",
"finalize_item_ids": [
"T9"
]
},
{
"plan_step_summary": "Verify before_execute user_actions",
"finalize_item_ids": [
"T11"
]
}
],
"orphan_tasks": [],
"completeness_notes": "All approved plan steps are mapped to execution tasks. The only human-only coverage is for optional live RunPod calibration and out-of-band owner approval; repo-editable deferral artifacts and fixture rationale remain executor tasks. Final validation is centralized in T10 and includes the specified strict smoke command, focused tests, and a deleted throwaway smoke script.",
"coverage_complete": true
},
"baseline_test_failures": null,
"baseline_test_command": "pytest --tb=no -q --no-header",
"baseline_test_note": "Baseline test capture timed out after 120 seconds while running: 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 / to be safe in strict typescript. (flagged 1 times across 1 plans)
{
"output": "Completed T1. Created the Sprint 0B threshold YAML in reigh-worker with all Section 11 metric rows, approved calibration status enum, and seeded Cohort A/B plus representative Cohort E routes. Checkpointed batch 2.",
"files_changed": [
[REDACTED],
[REDACTED]
],
"commands_run": [
"git status --short",
"rg -n "^##|^###|Section 11|§11|threshold|Threshold|pHash|SSIM|LPIPS|duration|audio|latency|route|Cohort" docs/migration-vibecomfy.md scripts/dual_run_compare -S",
"find scripts/dual_run_compare -maxdepth 4 -type f -print | sort",
"find . -maxdepth 4 -type f \( -name 'migration-vibecomfy.md' -o -name 'vibecomfy.md' \) -print",
"find . -maxdepth 5 -type d \( -name 'dual_run_compare' -o -name 'dual-run-compare' \) -print",
"find reigh-worker/scripts -maxdepth 3 -type f -print | sort",
"sed -n '1379,1402p' docs/migration-vibecomfy.md",
"python worker_matrix_cases.json audit",
"python worker-matrix selected_cases.json audit",
"python worker-matrix case_definition model/task audit",
"sed -n '1,260p' scripts/worker_matrix_cases.json",
"rg -n "wan_2_2_i2v_lightning_baseline_2_2_2|wan_2_2_vace_lightning_baseline_2_2_2|ltx2_22B|ltx2_22B_distilled_1_1|model_family|model_name" docs/migration-vibecomfy.md reigh-worker/source reigh-worker/scripts reigh-worker/docs -S",
"rg -n "model_family|model_name|ltx|vace|wan22|wan_2_2" source/task_handlers/travel source/task_handlers/join source/task_handlers/tasks -S",
"mkdir -p scripts/dual_run_compare",
"python YAML validation for version, schema_version, 14 expected metric keys, approved enum statuses, route count, and wan22_i2v family assertion",
"sed -n '1,260p' scripts/dual_run_compare/migration-thresholds.yaml",
"test -f .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/execution_batch_2.json && python -m json.tool .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/execution_batch_2.json >/dev/null && echo checkpoint_json_ok",
"git status --short"
],
"deviations": [
"T11 remains blocked in finalize.json from the prior batch, but this batch explicitly listed T1 as actionable and stated no user_action prerequisites for this batch. I executed only T1 and did not proceed to downstream tasks."
],
"task_updates": [
{
"task_id": "T1",
"status": "completed",
"executor_notes": "Audited top-level docs/migration-vibecomfy.md Section 11 and confirmed 14 concrete threshold rows. Audited reigh-worker scripts/artifacts state: no existing scripts/dual_run_compare directory was present; worker matrix coverage exists for z_image_turbo, z_image_turbo_i2i, qwen_image_edit, qwen_image_style, wan_2_2_t2i, and individual_travel_segment with model_name wan_2_2_i2v_lightning_baseline_2_2_2. Created reigh-worker/scripts/dual_run_compare/migration-thresholds.yaml with version 0B-2026-05-05, schema_version 1, row-granular metric defaults for all 14 Section 11 rows, the single approved calibration_status_enum, Cohort A/B direct route seeds, and representative Cohort E dimensional route seeds. Verified YAML parses, metric key order/count matches Section 11, statuses are within the approved enum, route count is 14, and the audited Wan 2.2 I2V route uses model_family wan22_i2v rather than wan22_vace.",
"files_changed": [
"reigh-worker/scripts/dual_run_compare/migration-thresholds.yaml"
],
"commands_run": [
"sed -n '1379,1402p' docs/migration-vibecomfy.md",
"sed -n '1,260p' scripts/worker_matrix_cases.json",
"worker-matrix selected case/model audit with python/json",
"rg -n model-family/model-name spellings across docs and worker sources",
"mkdir -p scripts/dual_run_compare",
"python YAML validation for version, schema_version, 14 expected metric keys, approved enum statuses, route count, and wan22_i2v family assertion",
"test -f .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/execution_batch_2.json && python -m json.tool .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/execution_batch_2.json >/dev/null && echo checkpoint_json_ok"
],
"evidence_files": [
"reigh-worker/scripts/dual_run_compare/migration-thresholds.yaml"
],
"auto_attributed_files": false
}
],
"sense_check_acknowledgments": [
{
"sense_check_id": "SC1",
"executor_note": "Yes. migration-thresholds.yaml has version 0B-2026-05-05, schema_version 1, all 14 concrete Section 11 metric rows as distinct metric keys/defaults, and the only calibration statuses declared are green, pending_calibration, deferred_pending_sprint_0c_disk, wgp_only, and owner_deferred. A Python YAML validation command confirmed the metric count/order and that all route statuses are within the approved enum."
}
]
}
This follows Sprint 0A's contract freeze and creates the comparison oracles consumed by every later parity, harness, and canary sprint. The epic cannot rely on subjective media review; later sprints need route-keyed baselines and a single threshold source of truth.
Use route keys, not friendly names, for baselines and cutover evidence.
Keep active non-RayWorker routes covered as preservation fixtures even when they stay outside RayWorker.
Keep docs/migration-vibecomfy-live-validation.md synchronized with threshold and route versions.
Sprint Goal
Produce executable comparison oracles and WGP golden corpora for later migration sprints.
Required Deliverables
migration-thresholds.yaml.
WGP self-repeatability report.
Route-keyed WGP golden corpus for Cohort A/B and representative Cohort E routes.
Lightweight product-contract fixtures for video_enhance, image-upscale, animate_character, and flux_klein_edit.
Live-validation document updated to the same route/threshold version.
Exit Criteria
Threshold YAML is committed and read by a smoke script; WGP self-drift is below thresholds or affected routes are marked WGP-only/pending; corpus is route-keyed; non-RayWorker active routes have owner-approved fixtures or explicit deferral rationale.
code
Batch framing:
- Execute batch 3 of 9.
- Actionable task IDs for this batch: ['T2', 'T3']
- Already completed task IDs available as dependency context: ['T1']
Actionable tasks for this batch:
[
{
"id": "T2",
"description": "Add the threshold package surface under reigh-worker/scripts/dual_run_compare: __init__.py, typed thresholds.py, and check_thresholds.py runnable as python -m scripts.dual_run_compare.check_thresholds [--strict], including strict validation for schema version, complete metric rows, enum membership, override keys, and YAML/manifest sync when manifests exist. Add focused tests for load, completeness, override merge, invalid status rejection, and missing metric rejection.",
"depends_on": [
"T11",
"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": "Implement route_keys.py with documented canonicalization modes for direct Cohort A/B product routes, dimensional Cohort B edit variants, and dimensional Cohort E keys. Include model-family mapping from audited model_name values, especially wan_2_2_i2v_lightning_baseline_2_2_2 -> wan22_i2v, with VACE only for actual VACE model names. Add route-key tests covering aliases, edit dimensions, Cohort E shape, slug normalization, determinism, and the I2V-not-VACE assertion.",
"depends_on": [
"T11",
"T1"
],
"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):
[
{
"id": "T1",
"description": "In reigh-worker, audit docs/migration-vibecomfy.md Section 11 and existing scripts/dual_run_compare state, then create scripts/dual_run_compare/migration-thresholds.yaml with version 0B-2026-05-05, schema version 1, row-granular metric keys/defaults for every concrete Section 11 threshold row, the single calibration status enum, and seeded Cohort A/B plus representative Cohort E route entries using audited model-family values.",
"depends_on": [
"T11"
],
"status": "done",
"executor_notes": "Audited top-level docs/migration-vibecomfy.md Section 11 and confirmed 14 concrete threshold rows. Audited reigh-worker scripts/artifacts state: no existing scripts/dual_run_compare directory was present; worker matrix coverage exists for z_image_turbo, z_image_turbo_i2i, qwen_image_edit, qwen_image_style, wan_2_2_t2i, and individual_travel_segment with model_name wan_2_2_i2v_lightning_baseline_2_2_2. Created reigh-worker/scripts/dual_run_compare/migration-thresholds.yaml with version 0B-2026-05-05, schema_version 1, row-granular metric defaults for all 14 Section 11 rows, the single approved calibration_status_enum, Cohort A/B direct route seeds, and representative Cohort E dimensional route seeds. Verified YAML parses, metric key order/count matches Section 11, statuses are within the approved enum, route count is 14, and the audited Wan 2.2 I2V route uses model_family wan22_i2v rather than wan22_vace.",
"files_changed": [
"reigh-worker/scripts/dual_run_compare/migration-thresholds.yaml"
],
"commands_run": [
"sed -n '1379,1402p' docs/migration-vibecomfy.md",
"sed -n '1,260p' scripts/worker_matrix_cases.json",
"worker-matrix selected case/model audit with python/json",
"rg -n model-family/model-name spellings across docs and worker sources",
"mkdir -p scripts/dual_run_compare",
"python YAML validation for version, schema_version, 14 expected metric keys, approved enum statuses, route count, and wan22_i2v family assertion",
"test -f .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/execution_batch_2.json && python -m json.tool .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/execution_batch_2.json >/dev/null && echo checkpoint_json_ok"
],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
}
]
code
Prior batch deviations (address if applicable):
[
"T11 remains blocked in finalize.json from the prior batch, but this batch explicitly listed T1 as actionable and stated no user_action prerequisites for this batch. I executed only T1 and did not proceed to downstream tasks.",
"Advisory observation mismatch: executor claimed files not observed in git status/content hash delta: .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/execution_batch_2.json, reigh-worker/scripts/dual_run_compare/migration-thresholds.yaml",
"Advisory audit finding: Executor claimed changed files not present in git status: .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/execution_batch_1.json",
"Advisory audit finding: Git status shows changed files not claimed by any task: megaplan-fix, reigh-app-cloud-chain",
"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: Sense check SC8 is missing an executor acknowledgment.",
"Advisory audit finding: Sense check SC9 is missing an executor acknowledgment.",
"Advisory audit finding: Sense check SC10 is missing an executor acknowledgment.",
"Advisory audit finding: Tasks left pending after execute (executor never started them): T2, T3, T4, T5, T6, T7, T8, T9, T10"
]
code
User action prerequisites:
No user_action prerequisites for this batch.
Batch-scoped sense checks:
[
Full execution tracking source of truth (`finalize.json`):
{
"tasks": [
{
"id": "T11",
"description": "Read user_actions.md. For each before_execute action, programmatically verify completion using bash tools \u2014 grep .env for required keys, query the migrations table, curl the dev server, etc. Reading the file does NOT count as verification; you must run a command. For actions that genuinely cannot be verified mechanically (manual UI checks), explicitly ask the user. If anything is incomplete or unverifiable, mark this task blocked with reason and STOP.",
"depends_on": [],
"status": "blocked",
"executor_notes": "Read .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/user_actions.md and mechanically checked the only before_execute item, U1. RunPod-related env keys are present in reigh-worker/.env and runpod-lifecycle/.env, and RunPod CLIs are installed, but live access was not verified: runpod config --check reported the default profile missing, RunPod API/pod listing failed due DNS/network resolution for api.runpod.io, nvidia-smi is unavailable locally, and df -h . reigh-worker showed only about 7.5 GiB free locally. Because U1 cannot be confirmed complete for live Cohort A WGP-vs-WGP calibration, execution stopped before downstream tasks.",
"files_changed": [
[REDACTED]
],
"commands_run": [
"sed -n '1,220p' .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/user_actions.md",
"find . -maxdepth 3 \( -name '.env' -o -name '.env.*' \) -type f -print",
"command -v runpodctl; command -v runpod; df -h . reigh-worker 2>/dev/null",
"env | awk -F= "/^(RUNPOD|RUN_POD|GPU|WAN2GP|WGP|SUPABASE|DATABASE_URL)/ {print $1}" | sort",
"runpodctl --help | sed -n "1,80p"; runpod --help | sed -n "1,80p"",
"runpodctl config --help | sed -n "1,120p"; runpod config --help | sed -n "1,120p"",
"nvidia-smi --query-gpu=name,memory.total --format=csv,noheader",
"runpod config --check",
"runpodctl get pod",
"runpod pod list",
"python env-key presence check for RunPod/WGP-related keys"
],
"evidence_files": [],
"reviewer_verdict": ""
},
{
"id": "T1",
"description": "In reigh-worker, audit docs/migration-vibecomfy.md Section 11 and existing scripts/dual_run_compare state, then create scripts/dual_run_compare/migration-thresholds.yaml with version 0B-2026-05-05, schema version 1, row-granular metric keys/defaults for every concrete Section 11 threshold row, the single calibration status enum, and seeded Cohort A/B plus representative Cohort E route entries using audited model-family values.",
"depends_on": [
"T11"
],
"status": "done",
"executor_notes": "Audited top-level docs/migration-vibecomfy.md Section 11 and confirmed 14 concrete threshold rows. Audited reigh-worker scripts/artifacts state: no existing scripts/dual_run_compare directory was present; worker matrix coverage exists for z_image_turbo, z_image_turbo_i2i, qwen_image_edit, qwen_image_style, wan_2_2_t2i, and individual_travel_segment with model_name wan_2_2_i2v_lightning_baseline_2_2_2. Created reigh-worker/scripts/dual_run_compare/migration-thresholds.yaml with version 0B-2026-05-05, schema_version 1, row-granular metric defaults for all 14 Section 11 rows, the single approved calibration_status_enum, Cohort A/B direct route seeds, and representative Cohort E dimensional route seeds. Verified YAML parses, metric key order/count matches Section 11, statuses are within the approved enum, route count is 14, and the audited Wan 2.2 I2V route uses model_family wan22_i2v rather than wan22_vace.",
"files_changed": [
"reigh-worker/scripts/dual_run_compare/migration-thresholds.yaml"
],
"commands_run": [
"sed -n '1379,1402p' docs/migration-vibecomfy.md",
"sed -n '1,260p' scripts/worker_matrix_cases.json",
"worker-matrix selected case/model audit with python/json",
"rg -n model-family/model-name spellings across docs and worker sources",
"mkdir -p scripts/dual_run_compare",
"python YAML validation for version, schema_version, 14 expected metric keys, approved enum statuses, route count, and wan22_i2v family assertion",
"test -f .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/execution_batch_2.json && python -m json.tool .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/execution_batch_2.json >/dev/null && echo checkpoint_json_ok"
],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T2",
"description": "Add the threshold package surface under : , typed , and runnable as , including strict validation for schema version, complete metric rows, enum membership, override keys, and YAML/manifest sync when manifests exist. Add focused tests for load, completeness, override merge, invalid status rejection, and missing metric rejection.",
"depends_on": [
"T11",
"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": "Implement with documented canonicalization modes for direct Cohort A/B product routes, dimensional Cohort B edit variants, and dimensional Cohort E keys. Include model-family mapping from audited values, especially , with VACE only for actual VACE model names. Add route-key tests covering aliases, edit dimensions, Cohort E shape, slug normalization, determinism, and the I2V-not-VACE assertion.",
"depends_on": [
"T11",
"T1"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T4",
"description": "Create route-keyed golden corpus manifests under for required Cohort A direct routes, Cohort B direct preservation routes, and at least four representative Cohort E dimensional routes. Each manifest must include all required metadata fields, use canonical route keys, record missing worker-matrix coverage as , and point to local seed payload references under where needed. Add tests asserting YAML/manifests have no orphan routes, Cohort E directories are dimensional, I2V travel routes are not VACE-keyed, and missing matrix cases are explicit.",
"depends_on": [
"T11",
"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": "Add non-RayWorker preservation fixtures under for , , , and , plus a committed . Source handler and contract details from , validate active spellings against when present, and include tests that always validate fixture JSON/snapshot while gracefully skipping only the sibling-repo live registry assertion when absent.",
"depends_on": [
"T11",
"T3"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T6",
"description": "Implement around the real live-test CLI contract: . Support paired live runs when available, when GPU execution is blocked, threshold comparison through , JSON and Markdown reports under , and command-construction smoke coverage proving invalid flags such as positional , , , and generic are not used.",
"depends_on": [
"T11",
"T2",
"T4"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T7",
"description": "Produce the Sprint 0B WGP repeatability evidence artifact. Attempt live Cohort A WGP-vs-WGP repeatability only if the required RunPod/GPU access is actually available; otherwise run and commit machine-readable JSON plus Markdown reports listing every required route, attempted command shape, blocker, calibration status, and next action. Update YAML route statuses and notes to reference the report, using for routes blocked by the 50 GB pod limit.",
"depends_on": [
"T11",
"T6"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T8",
"description": "Update top-level docs after artifacts are final: add to with YAML path, version, metric row list, route-key module, golden manifest layout, report path, and status summary; update Sprint 0/3/3.5/11 references so the YAML version is named as the executable threshold source of truth.",
"depends_on": [
"T11",
"T7"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T9",
"description": "Add the Sprint 0B performance review record at , following the Sprint 0A template and recording sprint identity, intended scope, actual outcome, verification, known blockers, calibration status, completion assessment, and next action.",
"depends_on": [
"T11",
"T8"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T10",
"description": "Run final validation from : , focused , and any narrower relevant checks needed for edited files. If failures occur, inspect errors, fix the implementation, and rerun until local non-GPU validation passes. Also create a short throwaway script to exercise threshold loading, a representative route override merge, and one canonical Cohort E route key; run it, confirm behavior, then delete it before finishing.",
"depends_on": [
"T11",
"T1",
"T2",
"T3",
"T4",
"T5",
"T6",
"T7",
"T8",
"T9"
],
"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 nested megaplan tooling or read/activate the megaplan skill; this briefing is for direct execution only.",
" is a nested git repository. Keep worker artifacts in that repo and top-level docs in the workspace repo; do not mix commit assumptions.",
"Section 11 in is the source of truth for threshold rows. If it has more concrete rows than expected, add them immediately and update tests.",
"Preserve metric identity at row granularity; do not collapse video duration and audio duration, pHash mean and p95, or dimensions and format into broad classes.",
"Use exactly one calibration status enum: , , , , . Strict validation must reject unknown values.",
"Cohort A/B direct product routes use direct route keys; Cohort B edit variants use dimensional edit keys when those dimensions are present; Cohort E always uses dimensional keys.",
"Derive Cohort E from audited . must key as , not .",
"Friendly task names belong only in manifest metadata, not as substitutes for dimensional route-key directories.",
"Do not assume covers every required route. Missing cases need explicit seed fixture references and .",
"Non-RayWorker fixture tests must remain deterministic in a -only checkout by validating the committed registry snapshot and skipping only the sibling orchestrator live assertion when absent.",
" must use the real live-test CLI flags: , , , , and ; never use positional , , , or generic .",
"If RunPod, credentials, disk, or hardware access blocks live WGP calibration, produce a committed deferral report artifact rather than leaving the deliverable as narrative status.",
"Keep synchronized with the exact YAML version, route list, manifest layout, and report status produced in the worker repo.",
"Do not worsen unrelated debt watch items from previous plans; this sprint is focused on threshold/golden-corpus artifacts and docs."
],
"sense_checks": [
{
"id": "SC1",
"task_id": "T1",
"question": "Does include version , schema version 1, every concrete Section 11 metric row as a distinct key/default, and only the approved calibration status enum?",
"executor_note": "Yes. migration-thresholds.yaml has version 0B-2026-05-05, schema_version 1, all 14 concrete Section 11 metric rows as distinct metric keys/defaults, and the only calibration statuses declared are green, pending_calibration, deferred_pending_sprint_0c_disk, wgp_only, and owner_deferred. A Python YAML validation command confirmed the metric count/order and that all route statuses are within the approved enum.",
"verdict": ""
},
{
"id": "SC2",
"task_id": "T2",
"question": "Does reject incomplete metrics, invalid statuses, unknown route override keys, and manifest/YAML drift when manifests exist?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC3",
"task_id": "T3",
"question": "Do route-key tests prove direct Cohort A/B aliases, Cohort B edit dimensions, Cohort E dimensional keys, deterministic slugging, and ?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC4",
"task_id": "T4",
"question": "Does every YAML route have exactly one matching golden manifest and vice versa, with Cohort E directory names containing task type, model family, guidance kind, continuity case, and profile?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC5",
"task_id": "T5",
"question": "Do all four non-RayWorker fixtures include payload shape, completion handler, billing path, output shape, owner, preserve/move decision, exact route-key spelling, and any alias mismatch?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC6",
"task_id": "T6",
"question": "Does WGP command construction include the three named timeout flags and exclude every known invalid live-test argument?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC7",
"task_id": "T7",
"question": "Is there a committed JSON and Markdown WGP repeatability or deferral report under , and do YAML route statuses/notes point to it accurately?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC8",
"task_id": "T8",
"question": "Do both live-validation and migration docs name the YAML version/path and explain that it is the executable threshold source of truth for later sprints?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC9",
"task_id": "T9",
"question": "Does the performance review stub follow the Sprint 0A record shape and capture verification, blockers, calibration status, completion assessment, and next action?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC10",
"task_id": "T10",
"question": "Do strict threshold validation, focused dual-run-compare tests, and the deleted throwaway smoke script all pass locally without GPU access?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC11",
"task_id": "T11",
"question": "Were all before_execute user_actions programmatically verified before execution proceeded?",
"executor_note": "No. The before_execute action U1 was checked mechanically, but full live RunPod/GPU access and sufficient capacity could not be verified in this environment, so execution stopped and T11 is blocked.",
"verdict": ""
}
],
"user_actions": [
{
"id": "U1",
"description": "Provide RunPod/GPU credentials, pod access, and sufficient disk capacity if live Cohort A WGP-vs-WGP calibration is required instead of a committed deferral report.",
"phase": "before_execute",
"blocks_task_ids": [
"T7"
],
"rationale": "Local repo execution can create the harness and deferral report, but live calibration needs external infrastructure access.",
"requires_human_only_reason": "RunPod/GPU access and credentials are outside repo-editing work and cannot be manufactured by the executor."
},
{
"id": "U2",
"description": "Review and approve non-RayWorker route owner decisions if the committed fixtures need to claim owner-approved preservation versus explicit deferral.",
"phase": "after_execute",
"blocks_task_ids": [],
"rationale": "The executor can document interim owners and rationale, but formal route-owner approval may be an out-of-band product/operations decision.",
"requires_human_only_reason": "Owner approval is an organizational approval, not a repository edit."
}
],
"meta_commentary": "Execute in the approved order: threshold contract first, [REDACTED] second, manifests/fixtures next, WGP report artifact, then docs and review record. The highest-risk mistakes are value-level route-key drift for Cohort E, silently using the wrong live-test CLI, and leaving WGP repeatability as prose instead of a committed artifact. Treat the deferral report as the correct no-GPU path, but make it machine-readable and route-keyed. Keep all worker artifacts under and run final validation from inside .",
"validation": {
"plan_steps_covered": [
{
"plan_step_summary": "Step 1: Audit Section 11 threshold rows and existing dual-run compare consumers",
"finalize_item_ids": [
"T1"
]
},
{
"plan_step_summary": "Step 2: Author with row-granular defaults and route statuses",
"finalize_item_ids": [
"T1"
]
},
{
"plan_step_summary": "Step 3: Add threshold parser, smoke CLI, and threshold tests",
"finalize_item_ids": [
"T2",
"T10"
]
},
{
"plan_step_summary": "Step 4: Define canonical route-key schema and tests",
"finalize_item_ids": [
"T3",
"T10"
]
},
{
"plan_step_summary": "Step 5: Create route-keyed golden corpus manifests and tests",
"finalize_item_ids": [
"T4",
"T10"
]
},
{
"plan_step_summary": "Step 6: Author non-RayWorker preservation fixtures and validation tests",
"finalize_item_ids": [
"T5",
"U2",
"T10"
]
},
{
"plan_step_summary": "Step 7: Add WGP self-repeatability harness using real live-test CLI",
"finalize_item_ids": [
"T6",
"T10"
]
},
{
"plan_step_summary": "Step 8: Produce Sprint 0B repeatability or deferral evidence",
"finalize_item_ids": [
"T7",
"U1",
"T10"
]
},
{
"plan_step_summary": "Step 9: Update live-validation and migration docs to cite YAML version/source of truth",
"finalize_item_ids": [
"T8"
]
},
{
"plan_step_summary": "Step 10: Add Sprint 0B performance review stub",
"finalize_item_ids": [
"T9"
]
},
{
"plan_step_summary": "Verify before_execute user_actions",
"finalize_item_ids": [
"T11"
]
}
],
"orphan_tasks": [],
"completeness_notes": "All approved plan steps are mapped to execution tasks. The only human-only coverage is for optional live RunPod calibration and out-of-band owner approval; repo-editable deferral artifacts and fixture rationale remain executor tasks. Final validation is centralized in T10 and includes the specified strict smoke command, focused tests, and a deleted throwaway smoke script.",
"coverage_complete": true
},
"baseline_test_failures": null,
"baseline_test_command": "pytest --tb=no -q --no-header",
"baseline_test_note": "Baseline test capture timed out after 120 seconds while running: 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 / to be safe in strict typescript. (flagged 1 times across 1 plans)
{
"output": "Completed T2 and T3. Added the dual_run_compare package surface, strict threshold validation CLI, [REDACTED], focused tests, and batch checkpoint.",
"files_changed": [
[REDACTED],
[REDACTED],
[REDACTED],
[REDACTED],
[REDACTED],
[REDACTED],
[REDACTED],
[REDACTED],
[REDACTED]
],
"commands_run": [
"git status --short",
"find scripts/dual_run_compare -maxdepth 3 -type f -print -exec sed -n '1,240p' {} \;",
"find tests scripts -maxdepth 4 -type f \( -name 'test_.py' -o -name '_test.py' \) | sort | sed -n '1,200p'",
"sed -n '1,220p' pyproject.toml",
"mkdir -p scripts/dual_run_compare/tests",
"python -m scripts.dual_run_compare.check_thresholds --strict",
"pytest scripts/dual_run_compare/tests/",
"pytest --tb=no -q --no-header",
"pytest tests/core/log/test_stdout_filter.py -q --tb=short",
"PYTHONPATH=. pytest --tb=no -q --no-header",
"PYTHONPATH=. pytest tests/test_additional_coverage_modules.py -q --tb=short",
"python -m compileall -q scripts/dual_run_compare",
"test -f .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/execution_batch_3.json && python -m json.tool .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/execution_batch_3.json >/dev/null && echo checkpoint_json_ok",
"git status --short --untracked-files=all"
],
"deviations": [
"Repo-wide pytest was attempted as required but did not pass in this environment. Plain pytest failed during collection because source was not importable; rerunning with PYTHONPATH=. still failed during collection on pre-existing missing dependency httpx. Focused batch validation passed: python -m scripts.dual_run_compare.check_thresholds --strict and pytest scripts/dual_run_compare/tests/ both succeeded."
],
"task_updates": [
{
"task_id": "T2",
"status": "completed",
"executor_notes": "Added the threshold package surface under reigh-worker/scripts/dual_run_compare: init.py, typed thresholds.py, and check_thresholds.py runnable as python -m scripts.dual_run_compare.check_thresholds [--strict]. Validation covers schema_version/version, exact metric row completeness, required metric fields, exact approved calibration_status_enum, route status enum membership, unknown threshold override keys, strict route fields, and golden manifest/YAML sync when manifests exist. Added focused threshold tests for load, completeness, override merge, invalid status rejection, missing metric rejection, unknown override rejection through the strict CLI, and manifest/YAML drift rejection. Verified with python -m scripts.dual_run_compare.check_thresholds --strict and pytest scripts/dual_run_compare/tests/ (12 passed). Repo-wide pytest was attempted; plain pytest failed collection because source was not importable, and PYTHONPATH=. pytest still failed collection on pre-existing missing dependency httpx.",
"files_changed": [
"reigh-worker/scripts/init.py",
"reigh-worker/scripts/dual_run_compare/init.py",
"reigh-worker/scripts/dual_run_compare/thresholds.py",
"reigh-worker/scripts/dual_run_compare/check_thresholds.py",
"reigh-worker/scripts/dual_run_compare/tests/conftest.py",
"reigh-worker/scripts/dual_run_compare/tests/test_thresholds.py"
],
"commands_run": [
"python -m scripts.dual_run_compare.check_thresholds --strict",
"pytest scripts/dual_run_compare/tests/",
"pytest --tb=no -q --no-header",
"PYTHONPATH=. pytest --tb=no -q --no-header",
"PYTHONPATH=. pytest tests/test_additional_coverage_modules.py -q --tb=short",
"python -m compileall -q scripts/dual_run_compare"
],
"evidence_files": [
"reigh-worker/scripts/dual_run_compare/tests/test_thresholds.py"
],
"auto_attributed_files": false
},
{
"task_id": "T3",
"status": "completed",
"executor_notes": "Implemented route_keys.py with documented canonicalization modes for direct Cohort A/B product routes, dimensional Cohort B edit variants, and dimensional Cohort E keys. The model-family mapping preserves the audited wan_2_2_i2v_lightning_baseline_2_2_2 -> wan22_i2v behavior and maps to wan22_vace only when the model name contains the actual vace token. Added route-key tests covering direct aliases, edit dimensions, Cohort E dimensional key shape, slug normalization, deterministic output, LTX model-family mapping, and the I2V-not-VACE assertion. Verified through pytest scripts/dual_run_compare/tests/ (12 passed) and python -m compileall -q scripts/dual_run_compare.",
"files_changed": [
"reigh-worker/scripts/dual_run_compare/route_keys.py",
"reigh-worker/scripts/dual_run_compare/tests/test_route_keys.py"
],
"commands_run": [
"pytest scripts/dual_run_compare/tests/",
"python -m compileall -q scripts/dual_run_compare"
],
"evidence_files": [
"reigh-worker/scripts/dual_run_compare/tests/test_route_keys.py"
],
"auto_attributed_files": false
}
],
"sense_check_acknowledgments": [
{
"sense_check_id": "SC2",
"executor_note": "Yes. python -m scripts.dual_run_compare.check_thresholds --strict passes on the committed YAML, and the threshold test module verifies strict rejection of missing metric rows, invalid route statuses, unknown route override keys, and manifest/YAML drift when a golden manifest exists."
},
{
"sense_check_id": "SC3",
"executor_note": "Yes. The route-key tests cover direct Cohort A/B aliases, dimensional Cohort B edit variants, Cohort E dimensional key shape, slug normalization/determinism, LTX mapping, and the explicit wan_2_2_i2v_lightning_baseline_2_2_2 -> wan22_i2v assertion with no VACE keying."
}
]
}
This follows Sprint 0A's contract freeze and creates the comparison oracles consumed by every later parity, harness, and canary sprint. The epic cannot rely on subjective media review; later sprints need route-keyed baselines and a single threshold source of truth.
Use route keys, not friendly names, for baselines and cutover evidence.
Keep active non-RayWorker routes covered as preservation fixtures even when they stay outside RayWorker.
Keep docs/migration-vibecomfy-live-validation.md synchronized with threshold and route versions.
Sprint Goal
Produce executable comparison oracles and WGP golden corpora for later migration sprints.
Required Deliverables
migration-thresholds.yaml.
WGP self-repeatability report.
Route-keyed WGP golden corpus for Cohort A/B and representative Cohort E routes.
Lightweight product-contract fixtures for video_enhance, image-upscale, animate_character, and flux_klein_edit.
Live-validation document updated to the same route/threshold version.
Exit Criteria
Threshold YAML is committed and read by a smoke script; WGP self-drift is below thresholds or affected routes are marked WGP-only/pending; corpus is route-keyed; non-RayWorker active routes have owner-approved fixtures or explicit deferral rationale.
code
Batch framing:
- Execute batch 4 of 9.
- Actionable task IDs for this batch: ['T4', 'T5']
- Already completed task IDs available as dependency context: ['T1', 'T2', 'T3']
Actionable tasks for this batch:
[
{
"id": "T4",
"description": "Create route-keyed golden corpus manifests under reigh-worker/scripts/dual_run_compare/golden/<route_key>/manifest.json for required Cohort A direct routes, Cohort B direct preservation routes, and at least four representative Cohort E dimensional routes. Each manifest must include all required metadata fields, use canonical route keys, record missing worker-matrix coverage as source_fixture_status: seed_fixture_required, and point to local seed payload references under fixtures/golden_seed_payloads/ where needed. Add tests asserting YAML/manifests have no orphan routes, Cohort E directories are dimensional, I2V travel routes are not VACE-keyed, and missing matrix cases are explicit.",
"depends_on": [
"T11",
"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": "Add non-RayWorker preservation fixtures under reigh-worker/scripts/dual_run_compare/fixtures/non_rayworker/ for video_enhance, image-upscale, animate_character, and flux_klein_edit, plus a committed registry_snapshot.json. Source handler and contract details from reigh-worker/docs/migration-baselines.md, validate active spellings against ../reigh-worker-orchestrator/api_orchestrator/task_handlers.py when present, and include tests that always validate fixture JSON/snapshot while gracefully skipping only the sibling-repo live registry assertion when absent.",
"depends_on": [
"T11",
"T3"
],
"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):
[
{
"id": "T1",
"description": "In reigh-worker, audit docs/migration-vibecomfy.md Section 11 and existing scripts/dual_run_compare state, then create scripts/dual_run_compare/migration-thresholds.yaml with version 0B-2026-05-05, schema version 1, row-granular metric keys/defaults for every concrete Section 11 threshold row, the single calibration status enum, and seeded Cohort A/B plus representative Cohort E route entries using audited model-family values.",
"depends_on": [
"T11"
],
"status": "done",
"executor_notes": "Audited top-level docs/migration-vibecomfy.md Section 11 and confirmed 14 concrete threshold rows. Audited reigh-worker scripts/artifacts state: no existing scripts/dual_run_compare directory was present; worker matrix coverage exists for z_image_turbo, z_image_turbo_i2i, qwen_image_edit, qwen_image_style, wan_2_2_t2i, and individual_travel_segment with model_name wan_2_2_i2v_lightning_baseline_2_2_2. Created reigh-worker/scripts/dual_run_compare/migration-thresholds.yaml with version 0B-2026-05-05, schema_version 1, row-granular metric defaults for all 14 Section 11 rows, the single approved calibration_status_enum, Cohort A/B direct route seeds, and representative Cohort E dimensional route seeds. Verified YAML parses, metric key order/count matches Section 11, statuses are within the approved enum, route count is 14, and the audited Wan 2.2 I2V route uses model_family wan22_i2v rather than wan22_vace.",
"files_changed": [
"reigh-worker/scripts/dual_run_compare/migration-thresholds.yaml"
],
"commands_run": [
"sed -n '1379,1402p' docs/migration-vibecomfy.md",
"sed -n '1,260p' scripts/worker_matrix_cases.json",
"worker-matrix selected case/model audit with python/json",
"rg -n model-family/model-name spellings across docs and worker sources",
"mkdir -p scripts/dual_run_compare",
"python YAML validation for version, schema_version, 14 expected metric keys, approved enum statuses, route count, and wan22_i2v family assertion",
"test -f .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/execution_batch_2.json && python -m json.tool .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/execution_batch_2.json >/dev/null && echo checkpoint_json_ok"
],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T2",
"description": "Add the threshold package surface under reigh-worker/scripts/dual_run_compare: __init__.py, typed thresholds.py, and check_thresholds.py runnable as python -m scripts.dual_run_compare.check_thresholds [--strict], including strict validation for schema version, complete metric rows, enum membership, override keys, and YAML/manifest sync when manifests exist. Add focused tests for load, completeness, override merge, invalid status rejection, and missing metric rejection.",
"depends_on": [
"T11",
"T1"
],
"status": "done",
"executor_notes": "Added the threshold package surface under reigh-worker/scripts/dual_run_compare: .py, typed thresholds.py, and check_thresholds.py runnable as python -m scripts.dual_run_compare.check_thresholds [--strict]. Validation covers schema_version/version, exact metric row completeness, required metric fields, exact approved calibration_status_enum, route status enum membership, unknown threshold override keys, strict route fields, and golden manifest/YAML sync when manifests exist. Added focused threshold tests for load, completeness, override merge, invalid status rejection, missing metric rejection, unknown override rejection through the strict CLI, and manifest/YAML drift rejection. Verified with python -m scripts.dual_run_compare.check_thresholds --strict and pytest scripts/dual_run_compare/tests/ (12 passed). Repo-wide pytest was attempted; plain pytest failed collection because source was not importable, and PYTHONPATH=. pytest still failed collection on pre-existing missing dependency httpx.",
"files_changed": [
"reigh-worker/scripts/.py",
"reigh-worker/scripts/dual_run_compare/.py",
"reigh-worker/scripts/dual_run_compare/thresholds.py",
"reigh-worker/scripts/dual_run_compare/check_thresholds.py",
"reigh-worker/scripts/dual_run_compare/tests/conftest.py",
"reigh-worker/scripts/dual_run_compare/tests/test_thresholds.py"
],
"commands_run": [
"python -m scripts.dual_run_compare.check_thresholds --strict",
"pytest scripts/dual_run_compare/tests/",
"pytest --tb=no -q --no-header",
"PYTHONPATH=. pytest --tb=no -q --no-header",
"PYTHONPATH=. pytest tests/test_additional_coverage_modules.py -q --tb=short",
"python -m compileall -q scripts/dual_run_compare"
],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T3",
"description": "Implement with documented canonicalization modes for direct Cohort A/B product routes, dimensional Cohort B edit variants, and dimensional Cohort E keys. Include model-family mapping from audited values, especially , with VACE only for actual VACE model names. Add route-key tests covering aliases, edit dimensions, Cohort E shape, slug normalization, determinism, and the I2V-not-VACE assertion.",
"depends_on": [
"T11",
"T1"
],
"status": "done",
"executor_notes": "Implemented route_keys.py with documented canonicalization modes for direct Cohort A/B product routes, dimensional Cohort B edit variants, and dimensional Cohort E keys. The model-family mapping preserves the audited wan_2_2_i2v_lightning_baseline_2_2_2 -> wan22_i2v behavior and maps to wan22_vace only when the model name contains the actual vace token. Added route-key tests covering direct aliases, edit dimensions, Cohort E dimensional key shape, slug normalization, deterministic output, LTX model-family mapping, and the I2V-not-VACE assertion. Verified through pytest scripts/dual_run_compare/tests/ (12 passed) and python -m compileall -q scripts/dual_run_compare.",
"files_changed": [
"reigh-worker/scripts/dual_run_compare/route_keys.py",
"reigh-worker/scripts/dual_run_compare/tests/test_route_keys.py"
],
"commands_run": [
"pytest scripts/dual_run_compare/tests/",
"python -m compileall -q scripts/dual_run_compare"
],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
}
]
code
Prior batch deviations (address if applicable):
[
"Repo-wide pytest was attempted as required but did not pass in this environment. Plain pytest failed during collection because source was not importable; rerunning with PYTHONPATH=. still failed during collection on pre-existing missing dependency httpx. Focused batch validation passed: python -m scripts.dual_run_compare.check_thresholds --strict and pytest scripts/dual_run_compare/tests/ both succeeded.",
"Advisory observation mismatch: executor claimed files not observed in git status/content hash delta: .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/execution_batch_3.json, reigh-worker/scripts/init.py, reigh-worker/scripts/dual_run_compare/init.py, reigh-worker/scripts/dual_run_compare/check_thresholds.py, reigh-worker/scripts/dual_run_compare/route_keys.py, reigh-worker/scripts/dual_run_compare/tests/conftest.py, reigh-worker/scripts/dual_run_compare/tests/test_route_keys.py, reigh-worker/scripts/dual_run_compare/tests/test_thresholds.py, reigh-worker/scripts/dual_run_compare/thresholds.py",
"Advisory audit finding: Executor claimed changed files not present in git status: .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/execution_batch_1.json",
"Advisory audit finding: Git status shows changed files not claimed by any task: megaplan-fix, reigh-app-cloud-chain",
"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: Sense check SC8 is missing an executor acknowledgment.",
"Advisory audit finding: Sense check SC9 is missing an executor acknowledgment.",
"Advisory audit finding: Sense check SC10 is missing an executor acknowledgment.",
"Advisory audit finding: Tasks left pending after execute (executor never started them): T4, T5, T6, T7, T8, T9, T10"
]
code
User action prerequisites:
No user_action prerequisites for this batch.
Batch-scoped sense checks:
[
{
"id": "SC4",
"task_id": "T4",
"question": "Does every YAML route have exactly one matching golden manifest and vice versa, with Cohort E directory names containing task type, model family, guidance kind, continuity case, and profile?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC5",
"task_id": "T5",
"question": "Do all four non-RayWorker fixtures include payload shape, completion handler, billing path, output shape, owner, preserve/move decision, exact route-key spelling, and any alias mismatch?",
"executor_note": "",
"verdict": ""
}
]
code
Full execution tracking source of truth (`finalize.json`):
{
"tasks": [
{
"id": "T11",
"description": "Read user_actions.md. For each before_execute action, programmatically verify completion using bash tools \u2014 grep .env for required keys, query the migrations table, curl the dev server, etc. Reading the file does NOT count as verification; you must run a command. For actions that genuinely cannot be verified mechanically (manual UI checks), explicitly ask the user. If anything is incomplete or unverifiable, mark this task blocked with reason and STOP.",
"depends_on": [],
"status": "blocked",
"executor_notes": "Read .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/user_actions.md and mechanically checked the only before_execute item, U1. RunPod-related env keys are present in reigh-worker/.env and runpod-lifecycle/.env, and RunPod CLIs are installed, but live access was not verified: runpod config --check reported the default profile missing, RunPod API/pod listing failed due DNS/network resolution for api.runpod.io, nvidia-smi is unavailable locally, and df -h . reigh-worker showed only about 7.5 GiB free locally. Because U1 cannot be confirmed complete for live Cohort A WGP-vs-WGP calibration, execution stopped before downstream tasks.",
"files_changed": [
[REDACTED]
],
"commands_run": [
"sed -n '1,220p' .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/user_actions.md",
"find . -maxdepth 3 \( -name '.env' -o -name '.env.*' \) -type f -print",
"command -v runpodctl; command -v runpod; df -h . reigh-worker 2>/dev/null",
"env | awk -F= "/^(RUNPOD|RUN_POD|GPU|WAN2GP|WGP|SUPABASE|DATABASE_URL)/ {print $1}" | sort",
"runpodctl --help | sed -n "1,80p"; runpod --help | sed -n "1,80p"",
"runpodctl config --help | sed -n "1,120p"; runpod config --help | sed -n "1,120p"",
"nvidia-smi --query-gpu=name,memory.total --format=csv,noheader",
"runpod config --check",
"runpodctl get pod",
"runpod pod list",
"python env-key presence check for RunPod/WGP-related keys"
],
"evidence_files": [],
"reviewer_verdict": ""
},
{
"id": "T1",
"description": "In reigh-worker, audit docs/migration-vibecomfy.md Section 11 and existing scripts/dual_run_compare state, then create scripts/dual_run_compare/migration-thresholds.yaml with version 0B-2026-05-05, schema version 1, row-granular metric keys/defaults for every concrete Section 11 threshold row, the single calibration status enum, and seeded Cohort A/B plus representative Cohort E route entries using audited model-family values.",
"depends_on": [
"T11"
],
"status": "done",
"executor_notes": "Audited top-level docs/migration-vibecomfy.md Section 11 and confirmed 14 concrete threshold rows. Audited reigh-worker scripts/artifacts state: no existing scripts/dual_run_compare directory was present; worker matrix coverage exists for z_image_turbo, z_image_turbo_i2i, qwen_image_edit, qwen_image_style, wan_2_2_t2i, and individual_travel_segment with model_name wan_2_2_i2v_lightning_baseline_2_2_2. Created reigh-worker/scripts/dual_run_compare/migration-thresholds.yaml with version 0B-2026-05-05, schema_version 1, row-granular metric defaults for all 14 Section 11 rows, the single approved calibration_status_enum, Cohort A/B direct route seeds, and representative Cohort E dimensional route seeds. Verified YAML parses, metric key order/count matches Section 11, statuses are within the approved enum, route count is 14, and the audited Wan 2.2 I2V route uses model_family wan22_i2v rather than wan22_vace.",
"files_changed": [
"reigh-worker/scripts/dual_run_compare/migration-thresholds.yaml"
],
"commands_run": [
"sed -n '1379,1402p' docs/migration-vibecomfy.md",
"sed -n '1,260p' scripts/worker_matrix_cases.json",
"worker-matrix selected case/model audit with python/json",
"rg -n model-family/model-name spellings across docs and worker sources",
"mkdir -p scripts/dual_run_compare",
"python YAML validation for version, schema_version, 14 expected metric keys, approved enum statuses, route count, and wan22_i2v family assertion",
"test -f .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/execution_batch_2.json && python -m json.tool .megaplan/plans/sprint-0b-thresholds-and-20260505-2252/execution_batch_2.json >/dev/null && echo checkpoint_json_ok"
],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T2",
"description": "Add the threshold package surface under : , typed , and runnable as , including strict validation for schema version, complete metric rows, enum membership, override keys, and YAML/manifest sync when manifests exist. Add focused tests for load, completeness, override merge, invalid status rejection, and missing metric rejection.",
"depends_on": [
"T11",
"T1"
],
"status": "done",
"executor_notes": "Added the threshold package surface under reigh-worker/scripts/dual_run_compare: .py, typed thresholds.py, and check_thresholds.py runnable as python -m scripts.dual_run_compare.check_thresholds [--strict]. Validation covers schema_version/version, exact metric row completeness, required metric fields, exact approved calibration_status_enum, route status enum membership, unknown threshold override keys, strict route fields, and golden manifest/YAML sync when manifests exist. Added focused threshold tests for load, completeness, override merge, invalid status rejection, missing metric rejection, unknown override rejection through the strict CLI, and manifest/YAML drift rejection. Verified with python -m scripts.dual_run_compare.check_thresholds --strict and pytest scripts/dual_run_compare/tests/ (12 passed). Repo-wide pytest was attempted; plain pytest failed collection because source was not importable, and PYTHONPATH=. pytest still failed collection on pre-existing missing dependency httpx.",
"files_changed": [
"reigh-worker/scripts/.py",
"reigh-worker/scripts/dual_run_compare/.py",
"reigh-worker/scripts/dual_run_compare/thresholds.py",
"reigh-worker/scripts/dual_run_compare/check_thresholds.py",
"reigh-worker/scripts/dual_run_compare/tests/conftest.py",
"reigh-worker/scripts/dual_run_compare/tests/test_thresholds.py"
],
"commands_run": [
"python -m scripts.dual_run_compare.check_thresholds --strict",
"pytest scripts/dual_run_compare/tests/",
"pytest --tb=no -q --no-header",
"PYTHONPATH=. pytest --tb=no -q --no-header",
"PYTHONPATH=. pytest tests/test_additional_coverage_modules.py -q --tb=short",
"python -m compileall -q scripts/dual_run_compare"
],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T3",
"description": "Implement with documented canonicalization modes for direct Cohort A/B product routes, dimensional Cohort B edit variants, and dimensional Cohort E keys. Include model-family mapping from audited values, especially , with VACE only for actual VACE model names. Add route-key tests covering aliases, edit dimensions, Cohort E shape, slug normalization, determinism, and the I2V-not-VACE assertion.",
"depends_on": [
"T11",
"T1"
],
"status": "done",
"executor_notes": "Implemented route_keys.py with documented canonicalization modes for direct Cohort A/B product routes, dimensional Cohort B edit variants, and dimensional Cohort E keys. The model-family mapping preserves the audited wan_2_2_i2v_lightning_baseline_2_2_2 -> wan22_i2v behavior and maps to wan22_vace only when the model name contains the actual vace token. Added route-key tests covering direct aliases, edit dimensions, Cohort E dimensional key shape, slug normalization, deterministic output, LTX model-family mapping, and the I2V-not-VACE assertion. Verified through pytest scripts/dual_run_compare/tests/ (12 passed) and python -m compileall -q scripts/dual_run_compare.",
"files_changed": [
"reigh-worker/scripts/dual_run_compare/route_keys.py",
"reigh-worker/scripts/dual_run_compare/tests/test_route_keys.py"
],
"commands_run": [
"pytest scripts/dual_run_compare/tests/",
"python -m compileall -q scripts/dual_run_compare"
],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T4",
"description": "Create route-keyed golden corpus manifests under for required Cohort A direct routes, Cohort B direct preservation routes, and at least four representative Cohort E dimensional routes. Each manifest must include all required metadata fields, use canonical route keys, record missing worker-matrix coverage as , and point to local seed payload references under where needed. Add tests asserting YAML/manifests have no orphan routes, Cohort E directories are dimensional, I2V travel routes are not VACE-keyed, and missing matrix cases are explicit.",
"depends_on": [
"T11",
"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": "Add non-RayWorker preservation fixtures under for , , , and , plus a committed . Source handler and contract details from , validate active spellings against when present, and include tests that always validate fixture JSON/snapshot while gracefully skipping only the sibling-repo live registry assertion when absent.",
"depends_on": [
"T11",
"T3"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T6",
"description": "Implement around the real live-test CLI contract: . Support paired live runs when available, when GPU execution is blocked, threshold comparison through , JSON and Markdown reports under , and command-construction smoke coverage proving invalid flags such as positional , , , and generic are not used.",
"depends_on": [
"T11",
"T2",
"T4"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T7",
"description": "Produce the Sprint 0B WGP repeatability evidence artifact. Attempt live Cohort A WGP-vs-WGP repeatability only if the required RunPod/GPU access is actually available; otherwise run and commit machine-readable JSON plus Markdown reports listing every required route, attempted command shape, blocker, calibration status, and next action. Update YAML route statuses and notes to reference the report, using for routes blocked by the 50 GB pod limit.",
"depends_on": [
"T11",
"T6"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T8",
"description": "Update top-level docs after artifacts are final: add to with YAML path, version, metric row list, route-key module, golden manifest layout, report path, and status summary; update Sprint 0/3/3.5/11 references so the YAML version is named as the executable threshold source of truth.",
"depends_on": [
"T11",
"T7"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T9",
"description": "Add the Sprint 0B performance review record at , following the Sprint 0A template and recording sprint identity, intended scope, actual outcome, verification, known blockers, calibration status, completion assessment, and next action.",
"depends_on": [
"T11",
"T8"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T10",
"description": "Run final validation from : , focused , and any narrower relevant checks needed for edited files. If failures occur, inspect errors, fix the implementation, and rerun until local non-GPU validation passes. Also create a short throwaway script to exercise threshold loading, a representative route override merge, and one canonical Cohort E route key; run it, confirm behavior, then delete it before finishing.",
"depends_on": [
"T11",
"T1",
"T2",
"T3",
"T4",
"T5",
"T6",
"T7",
"T8",
"T9"
],
"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 nested megaplan tooling or read/activate the megaplan skill; this briefing is for direct execution only.",
" is a nested git repository. Keep worker artifacts in that repo and top-level docs in the workspace repo; do not mix commit assumptions.",
"Section 11 in is the source of truth for threshold rows. If it has more concrete rows than expected, add them immediately and update tests.",
"Preserve metric identity at row granularity; do not collapse video duration and audio duration, pHash mean and p95, or dimensions and format into broad classes.",
"Use exactly one calibration status enum: , , , , . Strict validation must reject unknown values.",
"Cohort A/B direct product routes use direct route keys; Cohort B edit variants use dimensional edit keys when those dimensions are present; Cohort E always uses dimensional keys.",
"Derive Cohort E from audited . must key as , not .",
"Friendly task names belong only in manifest metadata, not as substitutes for dimensional route-key directories.",
"Do not assume covers every required route. Missing cases need explicit seed fixture references and .",
"Non-RayWorker fixture tests must remain deterministic in a -only checkout by validating the committed registry snapshot and skipping only the sibling orchestrator live assertion when absent.",
" must use the real live-test CLI flags: , , , , and ; never use positional , , , or generic .",
"If RunPod, credentials, disk, or hardware access blocks live WGP calibration, produce a committed deferral report artifact rather than leaving the deliverable as narrative status.",
"Keep synchronized with the exact YAML version, route list, manifest layout, and report status produced in the worker repo.",
"Do not worsen unrelated debt watch items from previous plans; this sprint is focused on threshold/golden-corpus artifacts and docs."
],
"sense_checks": [
{
"id": "SC1",
"task_id": "T1",
"question": "Does include version , schema version 1, every concrete Section 11 metric row as a distinct key/default, and only the approved calibration status enum?",
"executor_note": "Yes. migration-thresholds.yaml has version 0B-2026-05-05, schema_version 1, all 14 concrete Section 11 metric rows as distinct metric keys/defaults, and the only calibration statuses declared are green, pending_calibration, deferred_pending_sprint_0c_disk, wgp_only, and owner_deferred. A Python YAML validation command confirmed the metric count/order and that all route statuses are within the approved enum.",
"verdict": ""
},
{
"id": "SC2",
"task_id": "T2",
"question": "Does reject incomplete metrics, invalid statuses, unknown route override keys, and manifest/YAML drift when manifests exist?",
"executor_note": "Yes. python -m scripts.dual_run_compare.check_thresholds --strict passes on the committed YAML, and the threshold test module verifies strict rejection of missing metric rows, invalid route statuses, unknown route override keys, and manifest/YAML drift when a golden manifest exists.",
"verdict": ""
},
{
"id": "SC3",
"task_id": "T3",
"question": "Do route-key tests prove direct Cohort A/B aliases, Cohort B edit dimensions, Cohort E dimensional keys, deterministic slugging, and ?",
"executor_note": "Yes. The route-key tests cover direct Cohort A/B aliases, dimensional Cohort B edit variants, Cohort E dimensional key shape, slug normalization/determinism, LTX mapping, and the explicit wan_2_2_i2v_lightning_baseline_2_2_2 -> wan22_i2v assertion with no VACE keying.",
"verdict": ""
},
{
"id": "SC4",
"task_id": "T4",
"question": "Does every YAML route have exactly one matching golden manifest and vice versa, with Cohort E directory names containing task type, model family, guidance kind, continuity case, and profile?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC5",
"task_id": "T5",
"question": "Do all four non-RayWorker fixtures include payload shape, completion handler, billing path, output shape, owner, preserve/move decision, exact route-key spelling, and any alias mismatch?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC6",
"task_id": "T6",
"question": "Does WGP command construction include the three named timeout flags and exclude every known invalid live-test argument?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC7",
"task_id": "T7",
"question": "Is there a committed JSON and Markdown WGP repeatability or deferral report under , and do YAML route statuses/notes point to it accurately?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC8",
"task_id": "T8",
"question": "Do both live-validation and migration docs name the YAML version/path and explain that it is the executable threshold source of truth for later sprints?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC9",
"task_id": "T9",
"question": "Does the performance review stub follow the Sprint 0A record shape and capture verification, blockers, calibration status, completion assessment, and next action?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC10",
"task_id": "T10",
"question": "Do strict threshold validation, focused dual-run-compare tests, and the deleted throwaway smoke script all pass locally without GPU access?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC11",
"task_id": "T11",
"question": "Were all before_execute user_actions programmatically verified before execution proceeded?",
"executor_note": "No. The before_execute action U1 was checked mechanically, but full live RunPod/GPU access and sufficient capacity could not be verified in this environment, so execution stopped and T11 is blocked.",
"verdict": ""
}
],
"user_actions": [
{
"id": "U1",
"description": "Provide RunPod/GPU credentials, pod access, and sufficient disk capacity if live Cohort A WGP-vs-WGP calibration is required instead of a committed deferral report.",
"phase": "before_execute",
"blocks_task_ids": [
"T7"
],
"rationale": "Local repo execution can create the harness and deferral report, but live calibration needs external infrastructure access.",
"requires_human_only_reason": "RunPod/GPU access and credentials are outside repo-editing work and cannot be manufactured by the executor."
},
{
"id": "U2",
"description": "Review and approve non-RayWorker route owner decisions if the committed fixtures need to claim owner-approved preservation versus explicit deferral.",
"phase": "after_execute",
"blocks_task_ids": [],
"rationale": "The executor can document interim owners and rationale, but formal route-owner approval may be an out-of-band product/operations decision.",
"requires_human_only_reason": "Owner approval is an organizational approval, not a repository edit."
}
],
"meta_commentary": "Execute in the approved order: threshold contract first, [REDACTED] second, manifests/fixtures next, WGP report artifact, then docs and review record. The highest-risk mistakes are value-level route-key drift for Cohort E, silently using the wrong live-test CLI, and leaving WGP repeatability as prose instead of a committed artifact. Treat the deferral report as the correct no-GPU path, but make it machine-readable and route-keyed. Keep all worker artifacts under and run final validation from inside .",
"validation": {
"plan_steps_covered": [
{
"plan_step_summary": "Step 1: Audit Section 11 threshold rows and existing dual-run compare consumers",
"finalize_item_ids": [
"T1"
]
},
{
"plan_step_summary": "Step 2: Author with row-granular defaults and route statuses",
"finalize_item_ids": [
"T1"
]
},
{
"plan_step_summary": "Step 3: Add threshold parser, smoke CLI, and threshold tests",
"finalize_item_ids": [
"T2",
"T10"
]
},
{
"plan_step_summary": "Step 4: Define canonical route-key schema and tests",
"finalize_item_ids": [
"T3",
"T10"
]
},
{
"plan_step_summary": "Step 5: Create route-keyed golden corpus manifests and tests",
"finalize_item_ids": [
"T4",
"T10"
]
},
{
"plan_step_summary": "Step 6: Author non-RayWorker preservation fixtures and validation tests",
"finalize_item_ids": [
"T5",
"U2",
"T10"
]
},
{
"plan_step_summary": "Step 7: Add WGP self-repeatability harness using real live-test CLI",
"finalize_item_ids": [
"T6",
"T10"
]
},
{
"plan_step_summary": "Step 8: Produce Sprint 0B repeatability or deferral evidence",
"finalize_item_ids": [
"T7",
"U1",
"T10"
]
},
{
"plan_step_summary": "Step 9: Update live-validation and migration docs to cite YAML version/source of truth",
"finalize_item_ids": [
"T8"
]
},
{
"plan_step_summary": "Step 10: Add Sprint 0B performance review stub",
"finalize_item_ids": [
"T9"
]
},
{
"plan_step_summary": "Verify before_execute user_actions",
"finalize_item_ids": [
"T11"
]
}
],
"orphan_tasks": [],
"completeness_notes": "All approved plan steps are mapped to execution tasks. The only human-only coverage is for optional live RunPod calibration and out-of-band owner approval; repo-editable deferral artifacts and fixture rationale remain executor tasks. Final validation is centralized in T10 and includes the specified strict smoke command, focused tests, and a deleted throwaway smoke script.",
"coverage_complete": true
},
"baseline_test_failures": null,
"baseline_test_command": "pytest --tb=no -q --no-header",
"baseline_test_note": "Baseline test capture timed out after 120 seconds while running: 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 / to be safe in strict typescript. (flagged 1 times across 1 plans)
“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/01m80eqhz6drdpev6z42rj229p
[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-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] 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] 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] 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] 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] 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/sprint-0b-thresholds-and-20260505-2252/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.
[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-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] 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] 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] 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] 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] 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: [T2, T3]
- Only produce `sense_check_acknowledgments` for these sense checks: [SC2, SC3]
- 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/sprint-0b-thresholds-and-20260505-2252/execution_batch_3.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.
[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-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] 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] 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] 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] 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] 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: [T4, T5]
- Only produce `sense_check_acknowledgments` for these sense checks: [SC4, SC5]
- 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/sprint-0b-thresholds-and-20260505-2252/execution_batch_4.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.