Skip to content

Add independent motion freeze - #26

Merged
datashaman merged 1 commit into
mainfrom
agent/motion-freeze
Aug 15, 2026
Merged

datashaman merged 1 commit into
mainfrom
agent/motion-freeze

Conversation

@datashaman

Copy link
Copy Markdown
Owner

What changed

  • add native-owned paused-motion state and publish it through world snapshots
  • couple transport Stop/Play to motion freeze/resume
  • add an independent Freeze Motion control that leaves transport and MIDI running
  • keep collisions, cooldowns, and quantized transitions active while motion is frozen
  • preserve velocity for untouched phrases while settling phrases repositioned during a freeze
  • reject attempts to resume motion while transport is stopped
  • document motion behavior and expose it in field, status, and accessibility feedback

Why

The spatial world previously advanced unconditionally, including while transport was stopped. A phrase thrown quickly could become difficult to catch without interrupting playback. This adds a recovery control that freezes autonomous integration while retaining direct manipulation and musical interaction.

Freeze Motion does not clear the MIDI sink, reset transport, or reschedule the look-ahead window. Users can keep listening, reposition a phrase, and resume movement without an audio interruption.

Validation

  • ./scripts/verify.sh
  • Debug CTest: native and deterministic stress tests passed
  • Release CTest: native and deterministic stress tests passed
  • UI: 14 tests passed
  • repeated ten-minute deterministic stress simulation with 30 motion pause toggles, 15,224 paired MIDI messages, zero late MIDI, zero timestamp error, and zero phase drift
  • manual Release check: SGTM

@datashaman
datashaman marked this pull request as ready for review August 15, 2026 07:20
@datashaman
datashaman merged commit 68aca77 into main Aug 15, 2026
1 check 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