Repository navigation
Description
Summary
Tasks Agent presets omit the ultra reasoning level even when the selected Codex model, such as gpt-5.6-sol, advertises it. The preset dialog cannot select Ultra, and the Tasks CLI/RPC rejects an otherwise supported preset value.
Versions and environment
- Reproduced from source on
get-bb/bbmainatd81fee6f47178c75f6ecf23d80bb69c4a3e9e5c3. - Linux 6.17.0-41-generic x86_64.
- Node.js 22.23.2; pnpm 9.15.0.
- Codex CLI 0.147.0; provider
codex; modelgpt-5.6-sol. - Isolated source-dev data directory and worktree environment.
Steps to reproduce
-
Check out
d81fee6f47178c75f6ecf23d80bb69c4a3e9e5c3, install the locked workspace dependencies, and start the source-dev app. -
Run
bb provider models codex --jsonand observe thatgpt-5.6-solincludesultrainsupportedReasoningEfforts. -
Run:
bb tasks preset create \ --name sol-ultra-repro \ --provider codex \ --model gpt-5.6-sol \ --reasoning ultra \ --permission full \ --environment project-default \ --json
-
Alternatively, open Tasks → Manage → Agent presets, choose Codex and
gpt-5.6-sol, and open the Reasoning selector.
The smallest faithful unit reproduction changes the existing API, CLI, and preset-hydration cases to use ultra; all four selected assertions fail on the base commit.
Expected vs actual
Actual CLI validation output:
Invalid option: expected one of "low"|"medium"|"high"|"xhigh"|"max"
The dialog similarly omits ultra; hydrating a stored Ultra draft normalizes its displayed value to medium. API model metadata filters ultra out, including from the standard fallback list.
Expected: the command creates a preset whose reasoningLevel is ultra, and the dialog offers and retains Ultra for a model that advertises it.
Evidence
- The Tasks API allowlist ends at
max:plugins/tasks/api/index.ts. - The preset RPC schema ends at
max:plugins/tasks/shared/contract.ts. - The preset dialog allowlist ends at
max:plugins/tasks/views/manage/preset-dialog.tsx. - Codex/provider and domain support already include
ultra:plugins/provider-codex/server.ts,packages/domain/src/shared-types.ts. - Tasks delegation already accepts it:
plugins/tasks/delegate/index.ts. - Investigation patch and RED/GREEN regression coverage:
Uttar/bb@6559c27.
What you ruled out
- Still reproduces on
mainatd81fee6f47178c75f6ecf23d80bb69c4a3e9e5c3. - Not missing provider metadata:
gpt-5.6-soladvertisesultrain the live model response. - Not a persistence or delegation limitation: those paths already accept a non-empty/
ultravalue. - Not a duplicate of Fix Codex model/list failures for max and ultra efforts #580: that PR added host/provider support for
maxandultrabut changed no Tasks files. - Searched open and closed issues and PRs for
ultra preset,Tasks ultra,reasoningLevel preset,PRESET_REASONING_LEVELS, andpresetReasoningLevelSchema; no exact report was found.
Suggested priority and effort
Medium — this blocks a supported reasoning mode for Codex users who rely on Agent presets; users can still select reasoning per ordinary thread. The fix is localized and low effort.
AGENT GENERATED: by GPT-5
Activity