feat(runtime): make Rust the sole Wayfinder runtime#114
Merged
Conversation
…AP-0014] Remove the retired Python implementation, delegation, package release, generated fixture tooling, and Python-owned CI. Make the native Rust gateway authoritative across capabilities, containers, desktop packaging, and contributor guidance, with legacy commands failing closed under WF-ADR-0046.
…ROADMAP-0016] Implements the Phase 0 source-of-truth boundary for native iPhone and iPad development. Adds: - independent mobile product and shared Rust routing-core ADRs - provider, OAuth, Keychain, Apple model, and pairing contracts - v0.2.0/v0.2.1 delivery roadmap and capability matrix - conservative Kimi account-auth qualification - supersession links across current macOS and Rust documents
…016] Rename the authoritative scorer as wayfinder-routing-core, add secret-free runtime contracts and deterministic eligibility planning, and prove gateway/embedded parity without changing gateway behavior.
tcballard
marked this pull request as ready for review
July 24, 2026 10:39
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.
Summary
Completes the Wayfinder router rewrite by making Rust the sole production implementation. This removes the retired Python runtime, fallback/delegation, package release, tests, benchmarks, and fixture generators rather than merely suppressing their CI failures.
Scope
gateway_ready: true;Product / Architecture Decisions
WF-ADR-0046 accepts Rust as Wayfinder's sole router and gateway runtime and closes WF-ROADMAP-0014.
Native Swift continues to own Desktop Chat and setup. The Rust gateway remains the source of truth for routing and delivery. This does not broaden the credential broker, make Apple the preferred default, or change Automatic routing.
The removed
calibrate,recalibrate,webchat,ui,chat,onboard,judge,init,doctor, andkeyssurfaces are not silently emulated. They return a deterministic unsupported-command error until a reviewed native user journey justifies a replacement.User-facing contract
Verification
cargo fmt --manifest-path rust/Cargo.toml --all -- --checkcargo test --manifest-path rust/Cargo.toml --workspace --all-features --lockedcargo clippy --manifest-path rust/Cargo.toml --workspace --all-targets --all-features --locked -- -D warningsswift test --package-path macos/WayfinderMac— 174 tests passednode clients/shared/test/parity.mjs— 21/21 score, routing, and feature vectors passedcargo +1.85.0 build --manifest-path rust/Cargo.toml --package wayfinder-cli --bin wayfinder-router --release --lockedgateway_ready: trueWAYFINDER_PYTHON_EXECUTABLE=/bin/false.pyfiles and zero executable Python/install referencesDocker is not installed on the development Mac, so the updated multi-stage Rust image is left to the required remote Docker check.
Review Path
Notes
This PR is intentionally separate from PR #113 and is based on
main. It does not contain the per-message route-mention work.