Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web): describe what Ultracode does in the Reasoning picker #6092

Mergeddelltrak(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/6092/headmerged by juliusmarminge View on GitHub

Closes #6091

Reasoning → Ultracode sits next to Low/Medium/High/Extra High/Max with a bare label. Nothing in the UI says it also turns on standing multi-agent workflow orchestration. Claude Code's own picker spells it out (xhigh + dynamic workflow orchestration).

beforeafter

ProviderOptionChoice in packages/contracts/src/model.ts already declares an optional description. It just was never plumbed through, so this wires it up and sets one on Ultracode:

  • providerSnapshot.ts: buildSelectOptionDescriptor stops dropping description when it maps choices
  • TraitsPicker.tsx: renders option.description under the label when there is one
  • ClaudeProvider.ts: sets it on ultracode for the three models that offer it (fable-5, opus-5, opus-4-8)

Data-driven rather than a hardcoded ultracode branch in the picker, since #5696 is moving provider-specific logic out of that file. Any provider can annotate any select option now.

Options without a description render exactly as before. No contract change, nothing to migrate.

The description is capped at max-w-56 and wraps, so the menu settles around 250px instead of growing with the text. Menus whose options carry no description keep their current width.

Renaming the label would have been a smaller diff but a worse result. TraitsPicker truncates choice labels, and mobile's compact settings pill reuses the same option.label, so Opus 5 · Ultracode (multi-agent workflows) · Full would land on the one surface that already hides this option on purpose.

#5696 touches ClaudeProvider.ts and TraitsPicker.tsx too. Whichever lands second needs a rebase.

Testing

  • vp fmt and vp lint: clean
  • typecheck on t3, @t3tools/web, @t3tools/contracts: passes
  • vp run --filter @t3tools/web test: 2161 passed across 234 files
  • vp run --filter t3 test: 2371 passed, 7 skipped
    1. coderabbitai[bot](GitHub profile, opens in a new tab)commented

      Important

      Review skipped

      Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

      ⚙️ Run configuration

      Configuration used: Repository UI

      Review profile: CHILL

      Plan: Pro Plus

      Run ID: 6c33744e-4abb-4df1-8286-519126de29bd

      You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

      Use the checkbox below for a quick retry:

      • 🔍 Trigger review

      Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

      ❤️ Share
      Comment `@coderabbitai help` to get the list of available commands.
    2. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched

    3. macroscopeapp[bot](GitHub profile, opens in a new tab)commented

      Approvability

      Verdict: Approved c60cd35

      This PR adds descriptive text to the 'Ultracode' option in the Reasoning picker UI. The changes are purely additive - adding an optional description field to existing data structures and rendering it in the UI. No runtime logic changes beyond displaying text.

      You can customize Macroscope's approvability policy. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).
    4. delltrak(GitHub profile, opens in a new tab) changed the title

    5. juliusmarminge merged this39167eb

    6. juliusmarminge closed this

Sign in to join this conversation.