Debug Routing
"/home/yossef/notes/git/projects/maplibra/risks/Debug Routing.md"
path: maplibra/risks/Debug Routing.md
- **fileName**: Debug Routing
- **Created on**: 2026-06-16 00:48:42
Debug Routing
Migrated from: obs_vault
This note is the shortest path for diagnosing a route bug.
First Facts To Capture
- startup mode from ../flows/Startup Sequence.md
- active graph format from ../modules/Pathfinding.md
- requested engine vs active engine from ../modules/WASM Routing.md
- route endpoint candidates from ../modules/Snapping.md
- whether smoothing changed the raw path from ../modules/Route Smoothing.md
If Routing Is Missing
- Check whether the package contains
routing/assets. - Check whether active graph format is
slices,binary, orjson. - If no graph exists, inspect ../decisions/Deferred Bootstrap.md and ./Offline Packaging Risks.md.
If The Door Is Wrong
- Inspect the containing room in ../modules/Doors and Rooms.md.
- Inspect door features in ../modules/Doors and Rooms.md.
- Inspect candidate ranking in ../modules/Snapping.md.
- Compare with ./Wrong Door Risk.md.
If The Path Crosses A Wall
- Check graph edges from ../flows/Graph Construction.md.
- Check blockers and walkable areas in ../flows/Wall Detection.md.
- Check smoothing in ../modules/Route Smoothing.md.
- Compare with ./Cross Wall Risk.md.
If WASM Falls Back
- Check worker construction.
- Check WASM init errors or timeouts.
- Check
fallbackReason. - Compare requested engine and active engine.