Skip to content

fix(session): resume snapshots across tool contract changes - #184

Open
andresilva wants to merge 1 commit into
clabby:mainfrom
andresilva:migrate-snapshot-contract
Open

fix(session): resume snapshots across tool contract changes#184
andresilva wants to merge 1 commit into
clabby:mainfrom
andresilva:migrate-snapshot-contract

Conversation

@andresilva

@andresilva andresilva commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Adding or changing tools could prevent older sessions from resuming because their stored request prefix no longer matched the current tool contract. This PR preserves exact resume when the contract still matches, retaining the existing cache behavior. When exact resume rejects a version 1 snapshot, tact removes only the stored request prefix and retries through nanocodex's history-resume path. The conversation history, instructions, workspace, and lineage are preserved while the session adopts the current tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant