Guides
Run a framework or data migration safely
Plan and run a guarded framework, dependency, config, or data migration with Claude Code, Codex, or Cursor: consumers, ordering, rollback, and parity.
Updated
How do I run a framework or data migration without breaking consumers?
Name the migration and its authoritative guidance. The shift inventories consumers, compatibility surfaces, persisted state, ordering, and rollback, classifies each change as additive, compatible, deprecating, or breaking, and makes only bounded, reversible repository changes with compatibility tests.
Inventory before any edit
Discovery covers defaults and nullability, backfills, locks, old and new overlap, idempotency, staged changes, and representative data. Breaking or broad migrations default to review first; run-direct applies only when rollback and compatibility tests already exist.
Configuration parity and data modes
Configuration parity compares key names and shapes across environments, never secret values. Data mode records the target environment first and writes the operation list before touching data.
- Data work runs only in disposable or explicitly approved environments.
- A mid-migration failure rolls back when it can, and otherwise stops and parks recovery for you.
- Legal, privacy, and data-retention authority is never inferred.
Evidence a migration leaves
The receipt separates additive from breaking changes, reports parity as shape-only, names the environment of every data operation, and documents rollback. The data-or-migration evidence kind adds record counts before and after and the rollback command.
Start with a bounded prompt
This prompt names the outcome and preserves Nightshift’s review boundary. Paste it into the supported coding host from the project you want to change.
Plan this framework migration with Nightshift in review-first mode: inventory consumers, ordering, and rollback, and classify every change before any edit.What this workflow does not claim
- Breaking and broad migrations default to review first.
- Production and destructive data operations need explicit approval for that exact environment.
Evidence and sources
These links support the released behavior, public outcomes, or problem language described on this page.