feat: add Wayfinder provider#2006
Conversation
The gateway's /router/models has no field asserting which configured route is "local" - route names are whatever the user named their own endpoints. Render the real per-route breakdown by name (matching the existing ClawRouter pattern) instead of guessing from array position.
Co-authored-by: Tom Ballard <tom@armytage.co>
Co-authored-by: Tom Ballard <tom@armytage.co>
Co-authored-by: Tom Ballard <tom@armytage.co>
Co-authored-by: Tom Ballard <tom@armytage.co>
Co-authored-by: Tom Ballard <tom@armytage.co>
Co-authored-by: Tom Ballard <tom@armytage.co>
Co-authored-by: Tom Ballard <tom@armytage.co>
Co-authored-by: Tom Ballard <tom@armytage.co>
|
Codex review: needs maintainer review before merge. Reviewed July 9, 2026, 10:45 AM ET / 14:45 UTC. Summary Reproducibility: not applicable. for the feature itself; current main has no Wayfinder provider, and I found no current-head review finding that needs a failing reproduction path. Review metrics: 3 noteworthy metrics.
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. Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review detailsBest possible solution: Merge the default-off provider after maintainer scope approval and required checks, keeping the read-only endpoint boundary and shared provider UI/test coverage intact. Do we have a high-confidence way to reproduce the issue? Not applicable for the feature itself; current main has no Wayfinder provider, and I found no current-head review finding that needs a failing reproduction path. Is this the best way to solve the issue? Yes, technically: the implementation follows the existing descriptor/fetch strategy/settings patterns, uses shared provider rendering, validates gateway overrides, and adds focused regression coverage. Product acceptance remains the maintainer decision. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against ba64aa02f4e2. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat 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
|
|
Maintainer proof for exact head
Screenshots remained local. This is ready to land. |
Summary
Adds opt-in Wayfinder support for its local, read-only gateway: health, configured-route request split, savings, and average routing-decision latency in the menu, CLI, widget snapshot, and Settings.
This maintainer branch supersedes #1966 because the contributor branch does not allow maintainer edits. It preserves all of @tcballard's commits and co-author credit.
Maintainer hardening
Proof
Exact head:
3544b634eb79f645cebf373555cc36cfca6493bemake check: passed.make test: all 50 shards passed.CodexGitCommit=3544b634; deep/strict signature valid; Gatekeeper accepted; app binary SHA-256fecca15cb16772ba0d91138d40e6ee44d17e22f373c8657a0ae5b29f2e1ed83f.Config: OK, healthy 2-model dry-run state, and average decision latency; unreachable gateway exited 1 with actionable guidance.http://localhost:9191persisted across relaunch and remained healthy.Risk
Low and isolated: provider defaults off, requires no credentials, calls only documented read-only accounting endpoints, rejects unsafe remote plain HTTP and cross-origin redirects, and never sends or reads prompts.