Sharing the Move detection between prototypes: code changes and notes
The chat transcripts for this part of the project expired before they could be saved. These are the descriptions saved with the code changes, and summaries of the design notes.
Move Lab: make [hidden] override display rules so start overlay closes
Move Lab: arm circles count edge-on wrist bobs; run uses world-space knee/ankle heights; live debug chip
Move Lab: rename debug chip id (window.dbg collided with MediaPipe's wasm loader)
Move Lab: arbitration (hold confusable Moves, stronger Move cancels), symmetric-feet jumps, one-arm punches, lean guard
Move Lab: touch counts on the way up; jumps need an upright torso and hands off the floor (fixes pushup get-down misfires)
Move Lab: recalibrate when you move, unstick jump state, lean vs resting posture, arms-up burpee, lean/jump diagnostics
Lists the detection ideas worth keeping. They include waiting before counting similar Moves, and logging near misses.
confusable Moves held ~200 ms and cancelled by a stronger Move
Says the Move Lab and Battle prototype use the same detection, and explains how phone results were saved.
so tuning in Move Lab improves the Battle
Add move-refinement skill; record Move Lab sessions 2-5 on the detection ticket
move-refinement skill: point at the shared engine[removed: private server setup]
Squat near-miss diagnostics; battle results include the engine event log and minimum fps
Prototype server collects results[removed: server details]; battle and Move Lab send automatically
Squat: average knee angle < 118 and hip drop > 0.18 (phone front-camera tuning from the logged battle)
Battle saves progress snapshots after every round and on page hide; Move Lab saves on page hide