feat: route canonical provider models through ClawRouter#94012
feat: route canonical provider models through ClawRouter#94012vincentkoc wants to merge 2 commits into
Conversation
|
Codex review: found issues before merge. Reviewed June 26, 2026, 3:07 PM ET / 19:07 UTC. Summary PR surface: Source +993, Tests +1020, Config +31, Generated 0, Other +6. Total +2050 across 46 files. Reproducibility: not applicable. as a user bug reproduction because this is a feature PR. Source inspection does show a high-confidence fail-open path for selected ClawRouter profiles, but I did not run a live ClawRouter setup. Review metrics: 1 noteworthy metric.
Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review findings
Review detailsBest possible solution: Land a rebased ClawRouter design only after selected gateway profiles fail closed, SDK/config docs and label ownership are aligned, and redacted live proof shows canonical dispatch through ClawRouter plus denied routes failing closed. Do we have a high-confidence way to reproduce the issue? Not applicable as a user bug reproduction because this is a feature PR. Source inspection does show a high-confidence fail-open path for selected ClawRouter profiles, but I did not run a live ClawRouter setup. Is this the best way to solve the issue? No: the canonical-provider direction is plausible, but the current branch is not the best merge state until explicit ClawRouter profile failures are terminal and the public SDK/config contract is documented. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against e5123e44b0f5. Label changesLabel justifications:
Evidence reviewedPR surface: Source +993, Tests +1020, Config +31, Generated 0, Other +6. Total +2050 across 46 files. View PR surface stats
Security concerns:
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
Superseded by #99658 and the auth-profile follow-up #99759, both now on |
Summary
clawrouter/...model IDsWhy
ClawRouter should be an optional control-plane and proxy layer for normal provider configuration, not another model provider. A maintainer keeps using canonical models such as
openai/gpt-...oranthropic/claude-...; selecting a ClawRouter credential profile controls whether that call is routed through the gateway.Impact
/btwpaths resolve the same late transport routeValidation
cross-spawndeclaration insrc/agents/utils/child-process.tsDeployment status
Code only. No production ClawRouter configuration or deployment is included.
Remaining risk
This branch is currently behind
mainand needs a rebase plus final merge validation before landing.