Skip to content

feat(server): advisor route type - #382

Open
eric-liu-nvidia wants to merge 1 commit into
claude/advisor-review-gate-rustfrom
claude/advisor-gate-2-route
Open

feat(server): advisor route type#382
eric-liu-nvidia wants to merge 1 commit into
claude/advisor-review-gate-rustfrom
claude/advisor-gate-2-route

Conversation

@eric-liu-nvidia

Copy link
Copy Markdown
Contributor

Stack 2/3 — builds on #371 (core algorithm). Review only this PR's diff; it targets #371's branch.

Adds the type = "advisor" route to the server TOML config: an Advisor variant in RouteConfig, target resolution (executor is the routing/count_tokens target, advisor is judge-only), validation with typed error messages, and 9 config tests.

All gate knobs are TOML fields, including the prompts (reviewer_system_prompt, redo_feedback_prefix) — the built-in strings are just defaults.

[routes.gated]
id = "switchyard-advisor"
type = "advisor"
executor_target = "executor"
advisor_target = "advisor"   # judge-only; set max_retries = 0 on its llm_client

Stack: #371 (core algorithm) → this PR (server route) → stats projection + e2e.

🤖 Generated with Claude Code

@eric-liu-nvidia
eric-liu-nvidia requested a review from a team as a code owner August 12, 2026 17:17
@eric-liu-nvidia
eric-liu-nvidia force-pushed the claude/advisor-gate-2-route branch 2 times, most recently from dcba2ee to 010209f Compare August 12, 2026 21:50
@eric-liu-nvidia
eric-liu-nvidia force-pushed the claude/advisor-review-gate-rust branch from 97ec7bd to d50e1e7 Compare August 12, 2026 21:50
Signed-off-by: zengyuanl <zengyuanl@nvidia.com>
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