mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-06 05:33:38 -10:00
`raea render EDIT.tsx --composition ID --plan -o PLAN.json` steps React through every frame, makes the page match each frame's tree and lays it out, and gathers each frame's sounds as a render does. It decodes no video frame, paints nothing and encodes nothing. PLAN.json is the render manifest's own shape (a frame entry for every frame, the sounds heard, findings) with "plan": true, so the edit moment's checks can read a cut before it is rendered. The plan pass is the --keys loop, plus lay_out and manifest_frame each frame, written through the same write_manifest and heard(). A plan's findings go into PLAN.json, and a plan isn't kept in the project's record as a render. On a raea cloud box a render with --plan runs on the box, not through offload.ts. Measured on a 952-frame 1080x1920 cut, on a raea cloud box with 8 CPUs: the plan took 4.0 s, or 8.3 s with the page cache dropped. Rendering the same cut took 130 s on the same box and 152 s on the farm. Compared with full renders of the same edits on the same box, every frame's videos, text boxes (0 px apart) and sound clips match. Tested with plan::tests and the CLI's refusal test, run on Modal.
docs
Documentation that spans more than one folder.
- settings.md: every setting raea reads (the agent's model provider, the optional API for generated music and speech, checks), and where they go.
Each folder's own README describes that part of the code. Behaviour specs written in Gherkin sit beside the code they
specify, for example sdk/shell/shell.feature and
sdk/raea/spec/motion.feature.