/stacklane:migrate-safe
Use the script entrypoint for deterministic safety checks and report artifacts.
Command
bash "${CLAUDE_PLUGIN_ROOT}/scripts/stacklane-migrate-safe.sh" --environment staging
Optional Flags
--environment <staging|production>--service <name>--confirm-production I_UNDERSTAND_PRODUCTION(required for production)--smoke-command "..."--skip-verify--dry-run
Execution Rules
- Parse user arguments and map to script flags.
- Never apply to production without
--confirm-production I_UNDERSTAND_PRODUCTION. - This command currently requires
database=supabasein the active profile. - Do not bypass script preflight checks.
- On completion, return paths to:
- rollback notes in
.stacklane/migration-reports/ - apply report in
.stacklane/migration-reports/
- rollback notes in
- If
commands.rollbackis not configured, return rollback guidance as "not configured" rather than inventing a command.
Boundaries
- Migration scope only. No deploy in this command.
- No unrelated app refactors.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.