Repository navigation
RFC 0004: side + arc for around_player (v1.3.0) - #41
Merged
Merged
Conversation
added 7 commits
August 28, 2026 00:43
… updating existing examples)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the accepted RFC 0004 — makes an
around_playerdetour's side and tightness explicit instead of renderer-guessed.What
Two optional, sport-neutral, string-enum fields added to
move_step(shared bymove/cut/dribble) and mirrored onaction_cutas per-action defaults:side—left/right(relative to the player's direction of travel)arc—tight/normal/wide(how closely the path wraps the obstacle)Both optional; when absent the renderer keeps its current defaults, so existing documents are unchanged.
arcis a semantic enum (not a radius) — the renderer owns the enum→distance mapping. Purely additive → minor, v1.3.0.Changes
side/arconmove_stepandaction_cut;additionalProperties: falsepreserved on both; no field removed or made required.examples/around-player-arc.ocf.json(action-level defaults overridden per move_step); invalidarc-bad-value.json/side-bad-value.json(enum enforcement, verified to reject on thearc/sideenum path).pick-and-rollandtransition-3v2now demonstrate the fields on theirdribblearound_playerstep.specification-v1.adocdocuments side/arc (incl. thevariant→arc default recommendation) + changelog; version bumped to 1.3.0 acrosspackage.json,package-lock.json, schema$comment, adoc:version:, and the README badge.Verification
npm test— all suites pass (5 + 3).Renderer work (honor
side, maparc→radius replacing the hardcoded 0.6, derive defaults fromcut.variant) is tracked separately in the renderer task list.🤖 Generated with Claude Code