Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
DR3: done. raea findings in raea's help and the manual (its page, the reference regenerated); the room checks' guide says their finding shape; the status written in docs/direction.feature
shinyobjectzbf7fed18170e
diff --git a/docs/direction.feature b/docs/direction.featureindex ebd12e1e..8f007d9c 100644--- a/docs/direction.feature+++ b/docs/direction.feature@@ -218,8 +218,42 @@ Feature: Direction that holds: one world of facts, findings and rules, so a persAnd a check says whether it needs them (`needs: "render"`); `raea check` on a project with no render runs therest and lists what waits for one- @needs:DR1+ @needs:DR1 @doneScenario: DR3. One finding, for every command+ # Status 11-10: built. One Finding (core/facts finding.rs: its check; error, warn or note; the entities it is+ # about; frames; says; measure; fix; by) is all these write: the render's clipping (systems/contact found.rs) and+ # exposure (light-meter), `raea scene lint|light`, `raea check` (--quick, --taste), `raea gen check`, `raea solid+ # info --expect`, `raea project scan`, raea/room's checkLayout and checkDecor, `raea judge`. Every render (a video,+ # --at stills, a still, --review, a .wav) says them, writes them into its manifest and counts them on its last+ # line; an error exits 1 unless `--despite CHECK WHY` (RAEA_DESPITE for harnesses that compare pixels). Each run of+ # a file in a project keeps one entry in .raea/record/: what, what it wrote and its kind, the commit (+ when the+ # file had changed), the findings, what was let through. A render that is part of another (a review's tiles, a+ # quick check's stills, solid view's scene) keeps none. `raea findings` sets each thing's latest run against the+ # one before of its kind and lists new, carried (since which run), renamed, fixed and let through; `raea next`+ # steps by it: fix what the last render found, render the video, again once the composition changed, check it,+ # polish what the check found, show it.+ # Real runs (release binary, M5 Pro, a scratch project): a crate 0.24 m into a pillar renders "error clips frames+ # 0-29 crate, pillar", exits 1 and is kept; `raea next` says to fix it; the render's own move (+0.397 m along x)+ # renders 0 errors and `raea findings` lists the clip fixed (at 9969526+); `raea next` then asks for the check,+ # and after it to show the video. `raea solid info` on a mug that misses its volume expect: one error, exit 1.+ # `raea gen check` on knot.glb: a pivot warn whose fix is the command to run, and two notes. `raea project scan`:+ # its count last.+ # DR9's cheats, run for real, each fail. --despite exits 0, and the error stays standing with its reason. With+ # stderr dropped, the last line still counts 1 error (exit 1). The same render again, copied from the export+ # cache, says the error again. The crate renamed reads "renamed (the same, about crate before: not fixed)". The+ # camera turned away keeps the clip as a note that it stands in the scene unseen, carried, not fixed (and `raea+ # scene lint` still errors). Proved by tests in raea-core-facts (8), raea-app-direction (5), raea-sys-contact+ # (13), raea-app-workspace (7), raea-app-check (27), raea-registry (6), raea-app-judge (4), raea-sys-light-meter+ # (4), raea-io-gen (25) and raea-core-review (2).+ # Found and fixed on the way: a bare file name kept nothing (its parent is ""); a clip's span left out its last+ # frame; gen check's fitted fixes were JSON; a review kept 13 entries (one a tile) and was set against videos; a+ # video copied from the export cache said nothing it had found; a review's right, top and iso cameras kept the+ # scene camera's Transform rotation, so they faced its way and those tiles were empty.+ # Not seen, or left: `raea judge` wasn't run on a real clip (a model call costs; its Findings are tested on+ # fixtures). A part scaled to nothing or deleted reads as fixed (DR16's relations know what a part rests on);+ # renamed and moved at once reads as fixed and new, though the error still stands in the count. The clipping+ # check passes an overlap under 4% of the smaller part's diagonal (DEPTH_SHARE), so the render's own move left the+ # crate 5.3 cm in the pillar, which the top view shows. The review's top tile has +x to the left.Given the plan| crate | file | lines | job || raea-core-facts | core/facts/src/finding.rs | 240 | Finding, its JSON, its one-line text; the two old ranks and the older commands' JSON read as it |@@ -242,6 +276,11 @@ Feature: Direction that holds: one world of facts, findings and rules, so a perserrors first, whatever its output is piped through; `raea render` exits 1 on an error unless `--despite`And .raea/record/ keeps them by render and commit; `raea findings [--about NAME] [--check ID] [--open][--since RENDER] [--json]` reads them, and says what was fixed, what is new and what is carried since+ # Fixed in the code (DR3): set against "the one before" of any kind, a review's tiles read as fixed by the video+ # after it, and a part renamed read as fixed. Each run is set against the one before of its kind (video, review,+ # still, frames, sound, check); a finding gone under one name and new under another with the same check, frames+ # and measure is "renamed"; what --despite let through is listed. A clip no frame shows is said as a note, so+ # turning the camera away doesn't read as a fix.And `raea next` reads from it (not from a check.json's modified time, as next.rs does now)@needs:DR1,DR3diff --git a/docs/manual/reference/cli/doctor.md b/docs/manual/reference/cli/doctor.mdindex fde98f62..cf844f46 100644--- a/docs/manual/reference/cli/doctor.md+++ b/docs/manual/reference/cli/doctor.md@@ -1,7 +1,7 @@---title: "raea doctor"summary: "Find what doesn't match this version of raea: old brief files, an older workspace format, an agent's stale skill."-order: 48+order: 49sources: ["apps/workspace/src/doctor.rs"]---diff --git a/docs/manual/reference/cli/findings.md b/docs/manual/reference/cli/findings.mdnew file mode 100644index 00000000..daddec77--- /dev/null+++ b/docs/manual/reference/cli/findings.md@@ -0,0 +1,56 @@+---+title: "raea findings"+summary: "What each render and check found, read back from the project's record: fixed, new and carried since the one before."+order: 44+sources: ["apps/direction/src/findings.rs", "core/facts/src/record.rs"]+---++Every `raea render` and `raea check` of a file in a raea project keeps what it found in the project's record,+`.raea/record/`: one entry a run, with what was rendered or checked, what it wrote and the commit the project was at+(with a `+` when the file had changes not yet committed). `raea findings` reads the record back. For each thing+rendered or checked, it sets the latest run against the one before and says which findings were fixed, which are new+and which are carried, and since which run a carried one has stood. Its last line counts what stands.++```sh+raea findings # every composition and video in this project+raea findings piece.tsx # one composition's renders+raea findings --about crate --open # only what stands about the crate+raea findings piece.tsx --since 20261110-165445+```++A run is set against the one before it of the same kind: a video against the video before it, a review against a+review, a check against a check. A finding is the same one in a later run when its check and what it is about (or,+about nothing, its words) are the same, whatever frames it is on, so a clip that moves as the piece is cut stays one+finding. Renders that are part of another run, such as a review's tiles or `raea check --quick`'s stills, keep no+entry of their own.++Nothing is fixed by hiding it. An error let through with `--despite` stays standing, and its reason is listed. A part+renamed without moving reads as renamed, with the name it had. A clip the camera turns away from is still said, as a+note that it stands in the scene unseen. A video copied from the export cache says what was found when it was drawn.++<!-- generated:begin by tools/manual-ref/cli.ts from `raea help --json`; edit only the flag descriptions -->++## Usage++```sh+raea findings [PROJECT|EDIT.tsx] [--about NAME] [--check ID] [--open] [--since RENDER] [--json] (what each render and raea check found, from the project's record: fixed, new and carried since the one before, or since RENDER; --open: only what stands)+```++Headless: it needs nothing running and opens no window. Takes up to 1 argument besides its flags.++## Flags++| Flag | Takes | What it does |+| --- | --- | --- |+| `--about` | `NAME` | Only the findings about this part or element (its name, or its key in the code). |+| `--check` | `ID` | Only this check's findings, such as `clips` or `exposure`. |+| `--json` | – | Print the reports as JSON: each thing's latest run, what it is set against, and its new, carried, renamed and fixed findings. |+| `--open` | – | Only what stands: leave out what was fixed. |+| `--since` | `RENDER` | Set the latest run against this earlier one (an entry's name, or its start) instead of the one just before it. |++<!-- generated:end -->++## See also++- [`raea render`](render.md) and [`raea check`](check.md) write the record; [`raea next`](next.md) reads it to pick+ the next step.diff --git a/docs/manual/reference/cli/hook.md b/docs/manual/reference/cli/hook.mdindex ad9ced49..4ab98638 100644--- a/docs/manual/reference/cli/hook.md+++ b/docs/manual/reference/cli/hook.md@@ -1,7 +1,7 @@---title: "raea hook"summary: "Every agent's tool hooks: media opened in the Mac's viewer goes to raea show, and the quick check after a composition is saved."-order: 49+order: 50sources: ["apps/check/src/hook.rs", "apps/tools/src/agent_hooks.rs"]---diff --git a/docs/manual/reference/cli/index.md b/docs/manual/reference/cli/index.mdindex 29ea7909..bb2b399c 100644--- a/docs/manual/reference/cli/index.md+++ b/docs/manual/reference/cli/index.md@@ -63,6 +63,7 @@ What's wrong before anyone watches it.| --- | --- || [`raea check`](check.md) | Check a composition's text in a second, or an export against the floor: text, contrast, safe areas, freezes, flashing, cues and loudness. || [`raea judge`](judge.md) | Judge a 3D scene's review sheets blind, by a model on a frozen rubric or a fresh agent session, with the pass decided in code. |+| [`raea findings`](findings.md) | What each render and check found, read back from the project's record: fixed, new and carried since the one before. || [`raea scene`](scene.md) | Find floating, sunk and clipping 3D parts, say what each part rests on, and meter a shot's light. || [`raea world`](world.md) | A frame as one world: its layers, text, 3D parts, camera, shots, clips, cues and lines as entities, queried across media. || [`raea solid`](solid.md) | Measure, view and export a solid: parts built from code with exact volumes, joints and parameters. |diff --git a/docs/manual/reference/cli/next.md b/docs/manual/reference/cli/next.mdindex fd365672..8284241e 100644--- a/docs/manual/reference/cli/next.md+++ b/docs/manual/reference/cli/next.md@@ -1,7 +1,7 @@---title: "raea next"summary: "The two or three most useful next steps for a project, read from its brief, compositions, renders and checks."-order: 47+order: 48sources: ["apps/workspace/src/next.rs", "core/facts/src/record.rs"]---diff --git a/docs/manual/reference/cli/scene.md b/docs/manual/reference/cli/scene.mdindex 5c18ace6..1b9ac849 100644--- a/docs/manual/reference/cli/scene.md+++ b/docs/manual/reference/cli/scene.md@@ -1,7 +1,7 @@---title: "raea scene"summary: "Find floating, sunk and clipping 3D parts, say what each part rests on, and meter a shot's light."-order: 44+order: 45sources: ["runtime/export/src/scene.rs"]---diff --git a/docs/manual/reference/cli/solid.md b/docs/manual/reference/cli/solid.mdindex ef1d501c..ad3af680 100644--- a/docs/manual/reference/cli/solid.md+++ b/docs/manual/reference/cli/solid.md@@ -1,7 +1,7 @@---title: "raea solid"summary: "Measure, view and export a solid: parts built from code with exact volumes, joints and parameters."-order: 46+order: 47sources: ["apps/solid/src/lib.rs", "apps/solid/src/export.rs"]---diff --git a/docs/manual/reference/cli/traces.md b/docs/manual/reference/cli/traces.mdindex b7496fba..84746f75 100644--- a/docs/manual/reference/cli/traces.md+++ b/docs/manual/reference/cli/traces.md@@ -1,7 +1,7 @@---title: "raea traces"summary: "List the sessions raea apps left, newest first, with how each ended and its glitches, or tell one in full."-order: 50+order: 51sources: ["engine/cli/src/cli.rs", "io/trace/src"]---diff --git a/docs/manual/reference/cli/world.md b/docs/manual/reference/cli/world.mdindex afd0b5f5..76254a36 100644--- a/docs/manual/reference/cli/world.md+++ b/docs/manual/reference/cli/world.md@@ -1,7 +1,7 @@---title: "raea world"summary: "A frame as one world: its layers, text, 3D parts, camera, shots, clips, cues and lines as entities, queried across media."-order: 45+order: 46sources: ["apps/direction/src/world.rs", "runtime/world/src/lib.rs", "core/facts/src/components.rs"]---diff --git a/engine/cli/src/cli.rs b/engine/cli/src/cli.rsindex 473f34c8..b5dd679b 100644--- a/engine/cli/src/cli.rs+++ b/engine/cli/src/cli.rs@@ -131,7 +131,7 @@ pub fn run(args: &[String]) -> R<String> {// a workspace's files and specs (docs/projects.feature), listed under render's usage like librarylet usage = format!("{usage}\n raea spec FILE.ts [--as brief|script|taste|plan|controller] (a spec's default export as JSON, checked against its schema: brief.ts, script.ts, taste.ts, plan.ts, controllers/ID.ts)\n raea workspace init [NAME] [--layout LAYOUT] | raea workspace adopt DIR [--name NAME] | raea workspace [--json] (a workspace: a git repo of projects and controllers under raea.root, ~/Documents/raea unless git config says)\n raea project new NAME [--storage inline|submodule] | raea project split NAME [--remote URL] | raea project join NAME | raea project [--json] (a project in the workspace: its folder, brief.ts, media/, out/; split and join keep its history)\n raea controller ls [--json] | raea controller get PATH [--json] | raea controller set PATH VALUE [--project] [--by NAME] | raea controller write FILE.ts [--by NAME] | raea controller rm ID [--by NAME] (the workspace's controllers, controllers/ID.ts; PATH is controller.group.field; every change a commit)\n raea check EDIT.tsx --quick [--shape S] [--platform P] [--taste T] [-o check.json] (three stills of a composition checked for text: clipped, cramped, safe areas, sizes; about a second)\n raea hook [claude|codex|gemini|kimi] (every agent's tool hooks, which raea skills install adds: before a shell command, media opened in the Mac's viewer while the raea app is installed is stopped once for raea show (the same command again goes through); after a save, the quick check on a composition)\n raea next [DIR] (the two or three useful next steps for the project, from its brief, compositions, renders and checks)\n raea doctor [--fix] [DIR] (what doesn't match this raea: old brief files, an older workspace format, an agent's skill from another version)\n raea app run|check|bundle APP.tsx [--target web|native] [--size WxH] [--script steps.json] [--png DIR] [-o App.app] (a TSX app on @raea/ui: its window, the headless check, a Mac app; web is Blitz on Bevy, native is Rune; the app's `export const app` sets the target, web when it doesn't; raea rune ... is --target native)\n {}\n {}", skill::USAGE, tools::blender::USAGE);let (export_game, scene, physics, splat) = (raea_app_game::USAGE, export::SCENE_USAGE, motion::physics::USAGE, tools::splat::USAGE);- let apps = format!(" {}\n {}\n {}\n {}\n", raea_app_check::USAGE, raea_app_solid::USAGE, raea_app_judge::USAGE, raea_app_direction::USAGE);+ let apps = format!(" {}\n {}\n {}\n {}\n {}\n", raea_app_check::USAGE, raea_app_solid::USAGE, raea_app_judge::USAGE, raea_app_direction::USAGE, raea_app_direction::findings::USAGE);return Ok(format!("raea: renders, plays and checks raea compositions (React and TypeScript) on the GPU.\n\nusage: {usage}\n raea init (a project's files where they're missing: edit.tsx, cuts.ts, components/, AGENTS.md)\n raea cut TAKE \"line\" ... | --at A-B ... [--append] (cuts.ts and words.json: a take under media/ cut in the pauses around each line it says, transcribed first if it has no TAKE.words.json; or at those seconds)\n raea frame TAKE [--at S] (how a take fits the edit: a talking take for <FaceFrame>, a screen for <ScreenFit>, from where its face is)\n raea part list | raea part add NAME ... [--force] (a ready part copied into components/, yours to change)\n raea brand DOMAIN|URL (the brand kit read from its website on this machine: brand/brand.css, brand/brand.json, BRAND.md, logos in media/brand; says when a plain fetch saw too little)\n raea guide [NAME] (craft, the floor read before any edit; the modes: pitch, explain, story, play, tool; motion, music, layout and the rest; bevy and bevy/NAME for 3D)\n raea context PROJECT (what to read before working on a project: taste, brief, look, the floor and its modes' guides)\n{apps} raea play EDIT.tsx [--input | --input-script KEYS.json] [--size WxH] [--seconds N|end] (a game, live; also: --input-log FILE --offscreen --snapshot T FILE --json FILE --seek F FILE --pick X,Y --view YAW,PITCH,DISTANCE --scrub N --baked --autoplay --no-vsync --master --3d)\n {export_game} (a game as a program of its own: a Mac app or a command)\n {scene} (what each 3D part rests on: floating, sunk and clipping parts; light: the scene's lighting)\n {physics} (the bakes <Physics> and <Goo> make)\n {splat} (footage trained into a Gaussian splat for <Splat>; setup installs its tools)\n raea run SCRIPT.ts (a TypeScript program on the engine, headless: its default export is called, what it prints is the answer; a check like a room's checkLayout; also: --timeout S)\n raea gen image|video|music|sfx|speech|mesh|text \"PROMPT\" | gen plan|run FLOW.ts|FLOW.json | gen comfy import|export|run|schema FILE | gen models | gen balance (generated media through made.app, fal, Replicate, OpenRouter, Modal or ComfyUI; ComfyUI workflows both ways: raea gen alone lists its flags)\n {neural_usage} (DLSS 5 neural rendering on a `render --aov` folder, with its motion and depth: your own MLX-DLSS build and weights, RAEA_MLXDLSS and RAEA_DLSS_MODEL)\n raea mezz [--check] PATH... (an intra-only ProRes copy of each long-GOP source over 1080p, for smooth scrubbing; --check says which would get one)\n raea traces [show [N|last|DIR]] (the sessions raea left, newest first: how each ended, its glitches; show tells one in full)"));}// `--version`: the release's version, which a skill's front matter names (docs/skills.feature SK6)diff --git a/sdk/guides/craft/bevy/rooms.md b/sdk/guides/craft/bevy/rooms.mdindex a2bbed26..1de7a208 100644--- a/sdk/guides/craft/bevy/rooms.md+++ b/sdk/guides/craft/bevy/rooms.md@@ -20,7 +20,9 @@ from the room's size and the models' own measured boxes: no typed coordinates exfront (`seatFacing` returns null); any yaw works.- Check the layout before rendering: `checkLayout({ room, runs, islands, seats, furniture })` returns findings for thework aisle (1.07 m), walkways (0.91 m), room behind seats, the work triangle, overlaps and seats that don't face a- table. Run it with `raea run check.ts` and fix every error.+ table. Each is a finding in raea's one shape (`check`, `level` error, warn or note, `about` the things by name, `says`,+ `measure` the distance and its limit); a clearance that is met is a note, so its margin shows. Run it with+ `raea run check.ts` and fix every error.- Wall decor: `hang(ROOM, "left", [{ src, name }], { at, centre, over, apart })` hangs pictures and shelves by thedecorator's rules (`HANGING`). A piece hangs centred 1.5 m up on a bare wall; over furniture it hangs 0.18-0.30 m aboveit (`over: overUnits(run, "base-2")`) and centred on it; a group hangs a hand apart on one centre line. Each piece isdiff --git a/tools/manual-ref/cli.ts b/tools/manual-ref/cli.tsindex 59037ab7..46b074ba 100644--- a/tools/manual-ref/cli.ts+++ b/tools/manual-ref/cli.ts@@ -27,7 +27,7 @@ const verbs: Verb[] = JSON.parse(run(["help", "--json"])).verbsconst GROUPS: [string, string, string[]][] = [["Make", "Render, play and package what you wrote.", ["render", "play", "export-game", "bundle", "app", "run"]],["Projects", "The workspace, its projects and what a project holds.", ["init", "workspace", "project", "controller", "spec", "part", "add", "brand", "library"]],- ["Check", "What's wrong before anyone watches it.", ["check", "judge", "scene", "world", "solid", "next", "doctor", "hook", "traces"]],+ ["Check", "What's wrong before anyone watches it.", ["check", "judge", "findings", "scene", "world", "solid", "next", "doctor", "hook", "traces"]],["Footage", "Takes, cuts and the camera, from your own media.", ["media", "cut", "frame", "track", "splat", "mezz", "neural"]],["Sound", "Music read, foley and instruments made on this machine.", ["song", "sounds", "sao", "tokensynth", "setup-audio"]],["Generate and 3D tools", "Generated media, physics bakes and Blender.", ["gen", "physics", "blender"]],