feat(ring): fast-spin blended pass past a speed threshold (scales design §3) #10
Reference in New Issue
Block a user
Delete Branch "feature/ring-fast-spin-blended-pass"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements the design §3 fast-spin behavior — the one footage-independent tuning dimension of the ring goal.
Problem: a multi-detent spin chained one full transition per scale crossed (+5 ≈ 5 placeholder morphs ≈ 12-15s), feeling sluggish for a fast spin. Design §3: "transitions chain, or past a speed threshold a faster blended pass is used."
Change:
advance_ringgains opt-infast_spin_threshold(canonical defaultDEFAULT_FAST_SPIN_THRESHOLD = 3).abs(delta)is the input layer's spin-speed proxy (a spin batches detents into one advance call); at/above the threshold the move collapses to a single blended pass — oneTransitionStep(arrival edge,blended=True, landing straight on the destination,RingMove.fast=True). Landing index,wrapped, and arrival edge/direction match the full chain exactly; only the in-between transitions drop.Opt-in (default off) keeps the pure function complete and all existing tests green — the simulator/firmware (which can observe wall-clock speed) enables it. Sim plays the blended step at 2.5× (
FAST_BLEND_RATE).Tests: +9 (ring policy, serializer, API). Suite 224 passed / 2 skipped. Verified live end-to-end on the running sim (slow chains, fast collapses, correct wrap + arrival).
🤖 Generated with Claude Code