win4r/pi-jev-router chooses execution models at explicit task boundaries. A short follow-up such as “continue” keeps its current model. Jev judges the task; local code chooses among the developer’s configured models.

Keep the task together

  • The extension starts in advisory mode, with Jev network calls disabled.
  • /route new marks a new task. /route brief supplies necessary context without sending the full conversation.
  • Jev answers separate questions about capability tier, sufficient context and serious consequences.
  • Uncertain judgments preserve an eligible current model. Manual model selection pins the user’s choice.

The inspected request sends task text, the explicit briefing and requirement flags. It omits conversation bodies, tool output and image content. Private information in the task or briefing still leaves the machine.

Switching models can lose a warm context

The policy checks exact model availability, tool support, reasoning, images and context capacity before considering price. It compares the current model’s observed cache-read benefit with a candidate’s estimated cold-context cost.

A model with cheaper token prices can therefore be the more expensive next step. Unknown prices stay unknown, and switch limits reduce repeated handoffs. These are inspected policy rules; production savings remain unmeasured.

Automatic mode holds an input when no eligible model exists. Advisory mode leaves the active model unchanged. The extension does not replay failed execution turns, which helps avoid repeating tool actions after partial failure.

A wrong classification can still produce a restrained action

The author’s recorded evaluation used 16 synthetic cases, including 13 live Jev calls and three local-rule cases. 15/16 matched the developer’s predefined raw-tier or rule labels. Those results were inspected, not reproduced; no real coding task ran.

Jev classified a unit-test-writing task too low. Its confidence and context-sufficiency values failed the policy gates, so the current general model stayed. That is a classification error caught by code.

Two other cases exposed unnecessary escalation from an overly low consequence threshold. The author corrected the policy and replayed the saved judgments. Reusing those examples checks the correction, but supplies no independent accuracy evidence.

Typed answers constrain the response format. Their confidence describes the model’s distribution; labeled outcomes must establish whether its decisions are correct.

Caveat: all 92 supplied offline tests passed locally; live Jev quality, the separate Pi host integration suite and net coding-task savings were not independently validated.