* The raea skill's references say make component list WORDS and render --keys (raea-skills #145)
* raea goal judge --by clef: clef-omni judges says rules on the files they name, and is the critic where an agent key is set (a raea cloud box has no Claude sign-in in the agent's shell)
* raea's own files find the packages raea ships: a release's render no longer ends "Cannot find package 'react'" with exit 1, and raea goal check runs outside a build tree (#278)
---------
Co-authored-by: shinyobjectz <[email protected]>
* A page reads a clip on from where it stopped: up to 4 readers a file, so a clip shown twice at once isn't sought every frame
Where two elements showed one 4K clip, they shared one decoder and ffmpeg restarted every frame (31 starts in 30
frames). Each file now keeps up to 4 readers, each reading on from its last frame (the one behind within 60 frames,
else a new one, else the least used), and the frame it read last for a second ask. Those frames: 909 to 53 ms on the
Mac, SSIM 1.000000; a 30 s ad of 4K street-interview clips on the farm's GPUs 277 s and $0.106 to 153 s and $0.033.
* render --keys: each frame's key with nothing drawn, and the largest each clip is drawn
raea render EDIT --keys keys.json steps React through every frame and makes the page match it without reading a clip
or drawing: each frame's key (its elements' place, kind, props and text, each video's file and time, its 3D rows;
paths named from the composition's folder), has3d, the piece's sounds, and the largest each clip is drawn (box as
drawn, transforms and punch-in applied). A render farm keeps runs by these keys and reads clips from copies no larger
than they're drawn. On the ad: 6.7 s for 894 frames; a caption word changed 70 frames' keys, a sound 3 dB louder none
(CR32, CR36).
* RAEA_NV=1: NVENC and NVDEC in the ffmpeg backend, each after a one-frame try on the machine
The render farm sets it on a GPU's runs of a piece with 3D in it. h264_nvenc at libx264's CRF number as constant QP
(SSIM 0.9925 to libx264's 0.9924 on the ad) and clips through CUDA; where a try fails, libx264 and ffmpeg's own,
said once. The answer is kept for the machine's later runs (CR34).
* The face track and render --review's sheets are crates of their own (raea-sys-facetrack, raea-runtime-review): raea-runtime-page and raea-runtime-export are under 2000 lines again
* One opener for a video (raea_io_media::open_video) and one step of React to a frame (step_react), where the render-cost work had copied each
---------
Co-authored-by: shinyobjectz <[email protected]>
* The component library: 609 open-source effects sorted by use, searched by `raea make component list WORDS` and copied by `add NAME`
sdk/raea/library/components holds 475 pieces from remocn, 79 from the React Video Editor templates and 55 from snapcn,
ported to raea's composition API and sorted by what they're for (text, numbers, transitions, screens, HUDs and more),
not by who made them. catalog.json lists each piece's category, type, what it does, its files, the shared helpers it
needs, its fonts and npm packages and its source; CREDITS.md holds the licences and every file's first line names its
source.
- `raea make component list` ends with the library's categories; `list WORDS` searches by category, category/type or
words (catalog.ts). `add NAME` copies the piece into components/CATEGORY/NAME/ with its helpers under
components/_lib/, and installs its npm packages through the engine.
- The native host reads the library beside the binary (share/raea, which tools/release.sh already packs from
sdk/raea/library), in RAEA_HOME, or in the tree a built raea runs from.
- tools/effects-catalog.sh writes the cut-down catalogue raea cloud's dashboard imports (Libraries › Effects).
- tools/size.sh leaves the library out: it's other people's code, kept as they wrote it but for imports.
- conformance/catalog.test.ts: every listed file exists, imports stay inside what a piece copies, none imports another
video framework, and search finds by use.
* raea help's line for make component says list WORDS searches the library
* no-void leaves the component library out: its gradient shader's own name is void
---------
Co-authored-by: shinyobjectz <[email protected]>
One loop, raea goal: every rule in TypeScript, held at edit, render, publish and done (goal check, tasks, judge, seen, gates, next); the brief's contract is goal: (one goal or a list, a workflow inline), and its plan is plan:. raea make is making a finished asset: character, clothes, motion, solid, wear, splat, physics, bake, sounds, component, the kit pipeline and shots. Instruments (check, judge, ask, world, scene faults, light check) stay top-level. With it: the montage pack (MK48-MK51), JavaScriptCore fixes raea goal needs (CommonJS named exports, reserved words too, dynamic import of file URLs, process.exit from a promise, stdin for -), raea-cli-goal and raea-cli-refused split out of raea-cli, and skills at raea-skills 105aede.
--playable exports the game's preview (native.ts: raea playable --networks preview, in a folder of its own) and shows
that page, titled from it; the raea app plays it in a phone, sandboxed (raea-feed #124). raea show takes a
NAME-preview.html as it is too. The help line, the manual and the conformance tests say so.
Co-authored-by: shinyobjectz <[email protected]>
* PA13, PA14: raea playable, and playables in the public engine
Playables move from the private tree into the public engine (Shane 11-28: "public totally part of the engine"):
sdk/playable (raea/playable for authors, the browser host, check.ts, parity.ts, tony.ts), examples/playables and
docs/playables.feature, with raea/playable and @raea/playable back in sdk/tsconfig.base.json.
`raea playable GAME.tsx -o DIR` (apps/playable) replaces the Bun pipeline (playable.sh, bundle.ts, lint.ts, walk.ts,
alias.ts). It lints the source, renders each composition through `raea run` for its shapes and 3D kinds, bundles the
game and the host once with raea's own bundler, and writes each network's page or ZIP against its 5 MB cap.
engine/bundle gains `minify`, `inline` (inline.rs: pictures, sounds, fonts and .glb as data URLs, .bin as a
Uint8Array) and package-folder aliases (`three/=DIR`). brick-rush writes all nine targets in 7 s (1,384 KB a page);
mobile-ads' tiles and gates export; all play in WebKit, the Google and TikTok packages included.
check.ts lets a network's own page tags through; parity.ts draws in WebKit (chrome.ts is gone), 6.8/255 on
brick-rush frame 300. The craft guide motion/playable.md is `raea guide playable`. bench/live-3d skips brick-rush with
its real reason (PA18).
* tools/layers.toml: raea-app-playable in apps (PA13)
* Fonts travel with a playable, and an end card in a brand's type
An imported .ttf, .otf, .woff or .woff2 (and .jpeg) is its path in a native render (runtime/bundle rewrite.rs,
engine/bundle script.rs) and a data URL in a playable (inline.rs), so an @font-face names the same file either way.
<EndCard> takes font, color and button. Made for the real-brand playables in mobile-ads (ACANA, OLIPOP, HelloFresh),
which carry their brands' own type; the guide and docs/playables.feature say how.
* The preview page tells raea's review its ad events (PA16)
Inside a frame, the preview network posts {raeaPlayable: kind} to its parent on install and end, so the review can show
them beside the game.
* PA16 status: the review plays playables (raea-platform #99), on a host of their own
* The preview page tells the review when it's ready, seen or hidden, and the first touch (PA16)
Beside install and end, the preview build inside a frame posts ready (the game started), viewable and hidden (its page
shown or put away) and touch (the player took over from the game's own hand), so the review and the desktop show them.
* PA16 status: built in cloud (raea-platform #99, #101) and desktop (raea-feed #124), and raea show --playable
* raea playable says what the source can't have even when the game won't render for the lint
A fetch or a URL often stops the walk's render too, and the lint answered with the render's end ("lint.ts ended with
exit 1") and dropped the refusals it had found. Now the source's refusals are the answer, and a render that fails
for another reason is named by its error line.
* PA16 status: play.raea.io is live, checked with the ACANA export
* skills: raea-skills main ae81d0f (#135 notes hook, #136 and #137 the playable guide and raea playable in cli.md)
tools/skills.sh gen with a raea built at this branch and the feed app at main: every reference and guide copy matches it.
* raea-cli: export-game and playable dispatched in a line each, as the verbs around them, so the crate stays at the size gate's 2000 lines
* dupes: the playable's copies folded into what they copied
spec is raea-runtime-bundle's own (now pub), inline.rs's base64 is the base64 crate as raea's other crates use it,
the store and card JSON are json!, and the bundle FFI reads minify and inline as it reads z3 and stamps. tools/dupes.sh:
293 exact, 57 near, as allowed.
---------
Co-authored-by: shinyobjectz <[email protected]>
* raea show --fyi and --group; the inbox hook says seen
Shane 11-28: "some things I'm not approving, I'm just acknowledging"; "the agent can go 'let me add a label here'".
raea show --fyi sends a show only to be looked at (the person says Got it, never approves or sends notes); --group
"Title: what it is" FILE... lays the files out in groups, each titled and said in a plain line. Both go to the app's
host as ShowBody.intent and .groups (raea-feed host/show.ts), which hands them to the review (raea-platform
harness/board.ts). The inbox hook says a {kind: seen} line as "seen on item ...", and when every new line is one,
tells the agent there's nothing to do rather than to take it up.
* Notes reach closed sessions: raea's hook hands them over when the session starts again
Shane 11-28: "raea installs a hook in Claude Code and Codex so your notes are delivered when the session next starts".
What the person sends from raea to a session whose terminal has closed waits in its inbox (~/.raea/inbox); the hook
now reads it at SessionStart (a resumed session takes it up first, told it waited while the session was closed) and at
UserPromptSubmit, as well as after a tool and as a turn ends. raea skills install adds SessionStart and
UserPromptSubmit for Claude Code, and Stop, SessionStart and UserPromptSubmit for Codex.
Tested: raea-app-check-inbox (4, a SessionStart hand-over once) and the installer's test in a standalone crate. The
hook.rs change isn't compiled here: raea-app-check needs ~12 GB to build and the disk has 3.5 GB free.
* The inbox tests share one scratch folder helper (dupes: the new test copied the first one's setup)
* The inbox's all-seen check written so it isn't a copy of a closure in fingerprint-use (dupes)
---------
Co-authored-by: shinyobjectz <[email protected]>
sdk/guides/craft/components.md (raea guide components): the component-first order of work, what a
raea component is (frame-pure, JSON props, its name on what it draws) and the contracts it keeps for
time, space, look and sound, who owns what in a composition, where each kind gets made (TSX, solids,
sdf/grow, a generator, Blender through a saved script, Godot, Rust rows) and why Godot and Blender are
workshops rather than runtimes, materials and shaders as components, a fixture and checks per kind,
shadcn's components on screens and panels, and promotion from a project to shared/ to a registry.
tools/skills.sh copies it to the skill's root; raea guide lists it; the router, scenes, godot,
materials and parts guides link it.
docs/components.md: raea's registry as shadcn's format (every item a valid registry-item.json, raea's
kinds and assets, contracts, fixture, checks, stills and engine range in meta.raea), components.json
namespaces, the theme and story bridges, and the build order CP1-CP10.
It runs on raea light check's runner, which gains pub render_with, live_with, frames_with, list_flag, spp, cell and Scene::shot_frames with light check unchanged. The cases are bench/denoise: nine small rooms (a dark room under gain, a waxed floor, a door opening, a whip pan, neon, leaves, a sunbeam in fog, a mirror, a light going out), a full-HD cost case, and a real take's doorway. The manual gets raea bench's page, in the Check group.
apps/lightbake (raea-app-lightbake): `raea bake light --compare DIR [--sets FILE] [--set NAME] [--samples N] [--fresh]`
runs each set in apps/lightbake/sets.json through Cycles (blender/look.py's still, blender/lightbake.py's bake, both
at --samples, 1024 by default, kept in DIR/NAME until the set's .tsx files, flags or samples change) and through raea
(the set unbaked, the set with Cycles' maps), and writes DIR/report.json and a table: each frame's RMSE and stops
against the Cycles still, lightbake.py's time and peak memory (wait4's rusage on unix), the bar's verdict on the
table set. map_stops compares two lightmaps on the same UVs in stops, for BK5's per-mesh numbers. `raea bake light
EDIT.tsx` says the bake itself is BK1-BK5.
bench/bake: the table set (bevy/realism's example), a Cornell box lit only by an emissive panel, a room lit through
one window; each has a raea composition and a -cycles one that draws lightbake.py's maps (media/baked/, ignored).
The atelier is listed, reference false with why: its Manifold solids stop `raea blender open`.
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.
raea fix SYMPTOM... searches raea's own fixes (sdk/guides/fixes/raea.tsv: 31 problems found and fixed
in raea work, each with where and when) and a library of ~46,500 problem -> fix entries from community
skills and docs whose licences allow it (MIT, Apache-2.0, BSD, CC0, ClawHub's MIT-0), ranked by BM25
over problem and error text. systems/fixes (raea-sys-fixes) holds it; about 50 ms a lookup, offline.
The library is a read-only SQLite FTS5 file pinned in tools/release/models.tsv (models-1 asset
fixes-library-202b3fec.db) and packed by tools/release.sh into share/raea/models/fixes; its sources and
licences are in its meta notice (raea fix --notice). The manual's CLI reference gains raea fix.
raea-sys-stage's Staging and raea-sys-contact's Clipping take each frame's parts as it's drawn and keep only
what their verdicts read: each frame's camera, each block of words' and each named part's place on screen, each
frame's cover and subject, the words over parts, and the solids of the parts on screen (a part's let go once
it's been gone 120 frames, an overlap's kept until it's said; only the last frame's pair tests are reused).
raea-runtime-endchecks hands each frame in; a still's frames go in one at a time, their parts made and let go.
Nothing keeps a render's parts now: raea-io-kept is gone. raea-core-scene's ids_of names a frame's parts as
spans_of follows them. Contact's unused slice check and told are gone, its deepest hit shared with the lint.
The film: the same 439 errors, 705 warns and 47 notes in the same order; end checks 0.6 s (22.7 s); a 4.06 GB
resident peak (4.76). The control's end checks add nothing (1.32 GB after its last frame; they rose to 1.52 GB).
Its frames still grow 25% after the first minute (docs/stage-guards.feature).
LX7's plan row follows the clipping check's per-frame code into clip.rs. raea-cli's tests name raea scene's
usage where it moved (raea-app-scene), and an unused alias goes.
- raea-sys-rt: one GPU timer for a traced pass (timer.rs), used by raea GI and the far sun; one reader for a pass's
reach (RAEA_SUN_FAR, RAEA_TRACED_AO); one compute-pipeline queue (cache::pipeline) for GI and its cache.
- raea-io-trace: overrides(), the variables still set over a component's props, said once a run; <VolumetricFog> and
<SolariLighting> both read through it.
- raea-render-raytrace takes raea-sys-post's Halton places (a facility crate) instead of its own copy; the settings'
split, taa and one_pass are read where metalfx uses them.
- engine-shaders keeps its declared shaders in a map; fog reads RAEA_FOG_EPI's places in one match; smaller rewrites
in plugins, look, stats, lod, compose and post.
- tools/dupes.max: exact=293, near=57.
raea-cli's macOS dependency table turns on raea-bevy-plugins/catalog and raea-runtime-react's bevy-plugins, so the
default build has every catalog plugin compiled in and adds each only when a project chooses it. tools/nobuild.sh
catalog on it: avian's ball falls and hanabi's fountain rises in a render and in play, package.json chose both, and
blur, a 2D card, fog, steady and the path tracer draw the same pixels as raea without the catalog (max 0 levels).
Windows and Linux stay as they were until their builders build it and pass the check. The check's pixel counter read
ImageMagick's colour fields one place off.
package.json raea.plugins (a list of names, or declarations keyed by name) chooses them, a scene's components and
resources under a plugin's crate add that plugin, and each chosen plugin brings the ones it needs. raea's own
registrations and a build without the catalog are unchanged. The run's trace records what was chosen and why
(plugins_chosen), and a name the build lacks is said once. sync writes engine/bevy-plugins' catalog feature: every
declared plugin but those declared "catalog": false (bevy, Bevy's optional features). tools/nobuild.sh catalog renders
and plays a project choosing avian and hanabi, and compares scenes that choose none against a raea without the catalog.
raea run's program said nothing: its console went to the log, and raea run's headless App has no log, so every
console line was dropped. The default export's return value was dropped too. A throw printed its stack alone, which on
JavaScriptCore is only the frames, so the message was missing.
- runtime/calls: CONSOLE. While it's on (and ECHO), a script's console goes to the terminal as node's does: log and
info to stdout, warn and error to stderr (raea-runtime-react's __raea_log). print takes err for a line meant for
stderr.
- raea-runtime-export: run_bundle_to_terminal turns it on for raea run, raea test and raea blender run. raea check's
asks and a spec's read keep run_bundle, whose stdout is their answer.
- raea-runtime-bundle: bundle_script's entry (script_entry.ts) prints what the default export returns, a string as it
is and anything else as indented JSON. A throw prints as error: Name: message, then the stack, on stderr, exit 1.
Checked with the issue's cases on this build: console lines before and after an await, both streams, a returned object
and a returned string, a throw (exit 1, message and stack on stderr), a script with no default export. raea test's
output is unchanged (random-colors.test.ts, 9 pass). The manual's raea run page says all of it, with an example.
raea-sys-stage (systems/stage) reads every frame's parts through its camera at the end of every render, beside the
clipping check: RichText too small or turned too far to read, a reveal that never starts or never finishes, words not
held long enough to read (SG10); a part's size on screen jumping in one frame, and a line built as a growing chain of
parts (SG12); a camera whose speed kinks or that goes in and back out within 1.5 s (SG13); frames with almost nothing
on screen, and the shot's subject cut by the edge (SG14). RichText read={false} leaves scenery out. raea scene stage
runs the same checks without drawing; raea scene moved from raea-runtime-export into raea-app-scene so the export crate
keeps room under its 2,000 lines.
Calibrated on the mobile-ads film (13,174 frames) and 33 clean scenes: the snap check as first written said 1,446
errors on the film and 1,252 on four clean scenes, and the lurch check 48 on Stay from f32 acos noise; what was left
out is each a measured false error (pop-ins, shared names, layout edits, parts over 6 m, speeds under what can be
seen, the gap between two long moves). The film now holds 375 errors (lurches at its spline's keys, labels at 60-75
degrees, code at 3-7 px); no type or snap error on the clean scenes.
raea show refuses a file whose newest render in its project's record holds an error it wasn't let through with,
naming each (engine/cli/src/held.ts); --despite CHECK "why" passes one and the why goes on the item. A still stepped
alone (raea check --quick, render --at) is judged for what a still shows, never for reveals or reading time.
A fontFamily that wasn't installed or loaded drew in the next family that was (the browser's serif, Times, when
none was), and the render said nothing: a web font that failed to load turned a whole video into Times.
- blitz-dom: each text style's family list is asked about as stylo_to_parley makes it, and its first named family is
checked against the fonts once the inline layout is built (the builder holds the font context until then). A miss
is kept once as: font "X" not found: drawn in Y, where Y is the first later family that resolves, or the generic's
face. A family found later (a web font still loading at the first layout) takes its line back. Lists that start
with the platform's system-face names (-apple-system, BlinkMacSystemFont, ui-*) aren't checked, nor bevy_text's.
- raea-runtime-export: render_said says each as a font-missing warning, with a fix, once the frames are out; it is
counted with the render's findings and kept in its manifest, and is followed by the #34 note as before.
Checked on this build: the issue's repro warns for NoSuchFamily123 (drawn in Times) and not for Helvetica. A Tailwind
stack, a system-font stack, Georgia and monospace say nothing. A missing brand font before Helvetica warns once though
two elements use it. An @font-face web font from staticFile says nothing, as a still at frame 0 and as a video.
raea-app-ask. prepare.rs reads what raea knows of the piece before it spends: what the file holds, the nearest brief.ts
(through raea spec) and a words file. A question that doesn't apply is dropped or swapped with why (a silent piece
asks sound-silent in place of sound); not knowing whether anyone speaks, both variants go in one call with the voice
question, and the answer sets the other aside. runner.rs plans a batch into calls (by file, window, files beside it
and what the questions look at, 64 a call), cuts each clip once, calls in parallel (--jobs), streams the answers, and
when the pool is spent partway keeps what came and reports the rest as waiting. record.rs keeps every call and
answer under ~/.raea/ask with the clips it cut, by hash, at most 2 GB. verbs.rs is raea ask: own words (--choose,
--grade, --rate, --flag), the standard sets (--set, --std, ask list), windows (--from, --to, --at), --with, --batch
(a JSON list or lines, - for stdin), --dry, --json and --gate for pipelines.
sdk/raea's raea/ask gives scripts ask and askMany over raea ask --batch --json. The clef client's failures are
typed so a spent pool waits rather than fails; decide.changed needs files beside it. The manual's CLI and SDK pages
are written with it; AK1, AK1b, AK2 and AK3 are done in docs/ask.feature.
core/brief's Brief drops stages and its Stage, Mark and Task types: a
project's tasks are its plan.org. An older brief with stages still
reads; raea doctor says its tasks belong in plan.org and moves nothing.
core/brief's object plan, the solids contract, is parts() in
NAME.parts.ts (raea spec --as parts), so plan means only a project's
plan.org. No project used plan(); the bevy guides that teach it, the
manual and the reference pages follow.
A taste line's check now takes any of raea's checks by name or a project's
own .ts check by path, with values and a level, beside the six forms. raea
check reads the project's own taste.ts beside the person's and the
workspace's, and raea context prints it.
Removed: the controller schema, raea controller, raea spec --as controller,
[controller] overrides in .raea/project, the registry's controller kind and
its lints, controllers/ in new projects and shared/, and controller() in
raea/brief. raea controller and raea doctor say where a controller's parts
go; doctor moves or deletes nothing. The direction proof's five rules are
lines in its taste.ts and it passes as before.
raea show asked kill whether the app ran, looked only in /Applications and said it opened files in "the Mac's own
viewer". app.ts asks each system its own way through one Here a test can fake: tasklist and the installer's
InstallLocation (#178) on Windows, Explorer to open files and start the app, raea.desktop and xdg-open on Linux, and one
PowerShell listing to name the harness that ran it. The shell's absolute-path tests take C:\, \\server\share and \
(show.ts absolute/fromCwd). raea brand reads a logo's size from its own header (PNG, GIF, JPEG, WebP, ICO), sips only as
a Mac's fallback, and cutting by words off a Mac says what works there. conformance/app.test.ts fakes each system.
raea show FILE --label "PLACE TAG" [--detail PARAGRAPH] sends the app's host each label as { place, text, detail? }; the
host (raea-feed labels, host/show.ts shownLabels) reads each place and refuses one that isn't, naming it. PLACE is
x0,y0,x1,y1 or x,y in the picture's 0-1, then #N, @T or @T-TO, or part=KEY. --labels FILE.json sends a list as feed_post
takes them (read by raea's own handler, index.ts, where the shell's files are). A --label with no tag, a --detail with
no --label before it or a second one, labels with no file shown, and --label with --labels are refused, saying what a
label is. The flags are in raea show's help line, the one list stray() reads.
raea media sheet writes OUT.labels.json beside OUT: each cell's box in the sheet's 0-1 and its time (0:03.2), or its
file's name for a sheet of several; raea show OUT.png takes it along with nothing more said. Tested: conformance 12/12
for show (bun), sheet_tests 2/2, and end to end against a stand-in host: a sheet of one film (four times) and of two
(their names), each flag's body as the host reads it, and the refusals.
docs/callouts.feature: status for 0.1.8; CO6 (the card's count) is built, so it's no longer 'Open'.
Main and Zach's stack each left the two crates at 2000 lines, and the merge made them 2001. Zach's comment on
export layers / export xml is one line now, like each dispatcher's beside it, and the scene's own-ambient retain is one
line, as the file writes its other one-statement ifs.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
raea export layers and layers.json, CapCut drafts written from layers.json with a captions track, raea export xml
(FCP7 XML for Premiere Pro and DaVinci Resolve), footage that moves, is cut or fades keyed in every export, and the
delivery and words guides teaching them (raea-skills #99, merged onto raea-skills main).
Conflict: engine/cli/src/cli.rs's help, where main added raea wear and raea setup motion beside Zach's raea export
layers and raea export xml; both kept. The skills pin is raea-skills main with #99 merged (f37e5e3).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A .glb gets a second uv set and four cause maps over it, kept by content in the composition's asset store: sky,
the year's sun, cavity and edge; run-off, what it left and its kind, and touch; height over the walk, the chart's
element and open sky; the winter sun, driven snow and where blown things settle. raea-sys-weathering packs planar
charts (flood, merge, split, absorb, hide) and casts parry3d rays; raea-sys-runoff walks rain down faces, along
ledges and off drips, carrying rust, copper, zinc and grime downstream; raea-sys-touch finds door leaves, treads,
rails, passages and gateways, and where plates, bills and nameplates belong; raea-sys-exposure takes the sun by
date and driven snow; raea-sys-glb reads and writes the .glb. wear.bake is registered with the calls crate's
natives (runtime/calls). Tests: weathering 10, touch 9, runoff 4, exposure 4, wear 3.
RAEA_LIGHT=raster|solari|pathtracer puts every 3D camera on one light path whatever the composition asks
(engine/render/raytrace force.rs; Solari's plugins come in when it forces them), and RAEA_LIGHT_SPP=N draws each
frame N times (runtime/export bevy_frame.rs) so a path-traced reference converges: gambit's street at 1080p, 128
samples, in about 11 s. raea light check SCENES.json -o DIR (new crate raea-light) renders each scene's stills on
each path and against its reference (kept until --fresh), and reports the distance in stops (mean, bias, worst
64-pixel tile), a moving shot's flicker (each pixel's second difference in time) and a still's cost in
DIR/report.json and a table; metric.rs has unit tests. bench/light/scenes.json lists the reference scenes: gambit's
street (no reference until LT2, LT3 and LT5), FLOOR3, gambit's first-person kitchen table and the glade. The anything
film's kitchen doesn't render today: every composition in content/anything throws "Can't find variable: raea".
raea motion runs Kimodo on MLX on a Mac as before; on Linux and Windows it runs upstream Kimodo (commit e1c219c, Kimodo-SOMA-RP-v1, post_processing off) on PyTorch, CUDA when there is an NVIDIA GPU, else the CPU. Python hands back the sampler's raw features and raea's Rust decoder makes the clip, so both write one clip format (systems/kimodo torch.rs, torch/run.py). raea setup motion [--check] fetches or checks the MLX models on a Mac, and elsewhere makes a uv Python 3.11 environment and fetches the weights (Llama 3 from NousResearch's ungated copy, its files checked against Meta's SHA-256s, each repository pinned). Checked on the Mac: MLX unchanged, the torch path's Rust half on MLX's own features (same keys, root gap 1.1e-16 m), cargo check for macOS, Linux and Windows. Not yet run end to end on Linux or Windows (docs/character.feature CH15d says what is and isn't tested).
scene3d's shade_meshes: a mesh row waiting for its shader gets it after a live frame's or a fed render's rows too, not only when a model spawned (a shaded part with no model beside it drew its bare standard surface). docs/first-person.feature: the first-person hands, interactions and cutscenes spec (FP1-FP11).
- apps/layers xml.rs (pure): layers.json as xmeml version 5: one sequence at the composition's rate (29.97 as 30 NTSC)
and size; video tracks bottom first; footage at its file where it is, placed by Basic Motion (scale, centre in frame
units), a Crop where object-fit: cover cuts it, its Opacity; the layers' movies full frame, alpha straight; Audio
Levels as linear gain; a footage clip linked to its own sound.
- Sound laid out as Premiere Pro 2026 writes it, read from an XML it exported: the sequence explodedTracks, each
stereo file's channels described one by one, each channel a mono clipitem on a track of its own (sourcetrack and
outputchannelindex 1 and 2), every clipitem of a clip and its linked clip linked together, a masterclipid each, and a
timecode on every file. The first layout (one stereo clipitem on a "Stereo" track) imported with no audio at all.
- File gains channels and sample_rate (layers.json reads files without them as stereo at 48 kHz).
- `raea export xml EDIT.tsx [-o DIR]`: the layers into out/xml/NAME, NAME.xml beside them; in raea's help and the
manual.
Checked so far: the multi-clip test imports into Premiere Pro 2026 with its video and, after the layout above, its
sound. Still to check: placement, transparency and Unlink in Premiere; all of it in Resolve.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- apps/layers (new): `raea export layers EDIT.tsx [-o DIR]` renders the reference with its manifest, then the
graphics, under (when there's footage or 3D) and captions (when a frame shows one) passes; writes each layer's
movie, layers.json (model.rs: the editor-neutral timeline, tracks top to bottom, footage linked to its own sound),
NAME.srt (srt.rs) and reference.mp4. The manifest's readers (runs, sounds, spans, full, resolve) move here from
apps/capcut/src/plan.rs; CapCut keeps its own placement and track laying and reads the rest from here.
- engine/page manifest.rs: a text entry inside data-raea-role="caption" says caption: true (the SRT's words, and
whether the captions pass runs). runtime/export: the manifest says has3d.
- The 3D moves from the graphics layer to the one under the page (raea_sys_layers::draws_3d): raea draws the 3D first
and the whole page over it, footage included. The under pass renders opaque, since --alpha clears the 3D's clear
colour, which is the page's background over 3D (three-d lost its background: 21 dB before, 39 after).
- vendor/blitz-dom mutator.rs: an element whose :has() was matched (ANCHORS_RELATIVE_SELECTOR) is matched again when a
node under it is inserted or removed, as Chrome does. A caption a <Sequence> put on the page at frame 10 stayed
hidden under the captions pass's :not(:has(...)) (lower-third: 23.5 dB before, 34.1 after); footage coming in
later under RAEA_HIDE_MEDIA=under had the same fault. Recorded in vendor/vendor.toml.
- apps/layers composite.rs (LA3a), an ignored test run by hand with a GPU: four fixtures (apps/layers/fixtures)
exported, composited back bottom to top at each clip's first, middle and last frame, against the reference:
highlight 33.0-35.1 dB, lower-third 34.1-35.1, pip-card 33.2-33.5, three-d 39.1-39.8 (floor 30).
- docs/layers.feature brought up to what was built; docs/manual/reference/cli/export.md regenerated
(tools/manual-ref.sh gen). The skill's reference/cli.md (raea-skills) needs the new verb with LA7.
Tests: raea-app-layers, raea-app-capcut, raea-sys-layers, raea-runtime-scene, raea-runtime-page, raea-runtime-bundle,
blitz-dom, raea-cli (with the skills submodule), sdk/timeline; tools/layers.sh. raea export capcut runs as before.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
canonicalize() through std gives \\?\C:\... on Windows: a path Git for Windows can neither read nor lock, Rolldown can't resolve, and which shares no root with the C:\... git and everything else print. It broke a new workspace's git config (fixed in apps/workspace earlier today). Here the calls in the apps (CapCut, check, direction, engines, fingerprint, game, interchange, judge, solid, sound, targets, tools), the bundler, the CLI, the modules loader, the native shim's realpath, the page's motion, io (assets, gen, home, shell), runtime/bundle/lib, js, track and world, the systems (fingerprint-use, footage, index, ml, page-net), the bridge bench's examples and the sdk/ui test tools use dunce::canonicalize, which gives C:\... wherever a path can be said so and is std's own call on the Mac and Linux.
Reads of the home folder took HOME alone, which Windows doesn't set for an app opened from the Start menu or Explorer, so the taste file, the settings file, the inbox, the npm store, the caches (sounds, splats, goo, ingest, speech, Core ML, the portable perceive models), the node shim's os.homedir() and CapCut's drafts were looked for under whatever folder raea ran in. raea_io_home::user_home() reads HOME, then USERPROFILE (Git for Windows' order; an empty one counts as unset), and models(), caches(), logs(), env_path() and offline() use it, as do the places that had their own fallback.
The caches that had their own copy of "this variable, else this folder under home" (splats, goo, ingest, the npm store, Core ML's models) now call raea_io_home::env_path and models(), and raea_io_home::real canonicalizes a path or keeps it as given, so tools/dupes.max comes down to 289 exact and 58 near. tools/skills.sh reads a variable from env_path("RAEA_...", ".raea/...") as it did from env::var, so files.md keeps RAEA_NPM_HOME on ~/.raea/npm (every generated reference is unchanged).
Five crates hold other sessions' uncommitted edits (engine/page/stage, engine/render, runtime/bundle, runtime/export, runtime/live): their few calls, and tools/windows-paths.sh, the check that keeps both at zero, land once those are committed.
Checked: cargo check --all-targets of every crate changed, and of sdk/ui/conformance and sdk/ui/parity. On a Windows 11 PC and on macOS the unit tests of raea-io-home (user_home's order and an empty HOME, now in caches_logs_and_the_home_folder_follow_the_platform), raea-app-check, raea-app-workspace, raea-app-registry and raea-core-facts pass (5, 27, 10, 7, 17).
The agent's sound line in engine/cli puts a sample library first, names raea guide sources, says music is composed for the cut and never a pad or drone by default, and keeps TokenSynth for a timbre no library has. Audio's src doc no longer offers lyria(), which is retired (and audio-stack.md says so), and the manual's example drops the media/ prefix staticFile doesn't take. The CLI pages say what is true: raea sounds' ids are exact (vcsl/upright-piano-knight, vcsl/bass-drum-1) and --all gives a pitched instrument one take a note; an SAO take is at most 11.9 s, a seed's take is played from its file, and SAO suits effects better than music; TokenSynth is for a missing timbre, curated; setup-audio says what each model fetches, its size and licence (SAO's is Stability AI's Community License, not an open one), what it needs and what its failures mean.
Agents using raea, in the app or in a terminal, had no way to tell raea about a bug they hit. raea bug TITLE... --text TEXT [--command CMD] [--error TEXT] [--agent NAME] [--dry-run] posts to raea.io/v1/bugs/agent: words only, raea's version and the OS added by the host (native.ts, curl; RAEA_API names another server), paths, emails and key-shaped strings taken out before it leaves (the server scrubs again), the harness as the agent unless --agent or RAEA_AGENT says. It reads no keychain, so it never raises a prompt in a headless run. The server counts the same bug again on the first report and takes five a day from a machine; --dry-run prints exactly what would go.
engine/cli/conformance/bug.test.ts (5 tests, the command's side with the host faked); docs/manual/reference/cli/bug.md and the index row (Agents and setup).
raea clothes cover --hard [--sole MM] [--sole-colour #RRGGBB] [--panels #RRGGBB,...] makes footwear as its own mesh. Each foot gets the convex hull of the skin it covers, remeshed even, corners rounded and the collar opened over the leg. A flat sole sits under it, set out, in its own colour up the side. A toe cap, a heel and a side band take the panels' colours. It is skinned from the nearest covered skin and does not swing. Shoes laid on the skin read as bare toes.
tools/garments/outfit.py turns a description into garments. Footwear is hard; the sole's thickness and colour and the panels come from the words.
hide_under.py leaves out an inner garment's faces where they lie straight under an outer one's face (within 3 cm, at most 2 mm sideways), not only where a ray meets it.
The manual's clothes page describes the new flags. CH15c records the user's look at the Kimodo eval: all ten do lines read right.
Checked against the PyTorch reference (tests.rs, fixtures in ~/.cache/raea-kimodo/mlx/ref/rust):
- the denoiser within 2e-3 on its features (two batches, padding, constraints, headings);
- a whole 100-step generation from the same noise and text within 0.002 cm at worst on the 77 joints;
- constraints become the same conditions (mask equal, values within 1e-4);
- the 8-bit encoder at cosine 1.000000 to the Python MLX 8-bit run and 0.999929 to float32 (over eight lines, the motion's joints move 0.01 to 0.74 cm on average and 1.44 cm at worst, against float32 text).
Kimodo's post-processing (its C++ foot-skate and constraint clean-up) is not ported: clips are post_processing=False. A seed here is not that seed in the cloud (PCG32 noise, not torch's).
raea motion is in the manual's CLI reference (docs/manual/reference/cli/motion.md, under "Generate and 3D tools", every flag described, a do line made between standing keys). The crate's small helpers that copied ones elsewhere are written once or rewritten (floats, cross, round, the .npy words, the clip's slug), so dupes stays at 292 and 59; dyn-clone leaves NOTICE's catalog list, since the motion crate brings mlx-rs (which uses it) into a plain raea build. SKILL.md:19 (which workspace, which project): checked, still true; raea motion takes no project and writes where -o says.