Repository navigation
fix(review): route refuter and validator through Pi's default model when unrouted - #2479
Conversation
…hen unrouted review-refuter and review-validator are provider review roles, not installable agents: nothing seeds their routing entries and profiles never carry them, so fresh installs and any profile pin or session binding hit a typed reviewer-config-invalid refusal naming agents the package retired. When the routing snapshot in effect has no model for one of these two keys, the relay now uses Pi's persisted default model and effort, the default the routing panel already labels them with. Lens reviewers keep fail-closed routing. Refs #2271
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Linked Issue
Closes #2271
PR Type
Summary
review-refuterandreview-validatorare provider review roles, not installable agents: no agent file exists for them, nothing seeds their routing entries, and profiles never carry them. A fresh standalone install, or any profile pin or session binding, hit a typedreviewer-config-invalidrefusal naming agents the package itself retired.defaultProvider/defaultModel/defaultThinkingLevel), the default the routing panel already labels them with ("Pi persisted default model").review-risk, etc.) keep their fail-closed routing. With neither an entry nor a Pi default, the typed refusal is unchanged.review-refuter.md/review-validator.mdfiles into the agent home (the workaround reported in the issue) has no effect: reviewer routing never reads the agent home.Changes
extensions/gentle-ai.tsreviewHostRelaySelectionfalls back to Pi's persisted default for the two provider review roles onlytests/review-host-relay-routing.test.tsdocs/review-integration.mdstill says a missing entry is refused. That file is a vendored contract artifact pinned by hash to the Gentle AI runtime, so its wording has to change in Gentle AI.Test Plan
node --test tests/review-host-relay-routing.test.ts: 53 pass, 0 fail (the new tests failed before the fix)npx tsc --noEmit -p .: exit 0npm test: 155 failures, the same set as onorigin/main(pre-existing: editor/vim replay, config home, Pi baseline). None are in review routing.Contributor Checklist
Co-Authored-Bytrailersstatus:approved(it has no labels)Summary by CodeRabbit