Commit Graph

3 Commits

Author SHA1 Message Date
Alexandre 89270c01a3 feat(routes): export/import validated routes — make the 100% DB permanent
The oracle-validated route DB (the realistic path to 100% under prose-only)
lived only in the gitignored real.db, so a navdata rebuild would lose it.
Now it is portable and version-controlled:

- routes::export_validated -> TSV of every ifps_ok route (one per pair);
  import_seeds loads them back as reusable seeds (source=seed).
- CLI `export-routes` / `import-routes`.
- discover reuse now matches any ifps_ok route (not just source=ifps), so
  imported seeds are reused instantly (verified round-trip).
- data/validated_routes.tsv: 65 validated European city-pair routes, built
  by bulk-seeding discover over ~85 common pairs (the DB grew ~11 -> 65).

This is the PFPX-style route DB, committed: 65 pairs are now no-error &
instant on any machine; `learn` + more bulk-seed grow it further.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-28 21:45:29 +02:00
Alexandre 36ecaed267 feat(cli): learn — validate a known route and store it as a permanent seed
Completes the route-DB pipeline that is the realistic path to 100% under
the prose-only / independent constraint (pure RAD-prose synthesis can't
guarantee 100% on arbitrary pairs):

- discover: synthesize -> oracle-validate -> store if no-error -> reuse
  instantly next time (verified: 2nd LFPG-EDDF returns via "reused stored
  IFPS-valid route", 0 IFPUV calls).
- learn --from --to --route --fl: validate a user-supplied route against
  IFPUV and, if no-error, record it (source=ifps, ifps_ok=1) so discover
  reuses it forever. --force keeps a still-erroring route for review
  (source=manual, not reused). This is how a real ops route DB grows and
  how the pairs the generator can't yet crack reach 100% (seed once).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-27 15:33:52 +02:00
Alexandre 2cb633e99d Initial commit: offline flight planner (Rust, PFPX-class)
Clean-room reproduction of PFPX: route generation + IFPS validation + OFP.
Independent design — official ICAO/EUROCONTROL data only (RAD, FRA points,
IFPUV oracle); no community FPL sources.

Workspace crates: core (routing/discover/rad/navdata/perf/export),
cli, server, rad (Annex parser), gui (Tauri v2 + React + MapLibre).
Route discovery: oracle-in-the-loop repair against Eurocontrol IFPUV.

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