You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GPT-5.6 Sol introduces a max reasoning effort and an "Ultra" multi-agent mode (per the OpenAI GA announcement — Ultra is a request-level mode of gpt-5.6-sol, not a separate model ID). dreb's ThinkingLevel type (packages/ai/src/types.ts) tops out at xhigh, so these cannot be selected today.
Proposed Behavior
Support selecting max (and potentially ultra) thinking levels for models that offer them.
Technical Notes
ThinkingLevel is cross-cutting: agent loop, TUI thinking selector, settings, subagent configs, effort clamping per provider
Codex CLI exposes Low / Medium / High / Extra High / Max / Ultra for gpt-5.6-sol — investigate what it sends on the wire (openai/codex codex-rs source) before designing
Ultra reportedly triggers server-side multi-agent orchestration; may be a distinct request parameter rather than an effort string
Related: PR for adding the GPT-5.6 models (works at up to xhigh in the meantime)
Acceptance Criteria
Wire format for max/ultra confirmed from Codex CLI source
The confirmed immediate gap is a seventh, distinct reasoning tier: max. GPT-5.6 Sol, Terra, and Luna support both xhigh and max, but dreb's normalized scale ends at xhigh, so there is currently no request path that can emit reasoning.effort: "max" for these models.
ultra should not be treated as another provider reasoning effort. OpenAI Codex implements it as a client-side orchestration mode that sends max to the model while enabling proactive multi-agent behavior locally.
Current state
Both core unions stop at xhigh:
packages/agent/src/types.ts
packages/ai/src/types.ts
CLI, settings, RPC, subagent schemas, TUI, dashboard, dispatch arbiter, and session cycling all independently encode the same ceiling.
supportsXhigh() already identifies the GPT-5.6 family as xhigh-capable.
Direct OpenAI Responses and ChatGPT OAuth / Responses Lite pass GPT-5.6 xhigh through literally. They do not translate it to max:
Therefore, max is a real wire-level reasoning effort; ultra is max plus client orchestration and is not appropriate as a plain ThinkingLevel without implementing its orchestration semantics.
Gaps
No max value can enter through any dreb user-facing or internal input path.
The current binary capability model (supportsXhigh) cannot distinguish models whose highest native tier is xhigh from GPT-5.6 models that additionally support max.
Session cycling and model-switch clamping have no seventh-tier ordering.
Provider option types and request builders cannot carry max end to end.
Tests and docs describe six levels only.
Telegram currently omits even xhigh, an existing inconsistency that categorical effort-level work will encounter.
Recommended scope
Implement max now as a distinct, model-aware dreb level. Keep xhigh unchanged because GPT-5.6 exposes both tiers.
A clean capability shape would add supportsMax(model) for GPT-5.6 and order fallback as max → xhigh → high. The UI/session selector should expose max only when the selected model supports it. Explicit validated paths such as subagent overrides should reject unsupported max consistently, matching current xhigh behavior.
Cover these surfaces together:
AI and agent ThinkingLevel unions
Effective-level resolution and agent-loop reporting
Session availability, cycling, and model-switch clamping
CLI/model shorthand, settings, RPC, subagent, and dispatch validation
TUI and dashboard selectors, labels, theme, and protocol
Direct OpenAI, OpenAI Codex, Azure Responses, and compatible request typing/mapping where supported
Provider fallback/clamping for non-max models
Tests and root/package/feature documentation
Prefer upgrading the OpenAI SDK rather than casting around its stale effort union, provided the upgrade is otherwise compatible.
Treat ultra as separate follow-up scope unless this issue intentionally expands to implement automatic multi-agent orchestration. Merely sending "ultra" would not match Codex behavior or the documented API effort values.
Suggested acceptance criteria
max is a distinct accepted dreb thinking level and does not replace or alias xhigh on GPT-5.6.
Sol, Terra, and Luna expose max in model-aware selectors and can persist/select it through CLI, settings, RPC, dashboard, and subagent configuration.
Direct OpenAI and OpenAI Codex requests for those models emit reasoning.effort: "max".
Unsupported models do not receive max; interactive/model-switch flows clamp predictably and explicit invalid overrides produce a clear error.
Existing xhigh behavior remains unchanged across providers that map it to a native top tier.
Automated tests cover availability, validation, clamping, and emitted request payloads.
Documentation lists max, its supported model family, and the distinction between max and Codex-style ultra orchestration.
Scope and risk
This is a medium, cross-cutting change rather than a provider-only patch. The largest risks are silently exposing max to unsupported providers, collapsing xhigh and max into one tier, incomplete updates to duplicated UI/protocol enums, and representing ultra as a wire effort without its multi-agent behavior.
Activity
maxscheurer commentedon Aug 20, 2026
Issue Assessment
Summary
The confirmed immediate gap is a seventh, distinct reasoning tier:
max. GPT-5.6 Sol, Terra, and Luna support bothxhighandmax, but dreb's normalized scale ends atxhigh, so there is currently no request path that can emitreasoning.effort: "max"for these models.ultrashould not be treated as another provider reasoning effort. OpenAI Codex implements it as a client-side orchestration mode that sendsmaxto the model while enabling proactive multi-agent behavior locally.Current state
xhigh:packages/agent/src/types.tspackages/ai/src/types.tssupportsXhigh()already identifies the GPT-5.6 family asxhigh-capable.xhighthrough literally. They do not translate it tomax:packages/ai/src/providers/openai-responses.tspackages/ai/src/providers/openai-codex-responses.tsminimaltolow; it has nomaxbranch.openai@6.26.0SDK types end atxhigh. Currentopenai@7.5.0types includemax.External behavior confirmed
OpenAI's official model pages list
none,low,medium,high,xhigh, andmaxfor all three GPT-5.6 variants:The current OpenAI Codex catalog advertises:
low,medium,high,xhigh,max,ultralow,medium,high,xhigh,max,ultralow,medium,high,xhigh,maxCodex source confirms the semantic distinction:
codex-rs/core/src/client.rs:reasoning_effort_for_request(Ultra)returnsMax.codex-rs/core/src/session/multi_agents.rs:Ultraselects proactive multi-agent mode.Therefore,
maxis a real wire-level reasoning effort;ultraismaxplus client orchestration and is not appropriate as a plainThinkingLevelwithout implementing its orchestration semantics.Gaps
maxvalue can enter through any dreb user-facing or internal input path.supportsXhigh) cannot distinguish models whose highest native tier isxhighfrom GPT-5.6 models that additionally supportmax.maxend to end.xhigh, an existing inconsistency that categorical effort-level work will encounter.Recommended scope
Implement
maxnow as a distinct, model-aware dreb level. Keepxhighunchanged because GPT-5.6 exposes both tiers.A clean capability shape would add
supportsMax(model)for GPT-5.6 and order fallback asmax → xhigh → high. The UI/session selector should exposemaxonly when the selected model supports it. Explicit validated paths such as subagent overrides should reject unsupportedmaxconsistently, matching currentxhighbehavior.Cover these surfaces together:
ThinkingLevelunionsmaxmodelsPrefer upgrading the OpenAI SDK rather than casting around its stale effort union, provided the upgrade is otherwise compatible.
Treat
ultraas separate follow-up scope unless this issue intentionally expands to implement automatic multi-agent orchestration. Merely sending"ultra"would not match Codex behavior or the documented API effort values.Suggested acceptance criteria
maxis a distinct accepted dreb thinking level and does not replace or aliasxhighon GPT-5.6.maxin model-aware selectors and can persist/select it through CLI, settings, RPC, dashboard, and subagent configuration.reasoning.effort: "max".max; interactive/model-switch flows clamp predictably and explicit invalid overrides produce a clear error.xhighbehavior remains unchanged across providers that map it to a native top tier.max, its supported model family, and the distinction betweenmaxand Codex-styleultraorchestration.Scope and risk
This is a medium, cross-cutting change rather than a provider-only patch. The largest risks are silently exposing
maxto unsupported providers, collapsingxhighandmaxinto one tier, incomplete updates to duplicated UI/protocol enums, and representingultraas a wire effort without its multi-agent behavior.Automated assessment by mach6