Repository navigation
Fix Codex model/list failures for max and ultra efforts - #580
Merged
Merged
Conversation
Codex 0.144 returns new reasoning levels (max, ultra) that the strict parser rejected, which broke the entire model picker. Soft-parse the response, treat ultra as a first-class level with Ultra UI copy, and pass max/ultra through to model_reasoning_effort.
Codex now accepts max and ultra, so rejection fixtures that previously used max now use ultracode (still unsupported on Codex).
This was referenced Aug 19, 2026
SawyerHood
pushed a commit
that referenced
this pull request
Aug 19, 2026
## What was wrong The Codex provider and bb domain already support `ultra`, but Tasks kept stale preset allowlists that ended at `max` in three separate boundaries. The API therefore filtered `ultra` out of provider metadata, the RPC schema rejected it during preset create/update, and the preset dialog could neither offer nor retain it. This is the root cause described in #1922; it is separate from the host/provider support added by #580. ## What changed - Append `ultra` to the Tasks preset RPC schema, API metadata/fallback allowlist, and preset-dialog allowlist. - Extend the existing API, CLI CRUD, and UI hydration cases to cover `ultra`; no new test files or `test`/`it` blocks were added. - Bump the user-visible official Tasks plugin version from `0.1.1` to `0.1.2` in both its manifest and runtime status constant, as required by the official-plugin release process. This does not change the host-daemon wire contract, provider implementation, database schema, or model-selection policy, so no `HOST_DAEMON_PROTOCOL_VERSION` bump is needed. ## How you verified Before the production changes, the focused regression command failed in all four selected cases: API metadata omitted `ultra`, fallback omitted it, CLI/RPC validation rejected it, and UI hydration normalized it to `medium`. After the change, those four cases passed. Fresh verification on commit `6559c27ba640441f72f0b1fbcdd49ec20fb6e101`: ```bash pnpm exec turbo run typecheck --filter=bb-plugin-tasks --force pnpm exec turbo run test --filter=bb-plugin-tasks --force pnpm exec turbo run build --filter=bb-plugin-tasks --force ``` - Typecheck: 1/1 task successful. - Tests: 35 files and 339 tests passed. - Build: 2/2 tasks successful; generated artifacts reported Tasks `0.1.2` and remained ignored. - `git diff --check upstream/main...HEAD`: passed. - Isolated source-dev validation created and read back a `gpt-5.6-sol` preset with `reasoningLevel: "ultra"`; the official builtin loaded from this worktree. Fixes #1922 > AGENT GENERATED: by GPT-5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
model/listso unknown efforts/malformed entries no longer fail the entire picker.ultrareasoning level (label Ultra) distinct from Claude'sultracode.maxandultrathrough to Codexmodel_reasoning_effort; update Codex fallback ladder and UI labels.Context
Codex CLI 0.144 started returning
maxandultraon newer models. BB's parser only acceptedlow|medium|high|xhigh, which threwInvalid response from codex model/listand blocked all Codex model loading.Test plan
models.test.ts, adapter tests)