Skip to content

enhancement(runtime): continue compatible Codex checkpoints across model switches #6361

Open

Description

@me2seeks

Problem

After a ChatGPT subscription session is compacted into a provider-native checkpoint, switching to another model on the same connection rejects the checkpoint solely because its model ID differs. Maka reconstructs the effective source history, potentially increasing context usage and requiring it to be compacted again. Codex model discovery currently drops the provider's compaction compatibility metadata.

Desired outcome

Continue a native checkpoint and its subsequent messages across compatible models on the same ChatGPT subscription connection, including when the next compaction rolls the checkpoint forward. Retain safe behavior when compatibility is unknown, models are incompatible, or the connection changes. Preserve existing checkpoint coverage and source validation.

Alternatives or workarounds

The current full-history reconstruction preserves source events but can exceed the target model's window. Unconditionally treating all Codex models as compatible would assume opaque provider state is portable without evidence. Codex uses model compaction compatibility metadata and additional handling for some switches; provider behavior and metadata need verification before broadening reuse.

Activity

  1. added
    enhancement
    on Oct 27, 2026
  2. me2seeks commented on Oct 27, 2026

    @me2seeks
    ContributorAuthor

    take

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

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions