docs/migrations/0.4.1-migrate-command.md

0.4.1: versioned migration command

Applicability and exclusions

The maintainer selected 0.4.1 for replacing the old task-only command. This removes an invocation, even though existing 0.4.0 records need no further relocation or task-schema changes. Earlier release migrations must be verified first. Fresh projects need no historical migration.

Artifacts and preservation

Keep the shared catalog, tasks, reservations, custom content, statuses, history and exact approval evidence unchanged. Existing historical logs may still name migrate-tasks; do not rewrite them. Only a separately approved migration checkpoint may be added.

Preconditions and read-only preview

Verify the installed plugin includes the migrate command and reports the selected release or a later version. Verify the earlier shared-catalog completion evidence and current records. The installed version is not evidence earlier migrations ran. Preview any remaining user-instruction references to the removed command; do not automatically rewrite project docs or scripts.

Approval and backup

Explain that /factory:migrate-tasks and its task-ID/all arguments are removed, not aliases. Use /factory:migrate <target-version>, check <target-version> for report-only, or apply <target-version> with exact-preview approval. Any checkpoint or project-document edits need their own preview/approval and external backup; no task records need mutation.

Ordered migration instructions

Verify command availability and the existing catalog. Make only separately approved user-instruction repairs; record completion through the migration command's checkpoint procedure. Do not update/install the plugin from this migration, recreate the old skill, or run tasks.

Verification and completion

Records remain byte-identical; the new command is available and the old command is no longer shipped. Unknown/legacy arguments must not be interpreted as task selection. Report unresolved invocation repairs; advance the checkpoint only after the approved target checks pass.

Repeat runs and interrupted migration

An already verified target is a read-only check with no duplicate log/checkpoint entries. Resume partial instruction repairs only after re-reading; changed inputs need renewed approval.

Rollback and recovery

Keep exports of newer catalog/checkpoint state. Restoring older plugin commands is a separately authorized installation action, not permission to undo the 0.4.0 storage move. Correct progress only to a verified restored target and preserve newer work.

Maintainer verification

Validate plugin discovery of migrate, absence of migrate-tasks, target selection and read-only/repeat behavior in isolated fixtures. Check an already migrated 0.4.0 catalog is not recopied and a multi-release upgrade does not skip earlier steps. These are instruction/procedure checks, not an automated runtime migration engine.

Original Markdown, including metadata
---
schema_version: 1
migration_id: migrate-command
target_version: "0.4.1"
target_layout: "Existing shared-Git factory catalog unchanged; upgrades use /factory:migrate instead of /factory:migrate-tasks"
---

# 0.4.1: versioned migration command

## Applicability and exclusions

The maintainer selected `0.4.1` for replacing the old task-only command. This removes an invocation, even though existing `0.4.0` records need no further relocation or task-schema changes. Earlier release migrations must be verified first. Fresh projects need no historical migration.

## Artifacts and preservation

Keep the shared catalog, tasks, reservations, custom content, statuses, history and exact approval evidence unchanged. Existing historical logs may still name `migrate-tasks`; do not rewrite them. Only a separately approved migration checkpoint may be added.

## Preconditions and read-only preview

Verify the installed plugin includes the [migrate command](../../skills/migrate/SKILL.md) and reports the selected release or a later version. Verify the earlier shared-catalog completion evidence and current records. The installed version is not evidence earlier migrations ran. Preview any remaining user-instruction references to the removed command; do not automatically rewrite project docs or scripts.

## Approval and backup

Explain that `/factory:migrate-tasks` and its task-ID/`all` arguments are removed, not aliases. Use `/factory:migrate <target-version>`, `check <target-version>` for report-only, or `apply <target-version>` with exact-preview approval. Any checkpoint or project-document edits need their own preview/approval and external backup; no task records need mutation.

## Ordered migration instructions

Verify command availability and the existing catalog. Make only separately approved user-instruction repairs; record completion through the migration command's checkpoint procedure. Do not update/install the plugin from this migration, recreate the old skill, or run tasks.

## Verification and completion

Records remain byte-identical; the new command is available and the old command is no longer shipped. Unknown/legacy arguments must not be interpreted as task selection. Report unresolved invocation repairs; advance the checkpoint only after the approved target checks pass.

## Repeat runs and interrupted migration

An already verified target is a read-only check with no duplicate log/checkpoint entries. Resume partial instruction repairs only after re-reading; changed inputs need renewed approval.

## Rollback and recovery

Keep exports of newer catalog/checkpoint state. Restoring older plugin commands is a separately authorized installation action, not permission to undo the `0.4.0` storage move. Correct progress only to a verified restored target and preserve newer work.

## Maintainer verification

Validate plugin discovery of `migrate`, absence of `migrate-tasks`, target selection and read-only/repeat behavior in isolated fixtures. Check an already migrated `0.4.0` catalog is not recopied and a multi-release upgrade does not skip earlier steps. These are instruction/procedure checks, not an automated runtime migration engine.