Files
shinyobjectz bbd7369548 One loop, raea goal: every rule in TypeScript, held at edit, render, publish and done; raea make is the asset tools
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.
2026-11-29 16:02:31 -08:00

3.4 KiB
Raw Permalink Blame History

title, summary, order, sources
title summary order sources
raea judge 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. 44
apps/judge/src/lib.rs
apps/judge/src/rubric.rs
apps/judge/src/agent.rs
apps/judge/src/eye.rs

raea judge reads the sheets raea render --review makes (colour.png, clay.png) and has them judged without the code or the conversation that made them: by clef-omni on a frozen rubric (the default), or by a fresh Kimi or Claude session on the judge prompt. The scores come back as data, and whether the scene passes is decided in code from them. clef only advises until it has been calibrated against a person's or an agent's eye.

--kind scene|kit|shot judges on that kind's own rubric, for a scene, kit or shot goal (raea goal): a scene on layout, props, signage, materials, light, atmosphere, plausibility and composition; a kit on cohesion, reference fidelity, the brief, mesh, texture, assembly, scale and labels; a shot on framing, move, focus, clearance, continuity and grade (read from framing.png, which raea make framing writes). Form categories (layout, props, mesh, assembly, scale) are judged on the clay sheet. The bar is a production base: don't nitpick, at most five fixes, each to do in a script. The verdict and the log line say the kind, and raea judge calibrate --kind KIND fits that kind's calibration on its own.

raea render scene.tsx --review review/
raea judge review/ --brief brief.ts
raea judge review/ --by claude --target reference.png --json
raea judge review/r3 --kind kit --by claude --brief brief.ts   # a kit job's round, on the kit rubric
raea judge eye review/ composition=4 light=3 --pass yes      # record your own scores, for calibration
raea judge calibrate

Usage

raea judge DIR [--kind scene|kit|shot] [--by clef|kimi|claude] [--brief brief.ts] [--target T.png] [--json] [--dry] | judge eye DIR (CATEGORY=SCORE ... [--pass yes|no] | --by kimi|claude) | judge calibrate [--kind scene|kit|shot] [--json]   (a --review folder's sheets judged blind: clef-omni on the frozen rubric, or a fresh kimi or claude session on the judge prompt; --kind asks a scene, kit or shot goal's own rubric (a shot list's framing.png); the pass decided in code; clef advises until calibrated against your eye or an agent's, each kind on its own)

Headless: it needs nothing running and opens no window. Takes any number of arguments besides its flags.

Flags

Flag Takes What it does
--brief brief.ts The project's brief, so the judge knows what the scene is for.
--by clef|kimi|claude Who judges: clef-omni on the rubric (default), or a fresh Kimi or Claude session. With judge eye, the agent whose eye is recorded.
--dry – Print what the judge would be asked, with its images, without asking.
--json – Print the verdict as JSON: each score, the defects found and the pass.
--kind scene|kit|shot The rubric: scene, kit or shot (the make loop's categories), instead of the film rubric.
--pass yes|no With judge eye: whether you'd pass it, recorded with your scores.
--target T.png A reference image the colour sheet is judged against.