build_motion_manifest
Generates a motion.manifest.json scaffold from analyzed page bands and scroll census data, mapping animation triggers to sections with optional overrides; runs offline without page fetches.
Instructions
Build a motion.manifest.json scaffold from measured evidence: an analyze_page_structure result (bands) + an analyze_scroll_map census, with optional section overrides. Sections are mapped best-effort from each band's tag + first #id/.class token in its label (or sections[].selector) — no markup is available, so DOM initial-state hints are empty; census triggers still attribute to sections by those tokens. Returns { manifest, measured:false, censusAnims, warnings, note }; manifest.measured stays false when the census has no anims/triggers/curves. Never throws ({ error } on invalid input). Pure/offline — no page fetches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bands | Yes | analyze_page_structure result object (must carry bands[]) | |
| sections | No | Optional section overrides in build order; selector supplies the #id/.class tokens instead of the band label | |
| scrollCensus | Yes | analyze_scroll_map result object (anims[] + gsapTriggers[] required) |