Vireo upgrades are declared migrations between supported create-vireo releases. They modify only the Vireo-managed boundary and require explicit acknowledgement of application-owned work.
Preview first#
corepack npm run vireo -- upgrade --to VERSION --dry-runDry run is the default. It validates project metadata, the supported source/target pair and the planned file operations without writing.
Apply a supported migration#
corepack npm run vireo -- upgrade --to VERSION --apply --accept-application-ownedThe acknowledgement does not give the CLI permission to rewrite arbitrary product code. It records that the team understands manual application-owned changes may remain.
Refusal is a feature#
The CLI refuses:
- Unknown project metadata
- Unsupported source/target pairs
- Ambiguous ownership
- Missing explicit apply acknowledgement
- Unsafe file collisions
Create a branch, commit the clean starting state and review the complete migration diff.
After applying#
- Install the resulting dependency graph.
- Run Doctor.
- Run generated-contract checks.
- Run the authoritative project verification.
- Review application-owned integration notes.
- Commit the migration as a focused change.
The compatibility and migration contracts are linked from Versions.