Skip to content

Fix live angle previews and improve LLM authoring guidance - #117

Merged
a-baran-orhan merged 1 commit into
mainfrom
codex/fix-live-angle-updates
Aug 1, 2026
Merged

Fix live angle previews and improve LLM authoring guidance#117
a-baran-orhan merged 1 commit into
mainfrom
codex/fix-live-angle-updates

Conversation

@a-baran-orhan

Copy link
Copy Markdown
Member

Summary

  • preview direct angle edits at the endpoint of the affected phase and pause the viewer there
  • preserve the existing replay behavior for ordinary text edits
  • expand the LLM authoring guide with the product execution model, exact output contract, closed vocabulary, compatibility tables, and repair workflow
  • parse every Posecode guide example in the documentation contract tests

Root cause

The parser and renderer already honored edited angles, but every successful edit reloaded the timeline at time zero and immediately resumed playback. Fast phases such as the front kick's 0.5-second chamber made valid edits appear to have no effect. Direct angle edits now carry their source line through recompilation, resolve that line to its phase, and hold the corresponding key pose for immediate visual feedback.

Impact

Changing an inline angle control, for example knee_right: flex 90 to 10, now jumps to and holds the edited pose. LLMs also receive more precise, product-specific instructions designed to prevent invented syntax, invalid contact combinations, contradictory cues, and accidental loop resets.

Validation

  • npx vitest run --exclude playground/test/positioning.test.ts — 429 tests passed
  • npm run typecheck
  • npm run build
  • browser verification against the production front-kick behavior and the fixed local build
  • guide examples verified parseable and warning-free

The excluded positioning test is affected only by unrelated, uncommitted landing-page work in the local worktree; those files are not part of this PR.

Signed-off-by: a-baran-orhan <a.baranorhan@gmail.com>
@vercel

vercel Bot commented Aug 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
posecode Ready Ready Preview Aug 1, 2026 6:44pm

@a-baran-orhan
a-baran-orhan marked this pull request as ready for review August 1, 2026 18:44
@a-baran-orhan
a-baran-orhan merged commit c9d3076 into main Aug 1, 2026
3 checks 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