Skip to content

fix: prevent primitive creation orphans#59

Merged
Daliys merged 1 commit into
developmentfrom
issue/create-primitive-partial-success-orphan
Jun 21, 2026
Merged

fix: prevent primitive creation orphans#59
Daliys merged 1 commit into
developmentfrom
issue/create-primitive-partial-success-orphan

Conversation

@Daliys

@Daliys Daliys commented Jun 21, 2026

Copy link
Copy Markdown
Member

Closes #52

What changed

  • Validate create_primitive parent, transform, and material inputs before creating a GameObject.
  • Accept Vector3 arrays like [9,9,9] in addition to {x,y,z} objects.
  • Keep a small rollback guard around primitive creation.
  • Update raw/MCP schemas, docs, and regression tests.

Validation

  • bash scripts/prepush-validate.sh --static-only
  • Live JSON-RPC repro: [9,9,9] succeeds; malformed [9,9] returns an error and leaves 0 orphans.
  • Push hook validation passed, including quick live server smoke.

@Daliys Daliys mentioned this pull request Jun 21, 2026
@Daliys Daliys merged commit 61574db into development Jun 21, 2026
5 checks passed
@Daliys Daliys deleted the issue/create-primitive-partial-success-orphan branch June 21, 2026 13:58
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