Regression in 0.154.0: Astra experimental context management disabled by runtime supports_experimental_context=false
What version of Codex CLI is running?
codex-cli 0.154.0
What subscription do you have?
ChatGPT Pro
Which model were you using?
gpt-6-astra
What platform is your computer?
Linux 4.15.0-76-generic x86_64 x86_64
What issue are you seeing?
Experimental context management works with gpt-6-astra on Codex CLI 0.153.4, but does not activate on 0.154.0 on the same Linux machine and ChatGPT Pro account.
On 0.154.0:
- Bundled catalog:
supports_experimental_context = true - Runtime catalog:
supports_experimental_context = false <context_window>and<context_window_guidance>are not injected.
On 0.153.4, the same configuration successfully injects both tags.
This looks like a regression related to the new runtime model capability gate in 0.154.0.
What steps can reproduce the bug?
- Enable experimental context management:
[features]
context_management.experimental_mode = true
- With Codex CLI 0.154.0, check Astra metadata:
codex debug models
Observed runtime value:
supports_experimental_context = false
while:
codex debug models --bundled
reports:
supports_experimental_context = true
- Test context-management activation:
codex -m gpt-6-astra \
-c features.context_management.experimental_mode=true \
debug prompt-input probe \
| grep -Eo '<context_window>|<context_window_guidance>' \
| sort -u
On 0.154.0: no output.
- Run the same command with Codex CLI 0.153.4 on the same machine.
Observed:
<context_window>
<context_window_guidance>
The only changed variable is the Codex CLI version: 0.153.4 → 0.154.0.
I can corroborate this behavior on macOS, including a change within an existing long-running Astra task.
Environment:
- macOS, Apple Silicon (
Darwin arm64) - Desktop-bundled Codex:
0.154.0-alpha.6.2 - Model:
gpt-6-astra - ChatGPT sign-in, built-in
openaiprovider
The configuration still contains:
model_context_window = 400000
model_auto_compact_token_limit = 350000
[features.context_management]
experimental_mode = true
The bundled executable reports context_management ... true in features list. However, the runtime model catalog refreshed on September 14 reports supports_experimental_context: false for Astra. The current session has no experimental notes/history/new_context tools, and its context_window_guidance is empty.
Read-only inspection of persisted session records found:
- An existing Astra task previously completed 16 context-window transitions, with actual note writes/reads and history retrieval calls. These calls had corresponding tool outputs, and subsequent windows included saved-note references.
- At 2026-09-11 18:04 UTC, that task still had experimental context guidance and continued retrieving earlier history after the transition.
- At 2026-09-12 13:56 UTC, the same task, resumed by a manual user message and still using
gpt-6-astra, recorded aworld_stateupdate settingcontext_windowtonullandcontext_window_guidanceto an empty string. - Another Astra task compacted at 2026-09-13 15:14 UTC, following a manual user request. Its replacement history contained a remote
compactionitem and a compaction response ID, without experimental notes/history calls.
This is observational evidence, not a controlled version comparison.
There may also be a relevant explanation: Tibo’s September 12 update states that an opt-in context-management experiment was disabled because it could cause early stops or replies to older messages.
Could maintainers confirm whether the runtime capability being false is the intended result of that disablement, rather than a client regression? The Astra announcement still says this mechanism will become the default “in the coming weeks.” Clarifying the current availability and how users can verify actual activation would help reconcile the documentation with runtime behavior.
Follow-up to my earlier macOS report: I have since compared the two binaries and inspected the lifecycle logs more closely. The additional concern is continuity for existing long-running tasks, including work performed after the experimental tools are no longer enabled.
1. Version comparison on the same Mac/account
I compared official CLI 0.153.4 with the desktop-bundled 0.154.0-alpha.6.2, using separate temporary CODEX_HOME directories, the same ChatGPT account, the built-in OpenAI provider, Astra, and the same configuration from my earlier comment. I did not edit model capability fields or resume production tasks for this test.
| Observation | 0.153.4 | Desktop-bundled 0.154.0-alpha.6.2 |
|---|---|---|
Bundled Astra supports_experimental_context |
Field absent | true |
Refreshed Astra supports_experimental_context |
Field absent | false |
Model-owned token_budget.enabled / use_history_notes_extension |
Both false |
Both false |
debug prompt-input renders <context_window> and <context_window_guidance> |
Yes | No |
| Rendered guidance instructs incremental note-taking and history recovery after reset | Yes | No |
The absent field in the older serialized catalog must not be interpreted as the server switching it to true. This test verifies activation/prompt rendering, not end-to-end notes/history availability or the safety of using 0.153.4 as a workaround.
2. An existing task can lose experimental activation on resume, without another compaction
For the task with 16 prior experimental window transitions:
- It had issued 13
notes.write_fileand 55notes.append_to_filecalls, plus note reads and history retrieval calls. - At 2026-09-12 13:55:44 UTC, logs show
thread/resume -> resume_thread_with_history -> thread_spawn -> session_init. - At 13:56:29 UTC, the first subsequent model request had
ContextManagementenabled butTokenBudgetabsent from the active features. The world-state update clearedcontext_window_guidanceand setcontext_windowtonull. - The user continued working: one turn included an initial request and a later clarification, and completed real repository work. There were no further native notes/history calls during that interval.
- No additional compaction occurred after that change. Thus this is evidence of activation changing before any subsequent compaction, not evidence that a later compaction removed the tools.
Notes were not only written immediately before resets: the task also appended notes during ongoing work and wrote another note about 24 minutes after its final experimental reset. Losing the extension therefore affects incremental bookkeeping as well as recovery at the next reset.
3. Persisted guidance, resume events, and actual execution must be distinguished
- A different task had five experimental window transitions and real notes/history calls. Its last model execution still had
TokenBudgetenabled. Later logs show three resumes with the newer desktop app, includingsession_init, but no subsequent model turn. Its last persisted guidance therefore cannot establish that the currently loaded runtime still offers those tools. - The separate remotely compacted task mentioned in my earlier comment had no experimental guidance from its first recorded execution. It accumulated four remote compactions and subsequently completed four scheduled follow-up turns without native notes/history calls. It should not be counted as a demonstrated experimental-to-remote transition.
In the local audit, I found activation removal followed by continued work, but no confirmed case of a previously experimental task subsequently undergoing remote compaction after that removal. These observations do not by themselves prove information loss or incorrect task results.
This matches the startup distinction in core/src/session/mod.rs: activation is resolved for the runtime, including resumed history, using the capability gate in token_budget.rs. Finishing a turn or retaining old tool instructions in the transcript does not guarantee that the next runtime will expose the same executable tools.
Questions for maintainers
- If this disablement is intentional, should existing tasks retain read-only access to their prior native notes/history, even when the new context-management behavior is disabled?
- What happens to work performed during the disabled interval? The client only sets
history_ingest_requestedwhenuse_history_notes_extensionis enabled (source). If the feature later becomes the default, can messages/tool results from this interval be recovered or backfilled, including across ordinary remote compactions? - Could the app/CLI expose the effective per-task activation state, and indicate when a resumed task loses notes/history support? The TOML opt-in remaining
trueand old guidance remaining in the rollout are not sufficient indicators.
All production-task checks were read-only. Private task content, task identifiers, and local paths are omitted here.
Update — intentional disablement
I have now read the announcement, which explains that this opt-in experiment was intentionally disabled because it could cause early stops or replies to older messages. My Windows Desktop measurements below match that disablement; I am no longer treating the lack of activation as an unexplained client regression.
My remaining request is clearer effective per-task availability in the desktop app and updated opt-in documentation, including guidance when the experiment is available again. The original diagnostics are retained below for reference.
Adding a Windows 11 x64 / Codex Desktop reproduction on ChatGPT Pro with gpt-6-astra. My normal workflow is the desktop app. The separately extracted CLI builds below were used only to compare the underlying engine; neither replaced my desktop installation.
Desktop-bundled engine: 0.154.0-alpha.6.2. The documented opt-in was enabled during these diagnostics:
[features]
context_management.experimental_mode = true
Additional evidence: latest alpha and the raw service response
I compared official 0.153.4, the desktop-bundled engine, and official 0.155.0-alpha.6 on the same Windows machine/account/configuration. The old and alpha packages were extracted into separate diagnostic folders, not installed globally.
| Engine | Experimental feature parsed as enabled | Experimental prompt guidance with opt-in on | With opt-in off |
|---|---|---|---|
| 0.153.4 | Yes | Present: note-taking, history recovery, and token-budget guidance | Absent |
| Desktop 0.154.0-alpha.6.2 | Yes | Absent | Absent |
| 0.155.0-alpha.6 | Yes | Absent | Absent |
These were features list, debug models, and debug prompt-input checks, not model-inference tests. Hooks and memory injection were disabled consistently through invocation-only overrides for the prompt-rendering probes. Global configuration and instructions remained unchanged during each comparison.
Crucially, direct authenticated read-only model-catalog requests returned HTTP 200 with the following explicitly present in the Astra entry, for both client-version parameters 0.153.4 and 0.154.0:
{
"slug": "gpt-6-astra",
"supports_experimental_context": false
}
The field is not missing from the raw service response. The older client's serialized catalog does not represent it; that absence must not be interpreted as the server allowing the capability. Both newer binaries have true in their bundled Astra metadata but resolve the service value to false. The same raw false value was returned for the three GPT-5.6 variants; this is not a claim that those variants officially support the experiment.
Desktop observations
- Historical Windows logs contain 29 actual Astra
new_contextcalls across eight tasks from September 6–11. Sampled calls have successful tool outputs followed by window resets. This does not establish current end-to-end notes/history availability. - The last recorded call was September 11 at 21:08:17 UTC. That same task's experimental context guidance became empty at 23:19:58 UTC, around the engine-version transition.
- A new Astra desktop task after reboot also had no experimental context guidance or
new_contextcalls. Its recorded compaction followed the ordinary remote-compaction path.
These measurements corroborate the capability gate in #43147. They do not establish that downgrading is safe. I have not forced a custom catalog or modified capability flags.
Private task identifiers, account identifiers, local paths, project contents, and full logs are omitted.
Adding a current data point for GPT-6.2 Astra on Linux with Codex CLI 0.170.0. The local opt-in is set to features.context_management.experimental_mode = true, and codex features list reports context_management as enabled. The symptom I’m trying to clarify is the native context-management tools being unavailable in Plan Mode.
The same local runtime model catalog, refreshed on November 19, had these entries:
| Model | supports_experimental_context |
model_messages.token_budget.enabled |
use_history_notes_extension |
|---|---|---|---|
gpt-6.2-astra |
false |
false |
false |
gpt-6-astra |
true |
false |
false |
The table is a read-only check of the cached catalog, not a capture of the affected turn or an end-to-end test of Notes/History. I did not override the catalog or force token_budget. The difference between the two models looks consistent with the 0.170.0 activation check.
Is experimental context management intentionally unavailable for GPT-6.2 Astra right now, or could this be a model catalog omission? If availability varies by rollout or account, it would be helpful to know whether the catalog flag is the right way to check eligibility.