"tasks": [
{
"id": "T14",
"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": "Fix side-effect-free AST model asset extraction in VibeComfy by adding a narrow literal resolver for top-level constants and applying it to both vibecomfy/porting/assets.py::metadata_from_python_module() and vibecomfy/model_assets.py::entries_from_scratchpad_path(). Update existing asset tests to cover READY_METADATA and READY_REQUIREMENTS referencing a module-level model asset constant.",
"depends_on": [
"T14"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T2",
"description": "Implement compile-time positional widget alias cleanup so known widget_N inputs are rewritten to named inputs and removed from compiled API output when an alias exists, while unresolved widgets remain visible for diagnostics. Add/update existing workflow/widget tests for aliased LTX/KJ/VHS classes.",
"depends_on": [
"T14",
"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": "Add strict production/app-parity readiness checks on the existing VibeComfy port/validate/doctor surface, not a new parallel doctor. Gate production-ready templates on compiled API unresolved widgets, schema issues, unknown classes, helper diagnostics, required inputs/connections, hard compile failures, and existing manifest or worker-contract production scope.",
"depends_on": [
"T14",
"T2"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T4",
"description": "Extend strict readiness to assert graph-level output artifact declarations for production/app-parity ready templates: require at least one workflow output, mappable save/artifact node semantics, named output/save fields after alias cleanup, and video save fields such as filename_prefix, format, and save_output where schema/aliases support them.",
"depends_on": [
"T14",
"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": "Preserve and finish current LTX raw guide fixes in ready_templates/video/ltx2_3_runexx_first_last_raw_video_guide.py and related widget schema/alias files. Verify runtime defaults and Kijai model asset declarations, then inspect nearby ready_templates/video/ltx2_3_runexx_*.py templates and apply only blocker-driven fixes.",
"depends_on": [
"T14",
"T2",
"T3",
"T4"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T6",
"description": "Add/update focused regression coverage in existing test files for the LTX raw guide, strict production readiness, structured port check/port widgets reports, URL-bearing Kijai assets, output artifact fields, and a negative production fixture with unresolved widget_0 on a known schema class. Update existing test files rather than creating new test files unless the repo already has the exact target file pattern.",
"depends_on": [
"T14",
"T1",
"T2",
"T3",
"T4",
"T5"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T7",
"description": "Run the local lifecycle commands against the LTX raw guide and nearby LTX Runexx templates: port check --json, port widgets --json, validate, doctor --json, and model asset dry-run where available. Treat missing local model files as acceptable only when URL-bearing declarations are present and the dry-run/report sees them; record exact blockers in repo docs or evidence notes if any remain.",
"depends_on": [
"T14",
"T5",
"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": "Add a concise Workflow Lifecycle Gates checklist to agent-facing docs: AGENTS.md, README.md, docs/adding_templates_models.md, docs/template_porting_workbench.md, and ready_templates/README.md as appropriate. Cover raw JSON import, existing ready-template fix, ready-template fork, and from-scratch Python workflow, split into programmatic gates and agentic responsibilities, and link to detailed docs instead of duplicating long reference prose.",
"depends_on": [
"T14",
"T3",
"T4",
"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": "Audit /tmp/reigh-worker/source/models/comfy/vibecomfy_adapter.py and /tmp/reigh-worker/scripts/capability_contracts for arbitrary widget_N knowledge. Classify each occurrence as migrate-now, deferred compatibility shim, or unrelated generated scratchpad code; migrate safe cases into VibeComfy aliases/template semantic fields and document deferred cases with owner/removal condition.",
"depends_on": [
"T14",
"T2",
"T5"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T10",
"description": "Strengthen worker boundary validation without moving graph validation into the worker: if static validation is added, invoke VibeComfy CLI/readiness for referenced templates. Keep worker capability contracts focused on route/task mapping, variant axes, product artifact contracts, app inventory, and live evidence. Regenerate or check docs/vibecomfy-app-parity-tracker.md from contract sources if worker contract files change.",
"depends_on": [
"T14",
"T3",
"T4",
"T8",
"T9"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T11",
"description": "Run focused VibeComfy tests for changed surfaces and fix failures: PYENV_VERSION=3.11.11 python -m pytest tests/test_model_assets.py tests/test_porting_assets.py tests/test_porting_workbench.py tests/test_ready_templates.py::test_ltx_first_last_raw_video_guide_exposes_worker_patch_points -q, then the broader ready-template, workflow core, node install, porting, schema, doctor, and template index checks listed in the approved plan.",
"depends_on": [
"T14",
"T6",
"T7",
"T8"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T12",
"description": "Run worker static checks from /tmp/reigh-worker with the macOS ARM workaround: PYTHONPATH=/tmp/reigh-worker/.live_test_deps PYENV_VERSION=3.11.11 python -m pytest scripts/live_test/tests/test_primitives.py -q and PYENV_VERSION=3.11.11 python -m scripts.capability_contracts.report --vibecomfy-path /tmp/vibecomfy render --check docs/vibecomfy-app-parity-tracker.md. Fix source drift rather than hand-editing generated markdown.",
"depends_on": [
"T14",
"T10",
"T11"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T13",
"description": "Final verification task: run all relevant existing tests and commands after fixes, write and run a short throwaway repro script that compiles the LTX raw guide and asserts the previously failing classes have named inputs and no aliased raw widget_* keys, delete the script, then run the focused RunPod live case if credentials/environment permit. Use --terminate, inspect report/metadata/artifact evidence, verify no reigh-live-test-fresh-* pods remain, and document exact blockers instead of claiming parity if live validation cannot complete.",
"depends_on": [
"T14",
"T11",
"T12"
],
"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; execute directly in the current harness.",
"Preserve uncommitted user/agent work, especially existing LTX aliases, runtime defaults, model asset declarations, doctor helper filtering, and focused ready-template assertions.",
"Keep enforcement on existing VibeComfy tools: port check, port widgets, validate, doctor, ready-template tests, worker contract reports, and RunPod/live checks. Do not introduce a parallel doctor.",
"Implement compiled API alias cleanup before strict unresolved-widget gates, or the known LTX target will fail for the wrong reason.",
"Fix both AST asset extraction paths; entries_from_scratchpad_path() is still a public/legacy path even if CLI smoke tests primarily use the newer porting extractor.",
"Strict readiness should initially target production/app-parity templates, including required manifest entries and worker-contract-referenced templates, not all exploratory ready templates.",
"Output artifact readiness is a first-class gate: production templates need declared outputs and save-node semantics that downstream tools can map.",
"Worker code should not become the owner of arbitrary widget_N meanings; every occurrence must be migrated or explicitly deferred with owner/removal condition.",
"Worker uv run may be blocked on macOS ARM due to locked decord==0.6.0; use the documented PYTHONPATH=/tmp/reigh-worker/.live_test_deps PYENV_VERSION=3.11.11 pattern.",
"RunPod, model downloads, cloud account limits, gated Hugging Face assets, and credentials may block live validation; record exact output and cleanup status if blocked.",
"Do not claim 100% parity unless worker contracts and actual successful RunPod output both prove it.",
"Before any live RunPod attempt, complete cheap local VibeComfy and worker static gates; after any attempt, verify no stale reigh-live-test-fresh-* pods remain."
],
"sense_checks": [
{
"id": "SC1",
"task_id": "T1",
"question": "Do both metadata_from_python_module() and entries_from_scratchpad_path() parse top-level literal constants referenced by READY_METADATA and READY_REQUIREMENTS without importing the module?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC2",
"task_id": "T2",
"question": "Does compiled API output remove raw widget_* keys only when a committed alias rewrites them to named inputs, while preserving unresolved widgets for diagnostics?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC3",
"task_id": "T3",
"question": "Can production/app-parity ready templates fail a local strict gate for unresolved widgets, schema issues, unknown classes, missing required inputs, helper diagnostics, and compile failures without changing non-strict scratchpad behavior?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC4",
"task_id": "T4",
"question": "Does strict readiness fail production templates that lack workflow.outputs or mappable save/artifact node semantics, including expected video save fields where available?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC5",
"task_id": "T5",
"question": "Does the LTX raw guide compile with named inputs and no aliased raw widgets for the previously failing LTX/KJ/VHS classes, and are nearby Runexx fixes limited to templates with real blockers?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC6",
"task_id": "T6",
"question": "Would the added regression coverage have caught the original RunPod failure before a live run, including AST asset constants, raw compiled widgets, output artifact declarations, and structured CLI reports?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC7",
"task_id": "T7",
"question": "Do port check, port widgets, validate, and doctor on the LTX raw guide return actionable local evidence, with missing local model files distinguished from missing URL-bearing model declarations?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC8",
"task_id": "T8",
"question": "Can an executor follow the docs checklist for all four entry paths and clearly distinguish programmatic gates from agentic responsibilities without reading a giant reference rewrite?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC9",
"task_id": "T9",
"question": "Is every worker-side arbitrary widget_N mapping inventoried and classified as migrated, deferred compatibility shim, or unrelated generated scratchpad code?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC10",
"task_id": "T10",
"question": "Does worker-side validation invoke VibeComfy readiness for graph correctness and keep worker contracts focused on product parity and live evidence?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC11",
"task_id": "T11",
"question": "Do the focused and broader VibeComfy checks listed in the approved plan pass after the implementation, including template index freshness?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC12",
"task_id": "T12",
"question": "Do worker primitive tests and capability contract render/check pass against the updated VibeComfy checkout, or is any drift tied back to source files rather than generated markdown edits?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC13",
"task_id": "T13",
"question": "Does the final validation include existing tests, a deleted throwaway repro for the specific LTX compiled-widget bug, and either successful RunPod evidence with pod cleanup or exact live-validation blockers?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC14",
"task_id": "T14",
"question": "Were all before_execute user_actions programmatically verified before execution proceeded?",
"executor_note": "",
"verdict": ""
}
],
"user_actions": [
{
"id": "U1",
"description": "Provide or confirm RunPod and any gated model/Hugging Face credentials needed for the focused live test, including RUNPOD_API_KEY and model access expected by the LTX/Kijai assets.",
"phase": "before_execute",
"blocks_task_ids": [
"T13"
],
"rationale": "The executor can complete local/static gates without credentials, but the live RunPod proof and model staging may require cloud secrets and gated asset access.",
"requires_human_only_reason": null
},
{
"id": "U2",
"description": "If the live RunPod test is run, review any cloud billing/account-limit warnings outside the repository environment and confirm no organizational policy blocks the focused GPU run.",
"phase": "before_execute",
"blocks_task_ids": [
"T13"
],
"rationale": "RunPod account limits, spend caps, or organizational approvals are operational controls outside repo-editing work.",
"requires_human_only_reason": null
}
],
"meta_commentary": "Execution should start with asset extraction and compile alias cleanup because later strict gates depend on both. Keep changes narrow and existing-tooling centered: strengthen port check/port widgets/validate/doctor and tests rather than creating a new readiness subsystem. Treat the LTX raw guide as the first battle test, but inspect nearby Runexx templates only for the same failure class. For worker work, do not migrate all semantics opportunistically; inventory every widget_N use, move safe cases into VibeComfy aliases/template fields, and explicitly document deferred compatibility shims. The final RunPod step is evidence, not a prerequisite for local correctness; if credentials or model access block it, record the exact command output and cleanup status and avoid parity claims.",
"validation": {
"plan_steps_covered": [
{
"plan_step_summary": "Step 1: Fix Python ready-template asset parsing in both AST extractors.",
"finalize_item_ids": [
"T1"
]
},
{
"plan_step_summary": "Step 2: Rewrite compiled positional widgets after aliasing.",
"finalize_item_ids": [
"T2"
]
},
{
"plan_step_summary": "Step 3: Add strict production readiness checks to existing tooling.",
"finalize_item_ids": [
"T3"
]
},
{
"plan_step_summary": "Step 4: Add explicit output artifact readiness assertions.",
"finalize_item_ids": [
"T4"
]
},
{
"plan_step_summary": "Step 5: Preserve and finish current LTX fixes and inspect nearby templates.",
"finalize_item_ids": [
"T5"
]
},
{
"plan_step_summary": "Step 6: Add focused regression tests.",
"finalize_item_ids": [
"T6"
]
},
{
"plan_step_summary": "Step 7: Run local lifecycle on target and nearby templates.",
"finalize_item_ids": [
"T7"
]
},
{
"plan_step_summary": "Step 8: Add concise lifecycle checklist to docs.",
"finalize_item_ids": [
"T8"
]
},
{
"plan_step_summary": "Step 9: Audit worker-side positional widget knowledge.",
"finalize_item_ids": [
"T9"
]
},
{
"plan_step_summary": "Step 10: Strengthen worker contract validation at the boundary.",
"finalize_item_ids": [
"T10"
]
},
{
"plan_step_summary": "Step 11: Run focused VibeComfy tests.",
"finalize_item_ids": [
"T11"
]
},
{
"plan_step_summary": "Step 12: Run worker static checks.",
"finalize_item_ids": [
"T12"
]
},
{
"plan_step_summary": "Step 13: Rerun focused RunPod live test when credentials permit and verify cleanup.",
"finalize_item_ids": [
"T13",
"U1",
"U2"
]
},
{
"plan_step_summary": "Verify before_execute user_actions",
"finalize_item_ids": [
"T14"
]
}
],
"orphan_tasks": [],
"completeness_notes": "All approved plan steps map to ordered executor tasks. Human actions are limited to cloud credentials/account controls for the live RunPod step; all code, docs, tests, audits, and command execution remain tasks. The final task explicitly includes existing test execution, a temporary repro script for the specific LTX compiled-widget bug, deletion of that script, and live-validation evidence or exact blockers.",
"coverage_complete": true
},
"baseline_test_failures": [],
"baseline_test_command": "pytest --tb=no -q --no-header",
"baseline_test_note": "No baseline commands were run while preparing this execution-ready briefing; the executor should run the listed focused and broader checks during T11-T13."
}