Skip to content

Add experimental context management activation - #42385

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/19402af19c4d69e09a7cdb3687ee7d233f6a562a
Sep 2, 2026
Merged

Add experimental context management activation#42385
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/19402af19c4d69e09a7cdb3687ee7d233f6a562a

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 2, 2026

Copy link
Copy Markdown

Add experimental context management activation

What changed

  • Add the under-development features.context_management.experimental_mode configuration and schema.
  • For eligible ChatGPT Plus, Pro, and Pro Lite sessions using the Codex backend, enable token-budget context, history notes, and the new_context tool when experimental context management is configured.
  • Keep the feature disabled for custom providers, provider credentials, non-Codex endpoints, and temporary structured threads.

Testing

  • Cover subscription eligibility, backend restrictions, configuration resolution, token-budget guidance, and temporary-thread overrides.

## What changed

- Add the under-development `features.context_management.experimental_mode` configuration and schema.
- For eligible ChatGPT Plus, Pro, and Pro Lite sessions using the Codex backend, enable token-budget context, history notes, and the `new_context` tool when experimental context management is configured.
- Keep the feature disabled for custom providers, provider credentials, non-Codex endpoints, and temporary structured threads.

## Testing

- Cover subscription eligibility, backend restrictions, configuration resolution, token-budget guidance, and temporary-thread overrides.

GitOrigin-RevId: 19402af19c4d69e09a7cdb3687ee7d233f6a562a
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/19402af19c4d69e09a7cdb3687ee7d233f6a562a branch from 56a81db to cff76fa Compare September 2, 2026 23:38
@copyberry
copyberry Bot merged commit cff76fa into main Sep 2, 2026
23 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/19402af19c4d69e09a7cdb3687ee7d233f6a562a branch September 2, 2026 23:40
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant