What happened
With Codex CLI 0.145.0 and model_reasoning_summary = "detailed", completed reasoning items can contain only a generated bold status heading, with no explanatory prose.
For example, the persisted completed reasoning item contained:
{
"type": "reasoning",
"summary": [
{
"type": "summary_text",
"text": "**Deriving perfect squares concisely**"
}
],
"content": null
}
The payload itself is heading-only, so this is not solely a TUI rendering problem. The behavior has been observed with both GPT-5.5 and GPT-5.6-sol.
What I expected
A completed reasoning summary should contain readable explanatory prose at the requested detailed level.
If no prose was generated, Codex should omit the empty summary instead of exposing a generated status heading as the complete reasoning summary.
Steps to reproduce
-
Use Codex CLI 0.145.0 with the first-party OpenAI provider.
-
Configure reasoning summaries:
model_reasoning_effort = "high"
model_reasoning_summary = "detailed"
model_supports_reasoning_summaries = true
hide_agent_reasoning = false
show_raw_agent_reasoning = true
-
Run a multi-step reasoning prompt with machine-readable output:
codex exec --ephemeral --json \
--skip-git-repo-check \
-m gpt-5.5 \
-c 'model_reasoning_effort="high"' \
-c 'model_reasoning_summary="detailed"' \
-c 'model_supports_reasoning_summaries=true' \
"Solve the 100 doors puzzle and briefly derive which doors remain open."
-
Inspect the completed reasoning item in exec --json output or the persisted session data.
-
Observe that the summary may contain only a generated bold heading, without any prose after it.
The behavior appears to be intermittent or task-shape dependent: some short runs emit no reasoning summary at all, while affected runs emit a heading-only summary.
Additional context
Related documentation:
What happened
With Codex CLI 0.145.0 and
model_reasoning_summary = "detailed", completed reasoning items can contain only a generated bold status heading, with no explanatory prose.For example, the persisted completed reasoning item contained:
{ "type": "reasoning", "summary": [ { "type": "summary_text", "text": "**Deriving perfect squares concisely**" } ], "content": null }The payload itself is heading-only, so this is not solely a TUI rendering problem. The behavior has been observed with both GPT-5.5 and GPT-5.6-sol.
What I expected
A completed reasoning summary should contain readable explanatory prose at the requested
detailedlevel.If no prose was generated, Codex should omit the empty summary instead of exposing a generated status heading as the complete reasoning summary.
Steps to reproduce
Use Codex CLI 0.145.0 with the first-party OpenAI provider.
Configure reasoning summaries:
Run a multi-step reasoning prompt with machine-readable output:
Inspect the completed reasoning item in
exec --jsonoutput or the persisted session data.Observe that the summary may contain only a generated bold heading, without any prose after it.
The behavior appears to be intermittent or task-shape dependent: some short runs emit no reasoning summary at all, while affected runs emit a heading-only summary.
Additional context
<!-- -->placeholders #31664 reported a closely related payload containing a generated heading followed by an empty<!-- -->placeholder.Related documentation: