mirror of
https://github.com/openai/codex.git
synced 2026-03-05 21:45:28 +03:00
Add a separate app-server turn parameter for ephemeral context and keep it runtime-only in core. Render it in the contextual envelope as additional_context, strip it during normal compaction, and preserve only the active turn during mid-turn compaction. Tests: - cargo test -p codex-protocol - cargo test -p codex-app-server-protocol - cargo test -p codex-app-server - cargo test -p codex-mcp-server - cargo test -p codex-core ephemeral_context Co-authored-by: Codex <noreply@openai.com>