mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-16 22:58:02 +00:00
Adds @hyperframes/core/assemble with assembleScenes() — a deterministic function that validates scene fragments against the spec, splits on markers, and injects into the scaffold. No AI in the assembly loop. The scaffold must include three markers: - <!-- SCENE N CONTENT --> in each empty scene div - /* SCENE STYLES */ in the <style> block - // SCENE TWEENS in the <script> block Fragment validation catches: duplicate/missing markers, wrong order, prohibited patterns (script tags, DOCTYPE, tl.from, etc). Div balance is verified post-assembly. Errors abort with specific file + message. Also updates multi-scene.md Phase 1 (scaffold markers) and Phase 3 (use assembleScenes instead of manual stitching). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>