The rules are raea/goal's (sdk/goal), run by `raea goal check` at four moments: the hook after a save, every
render's end, raea cloud's publish, and the Stop hook. Rust's cut and goal gates and the box's word, sound, frame and
place checks are packs (MK30-MK39); runtime/cut-plan, runtime/goal-plan, raea make status and the box's check code
are gone with no alias (MK41).
brief.ts is the one registered root (MK43): raea runs it, and every file that imports raea must be reached from it
(the registered check, an error at publish and done). Its tasks are its `plan` (MK44), read from its run and written
back where each is written by `raea goal tasks`, the one path for the app, agents and the box. Its `goal` is one
goal or a workflow of several (MK46), each with its step, after and rules, checked and reported alone. Taste lines
and signed asks run inside the loop (MK47).
`raea goal check|tasks|seen|judge|gates|next` is the loop; `raea make clothes|motion|solid|wear|splat|physics|bake|
sao|tokensynth|sounds|component|blockout|...` the asset tools (MK45). Old names are refused with where they went.
docs/make.feature is docs/goal.feature; tools/legacy-names.sh holds the old names out.
raea's Node mode on JavaScriptCore now gives a CommonJS package's names as named exports (React's jsx), loads a
file a tool imports by URL, keeps process.exit's code from a promise callback, and reads stdin as fd 0, so the goal
runner runs on the shipped binary.
make: goal({ goal, rules }) on brief.ts: each rule a command that must exit 0 (run, with a timeout), a file that must exist (a deliverable) or words a fresh critic must find true (says). raea make status runs the commands at every status (the Stop hook's too); raea make judge [--by claude|kimi] asks a read-only critic and keeps its verdict in review/goal.judge.json, which clears a says rule only while it is no older than the work's newest file. Make also gets previews (what a job shows but never delivers: review/ and previews/ by default), and status lists files.deliverables and files.previews. runtime/goal-plan holds the gates (raea-app-make was at its size cap).
Test: goal-plan's six (a command passes or says why, a timeout, a stale and a fresh verdict, file rules left to deliverables, the doctor); end to end on a scratch brief, a curt greeting.txt was refused by the critic and a warm one passed, with both commands passing.
- Gates: the make question set in raea ask (core/ask library make.json), advice until calibrated;
raea judge --kind scene|kit|shot with per-kind rubrics; the critic's score gates only once
`raea judge calibrate --kind` agrees (MK6); gates as check lines in plan.org (--plan).
- Placement: z-fighting in scene lint (raea-sys-contact), feet-ray grounding, clip fixes that re-drop.
- Kits: raea make refs (style images, one sheet), gen (Tripo H3.1 + Meshy, each capped at its quote,
resumable, progress streamed), pick-sheet (fitted by height, turned so the long side lies front to
back, colour + clay), pick, prep (gen check fit, licence sidecar, LOD1), kit (components importing
their .glb, lineup with a scale bar, thumbs, kit.json). Bundles import .glb/.gltf as a path.
- Shots: walkPath and gradeLook in raea/camera and raea/post_process; raea make framing and lenschart;
raea scene stage --clearance M.
- Plan: raea make plan draws the floor plan, the blockout from the entrance and comparison.png.
- core/review: a thin slab at the bottom of a scene is a ground slab, left out of the views' framing.
- Guides: bevy/scenes (the job, gates, stopping), bevy/kits, bevy/shots; MIT credit in bevy/NOTICE.
Checked on a three-piece kit (refs, both generators, picks, prep, landed, two critic rounds; status
done and the Stop hook blocking until it was), a walkthrough (framing, lens chart, clearance caught a
path through a pillar) and a scene plan.
A scene, kit or shot is now a job made to a frozen plan and held to it in code:
- core/brief make.rs: `make` on brief.ts (scene(), kit(), shot() from raea/brief): kind, references, one
style paragraph, dials with value/source/means per kind, objects with real size, route, reference or
invented and crop, shots, compositions, deliverables, a round cap. doctor() names what the plan lacks.
TS types generated as Make* (brief.gen.ts).
- apps/make: `raea make status [DIR] [--json]`: the kind's deliverables, NOTES.md's "What the skill got
wrong", each composition's last render or check newer than it and clean (the record), a critic round
newer than the newest deliverable with each blocking defect fixed or answered in NOTES, and once the
judge is calibrated two passes in a row. Done also at the round cap or AnyKit's stall, delivered short.
- apps/check/make: the Stop hook blocks a turn's end while the job isn't done, three times at most on the
same open items; a project without `make` is never held. Claude's Stop hook timeout 10 s -> 30 s.
- docs/make.feature MK0-MK20: the whole adoption plan (gate tiers through raea ask, grounding, kits, shots,
plan drawing, raea cloud).
Tested: raea-core-brief 11, raea-app-make 8, raea-app-check-make 3. Not built here (disk at 13 GB):
apps/solid, apps/check and engine/cli's one-line wiring; L1 builds them.