mirror of
https://github.com/zvx-echo6/navi.git
synced 2026-08-26 17:31:37 +00:00
No description
- JavaScript 96.9%
- CSS 2.9%
- HTML 0.2%
PR 1 of the Auto rewrite. _route_auto no longer routes all four modes and keeps a min-time winner; it classifies each endpoint (category map, spatial probe only as untagged-click fallback), picks the first AUTO_MODE_PRIORITY mode in the eligible intersection, and routes ONCE. This removes the measured ~3.03s in-town 4-mode probe (single-mode probing line in journald) -- in-town Auto drops from ~6s toward ~1s. Trade-off (intentional, PR1): no routing-failure fall-through and no min-time refinement -- if the capability-picked mode cannot route, the error is returned. The hybrid path (unchanged here, still gated on the 24km MIN_HYBRID_DISTANCE_KM) recovers road->offroad plans. Semantic hybrid gate is PR 2. Scope: router.py (_route_auto contest loop only) + test_offroute.py (contest tests -> capability-pick tests + new tagged-no-spatial and untagged-spatial-once tests). _try_hybrid_auto body, the hybrid gate, AUTO_MODE_PRIORITY/MODE_PROFILES, and all other modules untouched. Full offroute suite: 84 passed. Design: recon_refactor/auto-rewrite-plan.md (artifacts dir). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| backend | ||
| frontend | ||