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.
One call: the state, the questions by id, and stills (JPEG), videos (MP4) and sounds (MP3) cut with raea's FFmpeg to
clef's limits (480 px H.264 at a small bitrate, mono 16 kHz MP3, JPEG at most 1,600 px; ffprobe says first what a file
holds). It goes the first way that answers: the raea app's host (/host/ask, which adds its sign-in), an agent key
(RAEA_AGENT_KEY with RAEA_API, for pipelines and servers), the person's own Cloudflare account; with none it says how
to get one. No plan or no ask scope hands on to the next way; a spent pool stops unless the person has their own keys.
Unchanged questions on unchanged media come from a cache by request hash; RAEA_CLEF_REPLAY gives recorded answers to
tests.
raea judge asks through it (Question::from_wire reads its rubric's clef-native questions), so apps/judge's own
clef.rs is gone and the judge pays from the plan when the app is signed in. docs/settings.md lists the new settings.
On Windows raea's own decoders read H.264 without B-frames (openh264) and AV1, not what phones and cameras write:
H.264 with B-frames, HEVC, VP9. With no FFmpeg installed (as on nearly every Windows PC), raea media probe, raea
check and a render's <Video> refused such a clip ("no picture or sound raea can read"). Found testing 0.1.8-rc6's
raea.exe on Windows with orbit.mp4 (H.264 High, B-frames).
- raea_io_assets::ffmpeg_tool: ffmpeg or ffprobe from the PATH, else raea's own in $RAEA_TOOLS_CACHE/ffmpeg/bin.
On Windows raea's own is fetched there once: GyanD's essentials build 9.0.2 (the one winget's
Gyan.FFmpeg.Essentials installs) from its GitHub release, 114 MB, checked against GitHub's SHA-256 digest
for it, unpacked by Windows' tar (ffmpeg.exe, ffprobe.exe and the LICENSE, ~210 MB). Nothing is bundled.
Off Windows the error names the package manager's command.
- The fetch shares uv's code (fetch_archive, from fetch_uv), which now resumes across curl's tries
(-C - --retry-all-errors, as #189 does for the models).
- The ffmpeg backend runs that binary everywhere. Only opening a file named as a video fetches; sound,
encoding and asking what FFmpeg can do never do, so a silent clip tried on every backend, or an mp3, never
downloads 114 MB.
- raea-app-media opens a video through every backend in order (raea_io_media::preferred), as renders already
did, instead of the platform's alone: media probe, the change and picture commands, and raea check's
native reader. probe's refusal now says what each backend said.
Checked on the Mac with no FFmpeg on PATH and the portable backend first: B-frame H.264 and HEVC probe
through VideoToolbox (they were refused before), and VP9 is refused with each backend's reason, ending in the
install line; VP9 probes once FFmpeg is on PATH. The zip's layout and extraction were checked with bsdtar.
The Windows fetch itself is proved on the release's raea.exe on Windows. Tests: raea-io-assets, raea-io-ffmpeg,
raea-app-media and raea-app-check-read (parity against FFmpeg) pass.
#155: raea's app crashed before its window in AMD's OpenGL driver (atio6axx.dll, 0xc0000005) on a laptop with an
AMD 780M beside an RTX 5060, under wgpu's every-backend default and under Vulkan, and ran with WGPU_BACKEND=dx12.
#180 put an Intel GPU on DX12, but looked only at DX12's high-performance pick, which on that laptop is the NVIDIA
GPU. Now dx12_first looks at every GPU DX12 lists: an Intel or AMD one (not WARP) puts the process on DX12, whichever
GPU it then draws on. A PC with only NVIDIA GPUs, a Mac, Linux and a WGPU_BACKEND someone set keep wgpu's own pick.
Testing that on the RTX 4070 (the laptop's pick) found DX12 drawing meshes wrong: a box and a sphere came out as one
mangled shape. The shared device drops wgpu's indirect-draw validation in release builds, and on DX12 that pass is
what writes each indirect draw's first vertex and first instance (wgpu-core's D3D12 special constants). With it on,
the same frame matches Vulkan's. So the validation now stays wherever DX12 can be the backend (on Windows, unless
WGPU_BACKEND leaves DX12 out); Mac, Linux and a Vulkan-only Windows process keep the speed-up. Without this, 0.1.8's
#180 would have drawn every Intel GPU's 3D mangled.
Known cost, unchanged here: DX12 compiles shaders with FXC (raea ships no dxcompiler.dll; DXC 1.9.2609 fails on
bevy_hanabi's shaders), so a 3D render's first frame on DX12 took 22 s on the 4070 against Vulkan's 8 s.
docs/settings.md gets a WGPU_BACKEND row (what raea picks, and the override).
Each local model's setup is now tools/<model>/setup.py (standard library only, on tools/local_setup.py), run by uv
on any OS as raea runs it: uv on the PATH, else raea's own uv 0.12.24 fetched once into ~/.cache/raea-tools/uv (where
tools/ensure.sh puts it) and checked against its SHA-256. The setup.sh beside each is a wrapper for a Mac or Linux.
Until now each setup was a sh script needing uv already installed (brew install uv), so Windows had no way to
install any local model.
- SAO: Core ML on a Mac, ONNX Runtime elsewhere (CUDA where nvidia-smi finds a GPU; RAEA_SAO_CUDA=0|1); its WAV is
written by Python's wave module, not an installed ffmpeg (same samples)
- matchmove, splat: footage read through PyAV, whose wheels carry FFmpeg's libraries (no ffmpeg/ffprobe needed);
splat fetches Brush v0.3.0's release build for macOS arm64, Linux x86_64 or Windows x86_64, each SHA-256 checked
- goo: Taichi on Metal on a Mac, else its best GPU (CUDA, Vulkan) or the CPU; the backend is reported as run
- TokenSynth: its code as GitHub's archive at a pinned commit (no git); coremltools only on a Mac
- the engine runs .venv\Scripts\python.exe on Windows (venv_python), Brush's brush_app.exe
- tools/release.sh ships tools/local_setup.py
Dropped CSS: stylo drops what it can't parse silently unless a ParseErrorReporter is passed, and blitz-dom passed none, so a render printed APPLIED over a picture missing some of its code. vendor/blitz-dom/src/not_applied.rs is that reporter, passed at every author parse (stylesheets and @imports in net.rs, <style> in document.rs, style attributes in node/element.rs, CSSOM in cssom.rs; never the user-agent sheet). It keeps each drop once per property and selector, never its value ("-webkit-text-stroke in .outline", "... in a style attribute"), since a style attribute is parsed again on every frame it changes. FileNet's loads that fail join the list ("the file ... (it didn't load)"). The render prints it once after APPLIED (engine/cli for TSX, apps/media for HTML) as "NOTE the page didn't apply N things, and is drawn without them:", one per line, at most 20, and --manifest gets it as not_applied. RAEA_NOT_APPLIED=0 parses as before (docs/settings.md), for measuring.
Vendored stylo change, to upstream later: report_one_css_error (properties/declaration_block.rs) returned before reporting any unknown property with a -webkit-, -ms- or -o- prefix, which hid the reporter's main case, -webkit-text-stroke (Gecko-only in stylo, drawn as nothing). It reports them now, and raea's reporter skips the prefixed properties that change nothing in a picture (text-size-adjust, tap-highlight-color, font-smoothing, appearance, user-select and the like), so Tailwind's preflight adds no lines (a Tailwind page with gradients, rings, blur and truncate printed no NOTE). A value error is also named by the property stylo parsed, with the value after it. vendor.toml says both.
Noise: Bevy's bevy_asset::io::web and io::source warnings (printed by every render) and fontdb's skipped faces (system fonts it can't parse, which the reporter saw on Windows; a missing @font-face file, which the NOTE names) are filtered at both LogPlugins (engine/page motion.rs, engine/render open.rs). io/trace's `log` logger, which every third-party `log` record goes through, prints only warnings and errors now, and not fontdb's (Bevy's Ctrl+C handler printed two INFO lines on every render); every record still goes to the trace's events.jsonl.
Check: bench/dropped-css/check.sh renders the reporter's page as TSX (30 frames, its outline moving so its style attribute is parsed each frame) and as HTML. Each must exit 0 and print one NOTE naming -webkit-text-stroke and the missing font once each, with no INFO line and no bevy_asset or fontdb warning, and the TSX render's manifest must list both under not_applied. It fails on the raea before this (no NOTE) and passes on this one.
fps, one build with the reporter on and off (RAEA_NOT_APPLIED), seven alternating rounds on a shared, busy machine: the worst case (bench/dropped-css's page at 600 frames, dropping a declaration on every frame) median 516 on vs 479 off; bench/html-repeat median 202 on vs 172 off. No cost shows above the noise (min to max spans 315 to 620). (closes#34)
One GPU engine for video, motion, games and 3D, written as React and TypeScript with @raea/motion and rendered by
Bevy; void, the Mac app on top of it; an agent skill and a Claude Code plugin. Licensed FSL-1.1-ALv2.