0.3.1: separate task tracks
Applicability and exclusions
This is the task-schema audit step before the shared-storage move. Follow earlier release steps first; do not apply it to historical branch copies after a verified later relocation. Inspect .factory/tasks/ across the agreed refs/checkouts, including uncommitted variants. This descriptor carries the historical rules locally; do not invoke removed commands or substitute a newer task template.
Artifacts and preservation
Preserve IDs, filenames, scope, acceptance criteria, checkboxes, verification evidence, unknown/custom fields and existing history. Omitted kind means code; changing a visual/UI task to kind: design requires developer confirmation. Ambiguous or mixed work needs a decision, never automatic splitting or renumbering. Completed tasks are report-only historical records. Building/reviewing tasks are report-only; agree a separate pause/redefinition decision before proceeding when they would need changes.
Preconditions and read-only preview
Pause writers before mutation and reconcile divergent branch/worktree copies with the developer. Inventory/read-only preview must not fetch, create directories, append logs, execute verification commands or start delivery. Report malformed metadata, duplicate IDs, unknown statuses/kinds and missing coverage rather than repairing them silently.
The 0.3.1 code definition has Problem, Approach, Acceptance criteria, Verification, Design reference, Out of scope and Log sections. Design reference may be None; otherwise preserve the exact approved design/artifact revision and human decision. The design definition has Problem, Brief, Approach, Acceptance criteria, Verification, Design, Out of scope and Log. Its Design section identifies the human reviewer, review handoff, human decision and linked development task. Approach records capability/access and fallback; Verification covers artifact checks and a human walkthrough. Preserve equivalent existing sections rather than duplicate them. These are the historical target's requirements, not later checkout-resume fields.
Preview each task's gaps, exact proposed diff, status change and remaining decisions. Add missing fields only from existing evidence or explicit missing/pending placeholders; never invent people, commands, artifacts, reviews or approvals. Missing product decisions require separate definition work, not guesses during migration.
Approval and backup
Back up every variant, including uncommitted files, outside the checkout and verify the inventory. Obtain approval of exact task edits and each status transition. Generic migration approval cannot resolve unknown classification or overwrite another session's edits. No commit/push is authorized.
Ordered migration instructions
- Re-read the approved eligible tasks; changed inputs invalidate the preview. Apply only agreed fields/sections while preserving formatting and unrelated content. An omitted kind does not require a write for compatible code tasks.
- For a ready design task missing definition review, capability evidence or essential inputs, propose ready → draft with the reason and a separate design-definition next action. For a ready code task dependent on an unapproved/unidentifiable design revision, propose ready → blocked with the missing evidence. Never promote a task to ready/done or infer final approval from status, definition approval or an agent verdict. Human visual approval must identify reviewer, date and exact artifact revision.
- Append one log entry only to each changed task:
- YYYY-MM-DD: migrated to factory 0.3.1 (migrate, <approved changes and reason; old → new status if applicable>). The version is this target, even when a newer plugin executes it. Preserve older entries; do not rewrite historicalmigrate-taskslog text.
Verification and completion
Recheck the approved diff against these target rules; IDs, custom content, evidence and history must survive. Report compliant/skipped tasks and unresolved semantic decisions. Pending placeholders or unresolved active-task changes block completion of the step; historical completed tasks remain report-only. Defining, reviewing or executing tasks is not migration. Keep verified progress and backup evidence outside tracked product files until the catalog exists.
Repeat runs and interrupted migration
Leave compliant files untouched with no duplicate log entries. After interruption, compare current files to the approved inventory/diff; retain verified edits and ask for a new preview on divergence. Never overwrite a conflicting variant or advance past an incomplete step.
Rollback and recovery
Pause writers and back up current/newer work before restoring an older task variant. Reconcile changes with the developer, restore only approved files, retain both backups and restore the last verified checkpoint. Do not reset or rewrite product history.
Maintainer verification
Exercise isolated historical code/design records, including omitted kind, custom fields, exact human approval, completed/active tasks, missing review evidence, conflicting variants, repeats and interruption. Check approved status regressions and that logs say 0.3.1, not the installed version. Do not claim fixture checks prove end-to-end agent behavior.
Original Markdown, including metadata
--- schema_version: 1 migration_id: task-tracks target_version: "0.3.1" target_layout: "Branch-tracked .factory/tasks/ with separate code/design track definitions and preserved evidence" --- # 0.3.1: separate task tracks ## Applicability and exclusions This is the task-schema audit step before the shared-storage move. Follow earlier release steps first; do not apply it to historical branch copies after a verified later relocation. Inspect `.factory/tasks/` across the agreed refs/checkouts, including uncommitted variants. This descriptor carries the historical rules locally; do not invoke removed commands or substitute a newer task template. ## Artifacts and preservation Preserve IDs, filenames, scope, acceptance criteria, checkboxes, verification evidence, unknown/custom fields and existing history. Omitted kind means code; changing a visual/UI task to `kind: design` requires developer confirmation. Ambiguous or mixed work needs a decision, never automatic splitting or renumbering. Completed tasks are report-only historical records. Building/reviewing tasks are report-only; agree a separate pause/redefinition decision before proceeding when they would need changes. ## Preconditions and read-only preview Pause writers before mutation and reconcile divergent branch/worktree copies with the developer. Inventory/read-only preview must not fetch, create directories, append logs, execute verification commands or start delivery. Report malformed metadata, duplicate IDs, unknown statuses/kinds and missing coverage rather than repairing them silently. The `0.3.1` code definition has Problem, Approach, Acceptance criteria, Verification, Design reference, Out of scope and Log sections. Design reference may be `None`; otherwise preserve the exact approved design/artifact revision and human decision. The design definition has Problem, Brief, Approach, Acceptance criteria, Verification, Design, Out of scope and Log. Its Design section identifies the human reviewer, review handoff, human decision and linked development task. Approach records capability/access and fallback; Verification covers artifact checks and a human walkthrough. Preserve equivalent existing sections rather than duplicate them. These are the historical target's requirements, not later checkout-resume fields. Preview each task's gaps, exact proposed diff, status change and remaining decisions. Add missing fields only from existing evidence or explicit missing/pending placeholders; never invent people, commands, artifacts, reviews or approvals. Missing product decisions require separate definition work, not guesses during migration. ## Approval and backup Back up every variant, including uncommitted files, outside the checkout and verify the inventory. Obtain approval of exact task edits and each status transition. Generic migration approval cannot resolve unknown classification or overwrite another session's edits. No commit/push is authorized. ## Ordered migration instructions 1. Re-read the approved eligible tasks; changed inputs invalidate the preview. Apply only agreed fields/sections while preserving formatting and unrelated content. An omitted kind does not require a write for compatible code tasks. 2. For a ready design task missing definition review, capability evidence or essential inputs, propose ready → draft with the reason and a separate design-definition next action. For a ready code task dependent on an unapproved/unidentifiable design revision, propose ready → blocked with the missing evidence. Never promote a task to ready/done or infer final approval from status, definition approval or an agent verdict. Human visual approval must identify reviewer, date and exact artifact revision. 3. Append one log entry only to each changed task: `- YYYY-MM-DD: migrated to factory 0.3.1 (migrate, <approved changes and reason; old → new status if applicable>)`. The version is this target, even when a newer plugin executes it. Preserve older entries; do not rewrite historical `migrate-tasks` log text. ## Verification and completion Recheck the approved diff against these target rules; IDs, custom content, evidence and history must survive. Report compliant/skipped tasks and unresolved semantic decisions. Pending placeholders or unresolved active-task changes block completion of the step; historical completed tasks remain report-only. Defining, reviewing or executing tasks is not migration. Keep verified progress and backup evidence outside tracked product files until the catalog exists. ## Repeat runs and interrupted migration Leave compliant files untouched with no duplicate log entries. After interruption, compare current files to the approved inventory/diff; retain verified edits and ask for a new preview on divergence. Never overwrite a conflicting variant or advance past an incomplete step. ## Rollback and recovery Pause writers and back up current/newer work before restoring an older task variant. Reconcile changes with the developer, restore only approved files, retain both backups and restore the last verified checkpoint. Do not reset or rewrite product history. ## Maintainer verification Exercise isolated historical code/design records, including omitted kind, custom fields, exact human approval, completed/active tasks, missing review evidence, conflicting variants, repeats and interruption. Check approved status regressions and that logs say `0.3.1`, not the installed version. Do not claim fixture checks prove end-to-end agent behavior.