Skip to content

fix(skill_reco): ask the backend-neutral decider route - #1695

Merged
huichen merged 3 commits into
mainfrom
pr/huichen
Nov 25, 2026
Merged

huichen merged 3 commits into
mainfrom
pr/huichen

Conversation

@huichen

@huichen huichen commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

Route skill recommendations through the gateway's backend-neutral decider model instead of pinning pplx-decider-v1.2, so a model upgrade is a server-side change rather than a client release. The wire comments, docs, and evaluation scripts follow the same rename, and the refusal-gate rationale records the 2026-11-25 re-run.

Commits

  • fix(skill_reco): ask the backend-neutral decider route

Verification

  • cargo fmt --all -- --check — clean
  • cargo clippy -p future-agent --all-targets -- -D warnings — clean
  • cargo test -p future-agent --lib — 3151 passed, 0 failed, 7 ignored
  • cargo check -p future-rpc -p future-host — clean
  • REGENERATE_PROTO=1 cargo build in packages/rpc — generated proto.rs unchanged (codegen fresh)
  • npx tsc --noEmit in desktop/ — clean
  • node --check scripts/skill_reco/jev.mjs scripts/skill_reco/suggest.mjs — clean

Toolchain: pinned 1.99.1 (rustup), not the Homebrew 1.96.0 that shadows it on this machine.

User-visible changes

  • Skill recommendation requests switch from the pinned model id pplx-decider-v1.2 to the gateway alias decider (before → after). Recommendations are now answered by whichever decision model the gateway currently deploys, so their output and latency can change without a client release. Automatic approval already used decider, so its behaviour is unchanged. Rollback: revert d93e2805a.

Skill recommendation pinned `pplx-decider-v1.2`, while automatic approval
already asks the gateway's `decider` route. Point SKILL_RECO_MODEL at the same
backend-neutral route, so a deployed decision-model upgrade reaches the
recommender without a client release; the per-model refusal gate still matches
the decider family.

Fix the terminology drift that came with that: comments and docs still called
the current System One call "Jev" in the skill-reco module, the approval and
product docs, the proto/RPC/host/desktop comments and the harness page. They
now say decider / decision model, while the historical Jev evaluation and the
Jev-vs-decider comparison keep their model names.

Re-score the route after the backend moved to Perplexity 1.3 (2026-11-25): on
the frozen 141-skill set, 95.0% agreement / 95.4% top-1 (Jev in the same
sitting: 93.0 / 90.8) at 629 ms, versus 3,581 ms before; the live 240-skill
catalogue answers in ~1.1 s, inside the 2.5 s serving deadline. The gateway's
`model` field still says pplx-decider-v1.2, so the report records the measured
route rather than a version string.

Tests: cargo fmt -p future-agent --check; cargo clippy -p future-agent
--all-targets -- -D warnings; cargo test -p future-agent --lib skill_reco
(35 pass) and system_one (3 pass); bench/check-parity.mjs; make check-docs.
@huichen
huichen enabled auto-merge (squash) November 25, 2026 13:22
@huichen
huichen merged commit 27f32f4 into main Nov 25, 2026
56 of 58 checks passed
@huichen
huichen deleted the pr/huichen branch November 25, 2026 14:01
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