Skip to content

fix(overlay): buildAnimationNode wrapper + nested target (ADR 011 I7)#23

Merged
ClodoCapeo merged 1 commit into
mainfrom
forge/adr011-animation-geometry
Jun 13, 2026
Merged

fix(overlay): buildAnimationNode wrapper + nested target (ADR 011 I7)#23
ClodoCapeo merged 1 commit into
mainfrom
forge/adr011-animation-geometry

Conversation

@ClodoCapeo

Copy link
Copy Markdown
Contributor

Why

Oracle twin of Orion's I7 geometry fix (ZabLaboratory/Orion#167). The general animation.play node was a full-screen aplat — translating/fading a 1920×1080 uniform fill is invisible (the live crimson-aplat bug).

What

buildAnimationNode now accepts props (the target overlay's x/y/width/height — the wrapper is dimensioned to the overlay) and children (the nested target, which inherits the animated transform/opacity).

Both are optional and default to the full-screen self-painting cover, so the degenerate wipe-cover node and the existing oracle cases stay byte-identical (the Go↔TS parity invariant holds; buildWipeCoverNode is unchanged).

Tests (run locally, green)

  • npm run typecheck clean, npm run lint clean (max-warnings 0), npm test 35 passed, npm run build ok (bundle budget ok).
  • New animation-node.test.ts case pins the wrapper+nested-child shape (transform wrapper sized to target, no background, target nested) against Orion's Go parity twin; the 3 existing cases (full-screen default, key override, wipe-cover subsumption) stay green.

Refs ADR 011 (I7). Companion: Orion PR #167 — must merge in lock-step (parity).

🤖 Generated with Claude Code

Align the Solar oracle twin with Orion's I7 geometry fix: the general
animation.play node is a transform WRAPPER dimensioned to the target
overlay (props = its x/y/width/height), with the target NESTED beneath
(children) so it inherits the animated transform/opacity. NOT a
full-screen aplat — translating/fading a 1920×1080 uniform fill is
invisible (the live I7 crimson-aplat bug).

props/children are optional and default to the full-screen self-painting
cover (the degenerate wipe-cover node), so the wipe-cover byte-parity and
the existing oracle cases stay byte-identical. Adds a wrapper+nested-child
test pinning the new shape against Orion's Go parity twin.

Refs ADR 011 (I7)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ClodoCapeo
ClodoCapeo merged commit b84c3dd into main Jun 13, 2026
5 checks passed
@ClodoCapeo
ClodoCapeo deleted the forge/adr011-animation-geometry branch June 13, 2026 11:46
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