MIGRATION · 0.1 AND CLI 0.2
Migrate to 1.0 RC
Move the packages your project already uses onto one coordinated version, apply the safe syntax migration, then refresh lifecycle evidence when a source contract changes.
This is a prerelease. Use the npm next tag and commit your lockfile so humans and AI agents resolve the same package train.
Upgrade packages together
npm install @coordiation/css@next @coordiation/icons@next
npm install -D @coordiation/cli@next @coordiation/vite@nextReplace the example list with the Coordiation packages your project actually uses. Do not mix 0.x and RC packages because internal contracts use exact release-train versions.
Migrate negative utilities
<!-- Before -->
<div class="co--mt-4"></div>
<!-- After -->
<div class="-co-mt-4"></div>npx @coordiation/upgrade@next src/App.tsx --json
npx @coordiation/upgrade@next src/App.tsx --writeThe codemod changes registered literal syntax only. Dynamic class construction is preserved because rewriting it would require application intent.
Initialize the lifecycle contract
npx @coordiation/cli@next init --name "Customer portal" --owner-name "Product owner" --owner-email "owner@example.com"
npx @coordiation/cli@next compatibility
npx @coordiation/cli@next statusCommit the generated .coordiation directory. It is the versioned contract shared by product contributors and AI agents, not a disposable cache.
Revise instead of silently editing
npx @coordiation/cli@next revise SPEC-001 --reason "Authentication policy changed" --patch spec-update.jsonA revision archives the prior contract, clears approvals and evidence, and supersedes dependent artifacts. Re-derive the affected stages and record new development or QA evidence for the current revision.
Verify before deployment
npx @coordiation/cli@next compatibility
npx @coordiation/cli@next trace
npx @coordiation/cli@next gate check GATE-QA --artifact QA-001Run the application build, automated tests, accessibility checks, and relevant lifecycle gates. A successful migration plan proves that edits were applied; it does not replace product QA.
ROLLBACK
Pin the previous exact versions
If the candidate blocks a project, restore the versions recorded in its last known-good lockfile.
- Compiler baseline:
@coordiation/css@0.1.0. - CLI baseline:
@coordiation/cli@0.2.0. - Do not change public npm dist-tags as a project-level rollback.
- Report the package, Node version, reproduction, and active schema version.
