Skip to content
Raw Markdown

Work on Cassis branches

In an app-managed project, use a Cassis branch when a change needs several edits, a test question, or its own eval run before it goes live.

main branch v1 v2 v3 edit in parallel
Create
Use the branch switcher in the context header. The branch starts from the current context.
Edit
Explorer and Assistant edits stay on the branch. On a branch, the Assistant applies each change as it goes and shows its diff; on main, it proposes changes for approval instead.
Test
Run evals against the branch, or ask a question in a chat on the branch.
Merge
Choose Merge into main. Merging publishes a new version, which is when answers change, and closes the issues whose Fix in chat conversations made the changes.

A branch merges only while it is based on the version main currently publishes, so a merge never replaces what main published after the branch started. Once main publishes a newer version, Merge into main and Open merge PR are disabled and the branch says why. The branch, its changes and its chats stay available for review: create a new branch from main and reapply the changes you want to keep.

A branch that falls behind main keeps taking edits, unless main has published a change to the same part of the context.

After the merge, verify the answer as in step 4 of the app workflow. On a git-managed project, use a Git branch and pull request instead: Curate a git-managed project.