openclaw - 💡(How to fix) Fix [Bug]: subagent thinking still rejects non-off on v2026.5.19; previous #84706 was closed against unrelated doctor migration

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

v2026.5.19 still rejects non-off thinking for subagent spawns on canonical OpenAI/Codex GPT-5 models. This is not fixed by #84626: that PR is a doctor --fix migration for invalid persisted compat.thinkingFormat config values, not a release-level proof that sessions_spawn(...thinking) accepts non-off thinking.

Previous related issue #84706 was closed by ClawSweeper as "already implemented" because it linked #84626. That close rationale appears incorrect / at least misleading, and after the issue was closed the bot stopped processing follow-up comments. Filing this as a fresh issue so the actual subagent runtime regression is tracked again.

Root Cause

Previous related issue #84706 was closed by ClawSweeper as "already implemented" because it linked #84626. That close rationale appears incorrect / at least misleading, and after the issue was closed the bot stopped processing follow-up comments. Filing this as a fresh issue so the actual subagent runtime regression is tracked again.

Fix Action

Fix / Workaround

v2026.5.19 still rejects non-off thinking for subagent spawns on canonical OpenAI/Codex GPT-5 models. This is not fixed by #84626: that PR is a doctor --fix migration for invalid persisted compat.thinkingFormat config values, not a release-level proof that sessions_spawn(...thinking) accepts non-off thinking.

On v2026.5.19 that patrol cannot run as intended. Current workaround is either:

Code Example

sessions_spawn({
  runtime: "subagent",
  mode: "run",
  model: "openai/gpt-5.4",
  thinking: "high",
  task: "Reply exactly OK"
})

---

sessions_spawn({
  runtime: "subagent",
  mode: "run",
  model: "openai-codex/gpt-5.5",
  thinking: "high",
  task: "Reply exactly OK"
})

---

Thinking level xhigh is not supported for openai/gpt-5.5.
Use one of: off.

---

model: "openai/gpt-5.4",
thinking: "high"
RAW_BUFFERClick to expand / collapse

Summary

v2026.5.19 still rejects non-off thinking for subagent spawns on canonical OpenAI/Codex GPT-5 models. This is not fixed by #84626: that PR is a doctor --fix migration for invalid persisted compat.thinkingFormat config values, not a release-level proof that sessions_spawn(...thinking) accepts non-off thinking.

Previous related issue #84706 was closed by ClawSweeper as "already implemented" because it linked #84626. That close rationale appears incorrect / at least misleading, and after the issue was closed the bot stopped processing follow-up comments. Filing this as a fresh issue so the actual subagent runtime regression is tracked again.

Environment

  • OpenClaw v2026.5.19
  • /status shows commit a185ca2
  • Main session model: openai-codex/gpt-5.5
  • Main session thinking: xhigh works through the main-session config/session path
  • Subagent runtime: sessions_spawn

Live repro on v2026.5.19

Minimal probe 1:

sessions_spawn({
  runtime: "subagent",
  mode: "run",
  model: "openai/gpt-5.4",
  thinking: "high",
  task: "Reply exactly OK"
})

Result: rejected. The child run reports that openai/gpt-5.4 only supports off.

Minimal probe 2:

sessions_spawn({
  runtime: "subagent",
  mode: "run",
  model: "openai-codex/gpt-5.5",
  thinking: "high",
  task: "Reply exactly OK"
})

Result: rejected with the same shape as before. The effective validation path folds through canonical openai/gpt-5.5 and only accepts off.

Earlier repros also showed thinking: "xhigh" on openai-codex/gpt-5.5 rejecting as:

Thinking level xhigh is not supported for openai/gpt-5.5.
Use one of: off.

Operational impact

This breaks normal subagent orchestration. In our workspace, startup normally spawns a docs-health patrol subagent with:

model: "openai/gpt-5.4",
thinking: "high"

On v2026.5.19 that patrol cannot run as intended. Current workaround is either:

  • force subagents to thinking: off, losing the capability; or
  • bypass subagents and run the task in the main session.

Why #84626 does not close this

#84626 is titled:

fix(doctor): migrate invalid thinking formats

Its release note in v2026.5.20-beta.1 says:

Doctor: remove unrecognized models.providers.*.models[*].compat.thinkingFormat values during doctor --fix so stale provider model config can validate after upgrade. Fixes #77803.

That scope is a legacy config migration. It removes invalid persisted user config values. It does not by itself prove that the subagent spawn validation path accepts non-off thinking for canonical OpenAI/Codex GPT-5 models.

If commit 6e9d47bd12b0 incidentally contains the real OpenAI/Codex thinking-policy/catalog/subagent fix on main, please point to the exact fix PR/commit and target release for that runtime behavior. But #84626 as described in the release notes should not be treated as the proof for this issue.

Expected behavior / acceptance tests

A release-level fix should prove these exact cases:

  1. sessions_spawn(model: "openai/gpt-5.4", thinking: "high") passes validation and completes.
  2. sessions_spawn(model: "openai-codex/gpt-5.5", thinking: "high") passes validation and completes.
  3. sessions_spawn(model: "openai-codex/gpt-5.5", thinking: "xhigh") either passes if supported by the effective Codex route, or rejects with a correct effective-route capability message — not canonicalize to openai/gpt-5.5 and report Use one of: off.
  4. /think picker/runtime and sessions_spawn(...thinking) read from the same reasoning-capability source, so one surface cannot regress while the other appears fixed.

Related

  • #84706 — previous report, closed as already implemented by #84626; this appears to be the wrong close rationale.
  • #84646 — /think directive / picker surface for the same catalog/capability family.
  • #84626 — doctor/config migration for invalid compat.thinkingFormat; not sufficient proof for this runtime subagent issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: subagent thinking still rejects non-off on v2026.5.19; previous #84706 was closed against unrelated doctor migration