Skip to content

fix(cli): clarify provider-specific model option examples - #41484

Open
nettee wants to merge 1 commit into
pingdotgg:mainfrom
nettee:fix/cli-provider-option-examples
Open

nettee wants to merge 1 commit into
pingdotgg:mainfrom
nettee:fix/cli-provider-option-examples

Conversation

@nettee

@nettee nettee commented Nov 23, 2026

Copy link
Copy Markdown

The CLI help and user guide suggest effort=high without naming its provider. Codex requires reasoningEffort: copying the example starts a successful turn but leaves the requested High setting unapplied.

Qualify the existing examples with Codex and Claude, and point the guide to orchestrator_capabilities for the selected provider/model's option IDs and allowed values. This applies the same guidance correction as #40806 to the CLI and user guide.

Fixes #41483

Evidence and verification

  • Installed T3 0.1.11 with Codex 0.171.0, gpt-6.1-sol, macOS arm64: three fresh CLI turns completed. effort=high omitted effort from turn_context, and Codex's harness-authored configuration_update recorded Low. reasoningEffort=high recorded High in both places. A Medium control recorded Medium in turn_context.
  • Ran the source CLI's thread start --help: it now names both providers' IDs.
  • vp test run apps/server/src/cli/thread.test.ts: 19 passed.
  • vp run check:changed 06f513d50fe926a04b77a0b4d76f613adb32b717: all steps passed, including typecheck of 3 packages and 21 tests across 2 files.
  • No new copy-text assertions were added, following the repository's testing guidance.

Scope: CLI help and user-guide copy. The provider-specific option IDs and option-validation behavior are unchanged. Claude and other providers were not live-tested; the local Claude provider is disabled.

Written by GPT-6.1 Sol in T3 Code's Codex harness.

@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Nov 23, 2026
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The thread start help and user guide now show Codex’s reasoningEffort=high and Claude’s effort=high. The guide also states that option IDs and values depend on the provider and model, and points to orchestrator_capabilities.

Changes: CLI option guidance

Layer / File(s) Summary
Provider-specific option examples
apps/server/src/cli/thread.ts, docs/user/outside-agents.md
The CLI help and user guide show separate reasoning-effort option IDs for Codex and Claude. The guide states that option IDs and values depend on the provider and model, and points to orchestrator_capabilities.

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Other · Severity of issue fixed: Low

Possibly related PRs

Suggested reviewers: pjmuller, juliusmarminge, macroscopeapp

Merge Risk: Minimal · up to 6dcb2

This change clarifies help text and documentation so users pass the correct reasoning-effort option ID for each provider. No behavior change or merge risk is expected.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "fix(cli): clarify provider-specific model option examples" matches the main change: the CLI help and user guide now qualify the effort examples as Codex reasoningEffort=high or Claude `ef…
Description check Passed The description covers the problem (unqualified effort=high example leaves the High setting unapplied on Codex), the change (provider-qualified examples and a pointer to orchestrator_capabilities)…
Linked Issues check Passed Directly linked issue #41483 has two coding requirements: (1) qualify the unqualified effort=high examples by provider, and (2) point the guide to orchestrator_capabilities for option IDs and allo…
Out of Scope Changes check Passed The changed files are apps/server/src/cli/thread.ts (the --option help description for thread start) and docs/user/outside-agents.md (the host-scripts option guidance). Both changes are the guidan…
Full details: Title check

Explanation

The title "fix(cli): clarify provider-specific model option examples" matches the main change: the CLI help and user guide now qualify the effort examples as Codex reasoningEffort=high or Claude effort=high. It follows the conventional commit style and is specific enough for a teammate scanning history.

Full details: Description check

Explanation

The description covers the problem (unqualified effort=high example leaves the High setting unapplied on Codex), the change (provider-qualified examples and a pointer to orchestrator_capabilities), scope (links issue #41483 and explains the bug-fix scope), and verification (CLI turn results, help output check, test runs, and a note on untested Claude). It follows the template closely. The Scope section does not explicitly say why the change is a bug fix rather than a feature, but the linked issue covers that.

Full details: Linked Issues check

Explanation

Directly linked issue #41483 has two coding requirements: (1) qualify the unqualified effort=high examples by provider, and (2) point the guide to orchestrator_capabilities for option IDs and allowed values. Requirement 1 is met in docs/user/outside-agents.md ("Scripts on the host"): it now reads "For reasoning effort, Codex uses --option reasoningEffort=high, while Claude uses --option effort=high." Requirement 2 is met in the same passage: "Option ids and allowed values depend on the provider and model; use those reported by orchestrator_capabilities." The CLI help in apps/server/src/cli/thread.ts is reported to carry the same provider-qualified examples (+1/-1 line). I verified the guide text directly. I verified the CLI help text only through the AI-generated summary and the PR description, because the file read was truncated and the diff was unavailable. The PR description also reports a run of thread start --help that names both provider IDs. The issue's requirements are copy corrections, so no runtime behavior change is required. No active coding requirement remains unmet.

Full details: Out of Scope Changes check

Explanation

The changed files are apps/server/src/cli/thread.ts (the --option help description for thread start) and docs/user/outside-agents.md (the host-scripts option guidance). Both changes are the guidance correction that #41483 requests. The summary reports no declaration changes and no code-behavior changes; the provider-specific option IDs and validation are unchanged, as the PR description and linked issue state. No unrelated file or behavior change was identified. The CLI help hunk was checked through the summary and PR description, not by a full diff read, so this verdict rests on that evidence.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 06f513d and 6dcb2d6.

Files selected for processing: 2

  • apps/server/src/cli/thread.ts
  • docs/user/outside-agents.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@juliusmarminge juliusmarminge added the takeover:in-progress A takeover lead is working on this PR label Nov 23, 2026

This branch has not been deployed

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

Labels

size:XS 0-9 changed lines (additions + deletions). takeover:in-progress A takeover lead is working on this PR vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: CLI --option help suggests an effort ID that Codex ignores

2 participants