Skip to content

Dry-run snap carries the pending blend chain - #36

Merged
Jepson2k merged 1 commit into
mainfrom
fix/dry-run-snap-flush
Sep 2, 2026
Merged

Jepson2k merged 1 commit into
mainfrom
fix/dry-run-snap-flush

Conversation

@Jepson2k

@Jepson2k Jepson2k commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

_snap_to_angles — the dry-run path behind teleport, un-referenced home, and home(calibrate=True) — flushed the planner's blend buffer and then discarded what the flush produced. A blended move issued right before one of those commands vanished from the preview, along with any collision refusal it would have raised on the live controller, and the preview's next move started from the snap pose as if the blended move never happened.

The flushed results now lead the merged result (the same shape par6's dry-run home() already returns), so consumers get the chain in script order without having to call flush() themselves first.

Regression test fails on the old code (snap returned a single zero-duration pose) and passes with the fix; all dry-run unit tests pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_0158QrPR5eVhd31AvFpxJKr6

_snap_to_angles (teleport, un-referenced home, home(calibrate=True))
flushed the planner's blend buffer and discarded what it produced, so a
blended move issued right before the snap vanished from the preview along
with any collision refusal it would have raised live. The flushed results
now lead the merged result, as par6's dry-run client already does.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0158QrPR5eVhd31AvFpxJKr6
@Jepson2k
Jepson2k merged commit d6a68e8 into main Sep 2, 2026
13 checks passed
@Jepson2k
Jepson2k deleted the fix/dry-run-snap-flush branch September 2, 2026 17:30
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