Date: 2026-05-08
Reference: docs/VFR_QUALITY_RULESET.md (LOCKED)
Goal: map every rule-set section to existing engine code + tests,
identify gaps, recommend prioritized adjustments, and explain why the
QA agent / current test battery has not been catching the issues the
user keeps surfacing in PDF reviews.
Audience: CFI / DPE / experienced VFR pilot reviewing whether the auto-router produces a checkride-defensible route.
Scope: This document describes the logic the engine applies — not a specific city-pair solution. The engine is run on every trip; the KHWO → KOBE example below is one traced output, not a hardcoded answer.
Code anchors:
Packages/CheckPilotKit/Sources/NavLogKit/RoutePlanner.swift— the plannerPackages/CheckPilotKit/Sources/NavLogKit/CandidateRoutePlanner.swift— candidate scoringPackages/CheckPilotKit/Sources/NavLogKit/RouteScorer.swift— lex-ordered route comparison