Skip to content

Movement primitives, a guide that asks for room, and one CI run per pull request - #66

Merged
ProjectIdris merged 19 commits into
mainfrom
batch-1
Nov 8, 2026
Merged

ProjectIdris merged 19 commits into
mainfrom
batch-1

Conversation

@ProjectIdris

Copy link
Copy Markdown
Owner

Summary

One batch: movement primitives, a guide that asks for a larger stage, and a single CI run per pull request.

Movement (step 3 of the primitives work)

  • Joints: pivot (turns about the part's own long axis) and ball (three axes, like a shoulder or hip), both with limits and about.
  • Simple machines as one op each: lever (fulcrum, the three classes), pulley.
  • Muscle as a driver: a connector that contracts between two points and pulls the part it joins. The joint is solved each moment so the connector is shorter than when relaxed, and the belly swells. Lengths are solved in world space, so a skewed parent doesn't change the ratio. A muscle on a joint whose range can't move gets a validator note.
  • No double spin: a part spun on the same axis as its spinning holder no longer turns twice as fast, whichever order the spins are written in, for grandchildren too and across steps.
  • Crank and cam keep their own implementation. A golden test holds the engine's poses exactly: two whole engines and five small machines, 41 times each. Five deliberate small breaks each fail it.

Stage size in the guide

The guide asks for a stage with room (about 60 percent of the screen height, narrower than tall for a tall or compact model), and its example stages are 380x620.

CI

Checks run once per pull request (and on demand), not again for each branch push and merge. The pull request run already checks the merge result.

Validation

  • Focused tests pass across movement, scene, guide, schema, catalogue and adapters (553 at the movement head). The combined branch passes 100 of 100 in the guide, schema, movement and validator files. Typecheck clean.
  • Each fix was seen failing first.
  • Movement judge set: 8 questions on Sonnet (arm, door, engine, bicycle, pulley, lever, shoulder, well). Engine, door, bicycle and pulley are as good as before, and the arm bends at the elbow under its biceps.
  • Stage guide: 6 questions asked live on main and on the change. The median asked stage height rose from 41% to 62% of the screen. Door, engine, heart and bicycle drew 1.4 to 1.7 times larger and the pulley became legible. No parts were lost and nothing was cut off.
  • Independent review by a second reviewer, not the author, of each part and of each fix: no remaining findings.

Review limits

  • Live answers were taken once per question, on a 21:9 page and the software tier. A 16:9 screen is not checked.
  • A taller stage covers more of the page.
  • A muscle's range note relies on the range as written; a joint narrowed after the muscle is not re-checked.

🤖 Generated with Claude Code

ProjectIdris and others added 19 commits November 8, 2026 18:12
… is dropped: it turns with its holder, and a second spin doubled its rate (the bicycle wheel)

The validator remembers the axis each object spins about and, for a spin or a locked spin on a part whose holder spins about the same axis, drops it with a note that names the holder; another axis (a planet on its carrier), a part that is not inside, and a holder that was stopped are kept. The guide says so in a line. The golden poses of the engine (crank and cam, kit and plain shapes) are recorded in test/fixtures/motion-golden.json from the code as it stood, for the movement refactor to match.

Tests: movement-spin (4), seen failing with the check switched off.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…urn about; validated, guided and tested

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…g already there

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…inge or pivot of the part it pulls

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ve small machines are held exactly

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…he screen height, narrower than tall for a tall or compact model; the example stages are 380x620

Models copy the example stage (420x460 made a door 42 percent of the screen's height on a wide screen). The example's length is unchanged, so its cap stands. A test holds the sentence and the example's height.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… show from the front turns about z

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… parents); a limb's contraction is a small fraction

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…a note until a loop stop frees it

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… laid on its side), or the axis it is told

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… spinning inside a holder that is spun later; a muscle is measured in the world, not in a skewed parent space; a muscle on a joint with no room to turn is noted

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…is and acts only on a spin about it, so a spin about another axis written out of order is not frozen

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…and replay keep it); a stop aimed at another axis keeps the validator's record of a running spin

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…and merge

A branch pushed for a pull request was checked for the push, for the pull request and again for the merge into main. The pull request run already checks the merge result; a manual run is still available.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ProjectIdris
ProjectIdris merged commit 1453233 into main Nov 8, 2026
2 checks passed
@ProjectIdris ProjectIdris mentioned this pull request Nov 8, 2026
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