Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web): allow setting reasoning effort for scheduled tasks #30253

Mergedvoltcrash(GitHub profile, opens in a new tab)merged 2 commits intomain fromrefs/pull/30253/headmerged by juliusmarminge View on GitHub

Problem

Scheduled tasks already support provider options, but the web/desktop editor could not set reasoning effort. It also dropped the default model's options when the model was explicitly picked.

Change

Reuse the existing traits picker alongside the task model picker and keep the full model selection in the draft. New tasks retain the configured default options; existing tasks can inspect and change them. Picking a different model clears stale options, while reselecting the same model preserves them. Mobile already exposes these controls and saves the full selection.

Scope and approval

Fixes #30233. This is a focused configuration option for an established scheduling capability under CONTRIBUTING.md; it does not add a workflow or change provider defaults.

Verification

The regression failed before the fix because the effort control was absent. Browser tests now cover default and saved options, effort edits, reselecting the current model, and clearing options when switching models. vp run check:changed passes, including 29 focused tests, affected-package typechecks, lint, formatting, knip, and React Compiler checks. In the real web client against isolated worktree state, saved a paused Codex task at High, confirmed reasoningEffort: high in its stored selection, and reopened it at High. No provider turn was started. Native mobile and the Electron shell were not exercised; their implementations are unchanged.

BeforeAfter saving and reopening
Task editor without effort controlTask editor retaining High effort

Reviewed with review-loop: 2 rounds with Claude Opus 5.5. Reviewer verdict: approved.

Created with GPT-6.1 Sol in the Codex harness (T3 Code).

    1. Pushed81ea50d

    2. Evidence

      Web, Chromium on Linux, 1440×1080, light theme; fresh synthetic state on each commit.

      Steps: configure Scheduled Reasoner with High as the default selection; inspect a bound-task draft; create a new-thread task, explicitly select the default model, disable, save and reopen; run manually, open the created thread and stop generation. Base shows Medium; head retains High. On head, change to Low and save/reopen, restore High and reselect the same model then save/reopen, and switch models to confirm High clears.

      The functional bug is the created thread falling from configured High to Medium on base. The missing effort control alone is not used as bug proof. Runs were stopped before a provider response was required.

      Scenario: Explicitly selecting the default scheduled-task model keeps its High effort

      Proven: the scenario fails on base 5ab8dc4bfc and passes on head 81ea50d476.

      CaptureBefore — 5ab8dc4bfcAfter — 81ea50d476
      ResultFailed: expected Scheduled Reasoner, High; observed MediumPassed
      Configured defaultBefore: configured High defaultAfter: configured High default
      Bound taskBefore: locked model without effort editorAfter: matching bound-task behavior
      Explicit model selectionBefore: selected modelAfter: selected model retains High
      Saved task reopenedBefore: reopened taskAfter: reopened task shows High
      Created thread actual effortBefore: Medium instead of configured HighAfter: High retained
      Assertion failureBefore: Medium remains visible
      Changed effort persistedAfter: saved and reopened as Low
      Same-model reselectionAfter: High survives reselection and save
      Different modelAfter: Other Reasoner shows default Medium
      Scripted interactionBefore recordingAfter recording, including effort edits and reselection

      Scenario and seed source

      Recordings omit startup and normalize recorder padding. The Low → High → same-model reselection sequence is recorded; persistence is not inferred from identical stills.

      Not shown:

      • Electron shell and provider reasoning behavior were not exercised; the proof covers web editor persistence and the model effort visible in the created thread.
    3. juliusmarminge merged this6205330

    4. juliusmarminge closed this

    5. juliusmarminge removed labelstakeover:ready

Sign in to join this conversation.