Publish and restore versions
Only the published context affects answers. Every publish creates an immutable version that can be inspected and restored.
Publish through the chosen workflow
- GitHub App
- Merge to the default branch. The App imports the tree and records the commit on the new version.
- Other git provider
- The default-branch CI job runs
cassis context upload. - App-managed
- Review Unpublished changes, then use Publish.
Each path replaces the complete context, which is why a project should have one place where edits are made.
Publishing runs in the background. It does not hold up the app for anyone else, closing the tab does not cancel it, and the page reports the outcome when it finishes, so a very large context can take minutes and still land. Imports, branch merges, warehouse syncs, restoring a version, and discarding a branch’s changes all behave the same way.
Confirm what is live
| Version | Date | Label | Published by | Commit |
|---|---|---|---|---|
| v2 Current | Jun 6, 2026 | Define podium as positions 1 to 3 | [email protected] | a1b2c3d |
| v1 | Jun 2, 2026 | v1 baseline | [email protected] | 3c2b1a0 |
The Versions page shows the label, time, publisher, and the git commit each version was published from, when one exists. After a GitHub App import or a CLI upload, cassis status --watch can wait for the published commit; an upload records it from cassis-cli 3.0.0. An upload that changes nothing creates no version but still records its commit, which cassis status reads from cassis-cli 3.1.1. An MCP agent compares latest_git_commit_sha from get_project_status.
Do not resolve the originating issue until this version contains the fix.
Restore an earlier version
Choose the last known-good version in the Versions page and restore it. Restoring publishes a new version with that earlier context; it does not erase the history in between.
An unmerged pull request, an app branch, or pending Assistant changes affect no answers. “Did the change land?” always means “is it in the published version?”