From 6f747b4cb101320f990a3759d163b15606e604ba Mon Sep 17 00:00:00 2001 From: araharah-executor Date: Sat, 24 Oct 2026 06:06:49 +0800 Subject: [PATCH] =?UTF-8?q?docs(05):=20phase=205=20PASSED=20=E2=80=94=20ve?= =?UTF-8?q?rification=20+=20close?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../05-routing-route-display/05-05-SUMMARY.md | 6 ++++ .../05-VERIFICATION.md | 35 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 .planning/phases/05-routing-route-display/05-VERIFICATION.md diff --git a/.planning/phases/05-routing-route-display/05-05-SUMMARY.md b/.planning/phases/05-routing-route-display/05-05-SUMMARY.md index 0b3a164..3eb5707 100644 --- a/.planning/phases/05-routing-route-display/05-05-SUMMARY.md +++ b/.planning/phases/05-routing-route-display/05-05-SUMMARY.md @@ -171,3 +171,9 @@ None — no external service configuration. The captures run against the committ - `npm test -w bot`: 74 passed, 0 failed — `PASS RP1`, `PASS RP2`; tree greps for `/api/route` and `@araharah/routing` in bot/src both return 0. - `npm run routing:test` 35/0; `npm run routing:corpus` PASS (gz 16,576 B; multi-route 8 / floor 4); web/bot/routing typechecks exit 0. - STATE.md and ROADMAP.md untouched (orchestrator-owned writes); only 05-05-SUMMARY.md added (force-add, .planning/ ignored). + +## Phase close (orchestrator, 2026-10-24) + +All 5 plans complete; verification PASSED (05-VERIFICATION.md). Deployed live +`e6a6811c`. Two real bugs the new capture legs caught (bootMap onLoad never +wired; route consult racing map load) fixed + regression-gated in wave 3. diff --git a/.planning/phases/05-routing-route-display/05-VERIFICATION.md b/.planning/phases/05-routing-route-display/05-VERIFICATION.md new file mode 100644 index 0000000..a47df52 --- /dev/null +++ b/.planning/phases/05-routing-route-display/05-VERIFICATION.md @@ -0,0 +1,35 @@ +# Phase 5: Routing + Route Display — Verification + +**Verified:** 2026-10-24 +**Method:** goal-backward against ROADMAP §Phase 5 (SC3 as amended per 05-CONTEXT — fixture RoutingSource backend + documented backend ladder + deliberate router-pending state). + +## Success Criteria + +### SC1 (RTNG-01) — route drawn on the Rams map from current location to destination — ✅ PASS +- Route paint stack live: selected = 9px matte-black casing + 5px signal-orange center (Phase 1's reserved accent as primary consumer); unselected = 5px/3px black+beige quiet mini-stack; layers ADDED above `building-3d` at pitch 35° — style never re-set (RP gates + code greps). +- Origin ring + destination pin (12px square + 8px tail, name chip) per UI-SPEC; camera fit-bounds with the declared padding. +- Two real bugs the new capture legs caught and fixed: `bootMap` missing the `onLoad` callback (route sources never installed) and route-consult racing map load — both gated by an RS2 boot-wiring regression test. +- Capture evidence: `shell-route-fixture.png` / `shell-route-alt.png` / `shell-route-dark.png` (13/13 non-blank). + +### SC2 (RTNG-02) — up to 3 alternatives, quiet Rams cards, selection redraws — ✅ PASS +- Bottom card + chips per UI-SPEC: time in `telemetry-num`, distance, one-line difference; tap → redraw (alt-swap capture shows `ROUTE 2/2 / +1 MIN VS ROUTE 1`). +- 8 of 15 corpus pairs carry ≥2 alternates (floor 4 — exceeded). + +### SC3 (amended) — golden corpus routes cleanly through the fixture backend — ✅ PASS +- 15 real KL pairs (23 routes) fetched once at build time from the public OSRM demo (`code: Ok` throughout; no user data, D-12 mechanically proven — RT2b joins origins to gazetteer landmarks). +- Offline tolerance gate RT1–RT10 **PASS**: 16,576B gz / 102,400 budget; bundle gate BA9: 35,076 / 204,800 gz bytes; BA10: 15/15 pair ids in the shipped bundle. +- Backend ladder documented: fixtures (#1) → client-side WASM router (#2, OSS track) → Valhalla-on-VPS (#3, provision path documented, not shipped). Worker no-route-proxy gates RP1/RP2 teeth-proven (D-05). + +### Phase 6 groundwork +- `guidance_sessions` envelope frozen **types-only**: exact 4-field envelope, inline snapshot, 7200s TTL constant, `guidance:` key scheme — zero KV runtime (GE1–GE7, `KvNamespace` count 0). Route model carries step geometry + snapped-progress fields day-one (D-07). + +## Gates at close +search 57/57 · routing 35/35 · corpus PASS · bot 74/74 · web 76/76 · typechecks ×3 clean · theme audit clean · captures 13/13 · live deploy `e6a6811c`. + +## Known-open (non-blocking) +- /cari client-menu defect (carried from Phase 4 — Telegram-side, diagnosis + re-arm script committed). +- RoutingSource backend #2/#3 deferred by design (05-CONTEXT D-01); arbitrary-origin routing arrives with them; "router pending" state is the designed interim. + +## Verdict + +**PHASE 5: PASSED** — 5/5 plans executed; all success criteria met (SC3 as amended). Phase 6 (Turn-by-Turn Guidance) is next.