"tasks": [
{
"id": "T1",
"description": "Pre-flight the repository: inspect current git status, finish or land the in-flight threads/iteration work already present in the workspace, run baseline ArtAgents smoke commands, and record the final executor/orchestrator/element inventory from the clean starting point. Partition that inventory by first qualified-id segment so non-builtin shipped content goes to matching packs such as external, upload, and iteration.",
"depends_on": [],
"status": "done",
"executor_notes": "Pre-flight complete. Initial status showed the expected in-flight threads/iteration work; python3 -m artagents thread show @active reported no active thread, which is acceptable because no run was invoked. Smoke commands passed: doctor, setup dry-run, --help, and executor/orchestrator/element registry lists. Full baseline suite passed: 454 passed, 4 skipped, 2 xfailed, 3 warnings, 112 subtests passed. Landed the in-flight work on main as commit 4160cfc Land threads and iteration preflight work, leaving git status --short clean. Inventory: executors=34 partitioned as builtin=28, external=3, iteration=2, upload=1; orchestrators=5 partitioned as builtin=5; elements=9 currently exposed through managed defaults and destined for builtin pack partition as animations=6, effects=1, transitions=2.",
"files_changed": [
"SKILL.md",
"artagents/executors/",
"artagents/modalities/",
"artagents/orchestrators/",
"artagents/pipeline.py",
"artagents/structure.py",
"artagents/threads/",
"artagents/timeline.py",
"docs/",
"remotion/src/types.generated.ts",
"requirements.txt",
"tests/"
],
"commands_run": [
"git status --short",
"python3 -m artagents thread show @active",
"python3 -m artagents --help",
"python3 -m artagents doctor",
"python3 -m artagents setup",
"python3 -m artagents orchestrators list --json",
"python3 -m artagents executors list --json",
"python3 -m artagents elements list --json",
"python3 -m artagents orchestrators list",
"python3 -m artagents executors list",
"python3 -m artagents elements list",
"pytest --tb=no -q --no-header",
"git add . && git commit -m "Land threads and iteration preflight work"",
"git add docs/sprint-thread-layer.md && git commit --amend --no-edit",
"git status --short"
],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T2",
"description": "Audit element runtime coupling before moving files: inspect scripts/gen_effect_registry.py, Remotion source, remotion/tsconfig.json, remotion/remotion.config.ts, and remotion/webpack-alias.mjs for direct JSON manifest or old alias usage. Decide the exact element.yaml-to-Remotion generation path and document any discovered coupling in code comments or tests only where useful.",
"depends_on": [
"T1"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T3",
"description": "Move framework-only modules into artagents/core/executor, artagents/core/orchestrator, and artagents/core/element. Update first-party imports across CLI, doctor, setup, structure validation, timeline, scripts, and run modules. Do not leave facade packages or compatibility import shims under the old artagents.executors, artagents.orchestrators, or artagents.elements paths.",
"depends_on": [
"T1"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T4",
"description": "Implement pack discovery and strict id validation in artagents/core/pack.py and the core registries. Discover only folders under artagents/packs/ with pack.yaml, validate pack ids and manifest ids, attach pack metadata, load executor/orchestrator/element manifests from packs, reject misplaced ids whose first segment does not match the pack, and remove old builtin/bundled/project-folder scans except structural helpers that remain necessary.",
"depends_on": [
"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": "Purge bare-id and alias compatibility: enforce qualified ids at schema and CLI lookup boundaries, delete executor_id_for_step(), _resolve_alias(), the build_steps() alias, and the deprecated --plan flag, and make --brief the supported hype entrypoint.",
"depends_on": [
"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": "Move executor content into id-matching packs. Create shipped pack.yaml files, move builtin executors to artagents/packs/builtin/<name>/, move non-builtin ids to their first-segment packs, preserve STAGE.md, run.py, __init__.py, requirements and src/ subdirectories, update manifest runtime module paths to artagents.packs.<pack>..., and rename package_id metadata to pack_id.",
"depends_on": [
"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": "Move orchestrator content into id-matching packs and wire orchestrator metadata. Preserve orchestrator files, update runtime module paths and child references to qualified ids, add requires_output_path to orchestrator manifests, and replace hardcoded output-path checks for builtin.hype, builtin.thumbnail_maker, and builtin.event_talks with the schema field.",
"depends_on": [
"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": "Move bundled elements into packs and convert manifests. Move the 9 bundled animation/effect/transition folders into artagents/packs/builtin/<element-id>/, convert meta.json, schema.json, and defaults.json into a single element.yaml with kind: animation|effect|transition, keep component.tsx, and update element registry/schema plus Remotion generation and aliases including webpack-alias.mjs.",
"depends_on": [
"T2",
"T4"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T9",
"description": "Replace the old local element source model with artagents/packs/local/. Update .gitignore, setup scaffolding, element sync/fork/install/update behavior, docs templates touched by those commands, and Remotion aliases so no default source reads .artagents/elements/managed, .artagents/elements/overrides, or artagents/elements/bundled.",
"depends_on": [
"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": "Complete runtime wiring and purge old routing shims. Delete the pipeline.py re-export shim and _sync_hype_aliases(), route the top-level brief entrypoint through the orchestrator registry to builtin.hype, simplify _paths.executor_argv() by removing _EXECUTOR_MODULE_OVERRIDES, replace hardcoded builtin.{step_name} constructions with declared qualified ids or registry metadata, and update direct runtime imports to pack modules or registry-backed execution.",
"depends_on": [
"T6",
"T7"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T11",
"description": "Update executor install and structure logic for packs. Move venv planning to .artagents/venvs/<pack>.<name>/venv, use declared pack_id for pack-level shared venvs, remove all old .artagents/executors/<bare>/venv lookup, remove obsolete executor skip rules such as actions, and update structure validation to check pack folders and manifest names.",
"depends_on": [
"T6",
"T10"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T12",
"description": "Rewrite tests for the new architecture. Replace direct imports from old content paths with registry metadata helpers or new pack module paths, delete wrapper-compatibility assertions, surgically fix path-sensitive tests, add pack discovery/schema/qualified-id tests, verify non-builtin shipped ids live in matching packs, and ensure CLI tests reject bare ids and accept qualified ids.",
"depends_on": [
"T5",
"T9",
"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": "Update docs and tool templates for the clean packs world only. Replace old top-level executor/orchestrator/element paths, update creation flow to create content inside packs, document artagents/packs/local/, update examples to qualified ids, and avoid documenting migration commands, fallbacks, or shims.",
"depends_on": [
"T9",
"T12"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
},
{
"id": "T14",
"description": "Run final verification and fix fallout until green. Run the specified smoke and test sequence: python3 -m artagents doctor, python3 -m artagents executors list --json, python3 -m artagents orchestrators list --json, python3 -m artagents elements list --json, pack/qualified-id tests, canonical CLI/default registry/doctor tests, python3 scripts/gen_effect_registry.py, cd remotion && npm run gen-types, relevant Remotion smoke if present, focused orchestration smoke for builtin.hype/builtin.render using fixture or no-network media where available, and pytest --tb=no -q --no-header. Also write a short throwaway script that exercises the old bare-id failure and new qualified-id success path, run it, then delete it. Do not create new permanent test files in this final task; fix code or existing tests as failures reveal issues and rerun until passing or a concrete external blocker is identified.",
"depends_on": [
"T12",
"T13"
],
"status": "pending",
"executor_notes": "",
"files_changed": [],
"commands_run": [],
"auto_attributed_files": null,
"evidence_files": [],
"reviewer_verdict": "",
"stance": null,
"stop_signal": null
}
],
"watch_items": [
"Do not invoke the megaplan CLI, read the megaplan skill, or start any nested planning harness; this is already inside the harness.",
"No backwards-compatibility shims: no old import facades, fallback path lookup, migration command, bare-id resolution, old venv lookup, or old element source loading.",
"Pack identity must preserve existing qualified ids: external.moirae belongs under packs/external, upload.youtube under packs/upload, and iteration ids under packs/iteration if present.",
"The final pre-flight inventory from the current tree overrides stale counts in the brief; do not force all shipped content into packs/builtin.",
"Element migration must include remotion/webpack-alias.mjs as well as tsconfig.json and remotion.config.ts.",
"Remove .artagents/elements/managed, .artagents/elements/overrides, and artagents/elements/bundled from default source precedence; packs/local is the replacement.",
"Curated/protected stage files such as moirae and vibecomfy should only be physically moved as content, not edited semantically unless required by the migration.",
"Per-executor venv paths must become .artagents/venvs/<pack>.<name>/venv; package_id must be renamed to pack_id consistently.",
"Qualified ids are mandatory at user-facing CLI boundaries and schema load time; tests should assert bare ids fail.",
"Remotion may have direct assumptions about JSON manifests or aliases; verify generation/build output instead of assuming YAML conversion is transparent.",
"The repo is writable; attempt required edits and only report restrictions after actual OS-level failures with retries."
],
"sense_checks": [
{
"id": "SC1",
"task_id": "T1",
"question": "Is the starting tree clean or intentionally landed, and does the recorded inventory show every registered executor, orchestrator, and element with its correct first id segment?",
"executor_note": "Yes. The starting tree is intentionally landed as commit 4160cfc, and the post-commit status is clean. Recorded inventory covers every registered id with first-segment ownership preserved: executors builtin (28), external (3), iteration (2), upload (1); orchestrators builtin (5); elements 9 partitioned for builtin by category.",
"verdict": ""
},
{
"id": "SC2",
"task_id": "T2",
"question": "Did the audit account for every Remotion path resolver and any direct meta.json/schema.json/defaults.json consumers before element JSON files were removed?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC3",
"task_id": "T3",
"question": "Are framework modules present only under artagents/core/*, with no facade packages or framework imports remaining at old top-level paths?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC4",
"task_id": "T4",
"question": "Does registry loading discover only packs/*/pack.yaml packs and fail deterministically when manifest ids are unqualified, duplicate, or mismatched with the containing pack id?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC5",
"task_id": "T5",
"question": "Are all named alias and bare-id compatibility entry points removed, and do CLI/schema paths reject cut or hype while accepting builtin.cut and builtin.hype?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC6",
"task_id": "T6",
"question": "Did every executor land in the pack matching its id prefix, with runtime modules and pack_id metadata updated and special files preserved?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC7",
"task_id": "T7",
"question": "Do orchestrator manifests include requires_output_path, and is runner behavior driven by that field rather than hardcoded orchestrator id string matches?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC8",
"task_id": "T8",
"question": "Do element registries load element.yaml only, do manifests include singular kind, and do Remotion generation aliases point at pack component paths?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC9",
"task_id": "T9",
"question": "Can local editable elements be created under artagents/packs/local/, and are old managed/override/bundled element roots absent from default behavior and aliases?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC10",
"task_id": "T10",
"question": "Is top-level runtime routing registry-backed, and are pipeline.py shims, _sync_hype_aliases(), _EXECUTOR_MODULE_OVERRIDES, and hardcoded builtin.{step_name} constructions gone?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC11",
"task_id": "T11",
"question": "Do install plans and structure checks use pack_id and .artagents/venvs/<pack>.<name>/venv exclusively, with no old executor venv fallback path remaining?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC12",
"task_id": "T12",
"question": "Do tests avoid old content imports, cover pack discovery/schema/qualified-id enforcement, and assert non-builtin shipped ids live in matching packs?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC13",
"task_id": "T13",
"question": "Do docs and templates describe only packs, packs/local, and qualified ids, without old paths, migration commands, or fallback behavior?",
"executor_note": "",
"verdict": ""
},
{
"id": "SC14",
"task_id": "T14",
"question": "Did all requested smoke commands, focused tests, Remotion generation, final suite, and the temporary bare-id/qualified-id repro script pass after any fixes and reruns?",
"executor_note": "",
"verdict": ""
}
],
"user_actions": [],
"meta_commentary": "Execute this as a breaking architectural migration, not as a compatibility refactor. The most important judgment calls are preserving existing qualified ids by pack prefix, removing the old element source model rather than shadowing it, and keeping registries small and explicit. Use the current post-preflight inventory as source of truth because the brief's counts may be stale after threads/iteration work lands. Fold purge-list deletions into the tasks where those files are already open, and resist adding broad fallback code to soften failures. End every major move with cheap CLI smoke before continuing so import-path fallout is caught close to the cause.",
"validation": {
"plan_steps_covered": [
{
"plan_step_summary": "Land in-flight threads/iteration work and establish clean inventory",
"finalize_item_ids": [
"T1"
]
},
{
"plan_step_summary": "Confirm element runtime and Remotion coupling before JSON-to-YAML conversion",
"finalize_item_ids": [
"T2"
]
},
{
"plan_step_summary": "Move framework modules into core executor/orchestrator/element namespaces",
"finalize_item_ids": [
"T3"
]
},
{
"plan_step_summary": "Add pack discovery, pack.yaml schema, manifest walking, and id validation",
"finalize_item_ids": [
"T4"
]
},
{
"plan_step_summary": "Enforce qualified ids and delete aliases/deprecated flags",
"finalize_item_ids": [
"T5"
]
},
{
"plan_step_summary": "Move executor content into id-matching packs and update runtime metadata",
"finalize_item_ids": [
"T6"
]
},
{
"plan_step_summary": "Move orchestrator content into packs and replace hardcoded output-path behavior",
"finalize_item_ids": [
"T7"
]
},
{
"plan_step_summary": "Move bundled elements into packs and convert JSON manifests to element.yaml",
"finalize_item_ids": [
"T8"
]
},
{
"plan_step_summary": "Replace managed/override element sources with packs/local",
"finalize_item_ids": [
"T9"
]
},
{
"plan_step_summary": "Update command routing, pipeline, paths, and direct imports",
"finalize_item_ids": [
"T10"
]
},
{
"plan_step_summary": "Update install and venv paths from package_id to pack_id",
"finalize_item_ids": [
"T11"
]
},
{
"plan_step_summary": "Remove obsolete skip rules and legacy source scans in registry/structure checks",
"finalize_item_ids": [
"T11"
]
},
{
"plan_step_summary": "Rewrite tests away from old import paths and old compatibility assertions",
"finalize_item_ids": [
"T12"
]
},
{
"plan_step_summary": "Add pack discovery, pack schema, and qualified-id enforcement tests",
"finalize_item_ids": [
"T12"
]
},
{
"plan_step_summary": "Update docs and templates for packs-only workflow",
"finalize_item_ids": [
"T13"
]
}
],
"orphan_tasks": [
"T14"
],
"completeness_notes": "All 15 approved plan steps map to concrete execution tasks. T14 is intentionally listed as an orphan because it is the required final verification task spanning all plan steps rather than implementing one individual approved-plan step.",
"coverage_complete": true
},
"baseline_test_failures": [],
"baseline_test_command": "pytest --tb=no -q --no-header",
"baseline_test_note": "Run during T1 after landing the in-flight threads/iteration work to establish the baseline inventory and smoke state before the packs migration."
}