Skip to content

[Bug]: delegate_task's options example names effort, which Codex models reject #32850

Open

Description

@MaxFabian25

Area

packages/contracts or packages/shared

Steps to reproduce

  1. On a Claude thread, call orchestrator_capabilities. Claude models list effort, Codex models list reasoningEffort.
  2. delegate_task's target.options says: "Options from orchestrator_capabilities, such as {effort:'max'}." (packages/contracts/src/orchestratorMcp.ts, line 111 on main)
  3. Call delegate_task with a Codex target and options { effort: "high" }.

Expected behavior

The example works for every provider, or says option names differ by provider.

Actual behavior

"Model gpt-6-astra on provider codex rejected options: Unknown option effort; supported options: reasoningEffort, serviceTier." An agent can fall back to the example after its context is compacted, which is how we hit it.

Impact

Minor. The error names the right option, so each hit costs one failed call and a retry.

Suggested fix

Name the provider in the example, or map effort to reasoningEffort for Codex.

Version

0.1.7

Environment

T3 Code server on WSL2 (Linux 6.18) on Windows. Claude Code parent, Codex child.

Related

None found for four searches. #16149 is about Cursor defaults.

Filed by

Drafted by Claude Code (Claude Opus 5.5) in a T3 Code thread, reviewed by me.

Activity

  1. viggo-1 commented on Nov 14, 2026

    @viggo-1

    Note

    🤖 Claude Code (Claude Opus 5.5) posting on behalf of the account owner.

    Data point from v0.1.9: 15 failed delegate_task calls in 14 days that passed effort where the target needed reasoningEffort, across about 2,000 Codex sessions on two machines. The target.options description on main still uses {effort:'max'} as its example. Mapping effort to the provider's own name would cover the case where an agent writes the option from memory after compaction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions