Repository navigation
fix(skill_reco): ask the backend-neutral decider route - #1695
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Route skill recommendations through the gateway's backend-neutral
decidermodel instead of pinningpplx-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
Verification
cargo fmt --all -- --check— cleancargo clippy -p future-agent --all-targets -- -D warnings— cleancargo test -p future-agent --lib— 3151 passed, 0 failed, 7 ignoredcargo check -p future-rpc -p future-host— cleanREGENERATE_PROTO=1 cargo buildinpackages/rpc— generatedproto.rsunchanged (codegen fresh)npx tsc --noEmitindesktop/— cleannode --check scripts/skill_reco/jev.mjs scripts/skill_reco/suggest.mjs— cleanToolchain: pinned
1.99.1(rustup), not the Homebrew1.96.0that shadows it on this machine.User-visible changes
pplx-decider-v1.2to the gateway aliasdecider(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 useddecider, so its behaviour is unchanged. Rollback: revertd93e2805a.