Files
flightplanner/crates/core
Alexandre 3fd714eeb2 feat(routing): off-airway + avoid-aware splice, surgical PROF204 seg-bans
Cracks EDDM-LOWW (coverage 4/10 -> 5/10) and generalises DCT-too-long
(ROUTE165) repair:

- airway_path_avoiding(): the splice now builds the avoid-aware graph, so
  re-routing a too-long DCT never re-introduces a RAD-forbidden airway.
- Off-airway absorb: when a broken segment's from-point isn't on any airway
  (a SID/terminal fix, e.g. ALUTU), splice from the previous on-airway
  point through to the target, dropping the DCT-only detour
  (EDDM …BIBAG DCT ALUTU DCT AGNAV -> BIBAG airway AGNAV).
- PROF204 repair now bans the *segment* X<airway>Y (seg_key) instead of
  excluding the points, so a forbidden airway leg out of a SID/STAR gateway
  (BIBAG) no longer nukes the gateway itself.

Batch: 5/10, no regression. 49 tests green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-23 10:10:12 +02:00
..