Skip to content

fix(content): drop the circle, add a speed guard to before takeoff - #43

Merged
chezhj merged 3 commits into
masterfrom
claude/python-env-setup-confirm-74lpie
Oct 22, 2026
Merged

chezhj merged 3 commits into
masterfrom
claude/python-env-setup-confirm-74lpie

Conversation

@chezhj

@chezhj chezhj commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Summary

Before Takeoff opened as soon as Before Taxi finished. Session 129 showed the gate move to Before Takeoff 0.5 s after the last Before Taxi item was ticked: its show_rule was already true from the stand. The rule was a 500 m near circle around the runway threshold or the runway corridor, plus y_agl < 5, with no speed check. A stand near the runway sits inside the circle.

  • Drop the near circle; the corridor over the runway (150 m behind the threshold, 4000 m ahead, 90 m either side) is the only position test.
  • Add sim/flightmodel/position/groundspeed < 5 (m/s, about 10 kt), so the procedure opens once the aircraft has slowed to line up or hold, not while it taxis through the corridor.
  • Bump B738 content_version 1.4.1 to 1.4.2 (scripts/check_content_bump.py passes).
  • Update the Before Takeoff section of docs/CORRIDOR_OPERATOR_SPEC.md.

The branch also carries a rising-edge auto-navigation change and its revert, which cancel out. The net diff is the two files above.

Test plan

  • pytest checklist/tests/test_rules.py checklist/tests/test_content_command.py pass
  • Rule evaluated against sample positions: stand 200 m or 300 m off the centreline is false; stopped on the runway is true; moving at 15 m/s or airborne is false
  • CI test and pr-title green
  • In the sim: Before Takeoff no longer opens from the stand and opens when lined up or holding. If it never opens, check the plugin sends sim/flightmodel/position/groundspeed (no existing rule uses it) or loosen the 5 m/s limit.

The full suite was last run before the final change; CI will run it.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KAKXdsiZ923UK4EmHj25EM

A show_rule that was already true when the pilot reached the idle hub
(e.g. a stand inside the Before Takeoff zone) sent them straight into the
procedure the moment Before Taxi finished. The poll now returns
new_show_procedures (the False -> True subset) and only those slugs
auto-navigate; a rule already true stays a suggestion.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KAKXdsiZ923UK4EmHj25EM
Before Takeoff opened as soon as Before Taxi finished because a stand
close to the runway sat inside the 500 m near circle. Only the corridor
over the runway remains as the position test, and groundspeed < 5 m/s
(about 10 kt) is required. B738 content 1.4.1 -> 1.4.2.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KAKXdsiZ923UK4EmHj25EM
@chezhj chezhj changed the title fix(idle): auto-navigate only on a rule's rising edge fix(content): drop the circle, add a speed guard to before takeoff Oct 22, 2026
@chezhj
chezhj merged commit 9bfecae into master Oct 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants