Skip to content

Add reasoning-effort column to the pin router dialog - #1055

Merged
edwin-zvs merged 1 commit into
mainfrom
pin-router-effort-column
Jul 31, 2026
Merged

Add reasoning-effort column to the pin router dialog#1055
edwin-zvs merged 1 commit into
mainfrom
pin-router-effort-column

Conversation

@edwin-zvs

Copy link
Copy Markdown
Contributor

Summary

  • Extends the model-router pin dialog (status bar) with a third column for reasoning effort when the selected route/model advertises a real scale (Codex/OpenAI, Claude thinking, Grok, Kimi K3).
  • Persists optional pin effort on SessionRoute / session.set_route and injects it on pin-routed requests; native catalog picks still own effort via the request body (spec 0160).
  • Updates modeline to show pin effort on the routed side: origin → model (effort).

Interaction

Column Action
Target Select / preview (or clear via “No redirect”)
Model Select; commits immediately if no effort scale
Effort Commits pin with that effort

Keyboard: Right walks targets → models → efforts; Left walks back; Enter activates the focused step.

Spec

  • New: specs/0165-pin-router-selects-reasoning-effort.md
  • Cross-links in 0114 / 0160

Test plan

  • cargo test -p construct-daemon --lib -- router::
  • cargo test -p construct-cli --bin construct -- route_menu
  • cargo build in worktree
  • Manually: open model router from status bar on a route-capable session → pick codex-oauth / openai profile → confirm effort column → arm → modeline shows → model (effort)
  • Confirm targets without a scale (e.g. Gemini) still arm on model click with no third column

Binaries

This PR touches protocol, daemon, client, and cli → relevant binary is construct.

Debug binary (worktree):

/Users/moon/agentd/.claude/worktrees/pin-router-effort-column/target/debug/construct

Let the model-router status-bar picker choose effort as a third column
when the selected route/model advertises a real scale. Persist optional
effort on the session pin and inject it on pin-routed requests without
changing native-catalog request-scoped selection.
@edwin-zvs
edwin-zvs merged commit 90ab7a1 into main Jul 31, 2026
1 check passed
@edwin-zvs
edwin-zvs deleted the pin-router-effort-column branch July 31, 2026 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant