Flight plan editor for the General (issue #5) #25

Manually merged
vinny merged 0 commits from vinny/flight-plans into master 2026-10-13 22:25:30 -04:00 AGit
Owner

Part of #5 (the fuel watch landed in 0.7.8, and cargo is skipped by the operator's choice). This PR gives the General a flight plan editor: the tester's Phase 46 tools, synced from its 8cf8406.

  • missions.create_flight_plans makes a strike mission's flight plans. missions.edit_flight_plan inserts, moves, retypes (Initial Point, Refuel, Target, Hold, and so on) and deletes one flight's waypoints, with CMO's altitude and throttle presets. tester.check_flight_plan reads each change back.
  • Both refuse an active mission (operator 2026-10-13): an active strike whose aircraft can't form a flight makes CMO pop a modal "cannot launch" dialog in the player's game. Takeoff time and TOT stay with missions.set_schedule.
  • What the live probe measured: insert and delete count from 1; waypoint wrappers take position, type and presets; flight-plan waypoints have no exact per-leg altitude or speed.
  • tools/qualify_library.py gains a flightplans phase: an inactive strike with two aircraft of one base and loadout and one aircraft per flight, then generate, edit and remove. The live run at the new library revision follows before #5 closes.
  • G2 goldens are regenerated, and the tester carries the same copies (its 9a38504). Until this lands, master's golden comparison test fails against the tester's current checkout.

🤖 Generated with Claude Code

Part of #5 (the fuel watch landed in 0.7.8, and cargo is skipped by the operator's choice). This PR gives the General a flight plan editor: the tester's Phase 46 tools, synced from its 8cf8406. - `missions.create_flight_plans` makes a strike mission's flight plans. `missions.edit_flight_plan` inserts, moves, retypes (Initial Point, Refuel, Target, Hold, and so on) and deletes one flight's waypoints, with CMO's altitude and throttle presets. `tester.check_flight_plan` reads each change back. - Both refuse an active mission (operator 2026-10-13): an active strike whose aircraft can't form a flight makes CMO pop a modal "cannot launch" dialog in the player's game. Takeoff time and TOT stay with `missions.set_schedule`. - What the live probe measured: insert and delete count from 1; waypoint wrappers take position, type and presets; flight-plan waypoints have no exact per-leg altitude or speed. - `tools/qualify_library.py` gains a `flightplans` phase: an inactive strike with two aircraft of one base and loadout and one aircraft per flight, then generate, edit and remove. The live run at the new library revision follows before #5 closes. - G2 goldens are regenerated, and the tester carries the same copies (its 9a38504). Until this lands, master's golden comparison test fails against the tester's current checkout. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
missions.create_flight_plans makes a strike mission's flight plans, and
missions.edit_flight_plan inserts, moves, retypes (Initial Point, Refuel,
Target, Hold, and so on) and deletes one flight's waypoints, with CMO's
altitude and throttle presets. tester.check_flight_plan reads each one
back. They are synced from the tester at 8cf8406 (library revision
changes).

Both refuse an active mission (operator 2026-10-13: inactive missions
only): an active strike whose aircraft can't form a flight makes CMO pop
a modal "cannot launch" dialog in the player's game. The live probe
measured the API: insert and delete count from 1, waypoint wrappers take
position, type and presets, and exact per-leg altitude and speed don't
exist on flight-plan waypoints. Takeoff time and TOT stay with
missions.set_schedule.

tools/qualify_library.py gains a flightplans phase. It makes the strike
inactive before assigning two aircraft of one base and loadout, sets one
aircraft per flight, then generates, edits and removes. The live run
follows. A tools.search test now expects the exact name first. G2 goldens
are regenerated, and the tester copy is in its 9a38504.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Version 0.7.11 (flight-plans)
Some checks failed
check / check (ubuntu-latest) (pull_request) Has been cancelled
check / check (windows-latest) (pull_request) Has been cancelled
3961e6f96a
vinny manually merged commit 3961e6f96a into master 2026-10-13 22:25:30 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
vinny/CMOnet!25
No description provided.