CVC lets you snapshot and restore the current conversation state.
/commit <message>: Create a commit from the current chat history./commit-search <query>: Search commits by ref prefix or message text. Results are capped at 5./commit-pull <ref>: Restore a commit by ref (supports prefix matching and tab selection)./commit-merge <ref>: Append a commit’s messages to the current conversation state.
Each commit stores the full chat transcript (user + assistant turns) at the moment you run /commit.
Commit files are stored under:
$HOME/.godex/commits/<sha256(normalized_wd)>/<commit_ref>
The commits table in the SQLite history DB stores:
wd(working directory)ref(commit hash)messagecreated_at
When you restore a commit:
- The provider context is reset.
- The provider’s message history is replaced with the committed transcript.
This fully replaces the current conversation state.
When you merge a commit:
- The current conversation state is preserved.
- The commit’s messages are appended to the provider’s message history.
- Lists show up to 5 commits.
- Each result displays the commit message (truncated to 129 chars), date, and ref.
- In search results, the ref is shown as muted subtext.