hermes-explorigin 8941d837b5
All checks were successful
CI / test-and-build (push) Successful in 58s
Directions: merge consecutive turn-by-turn steps on the same street
buildTurnInstructions grouped steps purely by heading change, so a street
that bends (same name, >30° heading shift) produced redundant
'Continue/Turn onto Pine St' entries. Now consecutive legs sharing the same
street name are collapsed into a single step with summed distance.

- routing.ts: track each leg's street name and absorb subsequent same-street
  steps' distance into the first; the arrival step uses the final bearing
- scripts/test.mjs: assert a bent single-named road yields 1 step, and that
  two distinct streets are not merged
2026-08-12 18:05:41 +00:00
..