Skip to content

Course: the one door for the arrow and the step, with a log of every decision - #56

Merged
NeetCodeLeetCode merged 12 commits into
nextfrom
course-observe
Nov 29, 2026
Merged

NeetCodeLeetCode merged 12 commits into
nextfrom
course-observe

Conversation

@NeetCodeLeetCode

Copy link
Copy Markdown
Owner

Issues

  • I checked for open pull requests on the same work and found none.

What and why

The step reorder, the objective arrow, the Next stop Go button and the player's click now write the arrow and the step through one door (Own.move, the Course). The Course keeps the last 32 decisions: the offers each planner weighed (value, walk, chain, score), why one won or lost, and what it wrote. The routing report prints them, newest first. Clear routing report forgets the decisions.

Two switches, both in the fork menu: "Course log" (on) and "One planner holds the arrow" (off). With the second one off, every planner moves as before. A lint (tests/course-writers.test.js) lists every write of the arrow and the step, so a new write fails until it goes through the door.

Parity with the claims switch on and off: same time and same walk on 30 calm and 60 chaos scenario runs, 0 reversals.

The report, checked

Not a bug fix.

Checks

  • I ran the tests for what I changed (node --test tests/*.test.js, the addon harness: 4961 passed)
  • Not run, and why: clippy on forge-sim fails with manual_option_zip on the base branch as well; this change does not touch it.
  • A changelog fragment in changes/

Maintainer review

Fork dry run.


Generated by Claude Code

…g report section

The Course keeps the last 32 decisions of the planners that move the arrow and
the step on screen: the offers each weighed (value, walk, chain, score), why
one won or lost, and what it wrote. Adds the derived guide index with stable
step keys, the registry of sources, a snapshot of the game, and two switches:
Course log (on) and One planner holds the arrow (off).
The step reorder, the objective arrow, the Next stop Go button and the
player's click call Own.move, which logs each decision with what was weighed.
A lint lists every write of aim, pin and the arrow's override. Adds parity
and walk tests, and a probe that compares the claims switch on and off.
90 scenario runs with the switch on and off gave the same walk and time and no
reversals. Off in the fork menu: each planner moves the arrow as before.
A line the player walked away from rests until the live step changes, and a
second walk-away in the same zone rests it for the zone. The arrow that takes
objectives reads the Course's rest and the While here quiet list, so it does not
take the same line again 30 seconds later. Off with the claims switch.
…r the new switch

The log is part of the routing report, so its switch is the report's. One
planner holds the arrow keeps its own switch. Each My features switch builds
about 30 KiB of settings rows in the memory test's stub, so its one-time
budget moves from 75,000 to 76,000 KiB on the fork. The detour test for a held
line the player walked away from follows the Course's rest.
@NeetCodeLeetCode
NeetCodeLeetCode merged commit ce9624e into next Nov 29, 2026
16 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.

1 participant