Skip to content

Scenario: updates and rollback

How Cratis AI guidance changes under you — and how to get back.

Until the first governed release, marketplace installs follow the Cratis/AI default branch (Cratis/AI#264). Updating means reinstalling or updating the plugin; rolling back means uninstalling. There is no version to pin yet, and the only published package is the unsupported @cratis/ai-fundamentals 0.x evaluation on npm — for that one, Pi’s exact pins already work:

Terminal window
pi install -l npm:@cratis/ai-fundamentals@0.10.0 # pin
# rollback: reinstall the previous exact version

The published world (designed, not yet live)

Section titled “The published world (designed, not yet live)”

The versioned flow is fully designed and validated by the Cratis/AI tooling, but no versioned profile package has been published yet. When it is:

  • Every profile carries its own exact SemVer stamp, and the release train is atomic — one immutable release covers every profile that changed.
  • A consuming repository updates by merging a reviewed pull request that bumps the pin in .cratis/ai.json and the host lock files. Nothing changes under your feet outside a merged PR.
  • Rollback is the same operation at the previous version: restore the old pin in one more reviewed PR and rerun your gates. There is no floating latest to race against — floating versions are rejected outright.
  • Removing a package never touches .cratis/PROJECT.md, AGENTS.md, or your repository-local skills.

If you installed the plugin as a solo developer and never pinned anything, “update” is just “update the plugin” — nothing else applies to you.

See Trust and distribution for the complete versioning and authority model.