Commit Graph

7 Commits

Author SHA1 Message Date
Reese Norris
3bc93e0101 feat: optional REQUIRE_PILOT_PPL gate for pilot FSD logins
Add config REQUIRE_PILOT_PPL (default false). When enabled, #AP pilot
connections need pilot_rating PPL or higher; ATC is unchanged. Exposed
in admin config editor and /api/v1/config.
2026-07-23 20:13:33 -04:00
Reese Norris
2df0ee6eb8 protocol: match VATSIM pilot rating IDs and names
Use the official pilot scale (0 P0, 1 PPL, 3 IR, 7 CMEL, 15 ATPL,
31 FI, 63 FE) for storage, UI labels, validation, and docs.
2026-07-23 20:05:54 -04:00
Reese Norris
93789bf72f feat: serviceapi DTOs, $HC handoff cancel, and ATC race fixes
Extract pure JSON DTOs into internal/serviceapi so web no longer imports
server. Add $HC wire type, persist assigned beacons, fix ValidATC before
first position, and prevent double leave notifications.
2026-07-22 16:06:11 -04:00
Reese Norris
1d65dcfc79 feat: implement SECPOS secondary visibility centers
Advertise SECPOS=1 and apply ' secondary center packets to multi-box
range search so ATC can see pilots outside the primary visibility box.
2026-07-21 18:11:50 -04:00
Reese Norris
a6c2167a93 test: stress baselines; coverage ≥80%; dead code cleanup
Record stress baselines without absolute CI latency fails; raise cover floor;
README layout; residual cleanup.
2026-07-16 12:37:55 -04:00
Reese Norris
6715b33601 fix: address review feedback for pkg/protocol
Document Field negative-index contract, drop unreachable prefix
checks (100% coverage), remove duplicated fsd rebaseToNextField.
2026-07-16 12:35:37 -04:00
Reese Norris
b899f56871 refactor: extract pkg/protocol with golden vectors
Pure wire-format package with goldens from docs/protocol.md and
differential adapters in fsd. Coverage floor for protocol package.
2026-07-16 12:35:37 -04:00