Skip to content

fix: make the planner agree with the specification - #3

Merged
conjikidow merged 1 commit into
mainfrom
fix/planner-disagreements
Aug 6, 2026
Merged

conjikidow merged 1 commit into
mainfrom
fix/planner-disagreements

Conversation

@conjikidow

Copy link
Copy Markdown
Owner

Fixes the three disagreements the model-based test reported, which is what step 2 of the tutorial asks
participants to do.

The planner fell back to the YX path without checking that it was clear, so it never returned NoPlan and
happily planned through the obstacle.
It built descending walks in the wrong order, so paths moving towards a smaller coordinate came out reversed.
And reset kept the previous obstacle when given none, so a planner reused across traces carried state it
should have dropped.

Every test passes now, including the model-based one.

The model-based test found three disagreements. The planner fell back to the
YX path without checking that it was clear, it built descending walks in the
wrong order, and it kept the previous obstacle when reset without one.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
@conjikidow conjikidow self-assigned this Aug 6, 2026
@conjikidow
conjikidow merged commit 8bb2945 into main Aug 6, 2026
16 checks passed
@conjikidow
conjikidow deleted the fix/planner-disagreements branch August 6, 2026 01:36
conjikidow added a commit that referenced this pull request Aug 17, 2026
The model-based test found three disagreements. The planner fell back to the
YX path without checking that it was clear, it built descending walks in the
wrong order, and it kept the previous obstacle when reset without one.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
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