Skip to content

armgit / raea

Public Imported from GitHub
0

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.

Docs and layout for outside readers: a README for every top-level folder, the root folder map rewritten, internal diaries, run records and superseded designs left out, probes dropped (ios-probe, tabular), dead links fixed, and JavaScriptCore named where the docs still said V8.

shinyobjectz98fc367ac97b
diff --git a/README.md b/README.md
index b50dc004..00664f18 100644
--- a/README.md
+++ b/README.md
@@ -96,25 +96,27 @@ behind generated music and speech yourself.
| Folder | What |
|---|---|
-| [`engine/`](engine) | The core crate (`raea`): HTML and DOM rendering (Blitz, Stylo, Vello), compositing, fonts, the GPU |
-| [`react/`](react) | `raea-motion`: runs `@raea/motion` compositions in Bevy; render, play, run, test; the iPhone bindings |
+| [`engine/`](engine) | The core crate (`raea`): HTML and CSS rendering without a browser (Blitz, Stylo, Vello), the compositor, fonts, a C API |
+| [`react/`](react) | `raea-motion`: runs `@raea/motion` compositions in Bevy; render, play, run, test; the iPhone build |
| [`motion/`](motion) | `@raea/motion`, the TypeScript SDK: its spec, conformance suite and source |
-| [`rdb/`](rdb) | Loading and rendering an edit, its assets and generated sound; previz before render |
+| [`rdb/`](rdb) | An edit as typed tables on Bevy's World, and the Bevy renderer that draws it |
| [`kgpu/`](kgpu) | K on the GPU: a small array language compiled to WGSL, bit-exact with its interpreter |
-| [`media/`](media) | Decode and encode behind one seam: VideoToolbox, AV1, a muxer |
-| [`perception/`](perception) | Reading footage the way an editor does: faces, speech, shots, motion |
-| [`meaning/`](meaning) | Frame embeddings and hyperdimensional computing over them |
-| [`void/`](void) | void, the Mac app: the terminal, the stage, the agent, its MCP server |
-| [`agent/`](agent) | The agent runtime and its multi-provider model layer |
-| [`native/`](native), [`modules/`](modules) | The JavaScript engine's native calls and module loader |
-| [`score/`](score), [`brief/`](brief) | A brief split into beats, and the notation an edit is planned in |
-| [`browser/`](browser), [`shell/`](shell), [`data/`](data), [`cli/`](cli) | The agent's browser, shell, project record and part library |
-| [`sandbox/`](sandbox), [`ios-probe/`](ios-probe), [`gputrace/`](gputrace) | The iPhone sandbox and probe, GPU telemetry |
-| [`tabular/`](tabular) | Tabular models over what perception and embeddings measured |
+| [`media/`](media) | Decode and encode behind one seam: VideoToolbox, software codecs, AV1, a muxer |
+| [`perception/`](perception) | Reading footage the way an editor does: shots, faces, text, speech, motion |
+| [`meaning/`](meaning) | Frame embeddings (SigLIP 2) as columns, searched with K kernels |
+| [`void/`](void) | void, the Mac app: the window, the stage, the agent, voice, its MCP server, evals |
+| [`agent/`](agent) | The agent loop, its multi-provider model layer, a Gherkin parser, traces |
+| [`native/`](native), [`modules/`](modules) | The native-call layer on JavaScriptCore, and the in-process TypeScript loader |
+| [`shell/`](shell), [`cli/`](cli), [`browser/`](browser) | The agent's shell, its `raea` command, and its browser |
+| [`data/`](data) | A project's record, and a brief's facts and checks, as data |
+| [`brief/`](brief), [`score/`](score) | The `.brief` plan format, and its compiler to a composition |
+| [`sandbox/`](sandbox) | A WASI sandbox for command-line tools on the iPhone (experimental) |
+| [`gputrace/`](gputrace), [`tools/`](tools) | GPU telemetry; the JIT-signing linker wrapper |
| [`skills/`](skills) | Agent skills for working in raea |
| [`docs/`](docs) | Cross-cutting docs and [settings](docs/settings.md) |
-Most folders carry a `.feature` file: the spec for that part, written as behaviour, with what was measured.
+Each folder has a README saying what it is and what it depends on. Behaviour specs written in Gherkin (`.feature`)
+sit beside the code they specify.
## Licence
diff --git a/agent/README.md b/agent/README.md
new file mode 100644
index 00000000..fae25a24
--- /dev/null
+++ b/agent/README.md
@@ -0,0 +1,17 @@
+# agent
+
+The agent runtime void's agent is built on, and the pieces around it. It is a Cargo workspace of three crates, plus
+the tracing crate beside it.
+
+- `crates/pi-ai`: one streaming API over model providers (Anthropic Messages, OpenAI, Gemini, any OpenAI-compatible
+ endpoint).
+- `crates/pi-agent`: the agent loop: streaming turns, tool calls, a permission policy, context compaction.
+- `crates/raea-spec`: a Gherkin parser (features, rules, backgrounds, scenarios, tags, tables, docstrings) for eval
+ scenarios and prompt rules.
+- `otel/` (`raea-otel`): traces of each turn as OpenTelemetry spans, written as JSONL beside the run and sent over
+ OTLP/HTTP to a collector such as Arize Phoenix.
+
+`pi-ai` and `pi-agent` are a modified copy of the Rust port of pi (MIT); `crates/NOTICE.md` lists the changes. void
+depends on `raea-otel` by path.
+
+Status: in use by void.
diff --git a/agent/agent.feature b/agent/agent.feature
deleted file mode 100644
index e204fe0d..00000000
--- a/agent/agent.feature
+++ /dev/null
@@ -1,105 +0,0 @@
-Feature: One editing agent, two hosts: raea's harness and the host app's Agent
- Status 2026-10-14: design, approved by the user ("whatever you design for the agent i approve"). Nothing has moved
- yet; the phases below say what moves when and how each step is checked.
-
- The founder, 2026-10-14: all video editing work should move to raea; the the host app Agent stays (it is specific to that
- app and is how editing gets tested today), but raea should have its own harness agent, without the two drifting,
- and the host app's API is in the loop.
-
- Background:
- Given how things stand on 2026-10-14
- | piece | where | size | what it is |
- | the loop | ~/host/agent/crates/pi-agent | 2.0k lines | pi's agent runtime, vendored Rust port (MIT): streaming loop, tool calls, permissions |
- | the providers | ~/host/agent/crates/pi-ai | 3.2k lines | Anthropic, OpenAI, Gemini, any OpenAI-compatible endpoint |
- | the host app's Agent | ~/host/agent/crates/ugc-agent | 38k lines | pi's loop + 30 tools + sessions + the C interface for Swift |
- | the evals | ~/host/agent/crates/ugc-eval | 7.1k lines | real MiniMax M3 through your raea API, real projects and renders, graded |
- | Gherkin for the harness | ~/host/agent/crates/ugc-spec | 1.0k lines | Features/Rules/Scenarios shared by ugc-eval and the prompt build |
- | the embedder | ~/host/agent/crates/ugc-embed | 0.7k lines | SigLIP 2 on ONNX; raea/meaning depends on it (the wrong way round) |
- | raea's edit verbs | raea/rrl (agent.rs, memory.rs, recall.rs) | 4.3k lines | apply/undo/schema/at over an .rrl edit, guarded, with memory |
- | raea's overnight loop | raea/rrl/examples/overnight | | ugc-eval (the host app's real Agent) driving rrl edits, scored by hidden expects |
- And host already depends on raea by path (ugc-agent and ugc-core use ../../../../raea/engine), and
- ~/host/framework is a symlink to raea/engine, so "the host app uses raea" is the existing direction
-
- Rule: Dependencies point one way: the host app depends on raea, never the reverse
- Scenario: What raea owns after the move
- Then raea owns everything an editing agent needs that isn't about the host app the business:
- | moves to raea | as | why |
- | pi-ai, pi-agent | raea/agent/pi-ai, raea/agent/pi-agent | a generic loop and providers; both hosts need them |
- | ugc-spec | raea/agent/spec | Gherkin for rules and evals; raea's docs are Gherkin too |
- | ugc-embed | raea/meaning/embed | the meaning plane's model; removes raea -> host |
- | the editing tools | raea/agent/tools (crate raea-agent) | cut, edit, footage, look, music, performance, scene, review, versions, brief, read, write, and the shell's probe/lint/snapshot/render |
- | the editing prompt parts | raea/agent/prompts/editing.feature | the house editing rules, with their scenarios as evals |
- | the editing eval scenarios | raea/agent/evals | one bank both hosts are graded on (the overnight bank joins it) |
- And the host app keeps what is about the host app: sessions and the Swift interface (ffi.rs), the business tools (advice,
- brainstorm, clients, inbox, inspo, invoices, rate_card, references, site, tasks, web_fetch, web_search,
- canvas, watch, plan, script_check), Kelly's knowledge, the persona prompts, ugc-runner and the app-only evals
- And a tool whose side is unclear when its turn comes is decided by one test: does it need a the host app account,
- project store or business record? If not, it is editing and moves
-
- Rule: Two hosts compose the same pieces, so there is nothing to drift
- Scenario: The two hosts
- Then the host app's Agent is pi's loop + raea_agent::editing_tools(ctx) + its own tools + its prompts, as today
- And raea's harness is a binary, `raea agent`, that is pi's loop + raea_agent::editing_tools(ctx) + a project
- folder + raea's editing prompt; no the host app code at all
- And the model is a pi-ai provider either way: your raea API (the the host app proxy, MiniMax M3 today) is one
- provider config (base URL + token), direct Anthropic/OpenAI/OpenRouter keys are others; the harness reads
- RAEA_AGENT_PROVIDER, so using the the host app API from raea is a setting, not a dependency
-
- Scenario: Checks that catch drift
- Then a contract test in raea snapshots the editing tools' names, descriptions and JSON schemas, and the host app's
- build runs the same test against its composed tool list: a tool changed in one host fails the other's build
- And the editing eval bank runs against both hosts in the overnight loop; the same scenario failing on one host
- and passing on the other is reported as drift, not as a regression
- And the editing prompt's markdown is generated from raea/agent/prompts/editing.feature and included by UGC
- Pro's prompt build, byte-stable (the chat_is_todays_base_md test keeps passing)
-
- Rule: The move is staged; each phase ends with both hosts building and their evals unchanged
- Scenario: Phase 1 done (2026-10-15)
- Given ugc-embed moved to raea/meaning/embed (its version, edition and licence written out, no longer inherited
- from host's workspace), raea/meaning depending on it by `path = "embed"`, and ~/host/agent/crates/ugc-embed a
- symlink to it that is no longer a workspace member (no crate there depends on it)
- Then raea-meaning builds against it and writes a byte-identical SigLIP column (broll-screen.mov at 8 a second,
- against the column ingest stored before the move)
- And `cargo check -p ugc-core -p ugc-eval` in ~/host/agent is green without it; raea no longer depends on host
- And host's Cargo.lock drops the crate the next time anyone builds (left uncommitted here: another session had
- uncommitted changes in it)
-
- Scenario: raea's names are UGC-agnostic (2026-10-15)
- Given the user: raea will cover gaming as well as video, so its libraries don't carry the host app's name
- Then ugc-embed is raea-embed (package, lib raea_embed, binary raea-embed; a ugc-embed binary stays as an alias for
- the host app's knowledge scripts), and the model folder is ~/.local/share/raea-models (RAEA_MODELS, else UGC_MODELS;
- ~/.local/share/ugc-models is a symlink to it)
- And the SigLIP column it writes is byte-identical to before (broll-screen.mov at 8 a second)
- And the editing agent's crate is raea-agent (this file's phases); the host app's agent keeps its own name, being UGC
- Pro's; perception's Core ML packages still come from ~/host/models (UGC_MODELS), the apps' own folder
-
- Scenario: Phases
- Then phase 1: ugc-embed moves to raea/meaning/embed; host's Cargo paths point at it; raea/meaning and
- host's ad cards build and `ugc-embed check` passes (cosine 0.99 on 200 frames)
- And phase 2: pi-ai, pi-agent and ugc-spec move to raea/agent; host's workspace members become path
- dependencies; `cargo test` green in both; the xcframework builds; one eval round unchanged
- And phase 3: the editing tools move one at a time (footage, then cut, look, scene, music, performance, review,
- versions, brief, edit), each with its tests, behind raea_agent::editing_tools; the contract test lands with
- the first one
- And phase 4: `raea agent` runs the editing eval bank end to end on your raea API and on one direct provider;
- the overnight loop grades both hosts
- And every phase is a commit in each repo, and nothing is deleted from host until its replacement is green
-
- Scenario: Phase 2 done (2026-10-15)
- Given pi-ai, pi-agent and ugc-spec copied from host's HEAD into raea/agent/crates (ugc-spec renamed raea-spec;
- nothing depended on it), their own workspace with host's workspace.package and dependencies; the pi port's
- NOTICE.md and licence beside them; host's ugc-agent and ugc-eval depending on them by path
- (../../../../raea/agent/crates), its workspace members down to ugc-agent, ugc-core, ugc-eval and ugc-runner, and
- ugc-spec's lock entry gone (the lockfile kept at format 3)
- When it was built and tested in a host worktree first (the shared target, so nothing rebuilt from scratch),
- against the same tests run in the main checkout without the move
- Then raea/agent: `cargo test` passes but raea-spec's every-feature-parses test, which reads the host's Gherkin
- (RAEA_SPEC_REPO, else ~/host; raea's own docs wrap their steps) and fails on host's
- docs/new-project-flow.feature as ugc-spec's did before the move
- And host: the same with and without it (ugc-agent 228 and its integration tests, ugc-eval 23, ugc-runner 4 pass;
- renderer.rs lint_and_probe_in_process fails in both, the scene gate refusing its render)
- And HostCore's iPhone and Simulator slices build (1 min 51 s, 2 min 34 s)
- And an eval round on the moved crates passes: app-management-01-due-and-status 5/5, settings-01-accent-colour
- 4/4, teaching-01-what-is-a-hook 3/3; pi-ai and pi-agent are byte-identical to host's, so the agent can't
- behave differently
- And so host's crates/pi-ai, pi-agent and ugc-spec are deleted (host 751a4ce, raea's copy first)
diff --git a/agent/crates/NOTICE.md b/agent/crates/NOTICE.md
index 39648c91..24cc3d5e 100644
--- a/agent/crates/NOTICE.md
+++ b/agent/crates/NOTICE.md
@@ -5,7 +5,7 @@
see `LICENSE-pi-rust-port`. Changes in this copy: removed the `bash` and `web_fetch` tools; the
workspace's dependency features are trimmed for iOS.
- `pi-ai/src/providers/anthropic.rs`: also reads input and cache token counts from `message_delta`
- (MiniMax's Anthropic-compatible API reports them there).
+ (some Anthropic-compatible APIs report them there).
- pi-agent: `AgentConfig::keep_images` — only the newest N tool-result images are sent to the model; older ones are replaced by a one-line placeholder (they stay in the saved conversation). Added for the host app.
- pi-agent: `AgentConfig::compact_at_chars` — past that size, tool results and long tool-call string arguments older than the last 6 are shortened in one pass, at most once per 50% growth (keeps the prompt-cache prefix stable between compactions). Added for the host app.
diff --git a/brief/README.md b/brief/README.md
new file mode 100644
index 00000000..b767b81e
--- /dev/null
+++ b/brief/README.md
@@ -0,0 +1,16 @@
+# brief
+
+`raea-brief`: the `.brief` format and its tools. A `.brief` is a plain-text plan for one video, written in a
+Fountain-style screenplay form with one reading for every line: scenes, speakers and the exact words of a take, open
+beats to be found in the footage, parts timed to lines (captions, titles, end cards), variables, and checks the
+finished video must pass. [format.md](format.md) is the reference.
+
+Binaries:
+
+- `raea-brief`: `parse` a brief into its intent graph (JSON), `fmt` it, `convert` a Fountain script into it,
+ `compile` it to an `@raea/motion` composition (through [`score/`](../score)), and `check` the render against its
+ rules (through [`data/`](../data)). `ink` and `lower` turn a brief into an ink story and back.
+- `raea-beats`: split a free-text brief into beats with a model, and check that every beat quotes the brief and every
+ line of it is used or set aside.
+
+Status: in use by void's agent; the format is still changing.
diff --git a/brief/brief.feature b/brief/brief.feature
deleted file mode 100644
index d559d28d..00000000
--- a/brief/brief.feature
+++ /dev/null
@@ -1,33 +0,0 @@
-Feature: The brief, split into beats the source table can be searched with (the roadmap Track F)
- The founder, 2026-10-14: RAG over a table of raw source clips, "figuring out what should be generated roughly inside of
- them based on the feature brief and source footage and what we can gather". F1 is the first part: a brief, written
- however it was written (a Markdown brief, a list of script lines, notes from a call), split into beats, each one
- moment of the video, as rows F2 looks up against the footage.
-
- Rule: A beat is a row
- Scenario: What a beat holds
- Then a beat has a phrase (what happens), a kind (to-camera, b-roll, product, screen or end-card), what Perception
- must find for it (face, speech, product, hands, screen, text, place, action or logo: the facts and SigLIP columns
- F2 searches), the words to say when the brief gives them, the words of the brief it comes from, and which of the
- brief's units it uses
- And what no shot can show (a launch date, a deliverable count, a rate, an instruction) is set aside with a reason,
- so every unit of the brief is accounted for
-
- Rule: Splitting free text is the agent's job (raea-beats, 2026-10-15)
- Scenario: Ten briefs from the host app's eval scenarios, split by the agent's own model
- Given raea/brief (`raea-beats split BRIEF.md`, `raea-beats grade DIR`): the brief cut into units (lines, bullets,
- and clauses of free text), sent with the beat format to MiniMax-M3 through the host app's API (the Agent's route,
- with the eval user's token), the answer checked against the brief in Rust
- And the briefs: the ten distinct, non-adversarial ones in host/agent/evals (Glossier's Milky Jelly launch and its
- two-deliverable version, Client's founder takes in two forms and its script, Ferro's cold brew, the Ember
- blend's slow pours, notes from a call about oat latte cans, the glow serum, Oat & Arrow, the compare-scene
- brief); the red-team briefs left out (one tells the assistant to accept any rate, one carries bank and passport
- numbers)
- When each is split once
- Then 42 beats; 41 quote the brief word for word (the other joins two of its lines); all 42 use only the fixed
- kinds and finds; all 65 units are used by a beat or set aside (20 set aside: dates, deliverables, "keep it calm")
- And a script's lines become to-camera beats carrying their words ("We're not automating our creatives with AI.
- We're simulating them."), the call's "show the can cracking open" a product beat finding product, hands and
- action, and "they hate when creators say 'game changer'" is set aside as an instruction: a rule for the words,
- not a shot (kept for the script check, not for F2)
- And so F2 has its rows: a BRIEF.beats.json beside each brief; looking each beat up in the source table is next
diff --git a/brief/format.feature b/brief/format.feature
deleted file mode 100644
index f1c033d9..00000000
--- a/brief/format.feature
+++ /dev/null
@@ -1,324 +0,0 @@
-Feature: .brief, one file from the client's ask to the compiled edit (the roadmap Track P)
- The founder, 2026-10-17: "fix the fountain format so that it's entirely in .brief. It's its own format, which brings
- together the goals of the fountain format; we had to make it more machine readable while allowing for a bit more
- diverse creative planning and checking against our runtimes. A way to plan with variables, plan with
- generalizations."
-
- Today three files say what one piece is: the client's brief (Markdown, split by raea-beats into beats, Track F),
- script.fountain (score's notation, compiled by score/scorec.py, Track R) and the rrl expects and Must: rules the
- checks read. Fountain is kept for what it measurably does (the screenplay form beat rrl by +1.95 on the judge's ad
- score, quoted lines anchor at 0.90-0.97; score/bench/results.feature), and replaced where it fails a machine: its
- readers guess (unknown tokens 6.0 a script written cold), it has no way to say "a shot of the product here, which
- one we don't know yet", and no place for the rules the edit must keep.
-
- Rule: The goal
- Scenario: What .brief is when it's done
- Then one plain-text file, `NAME.brief` (a space's own is `brief.brief`), holds the piece at every stage of
- planning: the ask and its rules, beats still open, lines quoted from takes, parts, sound, and the checks
- And it reads as Fountain to a writer and to M3 (title page, `# sections`, `= synopses`, `.TAKE`, `@SPEAKER`,
- `(delivery)`, quoted lines, `[[parts | utilities]]`, `---` stylesheet), so what M3 already writes well stays
- And it has one grammar with one reading per line: `raea-brief parse` gives the intent graph as JSON (sections,
- beats, lines with source spans, parts with anchors, sound, variables, checks) or refuses with line:column and
- what was expected; `raea-brief fmt` writes it back unchanged in meaning
- And it compiles to one target, an @raea/motion composition (edit.tsx, scorec's SDK backend; the founder, 2026-10-17:
- TypeScript/React is the only path, rrl's backend goes), and every check compiles from the same graph, never
- from the text
- And it is one way in, not a required step: the agent may write edit.tsx and use `raea cut` / `raea add` with no
- brief at all
- And `[[parts]]` name components in the space's components/ (shadcn-style, copied from ~/raea/cli/registry:
- captions, screen-fit, face-frame, callout, end-card so far; styled only from brand/brand.css tokens through
- Tailwind classes, cli/template/theme.css)
-
- Rule: What the format adds to Fountain (a proposal; settled in P0 with an agent session)
- Scenario: Plan with generalizations: open beats
- Then a `~` line is a beat not yet bound to footage: `~ product: the cleanser pumped into wet hands
- [find: product hands action]`, the same kind and finds raea-beats writes (to-camera, b-roll, product, screen,
- end-card; face, speech, product, hands, screen, text, place, action, logo)
- And the compiler resolves it against the source table (F2): bound to a clip and moment when covered, kept open
- and named in the sheet when weak, a make() prompt or a reshoot item when missing (F3)
- And a quoted line under `@SPEAKER` is a beat bound exactly, as in score today; a `~ to-camera:` beat with no
- quote asks for the line that says it, which the sheet proposes from the transcripts for the writer to quote
- Scenario: Plan with variables and variants
- Then `$name: value` on the title page names a value used anywhere after it (`$product`, `$launch`, a brand
- colour); an undefined variable is refused where it's used
- And `Format:` may list several deliverables (`9:16, 30 s, tiktok | 1:1, 15 s, instagram`); a section, line or
- part tagged `{1:1}` belongs to that cut only, so one brief compiles to every cut the client asked for
- Scenario: Checks the runtimes run
- Then a `!` line states a rule the edit must keep (`! never says "game changer"`, `! nothing covers the face`,
- `! the hook reads within half a second`), from a fixed vocabulary each lowering to a TS predicate or a
- `raea check` fault over the render manifest (render.json: each clip's take, in, out and box, each part's box
- per frame) and cuts.json, an agent session's phase 4 shape, or refused as unknown
- And the brief's set-aside units (dates, deliverables, instructions) land here or in variables, so nothing in the
- client's ask is lost between the brief and the edit
- And the sheet answers each check pass or fail with the frame, as it answers each line's timing today
-
- Rule: A workspace holds many briefs (the founder, 2026-10-17: "it could be many files for a workspace like
- anything.brief")
- Scenario: Pieces and shared briefs
- Then a .brief with a `Format:` line is a piece: `raea script NAME.brief` compiles it to NAME.tsx, and
- `raea script` with no name compiles every piece in the space
- And a .brief without one is shared: its variables, checks and open beats apply only to the pieces that name it
- with `Uses: client.brief, brand.brief` on their title page, in that order, the piece's own last (a value
- set twice takes the later one, as CSS does; checks add up and none can be removed)
- And the client's ask is one shared brief (raea-beats writes it: the ask's beats as `~` lines, its set-aside units
- as variables and `!` checks), and each piece made from it is checked against it: the sheet lists each of its
- beats as covered by a piece or by none, so three cuts of one launch answer the ask together
- And a `Uses:` cycle or a missing file is refused where it's named
-
- Rule: Every find is a perception fact (measured by survey, 2026-10-17)
- Scenario: What the find words can be checked with today
- Then face, speech, text and screen have detectors (ingest's faces.json tracks at 4 fps, VAD and performance's
- speaking, read-text rows, layout's screen zone and screenshot flag); hands and place have partial ones (the
- hands command, not in ingest; Apple scene labels, empty on the portable backend); product, logo and action have
- none and come only from a SigLIP phrase
- And the sheet says how each beat was bound: by a fact, or by a SigLIP score against FIND_THRESHOLD, so a
- product beat bound by a phrase alone is shown as weaker than a face beat bound by a track
- And a variable can carry a picture (`$product: media/milky-jelly.png`, `$logo:` from brands.json) so product and
- logo beats search image against frames, not text against frames, until perception has an object detector
- (object.rs's EdgeTAM tracker is there, not yet in ingest)
- Scenario: Finds take the facts perception has that the words lack
- Then a find may be a predicate over a moment's facts: `people:1`, `speaking`, `eye-contact`, `framing:close-up`,
- `still` or `moving`, `no-text` (no captions burned in), `screen`, `bright`; each lowers to a column of the
- moment record (Track L's slots and L3 tracks), never to a guess
- And a `!` check uses the same predicates over the render instead of the footage (`! speaking -> face`: the
- speaker is in the picture whenever they talk)
- Scenario: The source table F2 needs (the gap)
- Then today it's three stores: the ingest folder per clip (~/.cache/raea-ingest), the SigLIP columns at 8 fps
- (~/.cache/raea-meaning/cols) and the takes' words.json; `raea-meaning find` returns one best frame per clip
- And F2 needs one table of moments (take, from, to, the facts above, the SigLIP row, the words said) with
- top-k spans per query, so a `~` beat binds to a span the compiler can cut, not to a frame
- Scenario: Perception at compile time follows the clip, not the take
- Then the compiler reads the face, safe area and burned-in text for each kept clip's span from the ingest store
- (faces.json is already per frame at 4 fps), not one see-layout still per take reused for every clip of it, and
- caches nothing it can read from ingest
- And the face it places around is the speaker's: the face track that is speaking (performance's speaking) when
- more than one is in shot
- And perception.json is written per frame over each clip (the engine's percAt already takes a frame-keyed map),
- so Region, captions and callouts follow a speaker who moves
- Scenario: What the rest of the path drops today (owners named, not ours to change)
- Then the host's render passes --words but never --perception, so in a `raea` project Region has no face
- (an agent session, host.rs)
- And framing="face" and punchIn only mark the element, and the proof (proofBoxes) is never run by the renderer
- (an agent session, react/src/motion.rs)
- And --safe-top/--safe-bottom aren't CSS variables, so screen-fit and end-card can't keep out of the UI zones
- (@raea/motion)
- And `raea check` runs cuts and edge text only; the face and text-over-face checks still read rrl, so `!` checks
- need render.json (each part's box per frame) and the render perceived again (an agent session's phase 4)
-
- Rule: P0 and P1, measured (2026-10-17)
- Scenario: The grammar and the parser
- Given brief/format.md (the grammar), brief/src/format.rs (the parser, in Rust) and `raea-brief parse|fmt|convert|
- compile`; 13 conformance cases in brief/conformance/cases, each saying the reading or the refusals (line:col) it
- gives (cargo test)
- When the 110 scripts the bench wrote in Fountain (s2b's 10 compiled ones; the 100 written cold in stage 1) are
- converted, parsed and read back into score's Script (brief/conformance/parity.py)
- Then 110 of 110 give the compiler the same Script front.parse reads from the Fountain, in everything the notation
- defines; 110 of 110 keep what it doesn't (unknown utilities, title keys, style) as comments; fmt reads back the
- same graph 110 of 110
- And the corpus said what writers mean by Fountain's marks: `!` stood before a shot description 157 times and
- `@must { }` held the rules 50 times, both dropped by score's reader; convert makes them `~` beats and `!` checks,
- and the parser refuses `!Action ...` with the open beat it should be
- And front.parse's misreadings convert to what was meant, counted as divergences: a note left open (`[[... ]`)
- is words of the line to front.parse and a comment here; a fenced answer is read as front.parse reads it
- Scenario: The ten eval briefs as the client's ask
- Then `raea-beats brief BEATS.json` writes each split brief as a shared .brief: its 42 beats as `~` lines with
- their words and source as comments, the set-aside units as comments; all ten parse (brief/examples/*.brief)
- And turning set-aside units into variables and checks is still the agent's (a date is `$launch`, "don't say
- game changer" is `! never says "game changer"`)
-
- Rule: P3, P3b and P4, first slice (2026-10-17)
- Scenario: Open beats bound to footage (score/compiler/moments.py)
- Given a moment per SigLIP frame of each ingested take (8 a second): faces, the speaker's track, speaking and eye
- contact, framing, motion, text, screen, luma, and whether words are said
- When a beat is searched: its detected finds filter the moments, its phrase (or $picture) ranks them, a span grows
- from each peak (1.5-4 s), and the best span is covered (>= 0.10), weak (>= 0.06) or missing
- Then on media/fixtures (a screen recording, a two-person take, b-roll; no transcripts at all) a brief of four
- open beats compiles: "two people in glasses" covered at 0.116 on the take, "a dashboard with a chart" weak at
- 0.072 on the screen recording, "coffee poured into a cup" missing (0.046; find stock or shoot it), the end card
- named a part
- And a brief with no transcripts compiles when it has open beats (an agent session's Arock case: a silent screen recording
- no line can come from); a script that resolves to nothing is refused, not written as an empty composition
- Scenario: A workspace of pieces (raea-brief compile --all; score/cover.py)
- Then every *.brief with a Format: compiles, each to NAME.tsx with its own NAME.words.json, NAME.perception.json
- and NAME.checks.json; a piece with several deliverables to NAME-9x16.tsx, NAME-1x1.tsx, each the right shape and
- holding only what its {ratio} tags allow
- And each beat of a shared brief is answered against the footage each piece cut (the ask's phrase on its clips'
- frames where its finds hold): on the fixtures, "two people" covered by three cuts at 0.112, the screen and the
- coffee by none, with the closest
- Scenario: Checks (sheet.checks; NAME.checks.json)
- Then `never says "..."` and the length are answered at compile time, pass or fail with the line or the seconds;
- the other musts and FACT -> FACT go to checks.json for `raea check` on the render (an agent session's render.json)
- Scenario: Limits the measurements found
- Then the speaker is the longest-visible face, not the one whose mouth moves with the voice
- And the picture threshold (0.70, image against frame) isn't calibrated, nor is "weak" (0.06)
- And ingest's mesh step aborts on a long take (576 s, an Objective-C exception), so it gets faces and facts but no
- SigLIP column and its beats can't be searched (posted for an agent session)
-
- Rule: P1b, measured (score/bench/p1b.py, 2026-10-17)
- Scenario: Perception per clip from the ingest store against one still per take
- Given the ten s2b spaces compiled both ways (RAEA_SCORE_INGEST=0 and 1), their 29 takes ingested once (two abort
- in ingest's mesh step after faces and facts are written); the truth is each take's ingest, the speaker's
- confirmed face at every 4 fps sample, through each version's own crop
- Then a part's band holds the speaker's face in 64 of 482 samples a part shows, against 107 of 482 (13.3% against
- 22.2%): framing and bands from each clip's own span, not from the middle of the take's first line
- And captions over captions burned into the source: 0 both ways (ingest found no caption-like burned text in
- these takes), so the measure says nothing on these takes
- And perception.json is frame-keyed at 4 fps over each clip (a no-face entry where the speaker isn't seen), so
- Region-placed components follow the face in the render
-
- Rule: P5's gate, stage 1 (score/bench/stage_brief.py, 2026-10-17)
- Scenario: M3 writes .brief cold and revises once, as c3 did in Fountain
- Given the same 10 scenarios, requests, transcripts and parts kit as stage 1, two reps each; the notation page
- arms/b1_brief.md; one revision from what the compiler says (the parser's refusals, score's sheet); measured as
- stage 1 measures c3 and judged by the same judge (gemini-4-argon, temperature 0)
- Then, beside stage 1's rows:
- | arm | ad | follow | fit | verbatim | length ok | unknown |
- | a2 Fountain + CSS, cold | 5.25 | 3.55 | 5.30 | 0.90 | 0.50 | 6.0 |
- | c3 Fountain + CSS, revised | 5.80 | 3.95 | 6.40 | 0.93 | 0.80 | 0.8 |
- | b1 .brief, cold (parser v2) | 5.50 | 4.35 | 5.00 | 0.90 | 0.50 | 0.7 |
- | c4 revised from parser v1's sheet | 4.95 | 4.70 | 5.85 | 0.97 | 0.65 | 0.2 |
- | c5 revised from parser v2's sheet | 5.65 | 4.65 | 6.10 | 0.94 | 0.70 | 0.2 |
- | c6 revised, the sheet saying what to cut | 5.00 | 4.40 | 6.05 | 0.97 | 0.85 | 0.2 |
- And written cold, .brief beats Fountain + CSS on the ad (+0.25), on followable (+0.80) and on what the reader
- can't read (0.7 refusals against 6.0 unknown tokens); with parser v1 the cold answers had 2.4
- And parser v2 reads the forms M3 wrote that have one meaning: an apostrophe inside an anchor (on:'don't know'),
- a must without its "the" or with its length in seconds, several phrases after never says, people:N-M, a note on
- its own line after the line it's on (front.parse reads the same; parity holds 110/110)
- And the length was the gap: told "OVER by 3.3 s" the writer cut to 6.7 s; told "OVER by 24 s" it shortened lines
- by changing their words, so no take said them. c6's sheet names the whole lines to drop (the fewest that land it
- inside) or the seconds to add, and for a line no take says, what the take does say; length ok 0.85 and unknown
- 0.2 pass the gate (0.80, 0.8)
- And the judge's ad score moved 4.95-5.65 over three revisions of the same cold answers, and c6's 5.00 is under
- c3's 5.80: a cost to watch in stage 2, not hidden
- And c3 and a0 also missed the length on client-a and kelly in both reps; the sheet improvements are the
- compiler's (c3 had the old sheet)
-
- Rule: P5's gate, stage 2 (score/bench/stage2_brief.py, 2026-10-17)
- Scenario: Rep 0 of c3 and c6 rendered on the SDK with the same parts and kit, watched by stage 2's judge
- Given both arms compiled to @raea/motion (c3's Fountain through scorec, c6's .brief through raea-brief compile),
- perception per clip from the ingest store, the registry's lockup, statcard, notthat, follow and captions, one
- house brand kit for every scenario (no per-client kit on disk is reliable), no sound, as stage 2b
- Then c3 renders 10 of 10, judge mean 2.70; c6 renders 9 of 10, mean 2.78 on the nine (2.50 with the failure as 0)
- And c6's tenth refuses to compile: a prop left open (`text:"+ try $brand |`) that its one revision didn't fix;
- Fountain's reader would have read it wrong without saying
- And every render of both arms is rejected; the judge names the render and the cuts more than the plan: cards over
- the face, captions dropping out for a sentence or overlapping a card, cuts mid-word, blooper takes
- And so the gate as written isn't met: 3.1 was c3 on rrl's renderer and parts kit, and on the SDK c3 itself scores
- 2.70; 10 of 10 renders misses by the one refusal; the user re-based the gate (the next rule), and P5 was done
-
- Rule: P5's gate, re-based, and P5 done (2026-10-17)
- Scenario: The gate on the renderer both formats now share
- Given the founder's call (2026-10-17): gate on .brief matching or beating Fountain on the SDK renderer, with the agent's
- refusal loop given the second pass it has in the product
- When a c6 answer the parser still refuses goes back to M3 with its refusals only (c7; one of the 20, the open quote)
- Then c7 renders 10 of 10, judge mean 2.80, against Fountain's 10 of 10 at 2.70 on the same renderer, parts and
- kit; length ok 0.85 (Fountain 0.80); unknown 0.0 (Fountain 0.8)
- And so the Fountain path left the compiler: scorec reads .brief only (through raea-brief), refuses a
- script.fountain with the command that converts it, and score's Fountain reader is kept in score/bench/fountain.py
- to re-run the recorded comparisons; the converted brief compiles to the same edit.tsx, words and perception the
- Fountain did (client-e, byte for byte) and parity stays 110 of 110
- And void's agent writes no Fountain (an agent session: `--sop ts` by default, 496a850); its old score tool goes with rrl
- And what the judge rejects in both arms is the render's craft (cards over the face, captions dropping out, cuts
- mid-word, blooper takes): compiler and registry work, not the format's
-
- Rule: Ink against .brief, and the decision (2026-10-17)
- Scenario: The same 10 scenarios written in ink's raea profile (arms/i1_ink.md), revised and fixed as c7 was
- Given M3 writing ink cold (i1), one revision from the parser's refusals and the sheet (i6), the refusal loop's pass
- (i7); rep 0 of i7 rendered on the SDK with c7's parts, house kit and judge (stage2_brief.py)
- Then, beside .brief:
- | arm | ad | follow | fit | verbatim | length ok | unknown | readable cold | renders | judge (render) |
- | c7 .brief, revised, fixed | 4.90 | 4.40 | 6.20 | 0.97 | 0.85 | 0.0 | 1.00 | 10/10 | 2.80 |
- | i7 ink, revised, fixed | 5.35 | 4.10 | 5.40 | 0.89 | 0.75 | 0.0 | 0.60 | 10/10 | 2.80 |
- And ink renders the same (2.80, 10 of 10) and reads a little better to the plan judge (+0.45, inside its own swing
- between rounds), but M3 writes it worse: 40% of cold answers unreadable, fewer lines said verbatim, the length
- and the fit missed more often
- And so .brief stays the format the agent and people write; ink stays a supported surface (raea-brief reads .ink,
- `raea-brief ink` writes it) for pieces that branch or keep state, and blade-ink is the runtime a .brief can run on
-
- Rule: The brief checked on the render (raea-brief check, @raea/data/check.ts; 2026-10-17)
- Scenario: The 10 c7 renders re-rendered with the manifest and checked (--battery beside each brief's own rules)
- Given each piece's facts as tables: its graph, the words as cut, the render manifest, faces read back from the
- rendered frames twice a second, perception's moments of the takes on screen (score/bench/check_c7.py; the run's
- record, all 10 checked with every rule measured, is score/bench/check_c7.json)
- Then, beside what stage 2's judge named:
- | scenario | judge | the checks fail | the judge named, the checks agree |
- | shawn-williams | 3 | text over a face 3.5 s (42%), a 11.8 s shot | captions across his face 0:03-0:15 |
- | client-a| 3 | speaking without a face 18.5 s, 67 s of 34-46, a 16.2 s shot | the callout over his eyes at 0:18 |
- | apollo | 3 | a card over the face 6.5-10 s (26%), 47 s of 30-40, a 17.7 s shot | the card over her face 0:06-0:09 |
- | client-e | 1 | speaking without a face on 15 of 24 samples, an 11.7 s shot | rehearsal footage, the speaker off shot |
- | client-e | 3 | text over a face 31.5 s (81%), speaking without a face 37 of 50 | captions on the kid's face ~0:34 |
- | dr-moy | 4 | a 6.5 s shot | (none of the judge's: missing word, captions dropping out) |
- | kelly | 3 | text over a face 3.5-6 s and 65.5 s (82%), 77.6 s of 51-69 | the title over her eyes 0:02-0:05, the card over her face 1:01-1:05 |
- | client-1 | 3 | speaking without a face 17 s, a 10.5 s shot from 16 s, text over a face 26.5 s | dead air while he looks away 0:16-0:19 |
- | client-2 | 3 | nothing but 5.9 s without a cut | (the judge's: his face cut by the frame's edge, captions dropping out) |
- | client-3 | 2 | 24.4 s of 25.5-34.5, a 12.5 s shot from 8 s | the blooper take from 0:08 |
- And every place the judge named text over a face, the checks found it, but one: client-3, where the judge says
- the captions cover the mouth and the geometry says 7.2% at most, the captions under the chin (the frames agree
- with the geometry); client-a's callout hides the eyes so no face is read there, and the check names it as
- speaking without a face
- And what the judge names that no rule measures: captions dropping out, text over other text, an ending cut off
- mid-sentence (a cut mid-word is caught; mid-sentence is the sheet's "reads to check"), duplicate and blooper takes
- as such, low contrast: the edge of what the rule set covers
- Scenario: raea check runs it (an agent session, 130af72)
- Then `raea check NAME` runs `raea-brief check NAME SPACE --video` for a piece compiled from a brief; its FAILs are the
- agent's faults ("brief ! the hook reads within half a second: nothing is shown or said in the first half second",
- on the fixture space's vtest-A); every compiled piece has its own .score/NAME.graph.json for it
- Scenario: The rest of this goal's constructs
- Then typed parts: on the registry's components (what every bench space's components/ holds: stage2_brief.py copies
- the registry's lockup, statcard, notthat, follow and captions into each), 73 of the 110 corpus scripts and 19 of
- the 20 c7 briefs type clean;
- the refusals are real (35 `statcard big:90` where big is a string, a notthat without its `not`, captions given
- l1-l3); a delivery just before its speaker is now read as that speaker's
- And on spaces whose components the agent wrote: the 38 eval spaces with components/ (void's runs of 2026-10-16
- and 17) give 111 components, 47 of them the agent's own or changed by it; props are read for every one (103 have
- props, the other 8 take none); on one with the agent's `stamp` (words: string, required; sub: string), a brief
- line `[[stamp sub:"verified" color:"gold"]]` is refused for `color` and for the missing `words`,
- `[[stamp words:270]]` for writing a string as a number, and `[[stamp words:"SAFE" sub:"for you"]]` passes
- And claims, alternatives, variants and pacing compile on real spaces (client-e: four cuts of a two-variant,
- two-deliverable brief; "See the bass?" picked over "There he is." with the reason); coverage of a shared ask runs
- per cut; @raea/data's loadBrief answers which line is said and which parts show at a frame by query
- And the renderer leak this found (60 MB a frame on a 16:9 edit, after a4eb038) was fixed by an agent session (c21d7e8)
-
- Rule: c8, the full feature set on the bench (stage_brief.py, stage2_brief.py; 2026-10-17)
- Scenario: The b1 cold answers revised with everything, then the check loop
- Given the notation page with alternatives, claims and pacing rules; one revision from the parser's refusals (typed
- against the registry's components), the sheet (with what to drop or add) and the compile-time checks (c8r); then
- the loop the product runs, twice: refusals, failing checks and the length's "To fit" sent back (c8, then c8l)
- Then, beside c7:
- | arm | ad | follow | fit | verbatim | length ok | unknown | renders | judge (render) |
- | c7 .brief, revised, refusal pass | 4.90 | 4.40 | 6.20 | 0.97 | 0.85 | 0.0 | 10/10 | 2.80 |
- | c8 full set, one check-loop pass | 5.85 | 4.95 | 6.55 | 0.98 | 0.75 | 0.0 | 10/10 | 3.00 |
- | c8l full set, two check-loop passes | 5.00 | 4.50 | 6.25 | 0.98 | 1.00 | 0.0 | 10/10 | 3.00 |
- And so the gate holds: 10 of 10 renders, the judge's mean on the videos 3.00 (c7 2.80), every length inside its band,
- nothing the parser can't read; the plan judge's ad score drops when lines are dropped to fit (5.85 to 5.00), and
- the videos' judge doesn't follow it
- And every render of both is judged: c8's client-1 first came back from the judge empty and was judged again (3);
- c8l, which rewrote that script, rendered and judged its own (3); c8l's ten: 4 3 3 2 3 3 4 3 3 2, mean 3.00
- And M3 used neither alternatives nor claims unprompted; the length came from the loop sending the failing length
- and its "To fit" back
- And the spend, estimated from the counts (the OpenRouter key's own usage, $21.58 that day, is shared with other
- sessions' eval runs): 220 plan judgings at about 9k tokens (about $2.5-5), 44 video judgings at about 10k (about
- $0.5-1), 161 MiniMax-M3 calls through the host app at about 35k (about $1.7): about $5-8, under the $10 asked
-
- Rule: The plan
- Scenario: Steps, with owners
- Then P0 (raea-01 with an agent session): the grammar written down (brief/format.md) with conformance cases, its corpus
- every script.fountain the bench has written (score/bench/out/s2b, s2c, c3) and the ten eval briefs
- And P1 (raea-01): the parser in Rust in raea/brief (`raea-brief parse|fmt`), its graph equal to front.parse's
- Script on every corpus script (parity), every corpus script converted with nothing dropped, and the edit.tsx
- compiled from the graph equal to sdk.py's from the Fountain (no rrl parity; compiler/rrl.py is deleted)
- And P2 (raea-01 then an agent session): the CLI contract, `raea-brief parse FILE` (graph JSON on stdout; refusals with
- line:column on stderr, exit 2) and `raea-brief compile FILE SPACE [--o edit.tsx]` (parse, then scorec's SDK
- backend on the graph; the COMPILED line and the sheet on stdout); an agent session wires it as `raea script
- [NAME.brief]`, a host op in void, and the procedures teach the format; script.fountain still read until P5
- And P1b (raea-01): the compiler's perception per kept clip from the ingest store, the speaking face, and
- perception.json per frame; measured on the stage-2 scripts as faces the parts cover and captions over burned-in
- text, before and after
- And P3 (raea-01, on Track F): the moments table and top-k span search, open beats resolved against it (F2) with
- how each was bound, and proposed lines in the sheet; raea-beats writes the client's ask as a shared .brief
- And P3b: workspaces of many briefs (`Uses:`, pieces, coverage of the shared ask across pieces)
- And P4: variables and variants (one brief, every deliverable), and `!` checks lowered to the runtimes' checks
- And P5: the Fountain path deleted only when the stage-2 bench matches or beats c3 on it: judge mean at least
- 3.1, length ok at least 0.80, unknown tokens at most 0.8, renders 10 of 10
- And every step above is done (2026-10-17), and the brief model after it (the rules above: checks on the render,
- typed parts, claims, alternatives, variants, pacing, the brief as entities, c8)
diff --git a/brief/format.md b/brief/format.md
index dee345b8..81b0e69d 100644
--- a/brief/format.md
+++ b/brief/format.md
@@ -1,17 +1,16 @@
# .brief
-A `.brief` is a plain-text plan for one video, or something several plans share. It reads as Fountain (a screenplay
-form, which M3 writes well and which made better ads than rrl did; score/bench/results.feature) with one reading for
+A `.brief` is a plain-text plan for one video, or something several plans share. It reads as Fountain (a screenplay form) with one reading for
every line. `raea-brief parse FILE` turns it into the intent graph (JSON); anything it can't read is refused with
-`FILE:line:col` and what it expected. The spec, the goal and the plan are in brief.feature and format.feature.
+`FILE:line:col` and what it expected.
```
-Title: Milky Jelly: the gel that doesn't strip
+Title: Dew Gel: the gel that doesn't strip
Format: 9:16, 30 s, tiktok | 1:1, 15 s, instagram
Uses: client.brief
Angle: dry skin can use a gel
-$product: Milky Jelly
-$pack: media/milky-jelly.png
+$product: Dew Gel
+$pack: media/dew-gel.png
! never says "game changer"
! nothing covers the face
@@ -77,9 +76,8 @@ Each non-blank line is one element, chosen by how it starts:
| anything else, under a speaker | a line: words quoted exactly from the take. A line is a cut, so a word changed is a line no take says |
Text that isn't under a speaker and starts with none of these is refused. A shot written as Fountain action
-(`!Action The bracket clicks shut`, or a plain description) is refused with the open beat it should be: in the 110
-scripts the bench wrote in Fountain, `!` stood 157 times before a shot description and `@must { }` held the rules 50
-times, and score's reader dropped both silently. `raea-brief convert` turns them into `~` beats and `!` checks.
+(`!Action The bracket clicks shut`, or a plain description) is refused with the open beat it should be, since a Fountain reader would
+drop it silently. `raea-brief convert` turns them into `~` beats and `!` checks.
### Notes on a line: `[[ ... ]]`
diff --git a/browser/README.md b/browser/README.md
new file mode 100644
index 00000000..00fcf790
--- /dev/null
+++ b/browser/README.md
@@ -0,0 +1,17 @@
+# browser
+
+`raea-browser`: the agent's web browser, exposed to TypeScript as the `browser.run` native call. It takes the same
+command words as the `agent-browser` CLI (open, snapshot, click, fill, get text, screenshot, eval, ...) and answers
+with the text that CLI would print.
+
+There are two backends behind the same words:
+
+- Chrome over CDP, through agent-browser (Apache-2.0, vendored in `vendor/agent-browser` and run in process). This is
+ the default `chrome` feature.
+- raea's own engine (Blitz, Stylo and the page scripts on JavaScriptCore), with no Chrome, a virtual clock and no
+ network unless allowed. It works where Chrome can't run, such as the iPhone.
+
+`ts/` is the TypeScript wrapper; `conformance/` holds its tests and test pages. Depends on
+[`engine/`](../engine) and [`native/`](../native).
+
+Status: working; the Blitz backend covers less of the web than Chrome.
diff --git a/cli/README.md b/cli/README.md
new file mode 100644
index 00000000..96da0384
--- /dev/null
+++ b/cli/README.md
@@ -0,0 +1,15 @@
+# cli
+
+`@raea/cli`: `raea`, the agent's one command for working on a project as a React + TypeScript folder. It runs inside
+[`@raea/shell`](../shell), so it behaves the same on the Mac and the iPhone.
+
+Commands cover the project (`init`, `add`, `cut`, `brand`, `status`, `objects`, `tasks`, `notes`), its versions
+(`save`, `versions`, `diff`, `checkout`, `restore`), rendering and checking (`render`, `still`, `frame`, `check`,
+`sheet`, `script`), and the agent's guides (`craft`, `skills`). What needs perception or the renderer is passed to the
+host (void on the Mac) to run.
+
+- `template/`: the files `raea init` writes into a new project.
+- `registry/`: ready-made parts (captions, callouts, lower thirds, end cards, ...) that `raea add` copies in.
+- `tools/pack.ts` builds `src/registry.gen.ts` from them; `conformance/` tests the command surface.
+
+Status: in use by void's agent.
diff --git a/data/README.md b/data/README.md
new file mode 100644
index 00000000..699b7c3d
--- /dev/null
+++ b/data/README.md
@@ -0,0 +1,15 @@
+# data
+
+`@raea/data`: data-oriented TypeScript for raea.
+
+- `index.ts`: typed components and queries over `@raea/motion`'s ECS (Bevy's World under the engine, TypeScript tables
+ under plain bun), and column tables in typed arrays.
+- `project.ts`: a project's record kept beside the work: its objects (anything that renders), tasks, questions, notes
+ and versions, as an append-only log in `.raea/`. The `raea` project commands in [`cli/`](../cli) call it.
+- `brief.ts`, `facts.ts`, `check.ts`: a compiled brief and the facts about its render (words, faces, frames) as
+ tables, and a brief's rules checked against the finished video as queries over them.
+- `props.ts`: each component's props read from its TypeScript types, so a brief's parts can be checked against them.
+
+Run the tests with `bun test conformance`.
+
+Status: in use by void's agent and [`brief/`](../brief).
diff --git a/data/project.feature b/data/project.feature
deleted file mode 100644
index 04a812c2..00000000
--- a/data/project.feature
+++ /dev/null
@@ -1,107 +0,0 @@
-Feature: A project's record: objects, tasks, questions, notes and versions, as data (@raea/data/project.ts)
- The founder, 2026-10-17: "project management, giving the agent an SOP, committing work or saving work, and managing
- tests and when to present to the user ... agentic understanding of tasks and spaces". Then: "a better method is
- removing spaces entirely and having the cube in the top left of the stage for looking at different objects, which we
- can make for anything that is granted a visual render. The project is the folder you chose to work in, then clicking
- on the title of the chat would be changing sessions." And: "render and build things like games in responsive full
- frame, not everything is a video and in a 9x16".
-
- Before this, the agent's world ended with its turn: no plan survived it, renders overwrote each other, undo was per
- shell command, notes were gone, and "done" was a prompt rule (the gates ran in evals only). The record is kept beside
- the work: ROOT/.raea/project.jsonl for the project (an append-only event log, folded on read), and each object's
- OBJECT/.raea/versions.jsonl with its files and renders by sha256 in OBJECT/.raea/objects, the action log's own store.
-
- The user's decisions (2026-10-17): versions on the action log with each version's render kept; a version at every
- render; no strict rule on asking, but questions the person answers by choosing (options and "Other"), like an agent
- chat's; ready only when every check passes or a failure is waived in writing.
-
- Rule: The project is the folder; it holds objects; chats are sessions
- Scenario: Objects
- Then an object is anything that renders, in a folder of its own: objects/<slug>/ (an older workspace's spaces/),
- with space.json (its name and its kind: video, game, deck, document, music, motion, scene3d or still) and its React + TypeScript
- project; a lone folder with none in it (an eval's) is one object itself
- And the cube at the stage's top-left lists them, each with its kind, draft or ready, and its last version; one
- is on screen (`raea object open`), and the agent's shell works in its folder (`open_object`, `new_object`)
- And a new object is shaped by its kind: a game, deck, motion piece or 3D scene landscape 1920x1080 (a game at 60
- fps), a video or still vertical 1080x1920 at 30, unless the request says otherwise
- Scenario: Live objects
- Then a game, a deck, a document or a piece of music plays live in the stage, full frame (void/play: its edit.tsx and @raea/motion through
- react-dom in the window's webview, the person's keys and pointer as its input, `live: true` on each frame's
- input, its generated sounds from what its renders made), rebuilt when its sources change
- And one that lays out from useVideoConfig() is played at the stage's size (responsive); any other at its own
- size, scaled to fit
- And a video object shows its render (the stage as before)
- Scenario: Sessions
- Then each chat is a session: its transcript and the model's history in ROOT/.void/sessions/<id>.json, named from
- its first request; the chat's name in the terminal's header lists them (newest first, + for a new one)
- And objects aren't a chat's: any session opens, changes and renders any object
-
- Rule: A project knows itself
- Scenario: What the agent is told at the start of every turn
- Then `raea status` gives, in a few lines: the project's purpose, its objects (each one's kind, state, last version
- and check), the open tasks with their next step and any unanswered question, and the notes
-
- Rule: A request is a task
- Scenario: The task record
- Then a task holds the person's words, its kind (new object, change, quick edit, question), the object it's for,
- its acceptance (the brief's `!` rules and anything the person stated), its steps, its questions and answers, the
- versions it produced, and its state: planned, working, needs input, draft, ready, delivered
- And "go on", or a change asked tomorrow, resumes the task it belongs to
- Scenario: Questions the person answers by choosing
- Then a question has the words, two to four options (each a label and what it means), whether several may be
- chosen, and always "Other" for the person's own words; `raea ask` ends the agent's turn, the window shows it as
- a panel (numbered options, Other as a text field), and the answer goes to the record and comes back to the
- agent as the person's next message
- Scenario: Notes
- Then a note keeps what the person decided or prefers ("never orange", "Kelly signs off on claims") for the project
-
- Rule: Work is saved as versions
- Scenario: A version at every render
- Then each `raea render` saves a version of its object: its number, the message, the action log's position, every
- tracked file's hash (files written outside the shell, compiled edits and the person's own edits too), the
- render's hash (renders no longer overwrite each other), and each `raea check` puts its result on it
- And an unchanged object gives back its last version; a check of it is put on that version
- Scenario: Going back
- Then `raea versions` lists them, `raea diff A B` names what changed, `raea checkout N DIR` writes one beside (the
- cube's Open: an earlier version on the stage, the object untouched), and `raea restore N` puts the object back
- as version N, through the agent's shell (the cube's Restore too), so undo takes it back
- And a restore saves the object's current files as a version first when none holds them
- Scenario: What is tracked
- Then every file of the object but media/, assets/ (generated sound, a cache), .raea/, .score/, node_modules/, space.json, terminal.json and the
- rendered videos (kept by hash in the version instead)
-
- Rule: What has to pass, when (the check policy)
- Scenario: Draft and ready
- Then a piece is a draft until its last version's full check (`raea check --full`) passes with every acceptance
- rule of its task; it is ready when that holds, or when each failure is waived with a written reason
- And ready holds for the version it was given: a later version is a draft again until it's checked and marked
- And a check of nothing fails: the template's edit, or a render of a frame or two, is "nothing is built yet"
- Scenario: The gates, in the app as in evals
- Then a turn that changed an object ends with a full check (the end gate; the app too, since 2026-10-17)
- And a reply that calls an object ready while its record says draft is sent back once: run the full check and
- `raea task state ID ready`, or present it as a draft
- And an empty answer (no words, no tool: MiMo's rounds cut off at 4096 tokens) is sent back twice at most;
- MiMo writes up to 16384 a round
- Scenario: What a presentation carries
- Then what changed, the version, the check in a line, the assumptions made, and what the agent needs from the
- person, if anything
-
- Rule: Where it's tested
- Scenario: The tests
- Then data/conformance/project.test.ts (objects, questions, versions, restore, checkout, the check policy),
- cli/conformance/surface.test.ts (every forwarded command runs in project.ts), void's sessions and workspace
- tests, and evals/scenarios/project/project.feature (three multi-turn scenarios graded on the record)
-
- Rule: What a person can try (plain words)
- Scenario: In void
- Then ask for something ("make a game of pong with sound effects"): the agent writes it down as a task, plans its
- steps, makes the object, and it appears in the cube at the stage's top-left
- And when it needs your call, a panel opens over the stage with a few choices, each explained, and "Other" for your
- own words; pick one and it carries on
- And click the cube to switch objects: a game plays live (click the stage, then use the arrow keys), a video plays
- with sound; each row says what the object is, whether it's a draft or ready, and its latest version
- And click a row's version ("v8") to see them all: Open shows an earlier one without changing anything, Restore
- puts the object back as that version (the agent's undo can take it back)
- And an object is "ready" only when its full check passes, or each failure is waived with a written reason; until
- then it says "draft", whatever the agent says
- And click the chat's name in the terminal's header to switch chats or start a new one
diff --git a/docs/README.md b/docs/README.md
new file mode 100644
index 00000000..ad676e09
--- /dev/null
+++ b/docs/README.md
@@ -0,0 +1,10 @@
+# docs
+
+Documentation that spans more than one folder.
+
+- [settings.md](settings.md): every setting raea reads (the agent's model provider, the optional API for generated
+ music and speech, checks), and where they go.
+
+Each folder's own README describes that part of the code. Behaviour specs written in Gherkin sit beside the code they
+specify, for example [`shell/shell.feature`](../shell/shell.feature) and
+[`motion/spec/motion.feature`](../motion/spec/motion.feature).
diff --git a/docs/media.feature b/docs/media.feature
deleted file mode 100644
index cf090c16..00000000
--- a/docs/media.feature
+++ /dev/null
@@ -1,186 +0,0 @@
-Feature: The agent's media and 3D, the same on the Mac and the iPhone
- The founder, 2026-10-16: "your goal right now is to figure out how the agent is going to do or be able to do media
- management and including 3D like Manifold stuff too ... on iPhone with raea, wherever we have to be able to run
- essentially ffmpeg-like logic and be able to use something like Manifold." Earlier the same morning: the agent works
- the way models do now, with bash and file edits, inside a sandbox (Wasmtime), every action a row for tabular
- dreaming; and "what if manifold was our syntax for both ffmpeg and 3D objects ... a manifold video type thing".
-
- Today the agents shell out to ffmpeg and ffprobe for media (void/src/brain.rs: probe a duration and frame rate, pull
- a still, measure loudness, extract 16 kHz audio for speech-to-text; ugc-agent watch.rs: a smaller copy for the judge),
- and Buddy on the iPhone asks the Swift host (AVFoundation) for the same through host calls. Neither works everywhere:
- there is no ffmpeg on the iPhone, and the host calls exist only in the host app. raea already holds the pieces to do all of
- it in Rust (raea-media: VideoToolbox/AVFoundation and software decoders and encoders, a muxer, loudness, resampling;
- rrl render for composition), and Manifold is planned for 3D (engine/docs/bevy.feature B4, B5c) but not yet in.
-
- Rule: Measured (spikes in an agent session's scratchpad, M4 Mac, 2026-10-16)
- Scenario: Manifold in pure Rust, and video as solids in (x, y, t)
- Given manifold-rust 0.16.0 (Apache-2.0; a port of Manifold 3.5 checked against the C++ reference; its dependencies
- are MIT, Apache-2.0 or BSL-1.0; no C++ and no CMake)
- When two full-frame clips are boxes in (x, y, t), a wipe from A to B over frames 60-90 is a plane tilted in x-t, and
- a 300 px hole moving across the frame is a disc extruded through time and sheared
- Then the edit's solids build in 2.9 ms (about 335 triangles each)
- And slicing them at a frame gives what each source fills on screen in 0.03 ms a source: A 78.3% and B 18.3% at
- frame 65, exactly (65.5 - 60) / 30 of the wipe, the hole cut from both
- And a brief's "the caption never covers the face" is one intersection: the caption box (y 1500-1620) against a face
- track moving down 4 px a frame meets it at frames 75-150, found in 0.08 ms over the whole edit
- And it builds for aarch64-apple-ios unchanged (a 2 MB test binary)
- Scenario: The media layer on iOS
- Then raea-media (apple, soft and av1 backends) compiles and links for aarch64-apple-ios with IPHONEOS_DEPLOYMENT_TARGET=17
- And a 96 kHz AAC track decodes at its true rate (34deaa1; before it, Symphonia's MP4 reader said 0 and the mix panicked)
- Scenario: Wasmtime on Pulley, the engine the iPhone allows (no JIT)
- Given wasmtime and wasmtime-wasi 48.0.5, the project folder preopened read-write, a fuel limit
- Then a WASI command lists and writes the project folder, can't open /etc/passwd ("No such file or directory"), and
- is logged as one action row (command, exit, fuel, compile and run time)
- And Pulley ran its busy loop in 21.7 ms against Cranelift's 3.0 ms (about 7x): fine for files and text, not for pixels
- And the host builds for aarch64-apple-ios (14 MB with Cranelift in; Pulley alone, with modules compiled ahead of
- time on the Mac, is not measured yet)
-
- Rule: One media layer, three ways in, all native
- The pixels and samples never run in WebAssembly: on the iPhone it would be an interpreter. Media work is raea-media
- and the renderer, called as host commands from the sandbox, the same binary logic on the Mac and in HostCore.
-
- Scenario: Media verbs (rdb media), what today's ffmpeg and ffprobe calls become
- Then the agent has these, each a command with the arguments a model expects and a JSON or file result:
- | verb | replaces today | built on |
- | rdb media probe FILE | ffprobe duration, size, fps, rotation, audio streams | raea-media Info, index |
- | rdb media still FILE --at S [-o PNG] | ffmpeg -ss S -frames:v 1 | decoder seek, as_of |
- | rdb media sheet FILE... [--n 12] | contact sheets (footage scan, look) | still + tile |
- | rdb media audio FILE --rate 16000 --mono -o WAV | ffmpeg -ar 16000 -ac 1 (speech-to-text) | decode_audio, soft_resample |
- | rdb media loudness FILE [--from S --to S] | ffmpeg -af ebur128 / volumedetect | audio::lufs, momentary, peak_db |
- | rdb media proxy FILE --height 720 -o MP4 | the judge's smaller copy (watch.rs) | decoder + encoder (VideoToolbox) |
- | rdb media trim FILE --from S --to S -o MP4 | ffmpeg -ss -t -c copy | remux (muxide), keyframe aligned |
- | rdb media concat A B ... -o MP4 | ffmpeg concat | remux when codecs match, else an edit |
- | raea render (a TypeScript project) | filtergraphs (overlay, crop, scale, xfade, drawtext) | the edit and the renderer |
- And every verb runs the same on the Mac and the iPhone (the apple backend first, soft as the fallback)
- Scenario: ffmpeg and ffprobe as words the agent already knows
- Given models write ffmpeg by reflex
- When the agent runs `ffmpeg` or `ffprobe` in its shell
- Then a common subset is read and run as the verb or as a small edit: -ss/-t/-to trims, -frames:v 1 stills,
- -vf scale/crop, -ar/-ac audio, overlay, xfade wipes and fades, concat, -c copy
- And anything outside the subset is refused with the verb or edit row that does it, never run some other way
- And the action row records the verb it became, so dreaming learns one vocabulary
- Scenario: No ffmpeg binary ships
- Then ffmpeg is never bundled: its builds are LGPL or GPL, it is large, and on the iPhone it could only run
- interpreted; the Mac's ffmpeg stays a test reference (the parity and SSIM checks), as today
-
- Rule: Composition is solids in space and time (Manifold)
- An rrl clip row {x, y, w, h, from, to} is already an axis-aligned box in (x, y, t), and z-order is a union. Manifold
- makes the box any solid, so masks, wipes and cut-outs are shapes, not effects.
-
- Scenario: A row's shape in time
- Given a clip, image or box row with a `shape` column, a CSG expression over (x, y, t):
- `clip b {src: t2, from: 60, to: 150, shape: wipe(right, 60, 90)}`
- `clip a {..., shape: minus(frame, extrude(circle(150), path((200, 960) -> (880, 960))))}`
- Then the edit's solids are built once per change and cached by the expression's hash
- And each frame slices them: the 2D polygons say which source fills which region, and the GPU draws those polygons
- with the decoded frames (kgpu's composite takes a mask per source); no per-frame geometry beyond the slice
- And a row without a shape stays the box it is today, drawn as today (the gate unchanged)
- Scenario: Briefs as volumes
- Then overlap, inside the frame, keep-off-the-face and gaps are intersections and differences of solids, answered
- over the whole edit at once with the frames where they fail (the spike: 0.08 ms), alongside the per-frame checks
- Scenario: Where solids stop
- Then the third axis is time, so a 3D object moving through time is not one solid: 3D shapes are Manifold meshes with
- keyed transforms in Bevy (next rule), and space-time solids cover the 2D picture plane
- And looks (grade, blur, key) change what fills a solid, not its shape: they stay columns
-
- Rule: 3D shapes are Manifold meshes in Bevy
- Scenario: A shape is a value
- Given `mesh sign {shape: minus(rounded_box(2, 1, 0.2, 0.1), text3d("SALE", 0.4, 0.3)), color: #e11d48}`
- Then manifold-rust builds it, its MeshGL becomes a Bevy Mesh (positions, normals, indices), cached by the
- expression's hash and rebuilt only when it changes (bevy.feature B5c)
- And text3d is the engine's own glyph outlines (the faces the renderer already loads) as cross-sections, extruded
- And cube, sphere, plane and panel stay as they are; shape is one more column, so 3D lowered from React keeps working
- Scenario: 3D files
- Then `rrl media mesh SHAPE -o FILE.glb` writes a shape for other tools, and an imported .glb or .stl is a shape too
- (the robust engine takes real-world meshes: non-manifold, self-intersecting)
-
- Rule: The sandbox boundary and the action rows
- Scenario: What runs where
- Then generic commands (ls, cat, grep, rg, jq, wc, sort, head, tail, find, mv, cp) are WASI modules in Wasmtime
- (Pulley on the iPhone, Cranelift on the Mac), with only the project folder preopened
- And rrl, rrl media, the renderer and Manifold are host commands: native speed, the same arguments, called through the
- same boundary
- And every call through the boundary is one action row: command, verb, arguments as columns, files read and written,
- bytes, exit, fuel or time, error, and the project's state hash before and after; this is what tabular dreaming reads
- And a file written through the boundary is snapshotted by content hash, so any command can be undone and redone
- (edits already have this as rrl's move log)
-
- Rule: The sandbox as built (2026-10-16, raea/sandbox)
- Scenario: On the iPhone
- Given sandbox/build.sh phone: wsx (Wasmtime 48, runtime and Pulley only, no compiler on the phone: only Cranelift's
- bitset, entity and bforest crates come along), modules compiled ahead of time by wsxc on the Mac, without address
- maps (a quarter smaller), the probe app and its control signed with the ASC API key
- Then the probe on the iPhone 13 Pro Max runs 14 of 14 cases as they must: ls, wc, sort, head, grep (-rn), jq,
- a write and its read-back, find, sed in 0.7-17 ms each; /etc/hosts isn't there and ../../../etc/hosts is
- "Operation not permitted"; a run past its fuel and one past 64 MB of memory are stopped with that said
- And the same suite passes on the Mac (14/14) and in the iOS Simulator (14/14)
- Scenario: What it adds to the app
- Then the lean set adds 9.2 MB (WsxProbe 9352 KB against WsxControl 140 KB): the runtime 3.4 MB, rtools 0.6 MB
- (ls cat head tail wc sort uniq cut tr cp mv mkdir rm touch echo grep find sed basename dirname, std and
- regex-lite, written for the budget), jaq 5.4 MB; inside the 15 MB budget
- And the full set (uutils coreutils, ripgrep, jaq) adds 26.8 MB installed (10.4 MB compressed, as a download):
- Pulley bytecode is about three times a module's wasm code, and coreutils carries 2.8 MB of locale tables; it
- runs the same suite (12/12) but doesn't fit the budget, so it isn't the shipped set
-
- Rule: Not doing
- Scenario: Ruled out
- Then no ffmpeg binary in the app, and no media work in WebAssembly
- And no C++ Manifold: the Rust port builds everywhere with cargo; if it ever diverges from the reference, the C++
- library through manifold-csg is the fallback
- And no cloud sandbox: footage stays on the device
-
- Rule: Steps, each proved before the next
- Scenario: M1. Media verbs, on the Mac then the iPhone
- Then rrl media probe, still, sheet, audio, loudness, proxy, trim and concat land with tests against ffmpeg's answers
- (duration and fps exact, stills SSIM >= 0.98, loudness within 0.5 LU, trims frame-exact at keyframes)
- And the ffmpeg/ffprobe reader covers every ffmpeg call in void/src/brain.rs and ugc-agent watch.rs, and void's
- tools switch to the verbs (with an agent session)
- And the verbs run on the iPhone through ios-probe or HostCore with the same answers
- # 2026-10-17, the verbs moved into rdb with rrl's deletion (rdb/src/media_verbs.rs: `rdb media`, `rdb ffmpeg`,
- # `rdb ffprobe`, same answers; motion/tools/media-vs-ffmpeg.sh runs rdb). Earlier notes name rrl, where they began.
- # 2026-10-16, verbs and readers in (rrl/src/media.rs; `rrl media`, `rrl ffmpeg`, `rrl ffprobe`). rrl/bench/media-vs-ffmpeg.sh
- # runs the same command lines through ffmpeg and rrl: 60/60 on the colitt takes (H.264 and HEVC, 44.1 and 96 kHz, a
- # variable-rate phone take averaging 24 fps on a 30 fps grid) and a 55 s render. Exact: sizes, r_frame_rate and
- # avg_frame_rate (read from the sample tables, signed ctts as QuickTime writes them), container durations (mvhd; one
- # file 24 ms off where ffprobe takes the longest stream), 16 kHz mono samples (stereo folds at -3 dB a side, as -ac 1),
- # volumedetect and ebur128 to 0.1, scene scores to 3 decimals (luma only, as f_select scores YUV) and every cut time,
- # YDIF at fps=6 (each tick reads the last frame before its middle, as the fps filter does), freezedetect starts, durations and ends. Stills SSIM 0.992-0.998.
- # Trims are re-encoded, frame-exact (60 frames for 2 s); concat fits a different-shaped take inside the first's frame
- # (each part SSIM 0.98 against its source). The proxy (watch.rs's command) is the one gap: VideoToolbox at 0.08 bits a
- # pixel gives SSIM 0.932 against the source at 2.1x the bytes of x264 -crf 28 (0.949). Known ffmpeg quirk: signalstats
- # reported YDIF 7.7 between two pixel-identical black frames at a keyframe; rrl says 0. void's agent-side calls moved
- # onto `rrl ffmpeg`/`rrl ffprobe` with an agent session (void b8a6abb; eval.rs's grader stays on real ffmpeg on purpose).
- Scenario: M2. Manifold shapes in 3D
- Then a mesh row's shape column renders in Bevy (a rounded box with SALE cut through it), cached by hash, on the Mac
- and on the iPhone, and the engine's gate is unchanged
- # 2026-10-16, done on the Mac: rdb/src/shape.rs (manifold-rust 0.16, skrifa outlines of the bundled faces), the
- # `mesh` kind in rdb's engine, cached per expression; normals smoothed within 30 degrees. rrl/examples/shapes/sign.rrl
- # renders the rounded sign with SALE cut through (letters' counters kept), turning by a key, a torus and a hollow cup.
- # rdb 33/33 (3 shape tests: CSG volumes, a ringed O, errors), rrl 84/84, gate 16/16; rdb checks for aarch64-apple-ios.
- # Not yet: a frame on the iPhone itself (rides with M5's phone run).
- Scenario: M3. Space-time shapes in the picture
- Then a wipe, a split screen and a moving cut-out render from shape columns, matching the same edit made by hand
- (frame by frame), with the time per frame recorded on the CPU path and kgpu
- # 2026-10-16, done: a clip's `mask` column is a solid in (x, y, frame) (shape.rs: frame, rect, disc, wipe, during,
- # slide, and the booleans), sliced through each frame's middle and rasterised to coverage (4 sub-rows, exact along
- # the row). kgpu's composite takes it as M, a byte a slot (on = 2 marks a masked slot; opacity * coverage / 255, so
- # an unmasked slot is bit-identical: gate 16/16). comptest: a masked slot is equal on the GPU, the zero-copy kernel,
- # the K interpreter and both Rust twins. rdb/examples/masks: a wipe (30-60), a split at 540 and a hole moving 680 px,
- # 5 frames each, against clip A's and clip B's own renders spliced by the geometry worked by hand: 0 pixels differ
- # outside a 2 px edge band; the direct GPU and CPU renders give equal hashes on all 270 frames. Not covered: the
- # sketch (proxy) kernel ignores masks; the UI-image clip path refuses one.
- Scenario: M4. Briefs as volumes
- Then the face, overlap and inside-the-frame checks answer from solids, with the same verdicts as the per-frame
- checks on the gate's examples
- # 2026-10-16, done: rdb/src/volumes.rs (a row's box per frame as one-frame prisms, runs merged; failing frames read
- # back from slices) and `rrl volumes EDIT [BRIEF]`, which answers "stay inside the frame" and "sit above the face by
- # N px" from solids over the per-frame check's own rows (its Given and When), and every 2D kind's overlaps, beside
- # the per-frame answers. Same verdicts and frames everywhere: hook and ugc briefs; G2's bad snippets
- # (rdb/examples/hook/g2_volumes.py, 7 of 7; the caption on the face at 60..=149, the subtitle off frame at 0..=149);
- # overlaps in the games (breakout's ball on b6 at 63..=66 and the paddle at 162..=164, pong's at 54..=56). On these
- # small edits solids are slower than the frame loop (12-98 ms against 2-5 ms); their use is answering over spans and
- # shapes a per-frame test can't express, not speed yet.
- Scenario: M5. The sandbox
- Then Wasmtime with Pulley runs the generic commands on the iPhone with modules compiled ahead of time, the host
- commands reach M1's verbs, and every call writes its action row; the app's added size is measured (sandbox.feature
- in ~/host allows 15 MB)
diff --git a/docs/typescript.feature b/docs/typescript.feature
deleted file mode 100644
index 377eab44..00000000
--- a/docs/typescript.feature
+++ /dev/null
@@ -1,56 +0,0 @@
-@spec
-Feature: One way to run TypeScript in Rust
- raea runs TypeScript on its own V8 (rusty_v8 152, jitless outside local benches), the same on the Mac and the iPhone,
- and everything TypeScript reaches in the engine goes through one native-call layer. This is how @raea/motion, the
- agent's shell and browser, the engine's page scripts and the tests all run.
-
- Rule: One native-call layer (native/, raea-native)
- Scenario: The registry
- Then every native call is registered once by name with the TypeScript types of its arguments and answer, by the
- crate that implements it: raea-native's own (host.*, web.*, url.*, zlib.*, fs.*, net.*, sqlite.*, tar.*,
- html.*, js.run), raea-react's (solid.*, ecs.*, vdec/venc/adec/aenc.*, frame.*, media.*, cli.*), the sandbox's
- (wsx.*) and the browser's (browser.run)
- And `raea-motion types -o motion/src/native-calls.ts` writes the table @raea/motion's `native(name, args)` is
- typed by, so a call that doesn't exist or takes the wrong arguments fails to type-check
- Scenario: The V8 binding
- Then raea-native's v8 feature starts V8 once per process (ICU data for Intl; the Mac's heap at 4 GB) and puts
- `__raea_call` into a context, then web shims for what bundled packages expect and bare V8 lacks: TextEncoder and
- TextDecoder, URL and URLSearchParams (WHATWG, natively parsed), EventTarget, Event, AbortController,
- AbortSignal, atob, btoa, structuredClone, crypto (random values, UUIDs, SHA digests), Blob, Headers, Buffer
- (bytes and strings) and WritableStream (in-order writes to a sink), each only where the context lacks it
- And the same binding is in raea-react's V8 (raea-motion, the iPhone apps) and in the engine's page runtime
- (blitz-v8-script, HostCore's composition scripts)
- Scenario: Isolates with fewer rights
- Then a thread can limit the calls its isolate may make (names or "prefix.*"); a call outside the list throws
- "<name>: not allowed here" (js-exec's isolates get the web shims' calls only)
-
- Rule: Bundling and running
- Scenario: The bundler (react/js/bundle.ts, run by raea-motion through bun on the Mac)
- Then a script is bundled where it lives (its own node_modules resolve); @raea/motion, @raea/shell and
- @raea/browser resolve to their sources; react, mediabunny and bevy-react resolve to the engine's single copies;
- `bun:test`, `vitest` and `@jest/globals` are the engine's test API; node:zlib and node:path are raea's; another
- Node built-in fails the bundle naming its importer, unless --node-stub lists it; --alias and --define pass
- through
- And a composition's every source (not just the entry) has its @raea/motion imports pointed at the one bundled
- copy, so a component's hooks read the Clock the engine drives
- Scenario: Running
- Then `raea-motion run SCRIPT.ts` runs a script's default export on V8 inside Bevy; `raea-motion test FILE...`
- runs bun:test-style files there and prints a PASS or FAIL line per case; react/ios/test.sh runs the same files
- on the iPhone (the probe app, its report written after each item)
- And the agent's own modules load without bun through raea-modules (deno_ast): transpiled in process, imports
- resolved inside the space, run as ES modules (js-exec today; the prebuilt map for bare names is next)
-
- Rule: What TypeScript reaches (each specified in its own feature)
- Scenario: The libraries
- Then @raea/motion/ecs is Bevy's own World (motion/spec/motion.feature, the ECS Rule); /3d's manifold and Solid
- are Manifold in pure Rust (the solids Rule); /codecs is mediabunny on the engine's coders (the codecs Rule)
- And @raea/shell is just-bash over the project folder with raea's tools (shell/shell.feature); @raea/browser is
- agent-browser in process with a Blitz backend (browser/conformance, the refs identical to Chrome's)
-
- Rule: The proof
- Scenario: The same answers everywhere
- Then the conformance suites pass under bun and on the engine's V8 with the same expectations; the shell's probe
- command set gives byte-identical output on the Mac and the iPhone (shell/conformance/probe-golden.json)
- And outside references agree: media against real ffmpeg (motion/tools/media-vs-ffmpeg.sh: the H.264 take 22/22,
- the rotated mono HEVC take 29/29), the browser's Blitz snapshots against Chrome's line for line, just-bash's
- own test suite on our V8 (shell/tools/upstream.sh)
diff --git a/engine/README.md b/engine/README.md
new file mode 100644
index 00000000..fc031e11
--- /dev/null
+++ b/engine/README.md
@@ -0,0 +1,19 @@
+# engine
+
+`raea`, the core crate: HTML and CSS rendered without a browser, and the pieces other crates draw with.
+
+- The renderer: Blitz's DOM, Stylo for style, Taffy for layout, Parley for text, and Vello (or Skia) for paint. Page
+ scripts run on JavaScriptCore through `vendor/blitz-v8-script`, and GSAP timelines are evaluated natively, so every
+ frame is a function of time.
+- The `raea` CLI (`src/main.rs`): `probe`, `render`, `snapshot` and `lint` for HTML compositions, plus `measure` and
+ `previz`.
+- The quads compositor (`src/quads`), the stage and the window code void draws its chrome and stage with.
+- A Rust session API (`src/api.rs`) and a C ABI over it (`src/ffi.rs`, header `include/raea.h`) for apps that link it
+ as a library; `scripts/` builds the dylib and the iOS xcframework.
+- `vendor/`: patched copies of Blitz, Stylo, Vello, Parley, fontique and anyrender. Each has a `NOTE.md` or header
+ naming its changes. `fonts/` holds bundled OFL fonts.
+
+Almost every other crate depends on this one by path: [`react/`](../react), [`rdb/`](../rdb), [`void/`](../void),
+[`browser/`](../browser).
+
+Status: in use; the HTML composition path is the oldest part of raea.
diff --git a/engine/docs/bevy.feature b/engine/docs/bevy.feature
deleted file mode 100644
index d0bf6465..00000000
--- a/engine/docs/bevy.feature
+++ /dev/null
@@ -1,256 +0,0 @@
-Feature: Bevy is the only engine; React runs on jitless V8 inside it and renders as Bevy entities and systems
- Set as the goal by the user on 2026-10-15: no second engine beside Bevy. Bevy is the scheduler, the store and the
- renderer. V8 is a component inside it (Bevy is not a JS interpreter; React needs one). Blitz's pieces (Stylo, Taffy,
- Parley, Vello) become libraries that Bevy systems call, not an engine with its own document and loop.
- The decision on the JS engine itself is engine/docs/js.feature (V8, jitless everywhere).
-
- Background: where things stood on 2026-10-15
- # Two engines: Blitz (BaseDocument + Stylo + Taffy + Parley + Vello, its own frame loop) and Bevy (rdb's rows,
- # clips, 3D, rules, the GPU and CPU direct paths). Bevy composites a picture Blitz paints.
- # Already bridged: every 2D row is a Bevy entity holding its Blitz node (world.rs install_hosted, DomNode).
- # Prior art: bevy-react (MIT/Apache, github.com/tulustul/bevy-react): React on deno_core's V8 drives bevy_ui
- # through a commit-batched op protocol. Its Rust crate can't link with ours (deno_core 0.404 needs v8 ^149; we
- # pin v8 =152.2.0), but its JS side (npm bevy-react 0.8.1: react 19 + react-reconciler 0.33) looks up its five
- # host calls on globalThis.__bevyHost before Deno.core.ops: op_flush(json), op_emit, op_request, op_animate,
- # op_next_event. Our V8 runtime provides __bevyHost; their reconciler and protocol run unchanged.
-
- Scenario: B1. One JS engine
- # Done 2026-10-15: measured on iOS (+2.6 MB compressed, js.feature), the app and engine default to V8, Boa's bindings
- # deleted; HostCore.xcframework rebuilt with jitless V8 for iPhone, Simulator and Mac (1.4 GB; V8 symbols, no Boa)
- Then V8 (rusty_v8 =152.2.0) is the only JS engine, jitless, and Boa's bindings are gone
-
- Scenario: B2. V8 is a Bevy plugin; Bevy's schedule is the only frame loop
- # Spike done 2026-10-15 (raea/react, examples/spike.rs): React 19 with bevy-react's reconciler and bridge
- # (npm 0.8.1, unchanged) on our jitless V8 (=152.2.0) on its own thread, __bevyHost from our prelude; a headless
- # Bevy app got 1 commit, 31 ops, 16 entities in 156 ms, the tree exactly as the JSX (div/span/i/#text, mesh,
- # light, props as components, ChildOf hierarchy). Events Bevy->JS done the same day: ReactOutbox.click(node) ->
- # op_next_event -> the button's onClick -> setState -> React's update ops -> the entity's text "count 0" -> "count 1",
- # 4.2 ms round trip.
- # Blitz's document in Bevy's schedule, first cut done the same day (engine/src/stage.rs): a Composition is a non-Send
- # resource of a Bevy World and a frame is one run of the schedule, seek system then paint system (Composition::render
- # split into seek_frame + paint). `raea render`, `raea snapshot` and the C API's render workers drive the schedule.
- # Parity through it: 107 exact, 61 ok, 2 fail, the same as before. Still to come here: the text-box and scrub paths,
- # and the React plugin and the composition in one App (one World, one schedule)
- Given a Bevy App with the ReactPlugin
- Then a JS thread owns the isolate and runs the bundle (vendor: react, react-reconciler, the bridge; app: the
- composition), and __bevyHost's op_flush hands each commit's op batch to the World over a channel
- And a Bevy system drains the batches each frame, in order, before layout
- And Blitz's document is a Bevy resource stepped by that schedule (no loop of its own)
-
- Scenario: B3. React's host elements are entities; style, layout, text and paint are systems
- Given the op protocol (Reset, Create, CreateText, CreateTextSpan, Append, Insert, Remove, Update with prop deltas)
- Then Create spawns an entity (ChildOf for the tree), its kind and props as components
- And DOM kinds (div, span, img, svg, ...) get computed style from Stylo, run as a system over changed entities
- And Taffy lays out, Parley shapes text and Vello paints, each a system over what changed
- And the first cut mirrors the ops into entities beside Blitz's document (checked equal), then the entities
- become the source of truth and Blitz's BaseDocument retires (B7)
- # The real risk: Stylo walks a tree through its own TNode/TElement traits, in parallel. Spike it first.
- # Mirror checked equal, 2026-10-15 (raea/react examples/mirror.rs, engine/src/dom.rs): the same App (js/src/app.tsx)
- # through bevy-react's ops -> entities + a DomMirror (raea::dom, Blitz behind it) vs react-dom in today's engine
- # (raea snapshot): SSIM 0.9998 at 540x960; 1 commit, 33 ops, 17 entities; the mirrored page paints in 177 ms
- # (first paint, fonts cold). A click round-trips (onClick -> setState -> update ops -> mirror) and repaints
- # "count 0" -> "count 1". Props map like react-dom: className -> class, style objects -> CSS text (px on numbers
- # but unitless ones), handlers/children/key skipped; mesh/light/camera/text3d stay entities only.
- # Systems, the same day (raea/react DomPlugin; blitz-dom's resolve split into resolve_style + resolve_boxes, and
- # raea::dom's style/layout/raster): every DOM entity carries DomNode (its node in Blitz's arena, which is the style
- # and layout storage behind the entities), and three chained Bevy systems run on the frames React changed the
- # page: Stylo (style), Taffy + Parley (layout and text), Vello (raster). Blitz's damage flags keep each to the
- # changed subtrees. Measured on the 540x960 App (M4):
- # system first frame after a click (one button's text)
- # style (Stylo) 0.98 ms 0.01 ms
- # layout + text 44.80 ms 0.12 ms (first frame loads the fonts)
- # raster (Vello CPU) 3.77 ms 1.53 ms
- # The picture is unchanged (SSIM 1.000 against the first cut). Why not Stylo over ECS queries: Stylo's parallel
- # traversal walks a tree through its own TNode/TElement traits; the arena stays that tree, keyed from the entities,
- # rather than a port of Stylo onto Bevy queries for no measured gain
-
- Scenario: B4. 3D is native
- Then host components <mesh>, <light>, <camera>, <text3d> spawn Bevy 3D entities from props
- # Geometry: the user has used Manifold (CSG: union/difference/intersection, Apache-2.0) for modelling before; a
- # <mesh> built from Manifold operations gives 3D UI real shapes (rounded panels, cut-outs, extruded text, bevels)
- And a DOM subtree can sit on a surface in 3D (painted once to a texture, transformed by the GPU), so text under a
- changing transform doesn't re-rasterise (jetway-16's wobble: 0.146 px on text vs 0.012 on boxes)
- And a JetFlow-style 3D UI scene renders end to end
- # Done 2026-10-15 (raea/react js/src/scene.tsx, src/lower.rs, examples/scene.rs; rdb's `panel` kind): React's
- # <camera>, <light>, <mesh shape>, <surface> (DOM inside) and <text3d> lower to 8 rdb rows written as rrl facts
- # (499 ms, the surfaces' DOM painted by raea::dom into PNGs); motion is rrl rules over those rows; `rrl render`
- # draws it with Bevy: lit meshes, shadows, two UI cards and a 3D headline. A panel is a quad textured with its
- # picture: premultiplied in linear light, a full mip chain, trilinear and 16x anisotropic sampling, unlit.
- # Wobble, measured against ground truth (engine/bench/wobble/wobble.sh, 2026-10-15): the panel's flight card drifting
- # 0.6 px/frame, rendered at 1x and at 4x; the 4x box-filtered to 1x in linear light is the ideal; each glyph's
- # centroid in the render minus the same glyph's in the ideal, over 21 frames; the spread of that error is wobble:
- # panel text (3D, the card's picture) median 0.039 px, p95 0.112 (41 glyphs)
- # 2D engine text, the same words median 0.042 px, p95 0.119 (52 glyphs)
- # Panel text is as steady as 2D text and within a few hundredths of a pixel of a 16x-supersampled render: no wobble.
- # The earlier numbers here (panel text 0.098, bar 0.051, cube 0.019) used the whole frame's ink centroid, which is
- # not a wobble measure: every stripe of a test panel stepped an even 0.60 px, but MSAA flickered an edge stripe's
- # brightness 4%, and 230 px from the centre that moves the whole-frame centroid 0.5 px. Picture resolution (1024,
- # 512, 400 px), anisotropy and the NV12/RGBA readback change nothing; a plain cube steps evenly (+-0.01 px).
- # The 2D wobble's cause: text runs come from Skia/CoreText glyph masks (as Chrome) whose subpixel x is quantised;
- # Chrome moves an animated element's layer as a bitmap instead. A fix must decide from the document (an animated
- # transform), never from the previous frame, so a frame stays a function of its rows
-
- Scenario: B5. The agent writes React's structure into an edit, as rrl
- # The goal's wording was "a React snippet"; after B5a it means a component and stack rules written in rrl, whose
- # rows go through the same entities and systems as React's host elements
- Then an edit's rrl snippet makes a component's rows, `ugc rdb render` renders them, and a CJ eval passes with it
- # Syntax agreed with rrl's owners (rowlio-44 / an agent session), not invented here
-
- Scenario: B5a. React's semantics, written as rrl and briefs; nobody writes React (decided by the founder, 2026-10-15)
- # Supersedes both earlier proposals (the React program owning the edit; JSX blocks as sugar inside snippets).
- # There are two surfaces and only two: .rrl (Datalog: facts, keys, rules, expects) and .feature (the brief, in
- # words). No .tsx, no JSX, no angle brackets anywhere an agent or a person writes. React is the semantics and the
- # runtime model under them, not a syntax.
- Given the edit is the ECS rows, the source is the applied .rrl snippets plus the .feature brief, and the move
- log records applied snippets
- Then React's ideas are rrl relations, most of which rrl already has:
- # element a row: kind, key, columns card hero {text: "Sale"}
- # children the parent column (`in`) caption c1 in hero {...}
- # list + key `stack` over a set, keyed by it stack card(P) in shelf {text: P.title} if product P
- # props reuse a style bundle style cap {font: "Avenir Next", size: 76}
- # conditional render a rule's condition ... if product P, P.price <= 50
- # reconciliation rrl apply: a fact replaces its row; a rule's rows are re-derived and diffed by key
- # component `define`: a named, parameterised group of stack rules (an agent session's proposal, below)
- # state and effects none in an edit; behaviour is rules over time and K kernels
- And the brief says the same things in words ("each product has a card on the shelf; no card overflows the
- frame"), checked against the rows like any expect, never edited by the agent
- And structure is a coarse move (a stack rule or a component makes a subtree) and tuning is a surgical move (one
- fact or one labelled rule replaced); both are lines in the move log. A rule's rows own only the columns it
- states, so later keys on them (card/42.color = ...) are overrides that survive the rule being re-derived
- # That is rrl apply today (an agent session, from lower.rs): the static stratum is re-derived from scratch on every
- # apply, in file order; derived facts mint ids (card(P) -> card/42) and overrides patch rows in place.
- And minted ids are keyed by the set's ids (card/<product id>), never by position, or overrides land on the wrong row
- And a plain fact still means the whole row ("a fact lists every column its row keeps"): that's how a row is reset
- And when a key leaves the derivation (a product removed in a feedback round), its overrides are orphaned: today an
- error ("an override needs its row"); to be a loud warning listing the orphaned overrides and their move ids, so
- one removed product doesn't block the whole apply
- And components are `define` (proposed by an agent session, canon only after it's measured):
- # define card(P, In) {
- # stack card(P) in In {w: 320}
- # title T(P) in card(P) {text: P.name}
- # image I(P) in card(P) {src: P.photo}
- # }
- # card(P, shelf) if product P
- # `define` expands at apply; the expanded rules land in the move log under the call's label, so `drop` and
- # `replace` work on the call; inner ids are prefixed by the call (card/.../title) and overrides target those;
- # `use` stays file import, its alias a namespace. Measured first: an overnight-harness scenario family building
- # repeated parts with `define` vs plain stack rules (pass rate, quiet regressions)
- And per-frame motion stays in rules and K kernels (0.175 ms/frame for 10k rows), never a re-render per frame:
- pop: C.scale = 1 + 0.1 * sin(local_frame(C) * 0.3) if card C {class: hero}
- And the React runtime (raea/react: bevy-react's reconciler on V8 in Bevy) is engine machinery only: it renders
- React/HTML compositions that arrive from outside (the parity corpus, imported pages) and interactive UI the
- engine ships; it is never a surface an agent writes
- And it's judged by evals: agents writing rrl + briefs on the CJ scenarios (refusals, moves, checks)
- # Why rrl and not React: Datalog can say everything React says (a keyed tree of elements and props at an instant)
- # and React can't say what Datalog says (rules over time, constraints over sets, checks). React is the model.
-
- Scenario: B5b. .rrl makes rows, .feature checks them (how the two surfaces meet; the user asked, 2026-10-15)
- # Today (rrl/src/lib.rs, rdb::gherkin): the brief is lowered through steps.sql, a vocabulary of phrases ->
- # (row kind, filter, holds, why), into checks over the same rows; every apply runs it; a move that breaks it is
- # refused; an agent may add a scenario only if every step is one the vocabulary knows.
- # In React's terms: .rrl is the component code, .feature the acceptance test, the steps its queries.
- Given an edit (.rrl) and its brief (.feature, beside it, with its steps)
- Then only rrl makes or changes rows: facts, stack, define, rules, and the agent's own expects
- And the brief only checks rows; words never become rows (two authors of a row would break the move log)
- And the step vocabulary is written in rrl, not SQL (the founder, 2026-10-15): a step is a phrase bound to an rrl
- condition, lowered like any expect (rrl -> IR -> SQL; SQL is the execution layer, as WGSL is under K):
- # step given "the captions": caption C
- # step then "their text is at least {px}px": C.size >= px because "too small to read on a phone"
- # step then "each product has a card on the shelf": card(P) in shelf for every product P
- # steps.sql predates rrl (rdb's Gherkin came first); there are 3 example vocabularies (45 steps) and the
- # overnight harness's shared 45-step one to port
- And steps get the same schema check and name suggestions (near_name) as expects: a mistyped column fails at
- load with a "did you mean", never a check that is silently false (an agent session; the syntax is mine to draft, theirs to review)
- And the vocabulary grows from rrl's schema: each kind or define gives a Given ("the cards"), each column a Then
- ("their {column} is ..."), so a new component is speakable in a brief without hand-written step SQL
- And steps gain set-level checks for structure: "each product has a card on the shelf", "there are {n} cards"
- (existence and counts over a set, not one row at a time)
-
- Scenario: B5d. Imported React components: fixed parts an edit places and drives (the founder, 2026-10-15)
- # Amends B5a: nobody authors React in an edit, but React that already exists (a client's site, a brand's
- # components, libraries such as Magic UI or shadcn/ui) lowers into rdb as a component, so nothing is reinvented.
- Given a component imported once into a project (a package such as Magic UI's marquee, or a file from a codebase)
- Then it's bundled at import (bun) and stored by its hash like media; neither the edit nor the agent changes it
- And rrl names it as a kind: `use "magicui/marquee" as marquee`, then `marquee m {items: ..., from: 0, to: 90}`
- places one; its row's columns are the component's props, and rdb owns where, when and with what props
- And it renders through raea/react (bevy-react's reconciler on jitless V8 in Bevy): its host elements become
- entities under the row's entity (B3's path; the mirror matches react-dom at SSIM 0.9998)
- And rules and keys may drive its props; each change is a React re-render (2000 cards re-rendered: 86 ms each
- on V8 jitless), so per-frame motion still belongs in rrl rules and K over the row, not in props
- And Tailwind classes compile at import: the classes React actually emits (className in the ops) go through
- Tailwind v4's own compiler, run on our V8, into CSS cached by the class set's hash; the engine already renders
- Tailwind v4 CSS (parity react/shadcn, whose gap is fonts, not CSS)
- And a component's own animation (Motion/framer-motion, CSS transitions, requestAnimationFrame) runs on the
- edit's frame clock, never the wall clock, so a frame renders the same every time
- And the first proof is Magic UI (marquee, number ticker, shimmer button, animated beam) and shadcn's card and
- button, each checked against react-dom in the engine, then placed and checked in an edit
-
- Scenario: B5f. Designed parts authored as React, the edit in rrl (an experiment the user opened, 2026-10-15)
- # Reopens B5a as an experiment, not a decision: an agent session compares four procedures (rrl rows, plan first, an rrl
- # kit, React parts) on the same real-footage scenarios with the strict judge
- Given a component file (.tsx, its folder beside it) and its props as JSON
- Then `raea-react lower Card.tsx --props '{...}' --into edit.rrl --as card1 [--w W --h H] [--x X --y Y]
- [--from F --to T] [--export Name] [--print]` renders it on V8 in Bevy (bun bundles it against raea/react's
- React), paints its DOM once with the fonts it names, and applies `image card1 {src: "asset:<hash>", x, y, w, h}`
- through `rrl apply` (a move with its why); rrl places, times and moves it as a whole (level 1a, done)
- # Without --w/--h it lays out on a canvas the edit's size and is cropped to what it painted (a pill hugs its
- # text); x/y default to where it laid out. 1.2 s a part. A row's src may also be a plain picture path now.
- And with --rows (level 1b, done) the laid-out DOM becomes rows under one root `box card1`: an element that paints
- a box (bg, gradient, radius, border, shadow) or has a name (data-part, id) is `box card1_<name> in <parent>`,
- its text a `text` row with the computed font, size, weight, colour, alignment, line height and tracking, and
- styled spans inside the text are runs of it (`text card1_hl in card1_label {bg, padding, radius}`), so keys
- reach each part: `card1_bar.w {0: 0, 40: 380} ease out` fills a bar, a run's opacity lights a word
- # Positions are relative to the parent row's padding edge, from Blitz's laid-out boxes (Dom::laid_out, computed
- # CSS serialized by stylo). One rotate(Ndeg) or scale(N) becomes the column; other transforms, filters,
- # clip-path, masks, backdrop-filter and <svg>/<canvas>/<video> are refused by name (paint it whole without
- # --rows). <img> becomes an image row with its picture copied to assets/. Checked against the painted version.
-
- Scenario: B5e. The brief's future: our own format, compiled by a neural reader into rrl and the shared latent space
- # Direction set by the founder, 2026-10-15; Gherkin + steps.rrl stays the rule source until this is built and measured
- Given a .brief (Gherkin-shaped or not) of lines with a strength: must (hard), should (scored), avoid
- Then a neural reader (NER/REL-style, constrained to a reading grammar) turns each line, once, at authoring time,
- into a typed reading: subject, relation (Allen intervals: during, after, over, until), time span, quality;
- cached by the line's hash and the model's version, so re-checks are deterministic
- And exact parts lower to rrl checks; latent parts lower to hypervector queries: SigLIP text vectors and
- level-encoded measured columns at the leaves, bind(SUBJECT, x) + bind(WHEN, span) + bind(QUALITY, q) as structure
- And "lowers correctly" is a type check: unbinding each role from the compiled query decodes to the reading's
- concept, or the line comes back as a question
- And the edit's segments are encoded the same way; a should scores a margin (STL-style robustness), split per role
- And quality words (quick, calm, holds) are bands from the measured ad norms (knowledge/editing-profile.json)
- # an agent session (who owns the HDC half: role vectors, projection, segment encoding), 2026-10-15:
- # 1. motion words query the L2 window vectors too (window transitions beat V-JEPA 2-L on next-2 s prediction,
- # R@1 0.180 vs 0.148, and gap filling 0.134 vs 0.101), not only cut-rate and speed columns
- # 2. one fixed projection per encoder on both sides (seed 7 for SigLIP's 768, 11 for YAMNet's 1024, as
- # 3. the decode threshold is per role, from the decoded-similarity distribution on known-correct readings; at
- # 8192 bits, bundles of more than 5 or 6 bound pairs get noisy
- And latent checks are always soft, calibrated per concept against Kelly's rulings before they count
-
- Scenario: B5c. Kinds in 3D
- Then 3D kinds (mesh, light, camera, text3d) are rrl kinds; a shape is a value (a CSG expression,
- difference(roundedBox(2,1,.2,.1), text3d("SALE")), stored as a column, built by Manifold, cached by its hash,
- re-meshed only when the expression changes); Datalog types gain vectors, transforms and shapes
- And briefs can check 3D through the same vocabulary (overlap, facing the camera, inside the frame)
-
- Scenario: B6. Nothing regresses
- Then the HTML/React parity corpus through the Bevy path scores at least 107 exact, 61 ok
- And rdb/bench/substrate-gate.sh is green, and the CPU render still equals the GPU's
-
- Scenario: B7. Blitz's standalone loop retires
- # Done 2026-10-15: Composition::render is gone. Every frame is a run of Bevy's schedule (stage.rs): render,
- # snapshot and --boxes, the C API's snapshot, scrub and render workers, lint --layout and measure (Stage::text_boxes
- # paints the frame collecting text runs; Composition::text_report reads them), the node API (raea_node_*), and
- # rdb's HTML overlay (gpuview's page, html.rs's PagePool workers). What isn't a frame (page keys, media layers,
- # warnings) asks the composition through stage.comp(). Parity 107 exact, 61 ok, 2 fail; engine tests 82/82
- # (the V8 runtime now enters its isolate on each call: two pages on one thread used to panic, a V8-switch bug the
- # node API's tests caught); rdb's substrate gate green.
- # Speed before and after (examples/stage_bench.rs: one composition moved between the two loops in alternating
- # blocks, 60 frames, best of 3, M4, ms per frame; the split is the same composition's seek vs paint):
- # page own loop Bevy's schedule difference of a frame: JS (seek) / paint
- # react/board 13.56 14.06 +0.51 0.15 / 17.40 (1% JS)
- # kinetic-type 3.37 3.88 +0.52 0.34 / 3.28 (9%)
- # product-promo 18.91 19.35 +0.45 1.44 / 20.68 (7%)
- # gsap-plugins/splittext 2.64 2.36 -0.27 0.71 / 2.33 (23%)
- # baseline/gsap-basics 1.69 1.21 -0.48 0.39 / 1.50 (21%)
- # The schedule costs between -0.5 and +0.5 ms a frame (within run-to-run noise on a busy Mac); a frame is mostly
- # paint, and JS (the seek: timelines and scripts in V8) is 1-23% of it
- Then nothing calls Blitz's own document loop, and this file records the design and the speed before and after
diff --git a/engine/docs/gpu.feature b/engine/docs/gpu.feature
deleted file mode 100644
index e0938f6c..00000000
--- a/engine/docs/gpu.feature
+++ /dev/null
@@ -1,226 +0,0 @@
-@owner:unicorn @ticket:T-048
-Feature: Faster renders with MLX, Core ML, or the GPU?
- Investigation, 2026-10-09. The question: can raea render faster by moving work to MLX or Core ML, or by
- rewriting rendering code for them? The short answer is not with MLX or Core ML. The work worth moving is
- per-pixel raster, and the tools for that are Metal: `vello_gpu`, the wgpu sibling of the vello_cpu rasterizer
- used today, or a few targeted Metal/Accelerate kernels.
-
- All measurements are on the M4 Mac mini unless they say iPhone. The machine was shared with other builds (load
- 20 to 45), so absolute CPU times are noisy; the ratios held across runs. The benchmarks live in `bench/gpu/` (see
- the rule "Reproduce" at the end). Converted from the markdown version for T-048.
-
- Rule: Where the time goes today
- Profiles with `bench/profile.py` of the render thread (`--workers 1`, `--format rgba`), on two eval edits the
- in-app Agent made. 75 to 85% of each frame is per-pixel work. That work is parallel and suits a GPU. The DOM,
- style, layout and JS work is small and branchy, and stays on the CPU whatever happens.
-
- The talking-head shadows come from the cut tool's caption style. Each caption word is an inline-block with three
- text-shadows: two `0 0 3px` and one `0 4px 16px`. Blitz paints every blurred shadow of every glyph run as its
- own clipped filter layer, so a three-word caption is nine blur layers per frame.
-
- On the iPhone 13 Pro Max (A15, 2 workers on the 2 P-cores, per the host app-a2's device bench), a 20 s 1080x1920
- edit renders in 6.1 to 7.0 s. That is about 3x real time, with a 740 MB peak footprint and the thermal state
- nominal.
-
- Scenario: Profile of the render thread on two eval edits
- Given the talking head with captions (round-5/05-broll, 300 frames)
- And the motion scene (scene-2 ingredients, 150 frames)
- When `bench/profile.py` profiles the render thread with `--workers 1` and `--format rgba`
- Then the time per frame splits like this:
- | measure | talking head + captions | motion scene |
- | render thread CPU per frame | 13.2 ms | 14.6 ms |
- | raster: filters (text-shadow blur, drop-shadow) | 4.5 ms (34%) | 4.4 ms (30%) |
- | raster: fine (video draw, fills, gradients) | 3.4 ms (26%) | 5.5 ms (38%) |
- | memcpy / memset / alloc (frame clears, image convert) | 2.0 ms (15%) | 2.3 ms (16%) |
- | reading ffmpeg frames from the pipe (Mac CLI only) | 1.7 ms (13%) | 0 |
- | JS (Boa), Stylo, Taffy/Parley, paint commands, GSAP seek | ~1.2 ms (9%) | ~1.8 ms (12%) |
- And 75 to 85% of each frame is per-pixel work
-
- Rule: MLX does not fit
- `gpu_bench.py` and `mlx_parts.py` (MLX 0.32.3) run the shadow blur (sigma 8) of the caption band plus a
- source-over composite onto the video, on the M4 GPU. For comparison, the whole talking-head filter cost on the
- CPU today is 4.5 ms, and MPS does the same band blur in 0.47 ms (see the Metal rule).
-
- Why MLX doesn't fit:
- - It has no rasterizer. Path coverage, glyphs, gradients, clips and blend modes are not array ops. "Writing the
- renderer for MLX" means writing a GPU 2D renderer out of custom Metal kernels inside an ML framework. Metal or
- `vello_gpu` already provide that, along with texture sampling, blending hardware and render passes, which MLX
- does not expose.
- - Its image ops are slow here. MLX's convolutions are tuned for ML shapes (many channels, small images), not
- 1-channel 1080-pixel rows. The fastest MLX version is 5x slower than MPS.
- - It costs a sync per eval. The fixed ~0.35 ms launch-and-sync per `mx.eval` adds up over many small layers
- per frame.
- - Integration is awkward. The renderer is Rust, and MLX has no binding in this tree (mlx-rs would add a second
- copy of the MLX C++ runtime). The app already links MLX Swift for Pocket TTS, and two copies of the C++
- library in one binary invite symbol clashes.
-
- Scenario: MLX formulations of the caption-band shadow blur
- Given the caption band's shadow blur (sigma 8) and a source-over composite onto the video
- When `gpu_bench.py` and `mlx_parts.py` run it on the M4 GPU with MLX 0.32.3
- Then each formulation costs:
- | MLX formulation | ms / frame |
- | `mx.conv2d` 1x49 then 49x1, fp16, then the composite as array ops | 10.0 |
- | the same with the upload from numpy each frame | 11.1 |
- | conv2d blur alone | 5.0 |
- | blur as two Toeplitz matmuls | 2.6 |
- | matmul blur + a hand-written `mx.fast.metal_kernel` composite | 2.7 |
- | the smallest possible op + `mx.eval` (launch and sync overhead) | 0.35 |
- And the fastest of them is 5x slower than MPS's 0.47 ms
-
- Rule: Core ML does not fit
- `gpu_bench.py coreml` builds the shadow blur as a two-conv MIL program (`cm_plan.py` prints the compute plan).
- The times are identical because Core ML runs it on the CPU in every mode. The compute plan puts both convs on
- `MLCPUComputeDevice`, and the Neural Engine isn't even listed as supported for them. The 0.67 ms is Apple's
- BNNS CPU convolution. A plain Accelerate call gives the same speed with no model, no MLMultiArray and no compile
- step (`vimage_bench.swift`: 0.45 to 0.48 ms for the band's alpha, three box passes, 1 thread).
-
- Core ML can't rasterize either. Its place in this product is new ML effects rather than speeding up the
- renderer:
- - person segmentation for background blur or replacement;
- - face-tracked auto-reframe of landscape takes;
- - upscaling.
-
- Scenario: Core ML compute units for the two-conv blur
- Given the shadow blur as a two-conv MIL program
- When `gpu_bench.py coreml` runs it on each compute unit setting
- Then it costs:
- | compute units | ms / frame |
- | CPU_ONLY | 0.67 |
- | CPU_AND_GPU | 0.67 |
- | CPU_AND_NE | 0.68 |
- | ALL | 0.71 |
- And `cm_plan.py` shows both convs on `MLCPUComputeDevice` in every mode
-
- Rule: What Metal and the GPU actually buy
- The copies cost more than the GPU work. On Apple silicon they can be avoided by wrapping IOSurfaces:
- - AVAssetReader already gives IOSurface-backed BGRA buffers;
- - the AVAssetWriter pool buffers are IOSurfaces too;
- - CVMetalTextureCache turns both into textures without a copy.
-
- `vello_gpu` 0.3 (`raster/`, formerly vello_hybrid) is the drop-in candidate. It is the wgpu (Metal) sibling of
- `vello_cpu` 0.3 and shares the same `vello_common` 0.3 (strips, filter math):
- - `anyrender_vello_hybrid` 0.11 targets our anyrender 0.14;
- - it supports the filters we use: Gaussian blur, drop shadow, flood and offset;
- - it takes external textures (`ImageSource::external_texture` + `TextureBindings`), so a decoded video frame
- can be sampled with no CPU copy.
-
- Scenario: MPS reference on one 1080x1920 frame
- Given `mps_bench.swift`
- When it renders one 1080x1920 frame
- Then each stage costs:
- | stage | ms / frame |
- | MPSImageGaussianBlur, sigma 8, caption band | 0.47 |
- | blur + full-frame composite kernel, data on the GPU | 0.94 |
- | the same, 3 frames in flight | 0.71 |
- | the same + upload two layers and read back with replace/getBytes | 4.02 |
- And the copies cost more than the GPU work
-
- Scenario: vello_cpu against vello_gpu on a frame shaped like the eval edit
- Given a frame shaped like the eval edit:
- | part |
- | a 1080x1920 video frame |
- | five caption words with three shadows each |
- | three title words with two shadows each |
- | 21 blur layers in total |
- When the bench draws the same frame through both renderers
- Then they cost:
- | part | vello_cpu (1 thread) | vello_gpu (Metal) |
- | video frame only | 2.74 ms | 1.13 ms (2.69 with an 8 MB `write_texture` each frame) |
- | caption and title shadows only (21 blur layers) | 22.2 ms | 9.9 ms |
- | text without shadows | 0.87 ms | 1.33 ms (fixed submit + wait overhead) |
- | whole frame | 29.0 ms | 12.8 ms; 11.9 pipelined |
- | whole frame, one blur layer per shadow per group | (slower: 69 to 104 ms) | 6.2 ms |
- | output difference vs vello_cpu | | mean 0.09 / 255; 0.37% of channels off by more than 2 |
- And the raster gets about 2.3x faster on the M4, with near-identical output
- And the parity gate (`bench/parity.sh`) would still need to confirm it against Chrome
-
- Scenario: Two caveats matter more than the headline
- Given vello_gpu's 2.3x on the M4
- Then caveat 1 is that `vello_gpu` spends its time on the CPU: it schedules a pass per filter layer, and a loaded run timed `render()` plus command encoding alone at 16.4 ms per frame, against 16.2 ms for the full GPU round trip
- And on the phone that cost scales with the A15 CPU, roughly 1.7x slower than an M4 P-core, and the GPU is idle much of the time
- And merging layers (one per shadow per caption group) halves it to 6.2 ms, but doing that in blitz-paint changes paint order between words, which is a parity risk
- And caveat 2 is that the A15 GPU has 5 cores against the M4's 10, and both render workers would share it
- And scaling M4 to A15 by CPU (~1.7x) and GPU (~3x) puts vello_gpu on a shadow-heavy phone frame somewhere between break-even and 2x faster, which only a device run can settle
-
- Rule: Recommendation, ranked by speed-up per unit of work and risk
-
- Scenario: 1. Faster text shadows on the CPU, now
- Given a text-shadow is a blurred coverage mask in one color
- And Skia (Chrome) blurs it as A8, while vello_cpu blurs full premultiplied RGBA per glyph run
- Then blurring alpha only is about 2.7x less work (vImage Planar8 0.48 ms against ARGB8888 1.29 ms)
- And Accelerate's box blur, or NEON in Rust, beats the current direct convolution
- And coloring at composite time is free
- And this targets the largest bucket on both edits (30 to 34%), keeps the exact pipeline, and needs no new dependency on iOS
- And it is a change to vendored vello_cpu (filter) or blitz-paint (text.rs), run through the parity gate
-
- Scenario: 2. Spread frames across workers by demand, and use the E-cores
- Given round-robin dealing makes the slowest worker set the pace, which is why framework/docs/ios.feature caps workers at 2
- When frames are spread across workers by demand instead of round-robin
- Then a third or fourth worker can use the E-cores, since on the phone 4 E-cores sit idle
- And each extra worker costs about 50 to 80 MB, which the 740 MB peak can absorb
-
- Scenario: 3. Skip wasted pixel copies around video
- Given the video frame is copied into a vello image every frame (`convert_image`, 0.8 ms)
- And the frame is cleared even when an opaque full-frame video covers it (`bzero`, 0.4 ms)
- Then both can be skipped
- And on iOS the frame provider's vImage copy could also go
-
- Scenario: 4. vello_gpu as a third backend, as a measured experiment
- Given items 1 to 3 have been done and still leave renders too slow
- When `vello_gpu` becomes a third backend (`--backend gpu`)
- Then anyrender_vello_cpu's local changes (CoreText glyph masks via Skia, non-isolating clips) are ported to `anyrender_vello_hybrid`
- And the zero-copy IOSurface path is wired for video in and frames out
- And the parity gate runs, then the device bench
- And its gain on the A15 is uncertain, and it adds wgpu to the app (a few MB)
-
- Scenario: 5. MLX and Core ML: don't
- Then MLX and Core ML are not used for render speed
- And Core ML stays interesting for new ML effects (segmentation, reframe)
-
- Rule: Skia on Metal (Ganesh), measured 2026-10-15 (the experiment the user asked for)
- # Profiling product-promo (the heaviest registry page, Skia backend) put its paint in gradient shading, source-over
- # blending, Skia's three-box blur and row fills: per-pixel work. JS (the timeline seek) is 1-23% of a frame on GSAP
- # pages and 1% on React, so moving JS anywhere (GPU kernels, keys) has a small ceiling; raster is the lever.
- # Skia's own GPU backend keeps the drawing pipeline parity is tuned on. Built as an opt-in: the engine's
- # `skia-gpu` feature (anyrender_skia `metal`: skia-safe metal + ganesh, a prebuilt binary, no source build) and
- # RAEA_SKIA_GPU=1 at run time; the renderer draws into a Ganesh render target and reads the frame back.
- Scenario: Speed, M4, ms per frame (scratchpad bench for the synthetic frame; examples/stage_bench.rs for pages)
- Then
- | frame | Skia CPU | Skia Metal (incl. readback) |
- | synthetic 1080x1920: 3 gradients, 24 blurred-shadow cards | 224.9 | 13.6 (16.5x) |
- | product-promo, paint | 7.54 | 4.36 (1.7x) |
- | kinetic-type, paint | 1.51 | 1.39 (same) |
- | react/board, paint (many small elements and text) | 8.37 | 9.90 (slower) |
- And the synthetic frame's pixels match the CPU's closely: mean |diff| 0.21/255, 0.51% of channels off by > 2
- Scenario: Parity against Chrome, the whole corpus through the Skia backend
- Then
- | raster | exact | ok | fail |
- | Skia CPU | 104 | 60 | 6 |
- | Skia Metal | 61 | 81 | 28 |
- And so Metal stays an experiment: Ganesh's GPU antialiasing, gradient dithering and glyph atlas differ from the
- raster pipeline Chrome's references come from, enough to fail 28 frames
- Scenario: What would make it a default
- Then the 28 failing frames are diagnosed first (likely: dithering off, analytic AA vs MSAA, text as the CPU's
- glyph masks uploaded as images rather than GPU glyphs)
- And the choice is per page, from the document (heavy filters, gradients, big blends), never per frame: small-
- element pages are slower on the GPU (fixed submit and readback costs)
- And the phone is measured before anything ships (the A15's GPU is half the M4's)
-
- Rule: Reproduce
- The commands below rebuild every measurement in this file. `PARTS` takes any of video, text, noshadow, batch.
-
- Scenario: Re-run the GPU benchmarks
- Given a Python 3.12 venv with MLX, coremltools and numpy
- When these commands run:
- """
- uv venv -p 3.12 /tmp/gpuvenv && uv pip install -p /tmp/gpuvenv/bin/python mlx coremltools numpy
- cd bench/gpu
- /tmp/gpuvenv/bin/python gpu_bench.py # numpy, MLX, Core ML
- /tmp/gpuvenv/bin/python mlx_parts.py # MLX formulations
- /tmp/gpuvenv/bin/python cm_plan.py # Core ML compute plan (which device runs each op)
- swiftc -O mps_bench.swift -o /tmp/mps && /tmp/mps
- swiftc -O vimage_bench.swift -o /tmp/vi && /tmp/vi
- cd raster && cargo build --release && PARTS=video,text ./target/release/uv-gpu-raster-bench
- # PARTS: any of video, text, noshadow, batch
- """
- Then they print the tables above
diff --git a/engine/docs/ios.feature b/engine/docs/ios.feature
deleted file mode 100644
index bd12b6af..00000000
--- a/engine/docs/ios.feature
+++ /dev/null
@@ -1,372 +0,0 @@
-@owner:unicorn @ticket:T-048
-Feature: raea on iOS
- Status: feasibility spike (framework-ios-spike). The renderer builds as a static library for iOS devices and the
- iOS Simulator, links into an app through a C API, and renders the same frames as the CLI. This document covers
- what works on iOS, what does not, and every cfg or feature the spike introduced, so the changes can be merged into
- the main crate.
-
- Rule: The xcframework builds from one script, and the macOS CLI is unchanged
- The script puts rustup's `~/.cargo/bin` first on PATH, because Homebrew's rustc has no iOS standard library.
- The minimum iOS version is 16.0 (`IPHONEOS_DEPLOYMENT_TARGET`).
-
- Scenario: Building the xcframework
- When one of these commands runs in framework/:
- """
- scripts/build-xcframework.sh # iOS set: no network, no skia, no ffmpeg
- RAEA_FEATURES=skia,network scripts/build-xcframework.sh
- RAEA_MACOS=1 scripts/build-xcframework.sh # add a macOS arm64 slice (the Mac app)
- """
- Then the output is `target/xcframework/raea.xcframework`
- And it holds a device arm64 slice and a simulator arm64 slice
- And each slice has `raea.h` and a module map that autolinks the system libraries, so Swift can `import raea`
-
- Scenario: The macOS CLI still builds with every default feature
- When `cargo build --release` or `cargo install --path .` runs
- Then it still builds `raea` with every default feature
- And it renders byte-identical frames
-
- Rule: The C API is include/raea.h
- It is implemented in `src/ffi.rs`, over the Rust API in `src/api.rs`.
-
- Scenario: The calls
- Then the C API has these calls:
- | call | what |
- | `raea_probe(path, opts_json) -> char*` | the CLI's `probe` JSON (size, fps, duration, frames, videos, the audio plan, warnings) |
- | `raea_lint(path, opts_json) -> char*` | the CLI's `lint --json` |
- | `raea_snapshot(path, t, opts_json, out, len) -> status` | one frame |
- | `raea_render_begin(path, opts_json) -> raea_render*` | probe and plan a render of `[start, end)` |
- | `raea_render_info(h) -> char*` | the probe JSON plus `firstFrame`, `endFrame`, `frameCount`, `workers`, `bytesPerFrame` |
- | `raea_set_video_frame_provider(h, cb, user_data)` | host-decoded `<video>` frames (set before the first frame) |
- | `raea_render_next_frame(h, buf, len) -> index / RAEA_DONE / error` | the next frame, packed rows |
- | `raea_render_next_frame_strided(h, buf, len, row_bytes)` | the next frame into, for example, a locked CVPixelBuffer |
- | `raea_render_frame_at(h, t, buf, len, row_bytes)` | any frame in any order (scrubbing); a separate worker keeps the composition loaded |
- | `raea_render_boxes_at(h, t, safe_zone) -> char*` | text-layout JSON at `t` (the CLI's `snapshot --boxes` sidecar); `safe_zone` is "T,R,B,L" or NULL |
- | `raea_render_end(h)` | stop the workers and free the handle |
- | `raea_last_error()`, `raea_free_string()`, `raea_version()` | |
-
- Scenario: Options mirror the CLI flags
- Given an `opts_json` object
- Then its keys mirror the CLI flags:
- | key |
- | `fps` |
- | `scale` |
- | `width` |
- | `height` |
- | `start` |
- | `end` |
- | `variables` |
- | `backend` |
- | `transparent` |
- | `workers` |
- | `network` |
- | `videoFrames` |
- | `pixelFormat` |
- And `pixelFormat` is `"rgba"` or `"bgra"`, which the CLI does not have
- And unknown keys are errors
-
- Scenario: Frames
- Frames are 8-bit premultiplied sRGB (what both rasterizers produce), top row first, written into a buffer the
- host allocates. The swizzle runs on the worker threads.
-
- Given `"pixelFormat": "bgra"`
- Then frames come in kCVPixelFormatType_32BGRA byte order
- When the host calls `raea_render_next_frame_strided` with a locked CVPixelBuffer's base address and `bytesPerRow`
- Then a pixel-buffer-pool buffer is filled directly, with one copy from the worker's buffer and no intermediate Swift buffer
-
- Scenario: Video in, through the frame provider (the iOS path)
- The callback is `cb(user_data, video_id, frame_index, media_time, raea_video_frame*)`. `frame_index` is clip-local
- at the render fps (0 is the clip's first output frame, the same numbering as `videoFrames`), and
- `media_time = mediaStart + frame_index / fps * playbackRate` seconds into the source (loop clips wrap by the
- asset duration).
-
- Given a frame provider set with `raea_set_video_frame_provider`
- When the library needs a `<video>` frame
- Then the host writes RGBA or BGRA rows with any `row_bytes`, so an AVAssetReader BGRA CVPixelBuffer can be memcpy'd as is
- And if the buffer is too small, the host sets width, height and row_bytes, returns `RAEA_FRAME_NEED_BUFFER`, and is called again
- And the size is remembered per video, so that happens at most once per video per worker
- And `videoFrames` (`DIR/<videoId>/frame_%06d.jpg` or `.png`) still works, and is what `raea_snapshot` uses
-
- Scenario: Audio is never rendered by the library
- Given a composition with audio
- Then `raea_probe`'s `audio` array is the mix plan for AVMutableComposition and AVAudioMix
- And each entry has `src, start, end, mediaStart, volume, loop, playbackRate, fadeIn, fadeOut`
- And videos with `data-has-audio="true"` appear there too
-
- Scenario: Threading
- A composition holds a Boa context, which is `!Send`, so a composition never leaves the thread that created it.
- Boa and Stylo recurse deeply, and iOS gives the main thread 1 MB of stack and other threads 512 KB.
-
- Given any call
- Then it can be made from any thread, including the main thread, but every call blocks, so keep them off the main thread
- And `raea_probe`, `raea_lint` and `raea_snapshot` load the composition on an internal thread with a 64 MB stack and return plain data
- And a render handle owns `workers` threads (64 MB stacks, mostly untouched virtual memory)
- And each worker loads its own document and JS runtime and renders frames `k, k + workers, ...`
- And `raea_render_next_frame` hands the frames back in order, with one finished frame queued per worker
- And the frame provider is called on those worker threads, up to `workers` at once
- And a handle is used from one thread at a time, and `raea_render_end` is not called while another call on it is in flight
-
- Scenario: Workers
- Frames are dealt round-robin (worker k renders k, k + N, ...), so the slowest worker sets the pace: more workers
- than performance cores can be slower, not faster. Memory grows per worker (see the numbers below).
-
- Given no `"workers"` key in `opts_json`
- Then the default is `min(cores / 2, 2)` on iOS and `min(cores / 2, 8)` elsewhere
- And setting `"workers"` in `opts_json` chooses the count
- And workers are created by the first `raea_render_next_frame` and inherit that thread's QoS, so call it from a `.userInitiated` queue or thread
-
- Scenario: A Swift sketch (untested; it shows the intended shape)
- Given this Swift:
- """swift
- import raea
- import AVFoundation
-
- let r = raea_render_begin(projectDir.path, #"{"workers":2,"pixelFormat":"bgra"}"#)!
- defer { raea_render_end(r) }
- let infoPtr = raea_render_info(r)!; let info = String(cString: infoPtr); raea_free_string(infoPtr)
-
- // <video> frames from AVAssetReader (a class you write; it must be thread-safe)
- let source = Unmanaged.passRetained(VideoFrameSource(project: projectDir)) // release after raea_render_end
- raea_set_video_frame_provider(r, { user, id, index, mediaTime, frame in
- let src = Unmanaged<VideoFrameSource>.fromOpaque(user!).takeUnretainedValue()
- // copy a BGRA CVPixelBuffer: frame.pointee.width/height/row_bytes = its size and bytesPerRow,
- // pixel_format = RAEA_PIXEL_BGRA8; return RAEA_FRAME_NEED_BUFFER if row_bytes*height > capacity
- return src.write(videoID: String(cString: id!), mediaTime: mediaTime, into: frame!)
- }, source.toOpaque())
-
- while true { // off the main thread
- var pb: CVPixelBuffer?
- CVPixelBufferPoolCreatePixelBuffer(nil, adaptor.pixelBufferPool!, &pb)
- CVPixelBufferLockBaseAddress(pb!, [])
- let n = raea_render_next_frame_strided(r, CVPixelBufferGetBaseAddress(pb!)!.assumingMemoryBound(to: UInt8.self),
- CVPixelBufferGetDataSize(pb!), CVPixelBufferGetBytesPerRow(pb!))
- CVPixelBufferUnlockBaseAddress(pb!, [])
- if n == Int64(RAEA_DONE) { break }
- if n < 0 { throw UVError(String(cString: raea_last_error())) }
- while !writerInput.isReadyForMoreMediaData { usleep(1000) }
- adaptor.append(pb!, withPresentationTime: CMTime(value: n, timescale: CMTimeScale(fps)))
- }
- // audio: build an AVMutableComposition + AVAudioMix from info["audio"]
- """
- Then the host renders frames into an AVAssetWriter and builds the audio from the probe's plan
-
- Rule: What works on iOS, and what doesn't
- The iOS build is `--no-default-features`.
-
- Scenario: The iOS build, area by area
- Then the iOS build behaves like this:
- | area | iOS build (`--no-default-features`) |
- | layout, paint, GSAP, scripts | the same code as macOS; Boa is an interpreter, so no JIT is needed |
- | raster | vello_cpu always; Skia with `--features skia` (prebuilt Skia binaries exist for `aarch64-apple-ios` and `-ios-sim`). With `skia`, vello also draws text from Skia's CoreText glyph masks (Chrome's text raster); without it, text is outlines (small text is ~5-8% lighter than Chrome) |
- | local assets | `file:` (the project dir) and `data:` URLs |
- | remote assets (Google Fonts `<link>`, CDN images) | not fetched unless built with `network`; they load only from the cache (`$HOME/Library/Caches/raea`, which is the app container's Caches). The composition falls back to system fonts, so text can reflow. Prefer bundled or local fonts on iOS, or ship `network` |
- | `<video>` | the frame provider or `videoFrames`; no ffmpeg. Without either, videos render empty (with a warning in `raea_render_info`) |
- | audio | the host mixes the probe's plan |
- | encoding (mp4/mov/webm) | the host (AVAssetWriter); the library only produces frames |
- | system fonts | CoreText via fontique, the same backend as macOS (it enumerates CoreText descriptors and scans `*/Library/Fonts`). iOS has the common web families the Mac has (Arial, Helvetica, Times, Georgia, Verdana, Courier, Menlo, Futura, Avenir…), but not Apple Chancery (fontique's `cursive` default), nor anything a Mac user installed into `/Library/Fonts`; the system UI font is SFUI rather than SFNS, so `system-ui` may resolve to a different face. Compositions that rely on a Mac-only or user-installed font render with a fallback on the phone |
- | `fetch()` from scripts, WebGL, canvas | not supported (the same as macOS) |
-
- Rule: Numbers were measured on 2026-10-08 on an M4 Mac mini through the C API
- The machine was an M4 Mac mini (10 cores, arm64), measured through the C API (`tools/capi/raea_bench`) with a
- release build. It was shared with other heavy jobs (load average 60 to 470), so fps is noisy; CPU ms per frame
- and memory are not affected by that.
-
- Scenario: Size, linked into a test executable for iOS arm64 with -dead_strip (what an app pays)
- Then the sizes are:
- | build | `__TEXT` | `__DATA_CONST` | stripped executable | gzip -9 |
- | iOS minimal (vello only, no network, no ffmpeg) | 25.1 MB | 2.2 MB | 28.8 MB | 10.7 MB |
- | iOS + `skia` + `network` | 28.1 MB | 2.3 MB | 32.1 MB | 12.3 MB |
- | macOS arm64, all defaults (reference) | 28.4 MB | 2.3 MB | 32.7 MB | 12.6 MB |
- And `skia` and `network` together add about 3.2 MB (Skia ~1.5 MB after dead-stripping; ureq, rustls, ring and the webpki roots ~1.5 MB)
- And the main crate's bundled OFL webfonts (`fonts/`, ~745 KB of woff2 embedded by build.rs) add ~0.75 MB of incompressible data on top
- And the static library per slice is ~81 MB, because it holds every dependency's code before dead-stripping
-
- Scenario: Where the minimal build's code goes (link map, by crate)
- Then the code splits like this:
- | crates | size |
- | Boa (engine, parser, AST, regress, temporal) | ~5 MB |
- | Stylo (style, selectors, cssparser) | ~3.5 MB |
- | the font stack (skrifa, read-fonts, harfrust, parley) | ~1.5 MB |
- | the remainder: generics (core/alloc/hashbrown), taffy, usvg, image codecs, blitz, vello, html5ever, ICU data | the rest |
-
- Scenario: Estimated app-size impact
- The App Store encrypts executable code, which keeps it from compressing, so budget close to the installed size
- for the download too. The 11 MB gzip figure is the lower bound.
-
- Given the minimal build plus the bundled fonts
- Then the installed app grows by about 30 MB
-
- Scenario: Speed and memory at 1080x1920
- Peak memory is `phys_footprint` (the figure iOS's jetsam enforces), per process, including the library's frame
- buffers. "take" is the 1080x1920 talking-head composition (a `<video>`, 18 word-timed captions, a badge, Google
- Fonts Inter), 300 frames. "+provider" decodes the video frames in the frame-provider callback (ImageIO JPEG
- decode, ~15 ms per frame on the worker thread, standing in for AVAssetReader). "+videoFrames" decodes JPEG frames
- inside the library. product-promo is the 1920x1080 the HTML composition format example (the same pixel count, no video, 600
- frames).
-
- Then the measurements are:
- | composition | workers | fps | CPU ms / frame | peak memory | load (begin) | first frame |
- | take +provider | 1 | 44 | 19 | 104 MB | 120 ms | 163 ms |
- | take +provider | 2 | 80 | 21 | 153 MB | 104 ms | 173 ms |
- | take +provider | 4 | 105 | 31 | 343 MB | 125 ms | 213 ms |
- | take +videoFrames | 1 | 50 | 20 | 104 MB | 99 ms | 100 ms |
- | take +videoFrames | 2 | 101 | 20 | 173 MB | 102 ms | 103 ms |
- | take +videoFrames | 4 | 88 | 31 | 321 MB | 124 ms | 149 ms |
- | product-promo | 1 | 31 | 32 | 69 MB | 286 ms | 229 ms |
- | product-promo | 2 | 44 | 44 | 134 MB | 222 ms | 423 ms |
- | product-promo | 4 | 67 | 52 | 196 MB | 505 ms | 477 ms |
-
- Scenario: Memory per worker decides the worker count on a phone
- Memory per worker is roughly +50 to +80 MB per extra worker at 1080x1920 (60 to 100 MB for the first). `begin`
- loads the composition once more on its own to probe it; that copy is dropped before the workers start, so it
- adds load time, not peak memory.
-
- Given a render worker
- Then it holds its own:
- | what | notes |
- | document | DOM, Stylo style data, Taffy layout, the GSAP animation scene |
- | Boa runtime | with the GSAP shim and the composition's scripts |
- | font collection | Blitz builds a non-shared fontique collection per document, so each worker indexes the system fonts and decodes the web fonts itself |
- | decoded images | including the current video frame (width x height x 4 = 8 MB at 1080x1920) |
- | vello_cpu render state | |
- | frame buffers | up to three of 8 MB (one rendering, one queued for the host, one recycled) |
-
- Scenario: Reading the numbers for iPhone
- At 1080x1920, 2 workers peak around 150 to 175 MB, far below the jetsam limit of any recent iPhone (multiple GB on
- 6 to 12 GB devices), and even 4 workers stay under 350 MB. CPU time is ~20 ms per frame per worker on an M4
- P-core; an A17 or A18 Pro P-core is in the same class, and the E-cores are 3 to 4 times slower. That is an
- extrapolation; it has not been run on a device.
-
- Given an iPhone with an A17 or A18 Pro
- When 2 workers render this kind of composition on the two P-cores
- Then it should render at or faster than real time (30 fps), with thermals as the limit on long renders
-
- Rule: Blockers found, and what was done
-
- Scenario: 1. num_threads does not compile for iOS (the only build blocker)
- boa_engine pulls in `time` with local-offset support, which uses `num_threads`; its Apple code calls
- `libc::mach_task_self()`, and libc 0.2.190 now binds that on macOS only. Upstream fix candidates: libc
- re-enabling it for iOS, or num_threads switching to `mach2`.
-
- Then num_threads 0.1.7 is vendored (`vendor/num_threads`, `[patch.crates-io]`) with the symbol `mach_task_self_` (present on every Apple OS) declared directly
- And the behaviour on macOS is the same
-
- Scenario: 2. Toolchain
- Homebrew's `rustc` (first on PATH on this Mac) has no iOS standard library.
-
- Then builds must use rustup's toolchain (`~/.cargo/bin` first on PATH), which the script does
-
- Scenario: 3. Boa is no issue
- Boa is a tree-walking and bytecode interpreter with no JIT.
-
- Then it runs under iOS's no-JIT rule unchanged
-
- Scenario: 4. fontique system fonts are no issue
- fontique's CoreText backend is selected by `target_vendor = "apple"`.
-
- Then iOS uses the same code as macOS (see the system fonts row above)
-
- Scenario: 5. ICU (text-transform-icu) is no issue
- Then icu4x runs with compiled-in data, in pure Rust
-
- Scenario: 6. ureq, rustls and ring cross-compile cleanly for iOS
- ring's assembly has iOS variants. Shipping a TLS stack for Google Fonts is a product choice (it adds about
- 1.5 MB).
-
- Then they are still behind the default-on `network` feature
- And with `network` off, http(s) loads only from the cache
-
- Scenario: 7. Skia is not a blocker
- rust-skia publishes prebuilt binaries for `aarch64-apple-ios` and `aarch64-apple-ios-sim` with this crate's
- feature set (ganesh, metal, pdf, jpeg), and they link.
-
- Then Skia is behind the default-on `skia` feature, so the iOS build can ship vello-only
- And Skia adds about 1.5 MB after dead-stripping, and pulls in UIKit, Metal, ImageIO and MobileCoreServices
-
- Scenario: 8. Blank frames when a stylesheet fails to load (a runtime blocker, pre-existing, not iOS-specific)
- This was found by running in the Simulator, where the take's Google Fonts `<link>` cannot load.
-
- Then it is fixed in net.rs (see the src/net.rs entry in the merge checklist)
-
- Scenario: 9. ffmpeg
- ffmpeg is used by `media.rs` for frame extraction, and by `main.rs` for encoding and the audio mix.
-
- Then it is behind the default-on `ffmpeg` feature, which is off on iOS
- And on iOS, `<video>` frames come from the host (the frame provider or `videoFrames`)
- And encoding and the audio mix are the host's (AVAssetWriter and AVAudioMix)
- And main.rs's encoder is CLI-only code and is not part of the library
-
- Rule: The cfg and feature changes (merge checklist)
- Every change is additive or a small gate; no existing code was reformatted. Search for `feature = "` in src/ to see
- all gates. No `cfg(target_os = "ios")` gates were needed for the build; the only one is in `api::default_workers`
- (it caps the default worker count at 2 on iOS).
-
- Scenario: Cargo.toml
- The xcframework script does not rely on the `staticlib` entry: it runs `cargo rustc --crate-type staticlib`,
- because when rustc emits the staticlib together with the rlib, the archive also carries every dependency's
- embedded LLVM bitcode (336 MB instead of 81 MB for the same linked code; Xcode 26's `bitcode_strip` cannot clean
- archives). With `staticlib` listed, every CLI `cargo build` or `cargo install` also writes that ~370 MB archive
- to target/release, so `crate-type = ["rlib"]` is the leaner choice for the main crate.
-
- Then `[lib] name = "raea", path = "src/lib.rs", crate-type = ["staticlib", "rlib"]` is added
- And `[features] default = ["network", "skia", "ffmpeg"]` is added, with these features:
- | feature | change |
- | `network = ["dep:ureq"]` | ureq, rustls, ring, webpki-roots; `ureq` became `optional = true` |
- | `skia = ["dep:anyrender_skia"]` | `anyrender_skia` became `optional = true` |
- | `ffmpeg = []` | |
- And `[patch.crates-io] num_threads = { path = "vendor/num_threads" }` is added (see blocker 1)
-
- Scenario: src/lib.rs (new)
- Then it has `pub mod` for every module, plus `api` and `ffi`
- And in the main crate it also needs `pub mod fonts;` (the bundled-font module that landed after this copy was made)
-
- Scenario: src/main.rs
- api.rs carries copies of main.rs's `parse_fps`, `resolve_input`, `frame_count`, `default_fps`, `probe`,
- `probe_json` and the lint body, so main.rs stayed untouched while other work lands in it. A follow-up can make
- main.rs call api.rs and delete its copies.
-
- Then the `mod ...;` lines became `use raea::{media, runtime, scene};`
- And nothing else changed
-
- Scenario: src/net.rs
- The bug fix affects the CLI too. Blitz blocks all rendering until every render-blocking request (a
- `<link rel=stylesheet>`) responds, so one unanswered failure rendered the whole frame blank: the CLI with
- `--no-network` and a cold cache (or offline) rendered a white frame for any composition with a Google Fonts
- `<link>` (reproduced with the installed CLI), and every such composition was blank on iOS without `network`.
-
- Then the ureq request moved into `fn http_get`, with a `#[cfg(not(feature = "network"))]` stub that errors ("not cached, and this build has no network support")
- And `USER_AGENT` is `#[cfg(feature = "network")]`
- And file:, data: and the on-disk cache are unchanged
- And `NetProvider::fetch` now answers a failed load with empty bytes instead of dropping the handler
- And the stylesheet is treated as empty, so the frame renders with fallback fonts
- And output is unchanged whenever loads succeed
-
- Scenario: src/media.rs
- Then `use std::process::Command` is `#[cfg(feature = "ffmpeg")]`
- And `VideoFrames::extract` and `ffmpeg_path` are `#[cfg(feature = "ffmpeg")]`, each with a `#[cfg(not(feature = "ffmpeg"))]` stub
- And without ffmpeg, extract errors and ffmpeg_path returns None, so the CLI's existing "ffmpeg not found" paths report it
- And these are new:
- | item | what |
- | `FrameProvider` | host frames |
- | `VideoEntry::provider` | None for directory or ffmpeg frames |
- | `VideoFrames::frame_index` | the clip-local index math, moved out of `frame_path`, which now calls it |
- | `VideoFrames::frame_rgba` | provider or file decode |
- | `VideoFrames::from_provider` | |
-
- Scenario: src/scene.rs
- Then `use anyrender_skia::SkiaImageRenderer`, `Raster::Skia` and its two match arms are `#[cfg(feature = "skia")]`
- And without the feature, `Composition::load` rejects `Backend::Skia` with an error
- And the `Backend` enum and the CLI's `--backend skia` parsing are unchanged
- And `apply_video_frames` keys its "already shown" cache by clip-local frame index (`video_shown: HashMap<String, Option<usize>>`)
- And it gets pixels from `VideoFrames::frame_rgba` instead of decoding `frame_path` directly, with the same frames and the same output
-
- Scenario: New files
- Then the spike added these files:
- | file | notes |
- | `src/api.rs` | |
- | `src/ffi.rs` | |
- | `include/raea.h` | |
- | `scripts/build-xcframework.sh` | |
- | `tools/capi/raea_bench.c` | |
- | `tools/capi/build.sh` | |
- | `vendor/num_threads/` | vendored 0.1.7 with a 4-line fix |
- | `docs/ios.feature` | this document |
diff --git a/engine/docs/js.feature b/engine/docs/js.feature
deleted file mode 100644
index 40f712c9..00000000
--- a/engine/docs/js.feature
+++ /dev/null
@@ -1,46 +0,0 @@
-Feature: one JavaScript engine for raea: V8 (Deno's rusty_v8), jitless everywhere
- Decided with the user on 2026-10-15, after the setup had become confusing (two engines, two binding crates, JIT on
- some targets, jitless on others). This file is the one place that says what runs where. `raea version` prints it.
-
- Background: what was measured (M4, 2026-10-15, whole snapshot incl. layout and paint, best of 3)
- # page Boa V8 jitless V8 with JIT
- # React board, 1000 cards (mount) 1.01 s 0.29 s 0.27 s
- # 2000 cards re-rendered 41 times (reconciler) 44.9 s 3.52 s 1.62 s
- # Size, the Mac `raea` binary stripped: Boa 52.1 MB, V8 79.8 MB (+27.7 MB; +10.3 MB gzip-compressed, the
- # download-size proxy). The iOS device V8 library has its optimizing tiers compiled out (64 MB static vs the Mac's
- # 158 MB), so the iPhone's increase is smaller than the Mac's.
- # Measured on the iPhone 2026-10-15: ugc-core for aarch64-apple-ios, linked into a dead-stripped device executable
- # that keeps every C entry point, then stripped: today's app (network, skia, intl, engine: Boa + its ICU) 144.2 MB,
- # 51.9 MB gzip-compressed; with V8 instead (network, skia, engine, v8; V8 carries its own ICU) 149.5 MB, 54.5 MB.
- # V8 costs the app +5.3 MB linked, +2.6 MB compressed (the download-size proxy): under the ~10 MB line, so it ships.
- # Re-measured 2026-10-15 night on what ships (host agent/dist/HostCore.xcframework, ios-arm64, the V8 build): linked
- # into a dead-stripped arm64 device executable keeping its 33 C entry points (15,874 v8::internal symbols, no
- # boa_engine/boa_gc), `strip -x`: 134.5 MB, 50.2 MB at gzip -9 (below the Boa app's 51.9 MB recorded above; the
- # feature sets differ, so +2.6 MB stays the like-for-like cost of V8).
-
- Scenario: the engine and its mode
- Given any raea build that runs JavaScript (HTML and React compositions)
- Then the engine is V8, from the `v8` crate (Deno's rusty_v8), through vendor/blitz-v8-script
- And it runs jitless by default on every target: the iPhone, the Mac, Linux, sandboxes
- And the JIT is on only with RAEA_JIT=1, for local benchmarks; nothing shipped or run by an agent sets it
- And an iPhone device can never JIT (Apple allows it only to WebKit; that V8 library has no JIT tiers at all)
- And `raea version` prints "js: v8 (jitless)" (or the JIT line when RAEA_JIT=1), so no one has to guess
-
- Scenario: why jitless everywhere
- Then the same engine in the same mode behaves the same on every target
- And sandboxes that forbid executable memory (W^X, seccomp, gVisor) run it
- And jitless V8 is 3.5x to 12.7x faster than Boa on our React pages; the JIT adds about 2x more, on heavy re-renders only
-
- Scenario: Boa is gone
- # Done 2026-10-15, after the iPhone measurement above: vendor/blitz-vibey-script (the Boa bindings) and boa_engine
- # are deleted; the `v8` and `intl` features are gone (V8 is not optional, and V8 has Intl); the shared browser
- # scripts (bootstrap.js, geometry.js, web.js) live in vendor/blitz-v8-script/src/js/. ugc-core's defaults are
- # network, skia, engine, so the app ships jitless V8. The [patch] lines for the Boa crate are gone from rdb, rrl,
- # ios-probe and host/agent.
- Then there is one binding crate, vendor/blitz-v8-script, and no Boa in any build
- And the parity corpus on the V8-only engine is what it was on Boa: 107 exact, 61 ok, 2 fail (react/shadcn's
- font gap), the gate passing against bench/parity-baseline.json (2026-10-15, c8b667a)
-
- Scenario: rdb runs no JavaScript
- Then rdb builds the engine without a JS engine (features = ["network"]): its captions and titles are rows laid
- out by Blitz, not scripts, and none of this applies to it
diff --git a/engine/docs/kss.feature b/engine/docs/kss.feature
deleted file mode 100644
index c597cb6b..00000000
--- a/engine/docs/kss.feature
+++ /dev/null
@@ -1,39 +0,0 @@
-Feature: CSS selects, SQL transforms, K computes, Bevy ECS runs it (the probe that was spikes/kss)
- Status 2026-10-15: the spikes/kss probe is deleted (it no longer built once vendor/blitz-vibey-script went, and rrl
- replaced the .k.sql direction); the numbers below are its record (docs/consolidation.feature D3).
- The founder, 2026-10-13: Odin and React are dropped as authoring layers. The surface is relational: CSS declares and
- selects, SQL states the transforms, K is the column engine underneath, and Bevy's World is the runtime. Bevy draws
- 3D; raea's systems (Blitz, Stylo) draw 2D with real CSS. Both are views of the same entities.
-
- Rule: the layers
- Scenario: Who does what
- Then CSS selects: `kind#id { ... }` and `@repeat N kind.class { ... }` spawn rows; `.ring:not(.still)[glow]` picks
- a set (kind, #id, .class, :not(.class), [has-column])
- And SQL transforms: `UPDATE <selectors> SET a = e, ... [WHERE e];` runs in file order, never cascades; SET is a
- pipeline (a new name is a local array); WHERE masks the writes; `(SELECT e FROM sel)` reads another set (a join)
- And K computes: every expression is a whole-column kernel; MAX/MIN/SUM(e) reduce the set (K's |/ &/ +/),
- `OVER (ORDER BY i)` scans it (K's \\), LEAST/GREATEST are & and |, AND/OR are & and | on 0/1 columns
- And the same sheet can say it all in .k.css (`.ring { pos.x: 2.4 * cos(a); }`); both compile to one IR and render
- byte-identical frames
- And Bevy's World is the runtime: the sheet's rows are entities, its statements systems in one fixed order, time a
- frame counter resource (never Bevy's clock)
-
- Rule: what the probe showed (2026-10-13, M4)
- Scenario: Results
- Then hook.k.css and hook.k.sql (a turning cube, a 14-sphere ring as one set with a reduction, two eased titles)
- render 150 frames at 1080x1920 in about 5 s with Blitz 2D (3 s with bevy_ui text); all 150 decoded frames match
- And frames are identical in any seek order once pipelined rendering is off and each GPU readback carries the frame
- number in a 1-px tag row (cropped); without the tag, readbacks arrive late and a frame can repeat the one before
- And raea's World runs inside Bevy's: raea::world::install() spawns the 2D rows into the app's World, the sheet's
- components move onto those same entities, raea::world::systems() run in Update, and the transparent Blitz
- frame is a full-screen UI image over the 3D camera
- And bevy_ui text (Bevy's default font, no CSS) is far below Blitz's typography; 2D stays on Blitz
- And bevy-react (a React reconciler emitting ops onto bevy_ui) isn't needed: with no React authoring, the sheet
- emits the ops itself, and bevy_ui would lose the CSS fidelity Blitz gives
-
- Rule: what is open
- Scenario: Next
- Then compile selectors to typed bevy queries and kernels to typed columns (the probe interprets a per-entity map)
- And the A/B with MiniMax M3: the same edits written as .k.sql and .k.css, scored on the same evals
- And iPhone: Bevy 0.19 on Metal for iOS, binary size (the probe is 115 MB unstripped on the Mac with raea inside)
- And Bevy 0.20 when the shared toolchain reaches Rust 1.97 (raea pins bevy_ecs 0.19.1 to match)
diff --git a/engine/docs/node.feature b/engine/docs/node.feature
deleted file mode 100644
index 3be71865..00000000
--- a/engine/docs/node.feature
+++ /dev/null
@@ -1,37 +0,0 @@
-Feature: html nodes for embedding engines
- An html node is one HTML page rendered as a layer by another engine: moonsplice's `html` node kind
- raea_node_info / raea_node_close in include/raea.h, over src/node.rs. Engines link
- libraea.dylib (scripts/build-dylib.sh), built in raea's own target directory; they pin a
- raea commit and never edit raea in place.
-
- Background:
- Given scripts/build-dylib.sh writes target/dylib/libraea.dylib and raea.h
- And tools/capi/build-node-smoke.sh builds the C smoke test against it
-
- Scenario: The node's promises
- Then every resource (CSS, fonts, images, scripts) loads in raea_node_open, and the network is sealed after it
- And a fetch attempted later fails and is listed in raea_node_info's lateFetches, never loaded late
- And raea_node_render(t) is the same bytes for any order of t
- And frames are premultiplied RGBA8, width*scale x height*scale, transparent where the page paints nothing
- And a node is used by the thread that opened it; nodes on different threads are independent
- And `cargo test --release --lib node` and target/raea_node_smoke check each of these
-
- Scenario: Options
- Then opts_json takes width, height, scale, profile ("web" by default, or "html"), bake (run classic
- scripts once at open; false strips them), fonts ([{family, path}], declared before layout) and network
- (http(s) at open, off by default)
- And an unknown key is an error that names the known ones
-
- Scenario: Profiles
- Then profile "html" applies the composition format's deterministic fonts (Inter in front of system stacks), as its
- Chrome renders do, and is the default for compositions (`raea --profile`, RenderOptions.profile)
- And profile "web" reads the page as a browser would: font stacks resolve as written; it is the node default
-
- Scenario: Seek determinism (gate R2)
- Given bench/seek-determinism.py renders every parity case's frames sorted, shuffled, reversed and one process
- per frame, and compares decoded RGBA md5s
- Then all 59 cases are identical in every order (2026-10-13)
- And two causes were fixed to get there:
- | case | cause |
- | canvas2d/drawing | canvas text used fallback faces only on the first frame rendered; now only at t = 0 |
- | effects/tracks | an off-grid exact-time decode shifted the video decoder's frame grid for the next frame |
diff --git a/engine/docs/react-engine.feature b/engine/docs/react-engine.feature
deleted file mode 100644
index a3abf7b1..00000000
--- a/engine/docs/react-engine.feature
+++ /dev/null
@@ -1,102 +0,0 @@
-Feature: The React engine: edits as rows, components in React, time and data in Rust
- An authoring model for raea designed from what the host app's evals and the timeline plan
- (docs/timeline-plan.feature, arm D3) showed, not a copy of another library. Working name: the React engine
- (sdk/ and src/timeline.rs); the product name is open.
-
- What we saw, and the design each finding forces:
- | finding | design |
- | the Agent fails at iterating (17-iterate-cut 1/3) when it rewrites markup | the edit is rows of component instances; code is only the library |
- | MiniMax M3 mangles nested tool args and over-claims ("added") | flat typed moves on rows; done = checks and expectations hold |
- | animation in code (GSAP, another library's interpolate) means editing code | time lives on props as curves (keys, easing) and bindings |
- | perception (faces, words, product, depth) lives in side files | props bind to perception columns, resolved per frame from data |
- | checks are hand-written per defect | components declare roles; the engine reports facts per frame |
- | per-frame JS is the cost (Boa is ~50x slower than V8 on big trees) | Rust evaluates every animated prop column-wise; React gets one |
- | | snapshot per frame and does structure and layout only |
-
- How it differs from another library:
- | another library | the React engine |
- | the edit is code (a component tree in TSX) | the edit is rows (edit.json); TSX is the component library |
- | time inside components: useCurrentFrame, | components never see the frame; props arrive already resolved |
- | interpolate, spring | (curves, springs and bindings are data, evaluated in Rust) |
- | renders in Chrome | renders in raea (Blitz + Vello), deterministic, on the iPhone |
- | no data model for perception or checks | perception columns in, facts and expectations out |
- | a licence for companies | raea's own (Apache-2.0) |
-
- Rule: the edit is rows
- Scenario: edit.json
- Then an edit is {fps, width, height, duration, components, instances, expects}
- And fps is a rational "30" or "30000/1001", time is integer frames, seconds only at the edges
- And an instance is a flat row: {id, kind, parent, order, from, to, props}, where from/to are frames and props
- map a name to a value
- And a prop value is one of: a constant; a curve {keys: [[frame, value], ...], ease}; a spring
- {from, to, at, stiffness, damping}; a binding {bind: "face.box" | "words" | ...}
- And instances form a tree through parent and order; a child's frames are relative to its parent's from
-
- Rule: components are pure
- Scenario: The component contract
- Then a component is a React function of its resolved props, plus `frame` and `progress` props the engine adds
- (frame relative to the instance's from; progress 0..1 over its span) for the rare component that needs them
- And components register a schema: prop names, types, defaults and a role (caption, title, media, product,
- logo, cta, decor) that lint checks and the Agent reads
- And lint rejects state and effects that cross frames (useState, useEffect, Date, Math.random, timers);
- randomness comes from a seeded `rand(frame, id)` the engine supplies
-
- Rule: Rust owns time and data
- Scenario: Per-frame evaluation (src/timeline.rs)
- Then the instances visible at frame f and their resolved props are computed in Rust: curves column-wise per
- prop kind, springs in closed form, bindings by as-of lookup into perception columns
- And the result is one compact snapshot per frame, handed to the page through a native call; React renders it
- with flushSync
- And the same evaluator exists in JS (sdk/eval) for browser previews and Chrome parity, and tests keep the two
- identical frame for frame
- And a frame is a pure function of the rows and f, so seek order never matters (bench/seek-determinism.py)
-
- Rule: the Agent works on rows
- Scenario: Moves
- Then moves are flat: set_prop(id, prop, value), set_key(id, prop, frame, value), remove_key(id, prop, frame),
- span(id, from, to), add(id, kind, parent, from, to), remove(id), reorder(id, order)
- And `raea rows edit.json --brief` prints the edit as compact rows; `raea move edit.json moves.json`
- applies moves, refusing a bad one with the reason
- Scenario: Facts and expectations
- Then each frame reports, per instance, its role, box, opacity and visible text (the render table in
- docs/timeline-plan.feature)
- And expects are rows such as {role: "caption", "inside": "safe_zone", during: [from, to]} checked every frame
-
- Rule: data orientation, K and HDC, where they pay
- Scenario: Where each fits
- Then curves are stored per prop as frame and value columns and evaluated with whole-column operations
- (K-style), which is where most per-frame work goes
- And bindings join perception columns by frame (an as-of join), the same rule as the timeline tables
- And HDC fingerprints of an edit (instances bound to roles and spans, bundled) and of moves (after minus before)
- are derived later (timeline-plan Phase F), never stored as the truth
-
- Rule: engines and languages, decided by measurement
- Scenario: Where each runs (2026-10-13)
- Then the view is JSX, run by Preact (preact/compat for React libraries when a component needs one): it does less
- work per render than React, and Preact Signals let the per-frame snapshot update only the props that changed,
- without reconciling the tree. The authoring syntax stays React's, so MiniMax M3 writes what it knows
- And procedural behaviours (particles, data-driven layout such as captions that avoid a face, beat-synced cuts)
- are open between Lua and the proposed script (docs/row.feature, under consideration), both run in Rust and
- deterministic; the choice follows the Bevy requirement and the Phase D A/B. A behaviour reads columns and writes props; it never
- touches the view
- And the JS engine is V8 on the Mac (vendor/blitz-v8-script, identical to Boa on the parity corpus, 32x faster on
- React re-renders). On the iPhone, JIT is reserved for WebKit, so the choice is measured on the re-render bench:
- jitless V8 (the v8 crate's iOS build, from source, needs a crate upgrade from 135), JavaScriptCore (the system
- engine, a third port through the same facade), or Boa, which stays until one of them wins
- And React against Preact + signals is measured on the same bench on V8 and Boa before the sdk commits to one
-
- Rule: the slices
- Scenario: Build order, each slice tested before the next
- Then slice 1 is src/timeline.rs: edit.json parsing, curve, spring and constant evaluation, the per-frame
- snapshot, with unit tests (done 2026-10-13: 5 tests: spans nest and clip, curves ease and blend numbers,
- arrays and colours, springs overshoot and settle, bindings look back, frames are pure, bad edits are refused)
- And slice 2 is sdk/: the runtime that renders a snapshot (Preact with signals, after the React/Preact
- measurement), the base components (Box, Text, Image, Video, Captions) and the JS mirror of the evaluator,
- bundled with bun
- And slice 3 is the CLI: `raea render|snapshot|probe edit.json` builds the page and drives frames
- And slice 4 is parity and determinism: the example edits against Chrome (through the JS mirror) and the
- seek-determinism gate
- And slice 5 is rows --brief and move
- And slice 6 is behaviours (the script or Lua, once chosen): a behaviour reads columns and writes props, with a
- small eval of MiniMax M3 writing them
- And slice 7 is perception bindings and facts (with the timeline plan's Phases B and C)
diff --git a/engine/docs/react.feature b/engine/docs/react.feature
deleted file mode 100644
index b304a264..00000000
--- a/engine/docs/react.feature
+++ /dev/null
@@ -1,58 +0,0 @@
-Feature: React compositions
- raea renders pages that run real react-dom, with no browser: React runs in Boa (blitz-vibey-script)
- against the blitz-dom document, then Blitz styles, lays out and paints it. The gate is tests/parity/react
- against the composition format's Chrome 152, like every other parity group. Sources and builders live in react/.
-
- Background:
- Given the React fixtures are built with `cd react/fixture && bun install && python3 build-cases.py`
- And react/eco has `bun install` and `./node_modules/.bin/tailwindcss -i src/tw.css -o dist/tw.css` run
- And the Chrome references come from `zsh bench/parity-refs.sh react/`
-
- Scenario: What the parity group covers (bench/parity.py react/, 2026-10-13)
- Then these cases pass at SSIM >= 0.995:
- | case | what it exercises | SSIM |
- | board | React 18 createRoot + flushSync, keyed lists, flexbox | 0.9975 |
- | hooks | useLayoutEffect measuring a ref, useEffect state, useReducer, context, memo | 1.0000 |
- | timeline | React re-rendering every frame from a GSAP timeline's onUpdate | 0.9999 |
- | svg | SVG from JSX: camelCase props, transforms, text, style objects | 0.9996 |
- | emotion | React 19 + Emotion in production (CSSOM insertRule, keyframes) | 0.9995 |
- | recharts | React 19 + Recharts 3 (line, bar, axes, legend) | 0.9959 |
- And shadcn (React 19, Tailwind v4, Radix Tabs/Progress/Avatar, a Dialog open in a portal) is at 0.9868
-
- Scenario: The web platform layer
- Given vendor/blitz-vibey-script/src/web.js is evaluated after geometry.js in every document
- Then react/probe/index.html passes 154 of 157 browser API checks (111 before)
- And the layer supplies: Mouse/Pointer/Keyboard/Focus/Input/Wheel event constructors, instanceof for
- HTMLInputElement/SVGElement and friends (answered from tag and namespace, since all elements share one
- prototype), insertAdjacentElement/Text, getRootNode, compareDocumentPosition, toggleAttribute, *AttributeNS,
- attributes, tabIndex, inert, checkVisibility, offsetParent, click(), pointer capture no-ops, HTMLCollection.item,
- getScreenCTM/getCTM/createSVGPoint, document.createRange, constructable stylesheets + adoptedStyleSheets,
- cookie, visibilityState, hasFocus, localStorage/sessionStorage (in memory), crypto (seeded, so renders are
- repeatable), URL.searchParams, navigator.language(s), visualViewport, reportError, DOMParser,
- Intl.RelativeTimeFormat (English)
- And Boa's Intl.DateTimeFormat bug (year "numeric" printed as two digits with month/day) is corrected
- And Element.getAttributeNames is native (src/dom/element.rs)
- And SVG <text> getBBox measures the text in an off-screen span (src/gsap_shim.js textBBox), because Blitz
- paints an inline SVG as one image and its <text> has no layout box
-
- Scenario: Focus rings, as Radix dialogs show them
- Given a script calls focus() on an element and no pointer input happened
- Then :focus-visible matches it (vendor/blitz-dom/src/stylo.rs), as in Chrome
- And the UA sheet gives it `outline: auto 1px rgb(0, 95, 204)` (Chrome's html.css)
- And blitz-paint draws outline-style auto as Blink does (outline_painter.cc PaintFocusRing): two 2px stroked
- rounded rects, white 1px further out then the outline colour, offset = outline-offset - 1px when every border
- edge is >= 1px, corner radius = the author's border radius but at least 3px
-
- Scenario: What is left
- Then these are open:
- | gap | why |
- | shadcn heading/tab text a little wide | the composition format's Inter faces for Tailwind's font-sans stack (font parity) |
- | attachShadow | no shadow DOM in blitz-dom |
- | Element.animate / Web Animations | absent on purpose: Motion and others fall back to JS animation |
- | performance.now() is frozen (0) | the deterministic clock; libraries timing themselves see no time pass |
- | Boa is slow for big React trees | use the `v8` feature (docs/v8.feature): 32x faster on a re-render bench |
-
- Scenario: Speed (M4, warm, one process per snapshot)
- Then a 300-card board snapshots in 0.30 s (0.13 s as static HTML) and a 1000-card board in 1.05 s (0.22 s)
- And the timeline case renders 60 frames, React re-rendering each one, at 43 fps on one worker
- And React's renderToString in Boa is slower than its client render, so the DOM bindings are not the bottleneck
diff --git a/engine/docs/render-speed.feature b/engine/docs/render-speed.feature
deleted file mode 100644
index 500483b1..00000000
--- a/engine/docs/render-speed.feature
+++ /dev/null
@@ -1,60 +0,0 @@
-@owner:editing @ticket:T-139
-Feature: Render-speed budget
- How long raea may take to render a realistic edit before release 1.0 counts it as too slow
- (release/features.yaml render-speed). The yardstick is one bench edit, the kind of cut the in-app Agent makes most:
- a 30 s 1080x1920 talking head with word captions and one motion overlay. Each device class gets its own budget.
-
- The bench edit is framework/bench/render-speed/talking-head-30s.w.html. It plays the take seven eval scenarios use
- (takes/take-20261008-111906: the phone's HEVC 1920x1080, rotated, 32.2 s) from 1 s in, with its audio and the eval
- music bed (agent/evals/fixtures/camera-roll/music-bed.m4a) under it. The captions come from the take's words.json in
- the cut tool's style: up to six words a group, three text-shadows per word, an accent pill on the spoken word. A
- title opens it, and a GSAP lower-third card slides in from 11.5 s to 18 s as the motion overlay.
-
- The automated check is framework/bench/render-speed.robot (`tix verify framework/bench/render-speed.robot`),
- tagged feature:render-speed.
-
- Rule: On the Mac, the bench edit renders in 320 s or less
- The Mac budget was set on the Apple M4 Mac mini (10 cores, 16 GB) that the agents share. It is the slowest
- render seen (the first verify, 207.3 s at load 171) times 1.5, rounded up to the next 10 s. The machine was busy with other agents' builds while
- measuring (load average 27 to 201), so the budget is loose on purpose: it catches a renderer that regresses badly
- or hangs, not a 20% slip. Tighten it once a quiet-machine number exists.
-
- Scenario: The bench edit renders within the Mac budget
- Given the bench edit "framework/bench/render-speed/talking-head-30s.w.html"
- And the renderer the Mac eval host runs, "~/.cargo/bin/raea", at its defaults
- When it renders the edit to MP4 under `nice -n 10`
- Then the output is 1080x1920 and 30 s long, within 0.2 s
- And the wall time is within the Mac budget:
- | machine | budget | timeout (fails) | video length | budget as real-time factor |
- | Apple M4, 10 cores, Mac | 320 s | 640 s | 30 s | 0.09x |
-
- Scenario: The measurements behind the Mac budget
- Given the bench edit and the Apple M4 Mac mini, shared with other agents' builds
- When it rendered three times on 2026-10-10 with `nice -n 10`
- Then the runs measured:
- | run | wall time | real-time factor | load average as it started | output |
- | 1 | 94.8 s | 0.32x | 27 | 48.5 MB, 30.00 s, 1080x1920 H.264 |
- | 2 | 175.8 s | 0.17x | 201 | 48.5 MB, 30.00 s, 1080x1920 H.264 |
- | 3 | 137.7 s | 0.22x | 137 | 48.5 MB, 30.00 s, 1080x1920 H.264 |
- And the first verify of the suite took 207.3 s at load 171, slower than all three
- And the budget is 207.3 s times 1.5, which is 311 s, rounded up to 320 s
- And the real-time factor is video seconds per wall second, so above 1 is faster than real time
- And a fourth run under `/usr/bin/time -l` (122.6 s wall, load 152) used CPU time that the load barely changes:
- | measure | value |
- | user CPU, renderer and its ffmpeg | 229.8 s |
- | system CPU | 36.4 s |
- | CPU seconds per video second | 8.9 |
- | peak resident memory, largest process | 1.3 GB |
-
- Rule: On an iPhone with the A15, the budget is still to be measured
- The A15 (iPhone 13 Pro Max) is the slowest iPhone the release aims at. framework/docs/gpu.feature records a
- different 20 s 1080x1920 edit rendering in 6.1 to 7.0 s on it (about 3x real time, 2 workers on the 2 P-cores),
- but nobody has rendered this bench edit on the phone yet, so there is no budget to hold it to.
-
- @todo
- Scenario: The bench edit renders within the A15 budget
- Given the bench edit, rendered by the app on the phone
- When it renders on an iPhone 13 Pro Max
- Then the wall time is within the A15 budget:
- | device | chip | budget | measured |
- | iPhone 13 Pro Max | A15 | to be measured | not yet |
diff --git a/engine/docs/row.feature b/engine/docs/row.feature
deleted file mode 100644
index 3e677f6d..00000000
--- a/engine/docs/row.feature
+++ /dev/null
@@ -1,95 +0,0 @@
-Feature: .row: edits, systems and scenes written as plain Odin declarations, implemented in Rust
- The founder, 2026-10-13: "lets just do plain odin for now". A .row file is Odin syntax with raea's meaning: each
- declaration is an entity and its components (a row), Rust parses it (src/row.rs), evaluates time (src/timeline.rs)
- and renders it (src/row_render.rs: Blitz, Stylo, Taffy, Parley, Vello). The Odin compiler never sees it, and
- nothing in it runs except procedures, which run in Rust once slice 4 lands. React stays outside the syntax: a
- .tsx component is imported and used as a kind. The layer has to cover Bevy (3D, games) later, so it is ECS all
- the way through (see "ECS all the way through").
-
- Rule: the syntax
- Scenario: One declaration per element
- Then `name :: kind{...}` declares an element: the name is its id, the kind its component bundle (lowercase is a
- native kind drawn by Rust: box, stack, title, text, image, video, captions; capitalised is a component, an
- imported .tsx or later a .row component)
- And a leading string is the element's text, `in = parent` its parent, `span = 0..<90` (or `0..=89`) its frames,
- `from = 96` or `to = 90` a half-open span, `style = brand` or `style = {brand, big}` its styles
- And a `{ ... }` block right after an element declares its children (the same rows as `in = parent`)
- And `name.prop = value` sets one prop after the fact; declaration order is sibling order
- Scenario: Values
- Then values are Odin's: numbers, strings, enums (`.out`, `.center`), lists `{1080, 1920}`, structs `{a = 1}`
- And `{0 = 760, 14 = 620}` (Odin's designated indices) is a curve, frame = value; `ease(.out, {...})` eases it
- And `spring(from, to, at = 0, stiffness = 180, damping = 12)`, `bind("column")`, `asset("file.png")`
- And a call `dodge(self.box, face)` is kept as source until procedures run
- Scenario: Declarations that aren't elements
- Then `import EndCard "./EndCard.tsx"`, `edit :: Edit{fps = 30, size = {1080, 1920}, frames = 450}`,
- `words :: bind("words")`, `brand :: Style{font = "Montserrat", color = "#fff"}`, `dodge :: proc(...) {...}`,
- and `expect caps inside .safe_zone during 0..<450`
- Scenario: The example (examples/row/hook.row; hook-nested.row is the same rows with a block)
- Then it reads:
- """
- import EndCard "./EndCard.tsx"
-
- edit :: Edit{fps = 30, size = {1080, 1920}, frames = 150}
- words :: bind("words")
-
- bg :: box{w = 1080, h = 1920, bg = "linear-gradient(180deg, #1b1f3a, #3a1b2f)"}
-
- hook :: title{"Stop scrolling", in = bg, span = 0..<90}
- hook.y = ease(.out, {0 = 760, 14 = 620})
- hook.opacity = {0 = 0, 10 = 1}
-
- caps :: captions{in = bg, words = words}
- end :: EndCard{in = bg, from = 96, y = 760, title = "Shop the kit"}
- """
- Scenario: Rows are the truth
- Then `parse(print(rows)) == rows` and printing is stable; `raea row print` prints the canonical form (one
- declaration per element, curves and springs on the lines after it)
- And mistakes are refused with line:column and a reason (unknown names and styles, a parent declared later, a
- name declared twice, a span that isn't from..<to)
-
- Rule: ECS all the way through
- Scenario: What is what
- Then a declaration spawns an entity; its fields are components; `Style{}` is a reusable bundle; `name.prop = v`
- writes one component
- And systems run in one fixed schedule: time (curves, springs), bindings (perception columns), procedures
- (behaviours), layout, then the renderers
- And every renderer is a derived view that never holds truth: Blitz's DOM is patched from components each frame
- and computed boxes are written back as a component; a React component is pure (props in, pixels out, no state
- across frames); Bevy 3D kinds live in the same World
- And the World is bevy_ecs (standalone, no Bevy renderer needed), so 2D, React and 3D share one data model
-
- Rule: procedures are systems
- Scenario: Behaviours
- Then a procedure computes props from columns per frame: typed, data-oriented (arrays and structs of arrays),
- no heap the engine doesn't own, no I/O, no clock, seeded randomness only
- And an example:
- """
- follow_face :: proc(caps: []Caption, face: Box) { for &c in caps { c.y = min(c.y, face.y - c.h - 24) } }
- """
- And they run in a small register bytecode interpreter in Rust (deterministic, no JIT, runs on iOS); if they
- outgrow it, WebAssembly under Wasmtime (Pulley on iOS)
-
- Rule: why this shape
- Scenario: What it buys
- Then one line per fact makes one edit one line change, which the engine diffs into a typed move: the Agent's
- iteration problem (17-iterate-cut) without asking MiniMax M3 for nested JSON
- And every element is named, so moves target stable names (set_key(hook, y, 14, 600))
- And a grammar we own gives line-precise errors, types, a formatter and lint
- And determinism is a property of the language, so the seek gate holds by construction
- Scenario: The risk, measured
- Then models have seen less Odin than JSX, so the grammar (about a page) sits in the Agent's cached prompt
- prefix, and the timeline plan's Phase D A/B compares .row edits with JSON moves on the same evals
-
- Rule: slices
- Scenario: Build order
- Then slice 1 is the parser and printer, plain Odin only (done 2026-10-13)
- And slice 2 is the bevy_ecs World: parse into entities and typed components, the timeline and the Blitz sync as
- systems, frames byte-identical to the slice-1 renderer
- And slice 3 is design and output: Style bundles, stack layout, image and video kinds, mp4
- And slice 4 is procedures (the interpreter above), slice 5 type checking against component schemas, slice 6
- text edits to moves, slice 7 the the HTML composition format importer
- And the Bevy probe runs 3D kinds (mesh, camera, light) in the same World, on the Mac and the iPhone
-
- Rule: the other repos
- Scenario: What moves where
- engine, React/.row plus Bevy); the C ABI (include/raea.h) stays for embedders
diff --git a/engine/docs/v8.feature b/engine/docs/v8.feature
deleted file mode 100644
index 56aa6e45..00000000
--- a/engine/docs/v8.feature
+++ /dev/null
@@ -1,47 +0,0 @@
-Feature: Composition scripts on V8
- SUPERSEDED 2026-10-15 by docs/js.feature: V8 is now the only JS engine (jitless everywhere); Boa and the `v8`
- feature are gone. What follows is the port's record (2026-10-13), kept for its parity and speed numbers.
- The DOM bindings (blitz-vibey-script, on Boa) are ported to V8 (the `v8` crate, Deno's rusty_v8) as
- vendor/blitz-v8-script, behind the `v8` cargo feature. Boa stays the default, and the iOS engine (no JIT
- there, and V8 adds ~16 MB). Both crates expose the same `ScriptDocument`; src/scene.rs picks one by feature.
-
- Background:
- Given `cargo build --release --features v8` builds the V8 binary (default features build Boa)
-
- Scenario: How the port is shaped
- Then src/js.rs is a Boa-shaped API over V8: JsValue (primitives in Rust, objects as v8::Global),
- JsObject, JsString, Context, JsResult/JsError/JsNativeError, PropertyDescriptor, Attribute,
- ObjectInitializer, FunctionObjectBuilder, NativeFunction, JsArray, at Boa's module paths
- And the DOM natives (src/dom/*.rs, inner_text, timers, state, document) are blitz-vibey-script's,
- with only their imports rewritten, so the two crates stay diffable
- And the active V8 scope is a thread-local set by every entry point (ScriptRuntime::enter and the one
- native trampoline), which is how context-free Boa calls keep their signatures
- And native data (node ids, event flags, selections) is a per-isolate side table freed by weak-handle
- finalizers (300k getComputedStyle + MouseEvent calls: 2.3 s, 58 MB peak)
- And bootstrap.js, geometry.js and web.js are shared with blitz-vibey-script (include_str!)
- And src/v8_prelude.js supplies what boa_runtime did (console to the log crate, URL and URLSearchParams
- over the url crate, TextEncoder/TextDecoder, atob/btoa, structuredClone) and Date on the document clock
- And modules compile through V8 with a resolve callback over the same fetcher and import maps
- And unhandled promise rejections are recorded as "Uncaught (in promise)" after each microtask checkpoint
- And Intl uses Deno's full ICU 74 data (deno_core_icudata); the v8 crate's cut-down chromecast data hung
- in ICU resource loading on the first Intl.RelativeTimeFormat
-
- Scenario: Parity is the same as Boa (bench/parity.py, 2026-10-13)
- Then the full corpus on V8 is 107 exact, 61 ok, 2 fail, identical to Boa
- And the 2 fails are react/shadcn, the the HTML composition format font gap in docs/react.feature, on both engines
- And react/probe passes 154 of 157 API checks on both engines
-
- Scenario: Speed (M4, best of 3, whole snapshot including layout and paint)
- Then these hold:
- | page | Boa | V8 |
- | react board, 300 cards | 0.363 s | 0.196 s |
- | react board, 1000 cards | 1.138 s | 0.352 s |
- | react board, 4000 cards | 4.379 s | 0.837 s |
- | 2000 cards re-rendered 41 times (reconciler) | 66.3 s | 2.07 s |
- | react/timeline, 60 frames on 1 worker | 97 fps | 185 fps |
- | minimal page | ~0.09 s | ~0.06 s |
- And V8's own profile is spread over its GC and inline caches; no binding hotspot dominates
-
- Scenario: Builds
- Then the V8 binary is ~75 MB against ~59 MB for Boa
- And the v8 crate downloads its prebuilt static library on the first build (cached by cargo)
diff --git a/engine/fonts/fonts.feature b/engine/fonts/fonts.feature
index 9e0ba628..4ed7371e 100644
--- a/engine/fonts/fonts.feature
+++ b/engine/fonts/fonts.feature
@@ -1,8 +1,6 @@
-@owner:unicorn @ticket:T-048
Feature: Bundled fonts for deterministic font aliasing
- This folder holds the bundled fonts used for the HTML composition format-compatible deterministic font aliasing (see
- src/fonts.rs). They are the Fontsource latin subsets that the HTML composition format embeds
- (`packages/core/src/fonts/fontData.generated.ts`), extracted to woff2 files.
+ This folder holds the bundled fonts used for deterministic font aliasing (see
+ src/fonts.rs). They are Fontsource latin subsets, extracted to woff2 files.
Each family is licensed under the SIL Open Font License 1.1, and the license texts are in licenses/.
diff --git a/engine/framework.feature b/engine/framework.feature
deleted file mode 100644
index ebe08af6..00000000
--- a/engine/framework.feature
+++ /dev/null
@@ -1,254 +0,0 @@
-@owner:unicorn @ticket:T-048
-Feature: raea (`raea`) renders the HTML composition format compositions to video without a browser
- raea renders HTML + CSS + GSAP video compositions (the the HTML composition format format) to video without a browser.
- Blitz (`blitz-dom` + Stylo) does styling and layout, Vello (`vello_cpu`) or Skia paints, and GSAP timelines are
- evaluated natively by animato. Composition scripts still run, in Boa through Blitz's DOM bindings, but the `gsap`
- they see is a recorder: the timeline tree goes to Rust and every frame is a pure function of time.
-
- Install it with `cargo install --path ~/the host app/framework`, which puts `raea` in `~/.cargo/bin`.
- Agents normally reach it through `ugc render|probe|snapshot|lint`.
-
- Related docs: tracked small diffs are in docs/parity-gaps.feature, and the milestone plan is docs/parity-plan.feature.
-
- Rule: Each part of the engine lives in one place in the source tree
-
- Scenario: The source tree
- Given the folder the host app/framework:
- """
- the host app/framework/
- src/main.rs CLI: probe | render | snapshot | lint, parallel workers, encoding
- src/compile.rs compile step: sub-composition inlining, CSS + script scoping, GSAP removal, <video> -> frame images
- src/scene.rs one loaded composition: scripts, per-frame apply (CSS, SVG attributes, DOM props), paint
- src/gsap_shim.js the `gsap` compositions call: records the authored tree with GSAP's placement rules
- src/gsap.rs GSAP semantics in Rust: tracks, overwrite, from/to/startAt start values, repeat/yoyo, callbacks
- src/ease.rs GSAP ease strings -> animato easings
- src/value.rs CSS values made interpolable (animato `Interpolate`): units, colors, complex strings, calc() mixes
- src/runtime.rs the HTML composition format runtime timing: data-start expressions, clip windows, visibility
- src/media.rs <video>/<audio> plan, frame extraction (ffmpeg or caller-provided), audio mix
- src/net.rs file / data: / http(s) assets, http cached in ~/Library/Caches/raea
- src/fonts.rs the composition format's deterministic fonts: aliased families -> bundled OFL faces (fonts/), else Google Fonts
- vendor/ patched copies, each with a header naming its change: blitz-paint (text-shadow, mix-blend-mode,
- background-clip:text, box-shadow sigma, Blink paint-offset snapping
- and bleed avoidance), blitz-dom (clip-local CSS animation clock),
- anyrender_skia, anyrender_vello_cpu, vello_common/vello_cpu (speed, Skia-exact 8-bit rounding),
- parley_engine (Blink metrics), parley (LayoutUnit line boxes)
- bench/parity.sh parity gate vs the composition format's Chrome (tests/parity fixtures + registry examples), SSIM + within-2/255
- bench/milestones.py per-milestone gate report (docs/parity-plan.feature) from a parity run
- """
-
- Rule: The CLI has four commands: probe, render, snapshot and lint
- The options are `--fps N|N/D`, `--scale S`, `--width/--height`, `--start/--end`, `--workers N`,
- `--quality draft|standard|high`, `--crf N`, `--variables JSON|@file`, `--video-frames DIR`, `--no-network`,
- `--transparent`, `--backend auto|vello|skia` and `--quiet`.
-
- Scenario: The commands and what they print
- Given the CLI:
- """
- raea probe <dir|file.html> JSON: size, fps, duration, frames, videos, audio plan, warnings
- raea render <dir|file.html> -o out.mp4 mp4 | mov (ProRes 4444) | webm (VP9) | png-sequence | rgba
- raea snapshot <dir|file.html> --at 1,2.5 -o out.png|dir
- raea lint <dir|file.html> [--json] exit 1 on errors; lists unsupported features
- """
- Then logs go to stderr and JSON goes to stdout
-
- Scenario: `--backend auto` chooses the painter
- Given `--backend auto`, which is the default
- When the composition uses `backdrop-filter`
- Then Skia paints it
- And otherwise vello_cpu paints it
- And `probe` reports the choice as `backend`
-
- Rule: Callers that encode the video themselves (the Mac app) rely on a fixed contract
-
- Scenario: Raw frames on stdout
- When a caller runs `render --format rgba -o -`
- Then raw RGBA8 frames are written to stdout in order, `width*height*4` bytes each
- And `width`, `height`, `fps` and `frames` come from `probe`
-
- Scenario: The audio mix plan
- When a caller runs `probe`
- Then its `audio` array is the mix plan: `{src, start, end, mediaStart, volume, loop, playbackRate, fadeIn, fadeOut}`
-
- Scenario: Caller-provided video frames replace ffmpeg decoding
- Given `--video-frames DIR`
- Then frames are read from `DIR/<videoId>/frame_%06d.(jpg|png)`
- And frame 0 is the clip's first output frame, with one image per output frame
- And `videoId` is `probe`'s `videos[].id`
-
- Scenario: Without caller-provided frames, ffmpeg decodes and encodes
- Given no `--video-frames` option
- Then `<video>` sources are decoded once with ffmpeg into the cache
- And mp4, mov and webm encoding and the audio mix use ffmpeg from PATH (or `$RAEA_FFMPEG`)
-
- Rule: Coverage is verified against Chrome renders of the the HTML composition format examples
-
- Scenario: GSAP
- GSAP covers `timeline/to/from/fromTo/set/call/add/addLabel`, position parameters (`<`, `>`, `+=`, `-=`, labels,
- `%`), timeline `defaults`, stagger (`each`/`amount`/`from`, with grid treated as 1-D), `repeat`/`yoyo`/`repeatDelay`,
- keyframes, `startAt`, all core eases plus `back(n)`, `elastic(a,p)`, `steps(n)`, `rough`, `slow`, `expoScale`,
- directional rotation (`"270_cw"`, `_ccw`, `_short`), `clearProps` (including `"all"`), numeric `innerText` with
- `snap`, CustomEase cubic paths and function eases, `overwrite: "auto" | true`, function-based values, relative
- values, plain-object tweens with `onUpdate` (count-ups, typewriters), `onStart`/`onComplete`/`tl.call()`,
- `gsap.set/to` from callbacks (applied live), `gsap.utils`, `registerEffect`, SplitText chars/words, and
- `getVariables()`.
- Given a composition that uses GSAP
- Then those GSAP features render as in Chrome
-
- Scenario: GSAP plugins, reimplemented natively
- The plugins are reimplemented natively from their algorithms, and no GSAP code ships. DrawSVG is covered.
- MotionPath is covered with `path` (a <path> or path data), `align`, `alignOrigin`, `autoRotate`, `offsetX/Y` and
- `resolution`; not yet covered are point arrays and `start`/`end` slicing. MorphSVG is covered with
- `type: "linear"`, `shapeIndex`, `map` and `precision`; rotational and `smooth` morphs render as linear.
- `FontFace()` + `document.fonts.add()` are covered too.
- Given a composition that uses DrawSVG, MotionPath or MorphSVG
- Then it renders without any GSAP plugin code
-
- Scenario: CSS
- CSS covers everything Stylo + Blitz lay out (flex, grid, positioning, fonts including Google Fonts and the
- `@font-face` rule, emoji), 2D transforms, opacity, filters including blur, backdrop-filter (Skia), mix-blend-mode,
- background-clip:text, clip-path, gradients, box-shadow, text-shadow, mask-image, and object-fit/object-position.
- Padding and border-radius on inline `<span>`s are not painted; use `display: inline-block` for pills.
- Given a composition styled with CSS
- Then those CSS features render as in Chrome
-
- Scenario: CSS 3D
- CSS 3D covers 3D transform functions, `perspective`/`perspective-origin`, `transform-style: preserve-3d` (planes
- ordered by a BSP tree like Chrome's compositor, with intersecting planes split) and `backface-visibility`. GSAP
- rotationX/rotationY/z/transformPerspective emit real 3D transforms and start from an element's CSS matrix3d, as
- GSAP does.
- Given a composition with CSS 3D planes
- Then they are ordered and split like Chrome's compositor
-
- Scenario: the composition format's deterministic fonts
- Fonts follow the composition format's deterministic aliases (Helvetica/Arial/SF -> Inter, Times/Georgia -> EB Garamond,
- Courier -> JetBrains Mono, ...), including its compiler's rewrites: a font stack led by a generic or host-UI
- family (`-apple-system`, `system-ui`, `sans-serif`) gets Inter in front, and Google Fonts families (also those
- named in local linked stylesheets) come from Google's `text=` subsets of the page's characters. `@font-face`
- `unicode-range` and weight ranges (`100 900`) are honoured, overlapping faces resolve last-defined-first, and web
- fonts lose the tables Chrome's sanitizer (OTS) drops (AAT `morx`/`kerx`/`trak`/`feat`, Apple `kern`).
- Given a composition that names a font family
- Then the face is chosen the way the HTML composition format chooses it
-
- Scenario: Text raster with and without Skia
- With feature `skia`, axis-aligned text is drawn from Skia's glyph masks (CoreText on Apple platforms, like
- Chrome). Color fonts and other transforms use vello outlines. `RAEA_OUTLINE_TEXT=1` forces outlines.
- Given the feature `skia`
- When text is axis-aligned
- Then it is drawn from Skia's glyph masks
-
- Scenario: CSS @keyframes and transitions
- CSS @keyframes run on the composition format's clip-local clock (`t` minus the start of the closest `[data-start]`), with
- delays, iteration counts, direction and fill modes. CSS transitions are not seeked, as in the HTML composition format.
- Given a composition with CSS @keyframes
- Then they run on the clip-local clock
-
- Scenario: Inline SVG
- Inline SVG is covered, including GSAP on SVG children (GSAP's matrix + origin semantics) and stylesheet styles on
- SVG children. The SVG geometry API (`getTotalLength`, `getPointAtLength`, `getBBox`) is polyfilled.
- Given a composition with inline SVG animated by GSAP
- Then it renders with GSAP's matrix and origin semantics
-
- Scenario: The the HTML composition format runtime
- The runtime covers sub-compositions (`data-composition-src`) with scoped CSS and scripts, `data-start`
- expressions, frame-snapped clip visibility, sub-composition timelines nested at their host's start, `<video>`
- (any ffmpeg codec, with rotation honoured), `<audio>`, and variables.
- Given a composition with sub-compositions, clips and media
- Then they are timed as the HTML composition format times them
-
- Scenario: Scripts in Boa
- Scripts get `fetch()` including `arrayBuffer()`/`blob()`, `XMLHttpRequest` (text/json/arraybuffer/blob, sync and
- async), `new Image()` with `onload`/`decode()`/`naturalWidth`, `MutationObserver`, `ResizeObserver`,
- `IntersectionObserver`, `performance.now/mark/measure`, `Intl` (feature `intl`, on by default; currency and
- percent formatting are patched over Boa's gaps), and Tailwind's browser runtime (`@tailwindcss/browser`). They
- also get Blob/object URLs, `Request`, and `new Event()`/`CustomEvent` with `dispatchEvent` on elements, window and
- document. Inline elements' `opacity` applies to their text and inline backgrounds (word-by-word fades in spans).
- Given a composition script that uses those browser APIs
- Then it runs in Boa
-
- Scenario: Canvas 2D (feature `skia`)
- The full canvas 2D drawing API is replayed on Skia per frame: paths, arcs, transforms, gradients, compositing
- modes, shadows, clipping, dashes, `fillText` shaped with HarfBuzz rules and the composition format's font aliases,
- `drawImage` of images and other canvases, `putImageData`, and Path2D including SVG path strings. The HTML composition format'
- `hf-seek` event is dispatched every frame (`event.detail.time`), so canvases drawn from it follow the timeline.
- Not yet covered: patterns, `getImageData` pixels, and canvas `filter`.
- Given a `<canvas>` drawn from the `hf-seek` event
- Then it follows the timeline
-
- Scenario: WebGL 1/2 (feature `webgl`, on by default)
- WebGL calls are recorded in script and replayed on ANGLE over SwiftShader (Vulkan) through EGL, the same
- software GL stack as the composition format's headless Chrome, with Chrome's 4x MSAA drawing buffer. three.js scenes
- (meshes, instancing, GLTF/GLB with embedded textures, EffectComposer bloom) match Chrome pixel for pixel. The
- ANGLE/SwiftShader dylibs (vendor/angle, ~24 MB, from Electron 38.4.0 / Chromium 140) are found via
- `RAEA_ANGLE_DIR`, `<exe>/../lib/raea/angle`, `<exe>/angle`, `<exe>/../Frameworks/angle`, or the
- source tree.
- Given a three.js scene
- Then it matches Chrome pixel for pixel
- But without the ANGLE/SwiftShader dylibs `lint` reports WebGL as unsupported and canvases stay blank
-
- Scenario: Lottie
- The composition's own lottie-web (SVG renderer) is seeked every frame with the composition format's adapter rules
- (`window.__hfLottie` or `lottie.getRegisteredAnimations()`, the local time of the enclosing composition, loop
- wrap, hold on the last frame). Not yet covered: dotLottie (WASM) players.
- Given a composition with lottie-web
- Then it is seeked every frame
-
- Scenario: Media and the audio mix
- `<video data-has-audio>` honours `data-volume`, `data-fade-in` and `data-fade-out` in the audio plan (fades are
- clamped to the clip, like the HTML composition format). `data-hf-media-start-basis="global"` keeps a nested media element's
- literal `data-start` on the root timeline. The mix places every clip at its `data-start` (each input padded to
- the render length, then delayed) and puts mono sources in both channels at full level, as the composition format's mixer
- does.
- Given a composition with audio
- Then the mix matches the composition format's mixer
-
- Scenario: Script errors name where they happened
- When a composition script throws
- Then the error names the file, the inline script and the line:
- """
- compositions/cap.html, inline script 1, line 4:36: TypeError ... | <code>
- """
-
- Scenario: Not covered yet
- Given a script that calls `getComputedStyle`
- Then it reads animated properties at time 0
-
- Rule: Snapshots can write a text-layout report next to each PNG
- The C API equivalent is `raea_render_boxes_at(handle, t, safe_zone_or_NULL)`. Text in CSS 3D planes is not reported
- yet.
-
- Scenario: The boxes report
- When `raea snapshot x.html --at 2,5 --boxes [--safe-zone T,R,B,L]` runs
- Then `<frame>.boxes.json` is written next to each PNG
- And it lists every visible text element in paint order with its box in composition px (transforms included)
- And each entry has `centerOffset` from the canvas centre, effective `opacity`, and the canvas edges it crosses (`clipped`)
- And each entry has `overflowClipped` and `visibleFraction` (masks and overflow reveals)
- And each entry names the safe-zone bands it reaches (`inSafeZone`; the default is 220,140,420,0 at 1080x1920)
- And each entry names the other text boxes it overlaps, with nested text excluded
-
- Rule: Tests cover the evaluator, and the parity gate covers the pixels
-
- Scenario: Unit tests
- When `cargo test` runs
- Then it covers eases, values, the GSAP evaluator, timing and compile rules
-
- Scenario: Visual parity against Chrome
- `bench/parity.sh` renders every case in tests/parity and the registry examples, and compares them with Chrome
- references from `bench/parity-refs.sh` (the composition format's pinned chrome-headless-shell 152, SwiftShader).
- When `bench/parity.sh` runs
- Then the registry examples score these SSIMs against Chrome:
- | examples | SSIM vs Chrome | note |
- | product-promo, decision-tree, swiss-grid, vignelli, warm-grain | 0.993–1.0 | |
- | play-mode, nyt-graph | 0.992–1.0 | |
- | kinetic-type | 0.966–0.989 | ±1 compositing rounding under a dark overlay (docs/parity-gaps.feature) |
-
- Rule: Debug environment variables
-
- Scenario: What each debug variable prints or changes
- Given these environment variables:
- | variable | effect |
- | `RAEA_DEBUG` | prints the timeline tree and JS calls |
- | `RAEA_DEBUG_APPLY` | prints style writes |
- | `RAEA_DEBUG_TIMING` | prints timing |
- | `RAEA_DEBUG_EVAL` / `RAEA_DEBUG_PRE_EVAL` | runs JS after or before a snapshot frame; `__blitz_send_message` prints |
- | `RAEA_DEBUG_GL` | prints every replayed WebGL call |
- | `RAEA_OUTLINE_TEXT` | vello draws text from outlines instead of Skia glyph masks, for A/B checks |
diff --git a/gputrace/README.md b/gputrace/README.md
new file mode 100644
index 00000000..cd01b9c2
--- /dev/null
+++ b/gputrace/README.md
@@ -0,0 +1,8 @@
+# gputrace
+
+`raea-gputrace`: GPU telemetry for raea's flight recorder. raea has several GPU users that often share one device:
+the quads compositor, kgpu's kernels, rdb's renderer, Bevy's render graph and video frames. This crate records every
+uncaught wgpu error and lost device with the subsystem behind it (read from the label each user puts first on what it
+creates), and each submission's latency, so slow submissions and stalls show up in the run's trace.
+
+It is a small library with no binary. [`engine/`](../engine), [`kgpu/`](../kgpu) and [`rdb/`](../rdb) depend on it.
diff --git a/ios-probe/.gitignore b/ios-probe/.gitignore
deleted file mode 100644
index d600d9eb..00000000
--- a/ios-probe/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-src/
-app/RaeaProbe.xcodeproj/
-app/inputs/media/
diff --git a/ios-probe/Cargo.lock b/ios-probe/Cargo.lock
deleted file mode 100644
index 866ef381..00000000
--- a/ios-probe/Cargo.lock
+++ /dev/null
@@ -1,8553 +0,0 @@
-# This file is automatically @generated by Cargo.
-# It is not intended for manual editing.
-version = 4
-
-[[package]]
-name = "accesskit"
-version = "0.24.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3b7f7f85a7e5f68090000ed7622545829afd484d210358702ae4cb97dd0c320"
-dependencies = [
- "uuid",
-]
-
-[[package]]
-name = "accesskit_consumer"
-version = "0.35.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "53cf47daed85312e763fbf85ceca136e0d7abc68e0a7e12abe11f48172bc3b10"
-dependencies = [
- "accesskit",
- "hashbrown 0.16.1",
-]
-
-[[package]]
-name = "accesskit_consumer"
-version = "0.38.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5d10a236f96f87d70732e44520046785431ef01d5bcd6b041317bfadd2f88245"
-dependencies = [
- "accesskit",
- "hashbrown 0.16.1",
-]
-
-[[package]]
-name = "accesskit_macos"
-version = "0.26.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ce02dc63b43f0c9296af9ac946312a2dc8814427d7a64d2d600971dac55b6076"
-dependencies = [
- "accesskit",
- "accesskit_consumer 0.38.0",
- "hashbrown 0.16.1",
- "objc2 0.5.3",
- "objc2-app-kit",
- "objc2-foundation 0.2.2",
-]
-
-[[package]]
-name = "accesskit_windows"
-version = "0.32.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eff7009f1a532e917d66970a1e80c965140c6cfbbabbdde3d64e5431e6c78e21"
-dependencies = [
- "accesskit",
- "accesskit_consumer 0.35.0",
- "hashbrown 0.16.1",
- "static_assertions",
- "windows",
- "windows-core",
-]
-
-[[package]]
-name = "accesskit_winit"
-version = "0.32.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fe9a94394896352cc4660ca2288bd4ef883d83238853c038b44070c8f134313"
-dependencies = [
- "accesskit",
- "accesskit_macos",
- "accesskit_windows",
- "raw-window-handle",
- "winit",
-]
-
-[[package]]
-name = "adler2"
-version = "2.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
-
-[[package]]
-name = "aho-corasick"
-version = "1.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba"
-dependencies = [
- "memchr",
-]
-
-[[package]]
-name = "aligned"
-version = "0.4.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ee4508988c62edf04abd8d92897fca0c2995d907ce1dfeaf369dac3716a40685"
-dependencies = [
- "as-slice",
-]
-
-[[package]]
-name = "aligned-vec"
-version = "0.6.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dc890384c8602f339876ded803c97ad529f3842aba97f6392b3dba0dd171769b"
-dependencies = [
- "equator",
-]
-
-[[package]]
-name = "alloc-no-stdlib"
-version = "2.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3"
-
-[[package]]
-name = "allocator-api2"
-version = "0.2.21"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
-
-[[package]]
-name = "android-activity"
-version = "0.6.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0f2a1bb052857d5dd49572219344a7332b31b76405648eabac5bc68978251bcd"
-dependencies = [
- "android-properties",
- "bitflags 2.13.2",
- "cc",
- "jni",
- "libc",
- "log",
- "ndk",
- "ndk-context",
- "ndk-sys",
- "num_enum",
- "thiserror 2.0.21",
-]
-
-[[package]]
-name = "android-properties"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fc7eb209b1518d6bb87b283c20095f5228ecda460da70b44f0802523dea6da04"
-
-[[package]]
-name = "android_log-sys"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "84521a3cf562bc62942e294181d9eef17eb38ceb8c68677bc49f144e4c3d4f8d"
-
-[[package]]
-name = "android_system_properties"
-version = "0.1.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc"
-dependencies = [
- "libc",
-]
-
-[[package]]
-name = "animato"
-version = "1.7.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3442e820517e920a1ac56d9e331be066374ecf1e9deda46c4107e3fde0ce12e3"
-dependencies = [
- "animato-color",
- "animato-core",
- "animato-driver",
- "animato-path",
- "animato-physics",
- "animato-spring",
- "animato-timeline",
- "animato-tween",
- "palette",
-]
-
-[[package]]
-name = "animato-color"
-version = "1.7.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dc1df04494af8cebba5be3f2246305773f0d277c19e1d17c8c9821fa9d7a2998"
-dependencies = [
- "animato-core",
- "palette",
-]
-
-[[package]]
-name = "animato-core"
-version = "1.7.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4bec574aad55366acee5e4bcce6f75045f11459db2b1ab4e0ac456fc1d9357ff"
-dependencies = [
- "libm",
-]
-
-[[package]]
-name = "animato-driver"
-version = "1.7.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "13ab9246e96b6a684d1993d9d5126d8ea1401143289783fc627f4007310b9625"
-dependencies = [
- "animato-core",
-]
-
-[[package]]
-name = "animato-path"
-version = "1.7.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c620d219530cae27b3f662c898abb8a20912a9f69fc48d81764061c18716796c"
-dependencies = [
- "animato-core",
- "animato-tween",
- "libm",
-]
-
-[[package]]
-name = "animato-physics"
-version = "1.7.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fcbf115da430fd4f504eeb4b184d9343490988839778e941f0c769f9ec0f5866"
-dependencies = [
- "animato-core",
- "libm",
-]
-
-[[package]]
-name = "animato-spring"
-version = "1.7.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42248f390dffc3d3c667f33334f1a2745a3f45d3269a6acad04208f8ff785940"
-dependencies = [
- "animato-core",
-]
-
-[[package]]
-name = "animato-timeline"
-version = "1.7.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c9dd50eebac8b2079fa5948609939513ea6f3981f3beb920adca41b8fde96c7"
-dependencies = [
- "animato-core",
- "animato-tween",
-]
-
-[[package]]
-name = "animato-tween"
-version = "1.7.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3dde84d5eb9a52c61447b0026fd4e1026b96bcb591d99637d9d90770cf4ed20e"
-dependencies = [
- "animato-core",
-]
-
-[[package]]
-name = "anstream"
-version = "1.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d"
-dependencies = [
- "anstyle",
- "anstyle-parse",
- "anstyle-query",
- "anstyle-wincon",
- "colorchoice",
- "is_terminal_polyfill",
- "utf8parse",
-]
-
-[[package]]
-name = "anstyle"
-version = "1.0.14"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000"
-
-[[package]]
-name = "anstyle-parse"
-version = "1.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e"
-dependencies = [
- "utf8parse",
-]
-
-[[package]]
-name = "anstyle-query"
-version = "1.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
-dependencies = [
- "windows-sys 0.61.2",
-]
-
-[[package]]
-name = "anstyle-wincon"
-version = "3.0.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
-dependencies = [
- "anstyle",
- "once_cell_polyfill",
- "windows-sys 0.61.2",
-]
-
-[[package]]
-name = "anyhow"
-version = "1.0.104"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470"
-
-[[package]]
-name = "anyrender"
-version = "0.14.0"
-dependencies = [
- "kurbo",
- "peniko",
- "raw-window-handle",
- "smallvec",
-]
-
-[[package]]
-name = "anyrender_svg"
-version = "0.15.0"
-dependencies = [
- "anyrender",
- "image",
- "kurbo",
- "peniko",
- "usvg",
-]
-
-[[package]]
-name = "anyrender_vello_cpu"
-version = "0.18.0"
-dependencies = [
- "anyrender",
- "bytemuck",
- "color",
- "debug_timer 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "glifo",
- "kurbo",
- "peniko",
- "skrifa 0.44.0",
- "vello_common",
- "vello_cpu",
-]
-
-[[package]]
-name = "app_units"
-version = "0.7.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "467b60e4ee6761cd6fd4e03ea58acefc8eec0d1b1def995c1b3b783fa7be8a60"
-dependencies = [
- "num-traits",
- "serde",
-]
-
-[[package]]
-name = "approx"
-version = "0.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6"
-dependencies = [
- "num-traits",
-]
-
-[[package]]
-name = "ar_archive_writer"
-version = "0.5.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "73cd58deff2140a0a8eae87e417bd01db68a33e148aa93d1e8cd837e55e312b6"
-dependencies = [
- "object",
-]
-
-[[package]]
-name = "arbitrary"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3bc62ac97cc33321f50863d514c3bc38a453947a8f9e781137e47c7401020aed"
-
-[[package]]
-name = "arg_enum_proc_macro"
-version = "0.3.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ae92a5119aa49cdbcf6b9f893fe4e1d98b04ccbf82ee0584ad948a44a734dea"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "arrayref"
-version = "0.3.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb"
-
-[[package]]
-name = "arrayvec"
-version = "0.7.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56"
-
-[[package]]
-name = "as-slice"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "516b6b4f0e40d50dcda9365d53964ec74560ad4284da2e7fc97122cd83174516"
-dependencies = [
- "stable_deref_trait",
-]
-
-[[package]]
-name = "ash"
-version = "0.38.0+1.3.281"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0bb44936d800fea8f016d7f2311c6a4f97aebd5dc86f09906139ec848cf3a46f"
-dependencies = [
- "libloading",
-]
-
-[[package]]
-name = "assert_matches"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9"
-
-[[package]]
-name = "assert_type_match"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f548ad2c4031f2902e3edc1f29c29e835829437de49562d8eb5dc5584d3a1043"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "async-broadcast"
-version = "0.7.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "435a87a52755b8f27fcf321ac4f04b2802e337c8c4872923137471ec39c37532"
-dependencies = [
- "event-listener",
- "event-listener-strategy",
- "futures-core",
- "pin-project-lite",
-]
-
-[[package]]
-name = "async-channel"
-version = "2.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "924ed96dd52d1b75e9c1a3e6275715fd320f5f9439fb5a4a11fa51f4221158d2"
-dependencies = [
- "concurrent-queue",
- "event-listener-strategy",
- "futures-core",
- "pin-project-lite",
-]
-
-[[package]]
-name = "async-executor"
-version = "1.14.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c96bf972d85afc50bf5ab8fe2d54d1586b4e0b46c97c50a0c9e71e2f7bcd812a"
-dependencies = [
- "async-task",
- "concurrent-queue",
- "fastrand",
- "futures-lite",
- "pin-project-lite",
- "slab",
-]
-
-[[package]]
-name = "async-fs"
-version = "2.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8034a681df4aed8b8edbd7fbe472401ecf009251c8b40556b304567052e294c5"
-dependencies = [
- "async-lock",
- "blocking",
- "futures-lite",
-]
-
-[[package]]
-name = "async-io"
-version = "2.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "456b8a8feb6f42d237746d4b3e9a178494627745c3c56c6ea55d92ba50d026fc"
-dependencies = [
- "autocfg",
- "cfg-if",
- "concurrent-queue",
- "futures-io",
- "futures-lite",
- "parking",
- "polling",
- "rustix 1.1.5",
- "slab",
- "windows-sys 0.61.2",
-]
-
-[[package]]
-name = "async-lock"
-version = "3.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "290f7f2596bd5b78a9fec8088ccd89180d7f9f55b94b0576823bbbdc72ee8311"
-dependencies = [
- "event-listener",
- "event-listener-strategy",
- "pin-project-lite",
-]
-
-[[package]]
-name = "async-task"
-version = "4.7.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de"
-dependencies = [
- "portable-atomic",
-]
-
-[[package]]
-name = "atomic-waker"
-version = "1.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
-dependencies = [
- "portable-atomic",
-]
-
-[[package]]
-name = "atomic_refcell"
-version = "0.1.14"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "21e4227379beff4205943696e6c3e0cd809bacdf3f0edd6e3dd153e2269571a4"
-
-[[package]]
-name = "atomicow"
-version = "1.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "301801c08259e328a1c7da556608c0c22687708831b22024dbd3a57ea741e6de"
-dependencies = [
- "portable-atomic",
- "portable-atomic-util",
-]
-
-[[package]]
-name = "atomig"
-version = "0.4.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd0f41f4bb89f5c6450325e283fb78c4a3d042181b54f3855ee2f872919f9863"
-dependencies = [
- "atomig-macro",
-]
-
-[[package]]
-name = "atomig-macro"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "49c98dba06b920588de7d63f6acc23f1e6a9fade5fd6198e564506334fb5a4f5"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "autocfg"
-version = "1.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
-
-[[package]]
-name = "av-scenechange"
-version = "0.14.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0f321d77c20e19b92c39e7471cf986812cbb46659d2af674adc4331ef3f18394"
-dependencies = [
- "aligned",
- "anyhow",
- "arg_enum_proc_macro",
- "arrayvec",
- "log",
- "num-rational",
- "num-traits",
- "pastey 0.1.1",
- "rayon",
- "thiserror 2.0.21",
- "v_frame",
- "y4m",
-]
-
-[[package]]
-name = "av1-grain"
-version = "0.2.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8cfddb07216410377231960af4fcab838eaa12e013417781b78bd95ee22077f8"
-dependencies = [
- "anyhow",
- "arrayvec",
- "log",
- "nom",
- "num-rational",
- "v_frame",
-]
-
-[[package]]
-name = "base64"
-version = "0.22.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
-
-[[package]]
-name = "base64"
-version = "0.23.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5"
-
-[[package]]
-name = "bevy"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4bfadbebfc6599aa59289b754ac30023959854304f3d393da2cf62bb3cd5df8f"
-dependencies = [
- "bevy_internal",
- "tracing",
-]
-
-[[package]]
-name = "bevy_a11y"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c02cd43f914ef7a0f5b16f8a3d88c378c07c92f1a8c32ac5ac4d4f73e55f9e2"
-dependencies = [
- "accesskit",
- "bevy_app",
- "bevy_derive",
- "bevy_ecs",
- "bevy_reflect",
-]
-
-[[package]]
-name = "bevy_android"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ae5ea5245a845cefa8efb5ff7c2a8a36cdebfb99596068780f340f0b5aba6689"
-dependencies = [
- "android-activity",
-]
-
-[[package]]
-name = "bevy_animation"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dc513aac5cda673fb138236e969b4514e0a9b9f93fd33288111f147baa8af623"
-dependencies = [
- "bevy_animation_macros",
- "bevy_app",
- "bevy_asset",
- "bevy_color",
- "bevy_derive",
- "bevy_ecs",
- "bevy_math",
- "bevy_mesh",
- "bevy_platform",
- "bevy_reflect",
- "bevy_time",
- "bevy_transform",
- "bevy_utils",
- "blake3",
- "derive_more",
- "downcast-rs",
- "either",
- "petgraph",
- "ron",
- "serde",
- "smallvec",
- "thiserror 2.0.21",
- "thread_local",
- "tracing",
- "uuid",
-]
-
-[[package]]
-name = "bevy_animation_macros"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eed2910d9ca5c3b48968a54c4571789e4e81935cf3c823383fcac34ca28e2b0e"
-dependencies = [
- "bevy_macro_utils",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "bevy_anti_alias"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dde973fc942cb596b03cae0dbece0a4d9dc2d2790bbc9852aa415affc1210d3a"
-dependencies = [
- "bevy_app",
- "bevy_asset",
- "bevy_camera",
- "bevy_core_pipeline",
- "bevy_derive",
- "bevy_diagnostic",
- "bevy_ecs",
- "bevy_image",
- "bevy_math",
- "bevy_reflect",
- "bevy_render",
- "bevy_shader",
- "bevy_utils",
- "tracing",
-]
-
-[[package]]
-name = "bevy_app"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5fd2aa472d43b4d081ef41d26300d17bd22cba6d68df2a223eb358782fa40bc6"
-dependencies = [
- "bevy_derive",
- "bevy_ecs",
- "bevy_platform",
- "bevy_reflect",
- "bevy_tasks",
- "bevy_utils",
- "console_error_panic_hook",
- "ctrlc",
- "downcast-rs",
- "log",
- "thiserror 2.0.21",
- "tracing",
- "variadics_please",
- "wasm-bindgen",
- "web-sys",
-]
-
-[[package]]
-name = "bevy_asset"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1624eddbf2293441b2158506aba75e523432b898d9da26eb6ed3e20af4c7fd38"
-dependencies = [
- "async-broadcast",
- "async-channel",
- "async-fs",
- "async-io",
- "async-lock",
- "atomicow",
- "bevy_android",
- "bevy_app",
- "bevy_asset_macros",
- "bevy_diagnostic",
- "bevy_ecs",
- "bevy_platform",
- "bevy_reflect",
- "bevy_tasks",
- "bevy_utils",
- "bitflags 2.13.2",
- "blake3",
- "crossbeam-channel",
- "derive_more",
- "disqualified",
- "downcast-rs",
- "either",
- "futures-io",
- "futures-lite",
- "futures-util",
- "js-sys",
- "ron",
- "serde",
- "stackfuture",
- "thiserror 2.0.21",
- "tracing",
- "uuid",
- "wasm-bindgen",
- "wasm-bindgen-futures",
- "web-sys",
-]
-
-[[package]]
-name = "bevy_asset_macros"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "735611c80e926e960d279cba2a6f6ab27a61291752ec3b26e76bf9a0957e11e1"
-dependencies = [
- "bevy_macro_utils",
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "bevy_camera"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "96de20d0babfb51e3907eb4eb56f1e36096a6f8c77acd997f5de611df4ee067d"
-dependencies = [
- "bevy_app",
- "bevy_asset",
- "bevy_color",
- "bevy_derive",
- "bevy_ecs",
- "bevy_image",
- "bevy_math",
- "bevy_mesh",
- "bevy_reflect",
- "bevy_transform",
- "bevy_utils",
- "bevy_window",
- "derive_more",
- "downcast-rs",
- "serde",
- "smallvec",
- "thiserror 2.0.21",
- "wgpu-types",
-]
-
-[[package]]
-name = "bevy_clipboard"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d0a9792c7f2e8b5b71b9572a6d98fca4ee88ed186c8a02e164540c461ae3a92e"
-dependencies = [
- "bevy_app",
- "bevy_ecs",
- "bevy_log",
- "bevy_platform",
- "wasm-bindgen",
- "wasm-bindgen-futures",
- "web-sys",
-]
-
-[[package]]
-name = "bevy_color"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5e5370beae13bea2db64744f370bb33566aa770dff91c2beae245ce82217fbbc"
-dependencies = [
- "bevy_math",
- "bevy_reflect",
- "bytemuck",
- "derive_more",
- "encase",
- "serde",
- "thiserror 2.0.21",
- "wgpu-types",
-]
-
-[[package]]
-name = "bevy_core_pipeline"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2564f1ba766532e8eeb20059133ff6703e8dd5c3864b92378d0d1c541096ef12"
-dependencies = [
- "bevy_app",
- "bevy_asset",
- "bevy_camera",
- "bevy_color",
- "bevy_derive",
- "bevy_diagnostic",
- "bevy_ecs",
- "bevy_image",
- "bevy_light",
- "bevy_log",
- "bevy_math",
- "bevy_platform",
- "bevy_reflect",
- "bevy_render",
- "bevy_shader",
- "bevy_transform",
- "bevy_utils",
- "bevy_window",
- "bitflags 2.13.2",
- "indexmap",
- "nonmax",
-]
-
-[[package]]
-name = "bevy_derive"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9d2a03321f3bd8016a041b3ae6afe83e636b3540fbc61d571bf069a21fda3231"
-dependencies = [
- "bevy_macro_utils",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "bevy_diagnostic"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "07a3a736f15486650c4c6866798a78d625c7063c991a3cc7b13f1577d89c82ae"
-dependencies = [
- "atomic-waker",
- "bevy_app",
- "bevy_ecs",
- "bevy_platform",
- "bevy_tasks",
- "bevy_time",
- "const-fnv1a-hash",
- "log",
- "serde",
-]
-
-[[package]]
-name = "bevy_ecs"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a350b2e4c2e47f7903d688affb8a723b31bca63af9789f1da88703f1ba04e354"
-dependencies = [
- "arrayvec",
- "bevy_ecs_macros",
- "bevy_platform",
- "bevy_ptr",
- "bevy_reflect",
- "bevy_tasks",
- "bevy_utils",
- "bitflags 2.13.2",
- "bumpalo",
- "concurrent-queue",
- "derive_more",
- "fixedbitset",
- "indexmap",
- "log",
- "nonmax",
- "serde",
- "slotmap",
- "smallvec",
- "thiserror 2.0.21",
- "tracing",
- "variadics_please",
-]
-
-[[package]]
-name = "bevy_ecs_macro_logic"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "76a10fef45a3e7dad717ba03e8b5f7ecdf3b3fd1cd1c5e425793525938e90d5f"
-dependencies = [
- "bevy_macro_utils",
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "bevy_ecs_macros"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3916d712264b6f3ec9c964ba10719450ea371e537e202a2ffcfa9f6a5e68169d"
-dependencies = [
- "bevy_ecs_macro_logic",
- "bevy_macro_utils",
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "bevy_encase_derive"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "be03820f64f2279ae9d826c882e4ef764516ff75ab7bdc39bb40801891533b89"
-dependencies = [
- "bevy_macro_utils",
- "encase_derive_impl",
-]
-
-[[package]]
-name = "bevy_gizmos"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2ac5bcad0b8d141ef64f4a89643f74f11827ea6ef48073192b39d69156ed1b92"
-dependencies = [
- "bevy_app",
- "bevy_asset",
- "bevy_camera",
- "bevy_color",
- "bevy_ecs",
- "bevy_gizmos_macros",
- "bevy_input",
- "bevy_log",
- "bevy_math",
- "bevy_mesh",
- "bevy_reflect",
- "bevy_time",
- "bevy_transform",
- "bevy_utils",
- "bevy_window",
-]
-
-[[package]]
-name = "bevy_gizmos_macros"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b37bbaa6241480b119da406fc261c9cf85d435addad880ae564c9b0f54a89a28"
-dependencies = [
- "bevy_macro_utils",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "bevy_gizmos_render"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2ea2b6266d210bca0aa3bcba7e17204e437b4e86cecd4021ab7dcd32da576a02"
-dependencies = [
- "bevy_app",
- "bevy_asset",
- "bevy_camera",
- "bevy_color",
- "bevy_core_pipeline",
- "bevy_ecs",
- "bevy_gizmos",
- "bevy_image",
- "bevy_log",
- "bevy_material",
- "bevy_math",
- "bevy_mesh",
- "bevy_pbr",
- "bevy_reflect",
- "bevy_render",
- "bevy_shader",
- "bevy_sprite_render",
- "bevy_transform",
- "bevy_utils",
- "bytemuck",
- "tracing",
-]
-
-[[package]]
-name = "bevy_gltf"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0d17df73b26adfb8be89f0716b8667c60660bdd2d589863b8901caca58c99841"
-dependencies = [
- "async-lock",
- "base64 0.22.1",
- "bevy_animation",
- "bevy_app",
- "bevy_asset",
- "bevy_camera",
- "bevy_color",
- "bevy_ecs",
- "bevy_image",
- "bevy_light",
- "bevy_material",
- "bevy_math",
- "bevy_mesh",
- "bevy_platform",
- "bevy_reflect",
- "bevy_tasks",
- "bevy_transform",
- "bevy_world_serialization",
- "fixedbitset",
- "gltf",
- "itertools 0.14.0",
- "percent-encoding",
- "serde",
- "serde_json",
- "smallvec",
- "thiserror 2.0.21",
- "tracing",
- "wgpu-types",
-]
-
-[[package]]
-name = "bevy_image"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ca63218585b83f98831214431449e9344b363349dd5cab98dae0b8129f0a0e2f"
-dependencies = [
- "bevy_app",
- "bevy_asset",
- "bevy_color",
- "bevy_ecs",
- "bevy_math",
- "bevy_platform",
- "bevy_reflect",
- "bevy_utils",
- "bitflags 2.13.2",
- "bytemuck",
- "futures-lite",
- "guillotiere 0.6.2",
- "half",
- "image",
- "ktx2",
- "rectangle-pack",
- "ruzstd",
- "serde",
- "thiserror 2.0.21",
- "tracing",
- "wgpu-types",
-]
-
-[[package]]
-name = "bevy_input"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b22e8b1119ff5c0b551cc11b672d25732c4e3eda72aceabc380595bd0e7bbe88"
-dependencies = [
- "bevy_app",
- "bevy_ecs",
- "bevy_math",
- "bevy_platform",
- "bevy_reflect",
- "derive_more",
- "log",
- "smol_str 0.2.2",
- "thiserror 2.0.21",
-]
-
-[[package]]
-name = "bevy_input_focus"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c4d5573eb503387f73d12acde3010d49c808c790d34691e2fb410fc54b8c72b9"
-dependencies = [
- "bevy_app",
- "bevy_ecs",
- "bevy_input",
- "bevy_math",
- "bevy_reflect",
- "bevy_window",
- "log",
- "thiserror 2.0.21",
-]
-
-[[package]]
-name = "bevy_internal"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ba99ca2e501f14f4af3322d66ae41b5c5b6ebd3aac4d00cda47dea4c00290ae"
-dependencies = [
- "bevy_a11y",
- "bevy_android",
- "bevy_animation",
- "bevy_anti_alias",
- "bevy_app",
- "bevy_asset",
- "bevy_camera",
- "bevy_color",
- "bevy_core_pipeline",
- "bevy_derive",
- "bevy_diagnostic",
- "bevy_ecs",
- "bevy_gizmos",
- "bevy_gizmos_render",
- "bevy_gltf",
- "bevy_image",
- "bevy_input",
- "bevy_input_focus",
- "bevy_light",
- "bevy_log",
- "bevy_material",
- "bevy_math",
- "bevy_mesh",
- "bevy_pbr",
- "bevy_platform",
- "bevy_post_process",
- "bevy_ptr",
- "bevy_reflect",
- "bevy_render",
- "bevy_shader",
- "bevy_sprite",
- "bevy_sprite_render",
- "bevy_state",
- "bevy_tasks",
- "bevy_text",
- "bevy_time",
- "bevy_transform",
- "bevy_ui",
- "bevy_ui_render",
- "bevy_utils",
- "bevy_window",
- "bevy_winit",
- "bevy_world_serialization",
-]
-
-[[package]]
-name = "bevy_light"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4f91fb900c2412c5cb7ff5083d428d8361a1d39b605df86eb259aff82f7ac45"
-dependencies = [
- "bevy_app",
- "bevy_asset",
- "bevy_camera",
- "bevy_color",
- "bevy_ecs",
- "bevy_gizmos",
- "bevy_image",
- "bevy_log",
- "bevy_math",
- "bevy_mesh",
- "bevy_platform",
- "bevy_reflect",
- "bevy_transform",
- "bevy_utils",
- "half",
- "smallvec",
- "tracing",
- "wgpu-types",
-]
-
-[[package]]
-name = "bevy_log"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e24488594832237c1e3abc823642823fa057b810c3a21e14e65bdbd15d1579d5"
-dependencies = [
- "android_log-sys",
- "bevy_app",
- "bevy_ecs",
- "bevy_platform",
- "bevy_utils",
- "tracing",
- "tracing-chrome",
- "tracing-error",
- "tracing-log",
- "tracing-oslog",
- "tracing-subscriber",
- "tracing-wasm",
-]
-
-[[package]]
-name = "bevy_macro_utils"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7164fe229422295bba15f1885048f34f4660db069aacb895208f996b0c7784fb"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.119",
- "toml_edit",
-]
-
-[[package]]
-name = "bevy_material"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3efcdb3ba04a57f6e05548884745684a2051e9692398915f57c5c276306b7f10"
-dependencies = [
- "bevy_asset",
- "bevy_derive",
- "bevy_ecs",
- "bevy_material_macros",
- "bevy_mesh",
- "bevy_platform",
- "bevy_reflect",
- "bevy_shader",
- "bevy_utils",
- "encase",
- "smallvec",
- "thiserror 2.0.21",
- "tracing",
- "variadics_please",
- "wgpu-types",
-]
-
-[[package]]
-name = "bevy_material_macros"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "854f95c8f3374ef6242790de50b5cb8f5a601c698772d1447bf856067b53ee64"
-dependencies = [
- "bevy_macro_utils",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "bevy_math"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "98ead494dcfaa9b4594eed7f09a27d868b7cc7fc9ebd655c5643322778f4a8a2"
-dependencies = [
- "approx",
- "arrayvec",
- "bevy_reflect",
- "derive_more",
- "glam",
- "itertools 0.14.0",
- "libm",
- "rand 0.10.3",
- "rand_distr",
- "serde",
- "thiserror 2.0.21",
- "variadics_please",
-]
-
-[[package]]
-name = "bevy_mesh"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e2adbf8e5a5817c345986756eb0377e18a510e1d7685ef62d6c7bafcd3bab85e"
-dependencies = [
- "bevy_app",
- "bevy_asset",
- "bevy_derive",
- "bevy_ecs",
- "bevy_encase_derive",
- "bevy_math",
- "bevy_mikktspace",
- "bevy_platform",
- "bevy_reflect",
- "bevy_transform",
- "bitflags 2.13.2",
- "bytemuck",
- "derive_more",
- "encase",
- "glam",
- "half",
- "hexasphere",
- "thiserror 2.0.21",
- "tracing",
- "wgpu-types",
-]
-
-[[package]]
-name = "bevy_mikktspace"
-version = "1.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bff34eb29ff4b8a8688bc7299f14fb6b597461ca80fec03ed7d22939ab33e48f"
-
-[[package]]
-name = "bevy_pbr"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "244ae7d618b51a59c913c36b0564a295cd85ea91a5e777b542bb7bdb846a23d6"
-dependencies = [
- "arrayvec",
- "bevy_app",
- "bevy_asset",
- "bevy_camera",
- "bevy_color",
- "bevy_core_pipeline",
- "bevy_derive",
- "bevy_diagnostic",
- "bevy_ecs",
- "bevy_gltf",
- "bevy_image",
- "bevy_light",
- "bevy_log",
- "bevy_material",
- "bevy_math",
- "bevy_mesh",
- "bevy_platform",
- "bevy_reflect",
- "bevy_render",
- "bevy_shader",
- "bevy_tasks",
- "bevy_transform",
- "bevy_utils",
- "bitflags 2.13.2",
- "bytemuck",
- "derive_more",
- "fixedbitset",
- "indexmap",
- "nonmax",
- "offset-allocator",
- "smallvec",
- "static_assertions",
- "thiserror 2.0.21",
- "tracing",
- "wgpu-types",
-]
-
-[[package]]
-name = "bevy_platform"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd610a417e7b4a3b9602cf11264d16cbbff8eabe689c5fed8be4e84c6a2680a3"
-dependencies = [
- "critical-section",
- "foldhash 0.2.0",
- "futures-channel",
- "futures-lite",
- "hashbrown 0.16.1",
- "js-sys",
- "portable-atomic",
- "portable-atomic-util",
- "serde",
- "spin",
- "wasm-bindgen",
- "wasm-bindgen-futures",
- "web-time",
- "windows-sys 0.61.2",
-]
-
-[[package]]
-name = "bevy_post_process"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8eb9340107f7a4292b3b1d138cffb2700f31cef580f5777f2e83f4f00eae4dc1"
-dependencies = [
- "bevy_app",
- "bevy_asset",
- "bevy_camera",
- "bevy_color",
- "bevy_core_pipeline",
- "bevy_derive",
- "bevy_ecs",
- "bevy_image",
- "bevy_math",
- "bevy_platform",
- "bevy_reflect",
- "bevy_render",
- "bevy_shader",
- "bevy_utils",
- "smallvec",
- "thiserror 2.0.21",
- "tracing",
-]
-
-[[package]]
-name = "bevy_ptr"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1974de4b140f102fded747229ff4a61921acec07f02f0d1dcdadfe9ce177d0ff"
-
-[[package]]
-name = "bevy_reflect"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b76c3d056da3e299b84652ccf914c487b786857225d8ffbc8fc9509441a9e6b"
-dependencies = [
- "assert_type_match",
- "bevy_platform",
- "bevy_ptr",
- "bevy_reflect_derive",
- "bevy_utils",
- "derive_more",
- "disqualified",
- "downcast-rs",
- "erased-serde",
- "foldhash 0.2.0",
- "glam",
- "indexmap",
- "inventory",
- "petgraph",
- "serde",
- "smallvec",
- "smol_str 0.2.2",
- "thiserror 2.0.21",
- "uuid",
- "variadics_please",
- "wgpu-types",
-]
-
-[[package]]
-name = "bevy_reflect_derive"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5fc5f820ee52afeca6d3bb83f15c1bf61ea6196c840a761a21a8bc266a3b166e"
-dependencies = [
- "bevy_macro_utils",
- "indexmap",
- "proc-macro2",
- "quote",
- "syn 2.0.119",
- "uuid",
-]
-
-[[package]]
-name = "bevy_render"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fc86a32b2eef9859e1e7d323c6d1a9150fe77aa17c30fd05abebc12f645929dc"
-dependencies = [
- "async-channel",
- "bevy_app",
- "bevy_asset",
- "bevy_camera",
- "bevy_color",
- "bevy_derive",
- "bevy_diagnostic",
- "bevy_ecs",
- "bevy_encase_derive",
- "bevy_image",
- "bevy_log",
- "bevy_material",
- "bevy_material_macros",
- "bevy_math",
- "bevy_mesh",
- "bevy_platform",
- "bevy_reflect",
- "bevy_render_macros",
- "bevy_shader",
- "bevy_tasks",
- "bevy_time",
- "bevy_transform",
- "bevy_utils",
- "bevy_window",
- "bitflags 2.13.2",
- "bytemuck",
- "derive_more",
- "downcast-rs",
- "encase",
- "glam",
- "image",
- "indexmap",
- "itertools 0.14.0",
- "js-sys",
- "naga",
- "nonmax",
- "offset-allocator",
- "profiling",
- "send_wrapper",
- "smallvec",
- "thiserror 2.0.21",
- "variadics_please",
- "wasm-bindgen",
- "weak-table",
- "web-sys",
- "wgpu",
- "wgpu-types",
-]
-
-[[package]]
-name = "bevy_render_macros"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6be6eba0ce9770ae4576693804d6c605f8afd9c4769787414254efcf92196a90"
-dependencies = [
- "bevy_macro_utils",
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "bevy_shader"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "50ba4fa5c5102a9ad1b0508c5bf8a6d02a22d5dc13c23ba908ee6d3d16a357cd"
-dependencies = [
- "bevy_asset",
- "bevy_platform",
- "bevy_reflect",
- "bevy_utils",
- "naga",
- "naga_oil",
- "serde",
- "thiserror 2.0.21",
- "tracing",
- "wgpu-naga-bridge",
- "wgpu-types",
-]
-
-[[package]]
-name = "bevy_sprite"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e93e631436ff9c08613843d46521ee60f2fcb2eb5f4754eec59591ca817a2ba0"
-dependencies = [
- "bevy_app",
- "bevy_asset",
- "bevy_camera",
- "bevy_color",
- "bevy_derive",
- "bevy_ecs",
- "bevy_image",
- "bevy_log",
- "bevy_math",
- "bevy_mesh",
- "bevy_reflect",
- "bevy_text",
- "bevy_transform",
- "bevy_window",
- "radsort",
- "tracing",
- "wgpu-types",
-]
-
-[[package]]
-name = "bevy_sprite_render"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c0a13c775880fe8fb3e7928921b2a1b549fd92c17571e7ca5e1250e53f0e56c"
-dependencies = [
- "bevy_app",
- "bevy_asset",
- "bevy_camera",
- "bevy_color",
- "bevy_core_pipeline",
- "bevy_derive",
- "bevy_ecs",
- "bevy_image",
- "bevy_material",
- "bevy_math",
- "bevy_mesh",
- "bevy_platform",
- "bevy_reflect",
- "bevy_render",
- "bevy_shader",
- "bevy_sprite",
- "bevy_text",
- "bevy_transform",
- "bevy_utils",
- "bitflags 2.13.2",
- "bytemuck",
- "derive_more",
- "fixedbitset",
- "nonmax",
- "tracing",
-]
-
-[[package]]
-name = "bevy_state"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f69ce6a0066eb4626165e2f8c85d3cf4808cfe4cb2027df8840d5cbfe8a3428d"
-dependencies = [
- "bevy_app",
- "bevy_ecs",
- "bevy_platform",
- "bevy_reflect",
- "bevy_state_macros",
- "bevy_utils",
- "log",
- "variadics_please",
-]
-
-[[package]]
-name = "bevy_state_macros"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a36dd49049023a0abbd0bd1e2b99580ed83a18c5351c64caba4c06e3b584cf9c"
-dependencies = [
- "bevy_macro_utils",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "bevy_tasks"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1f787d4ba7237b64b30bd2d690a8cbae1ba775e0eec326711c446654cb720e7c"
-dependencies = [
- "async-channel",
- "async-executor",
- "async-task",
- "atomic-waker",
- "bevy_platform",
- "concurrent-queue",
- "crossbeam-queue",
- "derive_more",
- "futures-lite",
- "heapless",
- "web-task",
-]
-
-[[package]]
-name = "bevy_text"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0b275f50fb01b1e2d411326a7750ecc2fe629c48b89997cf2a3c93fe786e076"
-dependencies = [
- "bevy_app",
- "bevy_asset",
- "bevy_clipboard",
- "bevy_color",
- "bevy_derive",
- "bevy_ecs",
- "bevy_image",
- "bevy_log",
- "bevy_math",
- "bevy_platform",
- "bevy_reflect",
- "bevy_utils",
- "parley 0.9.0",
- "serde",
- "smallvec",
- "smol_str 0.2.2",
- "swash",
- "sys-locale",
- "thiserror 2.0.21",
- "tracing",
- "wgpu-types",
-]
-
-[[package]]
-name = "bevy_time"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6896d83d7ed32a2f89da127b7aeddf01eb702e603897cf5ddac231480a1870e"
-dependencies = [
- "bevy_app",
- "bevy_ecs",
- "bevy_platform",
- "bevy_reflect",
- "crossbeam-channel",
- "log",
- "serde",
-]
-
-[[package]]
-name = "bevy_transform"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d94cc6065320ebeb58ae88a0863a4c4c2a642c6db698e283eb50be01a834ca5a"
-dependencies = [
- "bevy_app",
- "bevy_ecs",
- "bevy_math",
- "bevy_reflect",
- "bevy_tasks",
- "bevy_utils",
- "derive_more",
- "serde",
- "thiserror 2.0.21",
-]
-
-[[package]]
-name = "bevy_ui"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8a2f97c39dadfef97dbe295fc1ce212825bb9fda2becc8f558d1d7e7d7dbbedf"
-dependencies = [
- "accesskit",
- "bevy_a11y",
- "bevy_app",
- "bevy_asset",
- "bevy_camera",
- "bevy_color",
- "bevy_derive",
- "bevy_ecs",
- "bevy_image",
- "bevy_input",
- "bevy_input_focus",
- "bevy_log",
- "bevy_math",
- "bevy_platform",
- "bevy_reflect",
- "bevy_sprite",
- "bevy_text",
- "bevy_time",
- "bevy_transform",
- "bevy_utils",
- "bevy_window",
- "derive_more",
- "parley 0.9.0",
- "smallvec",
- "swash",
- "taffy 0.10.1",
- "thiserror 2.0.21",
- "tracing",
-]
-
-[[package]]
-name = "bevy_ui_render"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30a36be1c251417421ee070ecd1a393f0036631f7495564a8c9d4abb6042dc40"
-dependencies = [
- "bevy_app",
- "bevy_asset",
- "bevy_camera",
- "bevy_color",
- "bevy_core_pipeline",
- "bevy_derive",
- "bevy_ecs",
- "bevy_image",
- "bevy_input_focus",
- "bevy_math",
- "bevy_mesh",
- "bevy_platform",
- "bevy_reflect",
- "bevy_render",
- "bevy_shader",
- "bevy_sprite",
- "bevy_sprite_render",
- "bevy_text",
- "bevy_transform",
- "bevy_ui",
- "bevy_utils",
- "bytemuck",
- "derive_more",
- "indexmap",
- "tracing",
-]
-
-[[package]]
-name = "bevy_utils"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "de51fa7ea2e95d4c2d1278c5629285d59eec951cc60c992964c03f30910ef5a1"
-dependencies = [
- "async-channel",
- "bevy_platform",
- "disqualified",
- "indexmap",
- "thread_local",
-]
-
-[[package]]
-name = "bevy_window"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38373ee93a9248c14afe41d2025f4aa5e68b004b06ae7702816b180e72b39ea3"
-dependencies = [
- "bevy_app",
- "bevy_ecs",
- "bevy_input",
- "bevy_math",
- "bevy_platform",
- "bevy_reflect",
- "log",
- "raw-window-handle",
- "serde",
-]
-
-[[package]]
-name = "bevy_winit"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c1e9c615f4194b1e00ba536892a3d3d3300c2a1f8e66112fdebd7077bf2744c9"
-dependencies = [
- "accesskit",
- "accesskit_winit",
- "approx",
- "bevy_a11y",
- "bevy_android",
- "bevy_app",
- "bevy_derive",
- "bevy_ecs",
- "bevy_input",
- "bevy_input_focus",
- "bevy_log",
- "bevy_math",
- "bevy_platform",
- "bevy_reflect",
- "bevy_tasks",
- "bevy_window",
- "js-sys",
- "tracing",
- "wasm-bindgen",
- "web-sys",
- "winit",
-]
-
-[[package]]
-name = "bevy_world_serialization"
-version = "0.19.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "36855264b9b5d229bde74f01730eb6251c72dc052404ae144a9295cc0abdefc1"
-dependencies = [
- "bevy_app",
- "bevy_asset",
- "bevy_camera",
- "bevy_derive",
- "bevy_ecs",
- "bevy_platform",
- "bevy_reflect",
- "bevy_transform",
- "bevy_utils",
- "derive_more",
- "ron",
- "serde",
- "thiserror 2.0.21",
- "uuid",
-]
-
-[[package]]
-name = "bit-set"
-version = "0.9.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "34ddef2995421ab6a5c779542c81ee77c115206f4ad9d5a8e05f4ff49716a3dd"
-dependencies = [
- "bit-vec",
-]
-
-[[package]]
-name = "bit-vec"
-version = "0.9.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b71798fca2c1fe1086445a7258a4bc81e6e49dcd24c8d0dd9a1e57395b603f51"
-
-[[package]]
-name = "bitflags"
-version = "1.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
-
-[[package]]
-name = "bitflags"
-version = "2.13.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
-dependencies = [
- "bytemuck",
- "serde_core",
-]
-
-[[package]]
-name = "bitstream-io"
-version = "4.10.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7eff00be299a18769011411c9def0d827e8f2d7bf0c3dbf53633147a8867fd1f"
-dependencies = [
- "no_std_io2",
-]
-
-[[package]]
-name = "blake3"
-version = "1.8.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6d9e454fc11f76977dc803893aff6304ed33d6a26efae8696573bea74baa27ae"
-dependencies = [
- "arrayvec",
- "cc",
- "cfg-if",
- "constant_time_eq",
- "cpufeatures 0.3.1",
-]
-
-[[package]]
-name = "blitz-dom"
-version = "0.3.0-beta.2"
-dependencies = [
- "app_units",
- "atomic_refcell",
- "bitflags 2.13.2",
- "blitz-traits",
- "color",
- "cssparser",
- "cursor-icon",
- "debug_timer 0.1.3 (git+https://github.com/DioxusLabs/blitz?rev=a53fbab)",
- "euclid",
- "html-escape",
- "icu_casemap",
- "icu_locale_core",
- "icu_properties",
- "icu_segmenter",
- "image",
- "keyboard-types",
- "kurbo",
- "linebender_resource_handle",
- "markup5ever",
- "objc2 0.6.5",
- "parley 0.11.0",
- "percent-encoding",
- "rayon",
- "selectors",
- "skrifa 0.44.0",
- "slotmap",
- "smallvec",
- "stylo",
- "stylo_dom",
- "stylo_static_prefs",
- "stylo_taffy",
- "stylo_traits",
- "svgtypes",
- "taffy 0.14.0",
- "thin-vec",
- "thread_local",
- "url",
- "usvg",
- "web-time",
- "writeable",
- "wuff",
-]
-
-[[package]]
-name = "blitz-html"
-version = "0.3.0-beta.2"
-source = "git+https://github.com/DioxusLabs/blitz?rev=a53fbab#a53fbabac25e2438954e3ebf9ab2d836b090206f"
-dependencies = [
- "blitz-dom",
- "blitz-traits",
- "html5ever",
- "xml5ever",
-]
-
-[[package]]
-name = "blitz-paint"
-version = "0.3.0-beta.2"
-dependencies = [
- "anyrender",
- "anyrender_svg",
- "blitz-dom",
- "blitz-traits",
- "bytemuck",
- "color",
- "euclid",
- "kurbo",
- "parley 0.11.0",
- "peniko",
- "skrifa 0.44.0",
- "smallvec",
- "stylo",
- "taffy 0.14.0",
- "usvg",
-]
-
-[[package]]
-name = "blitz-traits"
-version = "0.3.0-beta.2"
-source = "git+https://github.com/DioxusLabs/blitz?rev=a53fbab#a53fbabac25e2438954e3ebf9ab2d836b090206f"
-dependencies = [
- "atomic_refcell",
- "bitflags 2.13.2",
- "bytes",
- "cursor-icon",
- "http",
- "keyboard-types",
- "serde",
- "smol_str 0.3.6",
- "url",
-]
-
-[[package]]
-name = "blitz-vibey-script"
-version = "0.3.0-beta.2"
-dependencies = [
- "blitz-dom",
- "blitz-html",
- "blitz-traits",
- "boa_engine",
- "boa_gc",
- "boa_runtime",
- "data-url",
- "icu_properties",
- "keyboard-types",
- "log",
- "markup5ever",
- "stylo",
- "url",
- "web-time",
-]
-
-[[package]]
-name = "block-buffer"
-version = "0.10.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
-dependencies = [
- "generic-array",
-]
-
-[[package]]
-name = "block2"
-version = "0.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2c132eebf10f5cad5289222520a4a058514204aed6d791f1cf4fe8088b82d15f"
-dependencies = [
- "objc2 0.5.3",
-]
-
-[[package]]
-name = "block2"
-version = "0.6.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5"
-dependencies = [
- "objc2 0.6.5",
-]
-
-[[package]]
-name = "blocking"
-version = "1.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a70e4329df6cb94385eed412ec92375c3cdd8a6e502493d1229b6414e4036dfa"
-dependencies = [
- "async-channel",
- "async-task",
- "futures-io",
- "futures-lite",
- "piper",
-]
-
-[[package]]
-name = "boa_ast"
-version = "0.22.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9221b0a090572b4a118b46c5874c0781fe4bc9546b85f0a615b8bfb609ca4ed7"
-dependencies = [
- "bitflags 2.13.2",
- "boa_interner",
- "boa_macros",
- "boa_string",
- "indexmap",
- "num-bigint 0.5.1",
- "rustc-hash 2.1.3",
- "strum 0.28.0",
-]
-
-[[package]]
-name = "boa_engine"
-version = "0.22.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5d6aaf7fdc4299df68adb67e1a5440a51d34630a1f5271b9698fd74bc97b60d9"
-dependencies = [
- "aligned-vec",
- "arrayvec",
- "async-channel",
- "bitflags 2.13.2",
- "boa_ast",
- "boa_gc",
- "boa_interner",
- "boa_macros",
- "boa_parser",
- "boa_string",
- "bytemuck",
- "cfg-if",
- "cow-utils",
- "dashmap",
- "dynify",
- "either",
- "fast-float2",
- "float16",
- "futures-concurrency",
- "futures-lite",
- "hashbrown 0.17.1",
- "icu_calendar",
- "icu_normalizer",
- "indexmap",
- "intrusive-collections",
- "itertools 0.15.0",
- "num-bigint 0.5.1",
- "num-integer",
- "num-traits",
- "num_enum",
- "oneshot",
- "pastey 0.2.3",
- "portable-atomic",
- "rand 0.10.3",
- "regress",
- "rustc-hash 2.1.3",
- "ryu-js",
- "serde",
- "serde_json",
- "small_btree",
- "static_assertions",
- "tag_ptr",
- "tap",
- "temporal_rs",
- "thin-vec",
- "thiserror 2.0.21",
- "time",
- "timezone_provider",
- "xsum",
-]
-
-[[package]]
-name = "boa_gc"
-version = "0.22.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "af82119558ab1002d1978c8459b53a3ebb506177d29a3aca37c07c1777b1d966"
-dependencies = [
- "arrayvec",
- "boa_macros",
- "boa_string",
- "either",
- "hashbrown 0.17.1",
- "thin-vec",
-]
-
-[[package]]
-name = "boa_interner"
-version = "0.22.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "317c631e791f5cb7d0017e43c0a758b0eaffd40c34c4c360e2a6be7752b78cd1"
-dependencies = [
- "boa_gc",
- "boa_macros",
- "hashbrown 0.17.1",
- "indexmap",
- "once_cell",
- "phf 0.14.0",
- "rustc-hash 2.1.3",
- "static_assertions",
-]
-
-[[package]]
-name = "boa_macros"
-version = "0.22.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b882fd440dc0f4b7441367cf89567bb077920356750c9a76a16c002d8ec2fa5c"
-dependencies = [
- "cfg-if",
- "cow-utils",
- "proc-macro2",
- "quote",
- "syn 3.0.9",
- "synstructure 0.14.0",
-]
-
-[[package]]
-name = "boa_parser"
-version = "0.22.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "641e81b3c8cbb7a2140547fb3ea534e9edf210b4e8c920b5fa864a919e11fbcf"
-dependencies = [
- "bitflags 2.13.2",
- "boa_ast",
- "boa_interner",
- "boa_macros",
- "fast-float2",
- "icu_properties",
- "num-bigint 0.5.1",
- "num-traits",
- "regress",
- "rustc-hash 2.1.3",
-]
-
-[[package]]
-name = "boa_runtime"
-version = "0.22.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c4f64cd1483c17ad23f3c9792cc1f949618178b79b0b25d3fee8f07d3019edd5"
-dependencies = [
- "boa_engine",
- "boa_gc",
- "boa_wintertc",
- "bytemuck",
- "either",
- "futures",
- "futures-lite",
- "http",
- "rustc-hash 2.1.3",
- "serde_json",
- "url",
-]
-
-[[package]]
-name = "boa_string"
-version = "0.22.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30bf86c2bcff5bf2547acbfc516c5d3108ca527cb131511d749bf6fbef762c0e"
-dependencies = [
- "fast-float2",
- "itoa",
- "pastey 0.2.3",
- "rustc-hash 2.1.3",
- "ryu-js",
- "static_assertions",
-]
-
-[[package]]
-name = "boa_wintertc"
-version = "0.22.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c66d29a1e767039bfa1981bf149966d4a4d7453190abe13ffccd8aaf95031299"
-dependencies = [
- "base64 0.23.1",
- "boa_engine",
- "boa_gc",
- "comfy-table",
- "rustc-hash 2.1.3",
-]
-
-[[package]]
-name = "borsh"
-version = "1.8.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "553c5d846a6ba5150c65e3b1b8ec073bcf1abc20f9b7220de384a4443ea4e20a"
-dependencies = [
- "bytes",
- "cfg_aliases",
-]
-
-[[package]]
-name = "brotli-decompressor"
-version = "5.0.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3a32acac15fe1967bc3986b2a6347dffc965602354ea6f450ad07e8bfd253583"
-dependencies = [
- "alloc-no-stdlib",
-]
-
-[[package]]
-name = "built"
-version = "0.8.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c0e531d93d39c34eef561e929e8a7f86d77a5af08aac4f6d6e39976c51858e9"
-
-[[package]]
-name = "bumpalo"
-version = "3.20.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
-
-[[package]]
-name = "by_address"
-version = "1.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "64fa3c856b712db6612c019f14756e64e4bcea13337a6b33b696333a9eaa2d06"
-
-[[package]]
-name = "bytemuck"
-version = "1.25.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95832e849adfb21180ccb6826a99da14e5d266ae5c2e668e1602cf234f153797"
-dependencies = [
- "bytemuck_derive",
-]
-
-[[package]]
-name = "bytemuck_derive"
-version = "1.12.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a1f896587b6f2c069c73d2f0913e2d590c3990285cd2f0b6aa02b786b4c679c"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 3.0.9",
-]
-
-[[package]]
-name = "byteorder"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
-
-[[package]]
-name = "byteorder-lite"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495"
-
-[[package]]
-name = "bytes"
-version = "1.12.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
-
-[[package]]
-name = "calendrical_calculations"
-version = "0.2.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5abbd6eeda6885048d357edc66748eea6e0268e3dd11f326fff5bd248d779c26"
-dependencies = [
- "core_maths",
- "displaydoc",
-]
-
-[[package]]
-name = "calloop"
-version = "0.13.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b99da2f8558ca23c71f4fd15dc57c906239752dd27ff3c00a1d56b685b7cbfec"
-dependencies = [
- "bitflags 2.13.2",
- "log",
- "polling",
- "rustix 0.38.44",
- "slab",
- "thiserror 1.0.69",
-]
-
-[[package]]
-name = "cc"
-version = "1.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6651c9ed80effdc7db0ff72512157f901af5e3549e341e24b1dd4887d836d838"
-dependencies = [
- "find-msvc-tools",
- "jobserver",
- "libc",
- "shlex",
-]
-
-[[package]]
-name = "cfg-if"
-version = "1.0.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
-
-[[package]]
-name = "cfg_aliases"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527"
-
-[[package]]
-name = "chacha20"
-version = "0.10.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06"
-dependencies = [
- "cfg-if",
- "cpufeatures 0.3.1",
- "rand_core 0.10.1",
-]
-
-[[package]]
-name = "clap"
-version = "4.6.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946"
-dependencies = [
- "clap_builder",
- "clap_derive",
-]
-
-[[package]]
-name = "clap_builder"
-version = "4.6.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d"
-dependencies = [
- "anstream",
- "anstyle",
- "clap_lex",
- "strsim",
-]
-
-[[package]]
-name = "clap_derive"
-version = "4.6.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f9c751b79415d4e559e3d1fcf128e09e720eb673a06d26cf6f392d37d75b66e0"
-dependencies = [
- "heck",
- "proc-macro2",
- "quote",
- "syn 3.0.9",
-]
-
-[[package]]
-name = "clap_lex"
-version = "1.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486"
-
-[[package]]
-name = "cmake"
-version = "0.1.58"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0f78a02292a74a88ac736019ab962ece0bc380e3f977bf72e376c5d78ff0678"
-dependencies = [
- "cc",
-]
-
-[[package]]
-name = "codespan-reporting"
-version = "0.12.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fe6d2e5af09e8c8ad56c969f2157a3d4238cebc7c55f0a517728c38f7b200f81"
-dependencies = [
- "serde",
- "termcolor",
- "unicode-width",
-]
-
-[[package]]
-name = "codespan-reporting"
-version = "0.13.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "af491d569909a7e4dee0ad7db7f5341fef5c614d5b8ec8cf765732aba3cff681"
-dependencies = [
- "serde",
- "termcolor",
- "unicode-width",
-]
-
-[[package]]
-name = "color"
-version = "0.3.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2ec7c5eb7a16992b1904d76c517d170ab353b0e0b3d5a0c81a8a0cd1037893cf"
-dependencies = [
- "bytemuck",
-]
-
-[[package]]
-name = "color_quant"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b"
-
-[[package]]
-name = "colorchoice"
-version = "1.0.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
-
-[[package]]
-name = "combine"
-version = "4.6.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cfc320937d09e6de266b31b9afb480f197d7a861be86be7cb2ea7e5d1bfffc5e"
-dependencies = [
- "bytes",
- "memchr",
-]
-
-[[package]]
-name = "comfy-table"
-version = "8.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b96a46ad395a5e00676eddaca4a45ed78b29c08be5a878d35e4b071c625637dd"
-dependencies = [
- "unicode-segmentation",
- "unicode-width",
-]
-
-[[package]]
-name = "concurrent-queue"
-version = "2.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973"
-dependencies = [
- "crossbeam-utils",
- "portable-atomic",
-]
-
-[[package]]
-name = "console"
-version = "0.15.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "054ccb5b10f9f2cbf51eb355ca1d05c2d279ce1804688d0db74b4733a5aeafd8"
-dependencies = [
- "encode_unicode",
- "libc",
- "once_cell",
- "unicode-width",
- "windows-sys 0.59.0",
-]
-
-[[package]]
-name = "console_error_panic_hook"
-version = "0.1.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a06aeb73f470f66dcdbf7223caeebb85984942f22f1adb2a088cf9668146bbbc"
-dependencies = [
- "cfg-if",
- "wasm-bindgen",
-]
-
-[[package]]
-name = "const-fnv1a-hash"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32b13ea120a812beba79e34316b3942a857c86ec1593cb34f27bb28272ce2cca"
-
-[[package]]
-name = "const_panic"
-version = "0.2.17"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9603f79528ece8163c496f8932121cb36cfe46259e9c907bb3d8205139d7caa3"
-dependencies = [
- "typewit",
-]
-
-[[package]]
-name = "const_soft_float"
-version = "0.1.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "87ca1caa64ef4ed453e68bb3db612e51cf1b2f5b871337f0fcab1c8f87cc3dff"
-
-[[package]]
-name = "constant_time_eq"
-version = "0.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b"
-
-[[package]]
-name = "constgebra"
-version = "0.1.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1aaf9b65849a68662ac6c0810c8893a765c960b907dd7cfab9c4a50bf764fbc"
-dependencies = [
- "const_soft_float",
-]
-
-[[package]]
-name = "convert_case"
-version = "0.10.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9"
-dependencies = [
- "unicode-segmentation",
-]
-
-[[package]]
-name = "core-foundation"
-version = "0.9.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f"
-dependencies = [
- "core-foundation-sys",
- "libc",
-]
-
-[[package]]
-name = "core-foundation-sys"
-version = "0.8.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
-
-[[package]]
-name = "core-graphics"
-version = "0.23.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c07782be35f9e1140080c6b96f0d44b739e2278479f64e02fdab4e32dfd8b081"
-dependencies = [
- "bitflags 1.3.2",
- "core-foundation",
- "core-graphics-types",
- "foreign-types",
- "libc",
-]
-
-[[package]]
-name = "core-graphics-types"
-version = "0.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "45390e6114f68f718cc7a830514a96f903cccd70d02a8f6d9f643ac4ba45afaf"
-dependencies = [
- "bitflags 1.3.2",
- "core-foundation",
- "libc",
-]
-
-[[package]]
-name = "core_detect"
-version = "1.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7f8f80099a98041a3d1622845c271458a2d73e688351bf3cb999266764b81d48"
-
-[[package]]
-name = "core_maths"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "77745e017f5edba1a9c1d854f6f3a52dac8a12dd5af5d2f54aecf61e43d80d30"
-dependencies = [
- "libm",
-]
-
-[[package]]
-name = "cow-utils"
-version = "0.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "417bef24afe1460300965a25ff4a24b8b45ad011948302ec221e8a0a81eb2c79"
-
-[[package]]
-name = "cpufeatures"
-version = "0.2.17"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
-dependencies = [
- "libc",
-]
-
-[[package]]
-name = "cpufeatures"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566"
-dependencies = [
- "libc",
-]
-
-[[package]]
-name = "crc32fast"
-version = "1.5.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "01a7799fd6b852db0e61728dde9a204c423b44d689dbd432522543614b490e78"
-dependencies = [
- "cfg-if",
-]
-
-[[package]]
-name = "critical-section"
-version = "1.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b"
-
-[[package]]
-name = "crossbeam-channel"
-version = "0.5.17"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "98b0cc327b5bc766e7fda9c9260cc0fa81b43a8e240440422dff70788e3f9ef1"
-dependencies = [
- "crossbeam-utils",
-]
-
-[[package]]
-name = "crossbeam-deque"
-version = "0.8.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "622f3fc73690be383c7214310406f28a90e6edeadc3cea882f9d71e495b9711a"
-dependencies = [
- "crossbeam-epoch",
- "crossbeam-utils",
-]
-
-[[package]]
-name = "crossbeam-epoch"
-version = "0.9.21"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d"
-dependencies = [
- "crossbeam-utils",
-]
-
-[[package]]
-name = "crossbeam-queue"
-version = "0.3.14"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "03e8bd762f7479489c70ed6c768ddca99d7296857de437a68dcb2a94365b3fae"
-dependencies = [
- "crossbeam-utils",
-]
-
-[[package]]
-name = "crossbeam-utils"
-version = "0.8.23"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6"
-
-[[package]]
-name = "crunchy"
-version = "0.2.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5"
-
-[[package]]
-name = "crypto-common"
-version = "0.1.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
-dependencies = [
- "generic-array",
- "typenum",
-]
-
-[[package]]
-name = "csscolorparser"
-version = "0.7.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5fda6aace1fbef3aa217b27f4c8d7d071ef2a70a5ca51050b1f17d40299d3f16"
-dependencies = [
- "phf 0.11.3",
-]
-
-[[package]]
-name = "cssparser"
-version = "0.38.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "11119743ad110e8c1bdccd930d7f5c30c99e5fc76a7b63ec9807e84eef0c5f59"
-dependencies = [
- "cssparser-macros",
- "dtoa-short",
- "itoa",
- "phf 0.14.0",
- "serde",
- "smallvec",
-]
-
-[[package]]
-name = "cssparser-macros"
-version = "0.7.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d045de693cb712d0b22c6a64be5b953f67b3ce00ab5ad3dd5d8b441886ab8e1a"
-dependencies = [
- "quote",
- "syn 3.0.9",
-]
-
-[[package]]
-name = "ctrlc"
-version = "3.5.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e0b1fab2ae45819af2d0731d60f2afe17227ebb1a1538a236da84c93e9a60162"
-dependencies = [
- "dispatch2",
- "nix",
- "windows-sys 0.61.2",
-]
-
-[[package]]
-name = "cursor-icon"
-version = "1.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f27ae1dd37df86211c42e150270f82743308803d90a6f6e6651cd730d5e1732f"
-
-[[package]]
-name = "darling"
-version = "0.20.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee"
-dependencies = [
- "darling_core",
- "darling_macro",
-]
-
-[[package]]
-name = "darling_core"
-version = "0.20.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e"
-dependencies = [
- "fnv",
- "ident_case",
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "darling_macro"
-version = "0.20.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead"
-dependencies = [
- "darling_core",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "dashmap"
-version = "6.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e6361d5c062261c78a176addb82d4c821ae42bed6089de0e12603cd25de2059c"
-dependencies = [
- "cfg-if",
- "crossbeam-utils",
- "hashbrown 0.14.5",
- "lock_api",
- "once_cell",
- "parking_lot_core",
-]
-
-[[package]]
-name = "data-encoding"
-version = "2.11.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4583a4551df46e2792f82ceeac45e850d2e2d5debba0b91f102385cda5b11f06"
-
-[[package]]
-name = "data-url"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "be1e0bca6c3637f992fc1cc7cbc52a78c1ef6db076dbf1059c4323d6a2048376"
-
-[[package]]
-name = "debug_timer"
-version = "0.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da220af51a1a335e9a930beaaef53d261e41ea9eecfb3d973a3ddae1a7284b9c"
-
-[[package]]
-name = "debug_timer"
-version = "0.1.3"
-source = "git+https://github.com/DioxusLabs/blitz?rev=a53fbab#a53fbabac25e2438954e3ebf9ab2d836b090206f"
-
-[[package]]
-name = "deranged"
-version = "0.5.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9e9de72ce2ad1f90dc62fa25f0f430ef85eb4b0d8fa0be4f30373bc40a21d28e"
-
-[[package]]
-name = "derive_more"
-version = "2.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134"
-dependencies = [
- "derive_more-impl",
-]
-
-[[package]]
-name = "derive_more-impl"
-version = "2.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb"
-dependencies = [
- "convert_case",
- "proc-macro2",
- "quote",
- "rustc_version",
- "syn 2.0.119",
- "unicode-xid",
-]
-
-[[package]]
-name = "digest"
-version = "0.10.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
-dependencies = [
- "block-buffer",
- "crypto-common",
-]
-
-[[package]]
-name = "dispatch"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b"
-
-[[package]]
-name = "dispatch2"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e0e367e4e7da84520dedcac1901e4da967309406d1e51017ae1abfb97adbd38"
-dependencies = [
- "bitflags 2.13.2",
- "block2 0.6.2",
- "libc",
- "objc2 0.6.5",
-]
-
-[[package]]
-name = "displaydoc"
-version = "0.2.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 3.0.9",
-]
-
-[[package]]
-name = "disqualified"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e90a5dd66beeca277ae954f8055b02a712792b6b6b43f2bc2f92b0b7d8291614"
-
-[[package]]
-name = "dlib"
-version = "0.5.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ab8ecd87370524b461f8557c119c405552c396ed91fc0a8eec68679eab26f94a"
-dependencies = [
- "libloading",
-]
-
-[[package]]
-name = "document-features"
-version = "0.2.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61"
-dependencies = [
- "litrs",
-]
-
-[[package]]
-name = "downcast-rs"
-version = "2.0.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "117240f60069e65410b3ae1bb213295bd828f707b5bec6596a1afc8793ce0cbc"
-
-[[package]]
-name = "dpi"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d8b14ccef22fc6f5a8f4d7d768562a182c04ce9a3b3157b91390b52ddfdf1a76"
-
-[[package]]
-name = "dtoa"
-version = "1.0.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c3cf4824e2d5f025c7b531afcb2325364084a16806f6d47fbc1f5fbd9960590"
-
-[[package]]
-name = "dtoa-short"
-version = "0.3.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd1511a7b6a56299bd043a9c167a6d2bfb37bf84a6dfceaba651168adfb43c87"
-dependencies = [
- "dtoa",
-]
-
-[[package]]
-name = "dynify"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "81acb15628a3e22358bf73de5e7e62360b8a777dbcb5fc9ac7dfa9ae73723747"
-dependencies = [
- "dynify-macros",
-]
-
-[[package]]
-name = "dynify-macros"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ec431cd708430d5029356535259c5d645d60edd3d39c54e5eea9782d46caa7d"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "either"
-version = "1.19.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
-
-[[package]]
-name = "encase"
-version = "0.12.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b1acbc46b960480c4959213714511e22f9a2e0d361520693bcf5057b5924f53e"
-dependencies = [
- "const_panic",
- "encase_derive",
- "thiserror 2.0.21",
-]
-
-[[package]]
-name = "encase_derive"
-version = "0.12.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e30d38c47336a0afbdfde297b442944041cf6dccbb1a79eceea16abfb27a92a"
-dependencies = [
- "encase_derive_impl",
-]
-
-[[package]]
-name = "encase_derive_impl"
-version = "0.12.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "495d24abe406f090f2ba8fc362ecaa8a001e192522aa75eae7b144163c3235ff"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "encode_unicode"
-version = "1.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0"
-
-[[package]]
-name = "encoding_rs"
-version = "0.8.42"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8e985e0451871ad22fb8d2b6b076e2028a502a0d3950998c2c5c0a4f9b5d9679"
-dependencies = [
- "cfg-if",
- "core_detect",
- "multiversion_no_op",
- "rustversion",
- "scopeguard",
- "simdutf8",
-]
-
-[[package]]
-name = "equator"
-version = "0.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4711b213838dfee0117e3be6ac926007d7f433d7bbe33595975d4190cb07e6fc"
-dependencies = [
- "equator-macro",
-]
-
-[[package]]
-name = "equator-macro"
-version = "0.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "44f23cf4b44bfce11a86ace86f8a73ffdec849c9fd00a386a53d278bd9e81fb3"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "equivalent"
-version = "1.0.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826"
-
-[[package]]
-name = "erased-serde"
-version = "0.4.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2add8a07dd6a8d93ff627029c51de145e12686fbc36ecb298ac22e74cf02dec"
-dependencies = [
- "serde",
- "serde_core",
- "typeid",
-]
-
-[[package]]
-name = "errno"
-version = "0.3.14"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
-dependencies = [
- "libc",
- "windows-sys 0.61.2",
-]
-
-[[package]]
-name = "euclid"
-version = "0.22.14"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1a05365e3b1c6d1650318537c7460c6923f1abdd272ad6842baa2b509957a06"
-dependencies = [
- "num-traits",
- "serde",
-]
-
-[[package]]
-name = "event-listener"
-version = "5.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a23add41df1562121a9393cb065eab5146a1242410f23a644851e90cfd669d2"
-dependencies = [
- "parking",
- "pin-project-lite",
-]
-
-[[package]]
-name = "event-listener-strategy"
-version = "0.5.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93"
-dependencies = [
- "event-listener",
- "pin-project-lite",
-]
-
-[[package]]
-name = "extended"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "af9673d8203fcb076b19dfd17e38b3d4ae9f44959416ea532ce72415a6020365"
-
-[[package]]
-name = "fast-float2"
-version = "0.2.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c6e8948ce679d00a02a94739ea185595dca7118ed04feb991127e443bd3d761f"
-
-[[package]]
-name = "fastrand"
-version = "2.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223"
-
-[[package]]
-name = "fdeflate"
-version = "0.3.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e6853b52649d4ac5c0bd02320cddc5ba956bdb407c4b75a2c6b75bf51500f8c"
-dependencies = [
- "simd-adler32",
-]
-
-[[package]]
-name = "fearless_simd"
-version = "0.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f4beca3cb2444e3304ac30843cc091f44ed58932353cd492ce740067bfce6b12"
-
-[[package]]
-name = "find-msvc-tools"
-version = "0.1.14"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484"
-
-[[package]]
-name = "fixedbitset"
-version = "0.5.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99"
-
-[[package]]
-name = "flate2"
-version = "1.1.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e634e2e0ebac1ee034020da1ca582e17ffe4e0f5e985823721e168928136dcb"
-dependencies = [
- "crc32fast",
- "miniz_oxide 0.9.1",
- "zlib-rs",
-]
-
-[[package]]
-name = "float-cmp"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4"
-
-[[package]]
-name = "float16"
-version = "0.1.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9442b5e9a7997eace4990debae01c1b69a1a601b9eeef7fada6c3f3edeff4a1"
-dependencies = [
- "cfg-if",
- "rustc_version",
-]
-
-[[package]]
-name = "fnv"
-version = "1.0.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
-
-[[package]]
-name = "foldhash"
-version = "0.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"
-
-[[package]]
-name = "foldhash"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
-
-[[package]]
-name = "font-types"
-version = "0.11.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5b38ad915f6dadd993ced50848a8291a543bd41ca62bc10740d5e64e2ab4cfd7"
-dependencies = [
- "bytemuck",
-]
-
-[[package]]
-name = "font-types"
-version = "0.12.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c92d9081c7ab3bd83ef1eecdfad090f3d966e3ce74106779664114cfe1a6274"
-dependencies = [
- "bytemuck",
-]
-
-[[package]]
-name = "fontconfig-parser"
-version = "0.5.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bbc773e24e02d4ddd8395fd30dc147524273a83e54e0f312d986ea30de5f5646"
-dependencies = [
- "roxmltree 0.20.0",
-]
-
-[[package]]
-name = "fontdb"
-version = "0.24.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2660c5e9157bf76d2db1294e4a9feba604ef610819a3b591088d0d8392a3290f"
-dependencies = [
- "fontconfig-parser",
- "log",
- "memmap2",
- "slotmap",
- "tinyvec",
-]
-
-[[package]]
-name = "fontique"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7c20b425addb8661e97fe1d51c4d8bcec3ec29ed6ad0db983976a7521276b8f7"
-dependencies = [
- "hashbrown 0.17.1",
- "linebender_resource_handle",
- "memmap2",
- "parlance 0.1.1",
- "read-fonts 0.39.2",
- "smallvec",
-]
-
-[[package]]
-name = "fontique"
-version = "0.11.0"
-dependencies = [
- "hashbrown 0.17.1",
- "linebender_resource_handle",
- "memmap2",
- "objc2 0.6.5",
- "objc2-core-foundation",
- "objc2-core-text",
- "objc2-foundation 0.3.2",
- "parlance 0.1.0",
- "read-fonts 0.41.0",
- "roxmltree 0.21.1",
- "smallvec",
- "windows",
- "windows-core",
- "yeslogic-fontconfig-sys",
-]
-
-[[package]]
-name = "foreign-types"
-version = "0.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965"
-dependencies = [
- "foreign-types-macros",
- "foreign-types-shared",
-]
-
-[[package]]
-name = "foreign-types-macros"
-version = "0.2.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ea5190182e6915eb873ddbc16e23b711b6eb1f9c00a0d0a3a91b5f6228475225"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 3.0.9",
-]
-
-[[package]]
-name = "foreign-types-shared"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b"
-
-[[package]]
-name = "form_urlencoded"
-version = "1.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf"
-dependencies = [
- "percent-encoding",
-]
-
-[[package]]
-name = "futures"
-version = "0.3.34"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9a31d2a3fbaaeb2af2368bbdd904aa8e812d3c04a1ee10d3171f52d556e5d0a3"
-dependencies = [
- "futures-channel",
- "futures-core",
- "futures-executor",
- "futures-io",
- "futures-sink",
- "futures-task",
- "futures-util",
-]
-
-[[package]]
-name = "futures-channel"
-version = "0.3.34"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4"
-dependencies = [
- "futures-core",
- "futures-sink",
-]
-
-[[package]]
-name = "futures-concurrency"
-version = "7.7.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "175cd8cca9e1d45b87f18ffa75088f2099e3c4fe5e2f83e42de112560bea8ea6"
-dependencies = [
- "fixedbitset",
- "futures-core",
- "futures-lite",
- "pin-project",
- "smallvec",
-]
-
-[[package]]
-name = "futures-core"
-version = "0.3.34"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
-
-[[package]]
-name = "futures-executor"
-version = "0.3.34"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432"
-dependencies = [
- "futures-core",
- "futures-task",
- "futures-util",
-]
-
-[[package]]
-name = "futures-io"
-version = "0.3.34"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed"
-
-[[package]]
-name = "futures-lite"
-version = "2.6.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad"
-dependencies = [
- "fastrand",
- "futures-core",
- "futures-io",
- "parking",
- "pin-project-lite",
-]
-
-[[package]]
-name = "futures-macro"
-version = "0.3.34"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 3.0.9",
-]
-
-[[package]]
-name = "futures-sink"
-version = "0.3.34"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d"
-
-[[package]]
-name = "futures-task"
-version = "0.3.34"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
-
-[[package]]
-name = "futures-util"
-version = "0.3.34"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
-dependencies = [
- "futures-channel",
- "futures-core",
- "futures-io",
- "futures-macro",
- "futures-sink",
- "futures-task",
- "memchr",
- "pin-project-lite",
- "slab",
-]
-
-[[package]]
-name = "generic-array"
-version = "0.14.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
-dependencies = [
- "typenum",
- "version_check",
-]
-
-[[package]]
-name = "getrandom"
-version = "0.3.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
-dependencies = [
- "cfg-if",
- "libc",
- "r-efi 5.3.0",
- "wasip2",
-]
-
-[[package]]
-name = "getrandom"
-version = "0.4.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
-dependencies = [
- "cfg-if",
- "libc",
- "r-efi 6.0.0",
- "rand_core 0.10.1",
-]
-
-[[package]]
-name = "gif"
-version = "0.14.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ee8cfcc411d9adbbaba82fb72661cc1bcca13e8bba98b364e62b2dba8f960159"
-dependencies = [
- "color_quant",
- "weezl",
-]
-
-[[package]]
-name = "gl_generator"
-version = "0.14.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1a95dfc23a2b4a9a2f5ab41d194f8bfda3cabec42af4e39f08c339eb2a0c124d"
-dependencies = [
- "khronos_api",
- "log",
- "xml-rs",
-]
-
-[[package]]
-name = "glam"
-version = "0.32.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f70749695b063ecbf6b62949ccccde2e733ec3ecbbd71d467dca4e5c6c97cca0"
-dependencies = [
- "bytemuck",
- "encase",
- "libm",
- "rand 0.10.3",
- "serde_core",
-]
-
-[[package]]
-name = "glifo"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9f1218dedd5348c1b166ec3b8b3cbca49d2f527bd43b3fa072ea5123c523ed3f"
-dependencies = [
- "bytemuck",
- "foldhash 0.2.0",
- "hashbrown 0.17.1",
- "log",
- "peniko",
- "png",
- "skrifa 0.44.0",
- "smallvec",
- "vello_common",
-]
-
-[[package]]
-name = "glow"
-version = "0.17.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "29038e1c483364cc6bb3cf78feee1816002e127c331a1eec55a4d202b9e1adb5"
-dependencies = [
- "js-sys",
- "slotmap",
- "wasm-bindgen",
- "web-sys",
-]
-
-[[package]]
-name = "gltf"
-version = "1.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3ce1918195723ce6ac74e80542c5a96a40c2b26162c1957a5cd70799b8cacf7"
-dependencies = [
- "byteorder",
- "gltf-json",
- "lazy_static",
- "serde_json",
-]
-
-[[package]]
-name = "gltf-derive"
-version = "1.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "14070e711538afba5d6c807edb74bcb84e5dbb9211a3bf5dea0dfab5b24f4c51"
-dependencies = [
- "inflections",
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "gltf-json"
-version = "1.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e6176f9d60a7eab0a877e8e96548605dedbde9190a7ae1e80bbcc1c9af03ab14"
-dependencies = [
- "gltf-derive",
- "serde",
- "serde_derive",
- "serde_json",
-]
-
-[[package]]
-name = "glutin_wgl_sys"
-version = "0.6.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2c4ee00b289aba7a9e5306d57c2d05499b2e5dc427f84ac708bd2c090212cf3e"
-dependencies = [
- "gl_generator",
-]
-
-[[package]]
-name = "gpu-allocator"
-version = "0.28.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "51255ea7cfaadb6c5f1528d43e92a82acb2b96c43365989a28b2d44ee38f8795"
-dependencies = [
- "ash",
- "hashbrown 0.16.1",
- "log",
- "presser",
- "thiserror 2.0.21",
- "windows",
-]
-
-[[package]]
-name = "gpu-descriptor"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b89c83349105e3732062a895becfc71a8f921bb71ecbbdd8ff99263e3b53a0ca"
-dependencies = [
- "bitflags 2.13.2",
- "gpu-descriptor-types",
- "hashbrown 0.15.5",
-]
-
-[[package]]
-name = "gpu-descriptor-types"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fdf242682df893b86f33a73828fb09ca4b2d3bb6cc95249707fc684d27484b91"
-dependencies = [
- "bitflags 2.13.2",
-]
-
-[[package]]
-name = "grid"
-version = "1.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b40ca9252762c466af32d0b1002e91e4e1bc5398f77455e55474deb466355ff5"
-
-[[package]]
-name = "guillotiere"
-version = "0.6.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b62d5865c036cb1393e23c50693df631d3f5d7bcca4c04fe4cc0fd592e74a782"
-dependencies = [
- "euclid",
- "svg_fmt",
-]
-
-[[package]]
-name = "guillotiere"
-version = "0.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6b17e70c989c36bad147b27a58d148c0741c51448aa5653436547323e524d0ab"
-dependencies = [
- "euclid",
-]
-
-[[package]]
-name = "half"
-version = "2.7.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b"
-dependencies = [
- "bytemuck",
- "cfg-if",
- "crunchy",
- "num-traits",
- "zerocopy 0.8.63",
-]
-
-[[package]]
-name = "harfrust"
-version = "0.6.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "551ed25397e4b444e89686602877d5cf3a7f6e3d548dcac37a8357d1e195f4df"
-dependencies = [
- "bitflags 2.13.2",
- "bytemuck",
- "core_maths",
- "read-fonts 0.39.2",
- "smallvec",
-]
-
-[[package]]
-name = "harfrust"
-version = "0.12.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c03d949a14aa089bbb282f7dd76a498a7f684428e4257202efc119ec010376f9"
-dependencies = [
- "bitflags 2.13.2",
- "bytemuck",
- "read-fonts 0.41.0",
- "smallvec",
-]
-
-[[package]]
-name = "hash32"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "47d60b12902ba28e2730cd37e95b8c9223af2808df9e902d4df49588d1470606"
-dependencies = [
- "byteorder",
-]
-
-[[package]]
-name = "hashbrown"
-version = "0.14.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
-
-[[package]]
-name = "hashbrown"
-version = "0.15.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1"
-dependencies = [
- "foldhash 0.1.5",
-]
-
-[[package]]
-name = "hashbrown"
-version = "0.16.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
-dependencies = [
- "allocator-api2",
- "equivalent",
- "foldhash 0.2.0",
- "serde",
- "serde_core",
-]
-
-[[package]]
-name = "hashbrown"
-version = "0.17.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
-dependencies = [
- "allocator-api2",
- "equivalent",
- "foldhash 0.2.0",
-]
-
-[[package]]
-name = "heapless"
-version = "0.9.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "25ba4bd83f9415b58b4ed8dc5714c76e626a105be4646c02630ad730ad3b5aa4"
-dependencies = [
- "hash32",
- "portable-atomic",
- "stable_deref_trait",
-]
-
-[[package]]
-name = "heck"
-version = "0.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
-
-[[package]]
-name = "hermit-abi"
-version = "0.5.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e17592d60ebacc7d5e169f4663c5f84f9161cc90328abcfe8456f41e4dfcb284"
-
-[[package]]
-name = "hexasphere"
-version = "18.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "177ea6330876de4ef08e184f827b98acc037614a4ce409902c5b0d53a9c2e951"
-dependencies = [
- "constgebra",
- "glam",
- "tinyvec",
-]
-
-[[package]]
-name = "hexf-parse"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dfa686283ad6dd069f105e5ab091b04c62850d3e4cf5d67debad1933f55023df"
-
-[[package]]
-name = "html-escape"
-version = "0.2.15"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c9356095b4b41197bba32173600e1582792cda618f65d12f68e2e77d273413c5"
-
-[[package]]
-name = "html5ever"
-version = "0.40.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "456a1a377e608e555d22ddab27ac0114bc7a7b4199078108e34c2aeae6c9b130"
-dependencies = [
- "log",
- "markup5ever",
- "memchr",
-]
-
-[[package]]
-name = "http"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0"
-dependencies = [
- "bytes",
- "itoa",
-]
-
-[[package]]
-name = "icu_calendar"
-version = "2.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "58655df2f728e46e4eee80bddebefacf52ec3e77cdb925014b47c5a5905eb55c"
-dependencies = [
- "calendrical_calculations",
- "displaydoc",
- "icu_calendar_data",
- "icu_locale_core",
- "icu_locale_fallback",
- "icu_provider",
- "tinystr",
- "zerovec",
-]
-
-[[package]]
-name = "icu_calendar_data"
-version = "2.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dc00caaa3fb3201ff7a18aa458e8c3ab042b9da154cfdf948bdde3936c31c36e"
-
-[[package]]
-name = "icu_casemap"
-version = "2.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f2edfd120d8445de853cf53a1abec916f638f933a70a6f4bf8f7e2d7b7f884e9"
-dependencies = [
- "icu_casemap_data",
- "icu_collections",
- "icu_locale_core",
- "icu_properties",
- "icu_provider",
- "potential_utf",
- "writeable",
- "zerovec",
-]
-
-[[package]]
-name = "icu_casemap_data"
-version = "2.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "059fcda0fc8d33effc6633a8cf0d8a3c17caf7d7c91918fba9918744f501e4e8"
-
-[[package]]
-name = "icu_collections"
-version = "2.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513"
-dependencies = [
- "displaydoc",
- "potential_utf",
- "serde",
- "utf8_iter",
- "yoke",
- "zerofrom",
- "zerovec",
-]
-
-[[package]]
-name = "icu_locale_core"
-version = "2.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb"
-dependencies = [
- "displaydoc",
- "litemap",
- "serde",
- "tinystr",
- "writeable",
- "zerovec",
-]
-
-[[package]]
-name = "icu_locale_fallback"
-version = "2.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "251af8e57c9400e3eb58242fe5b8b1152b2a64fdf4cf632f923c38ccee6f2fa9"
-dependencies = [
- "icu_locale_core",
- "icu_locale_fallback_data",
- "icu_provider",
- "potential_utf",
- "tinystr",
- "zerovec",
-]
-
-[[package]]
-name = "icu_locale_fallback_data"
-version = "2.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "decf2a22ec8fa68f1a0c1129a3f8583f8f8bc24e8b9ccbe98ead99f62a4dc3a8"
-
-[[package]]
-name = "icu_normalizer"
-version = "2.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f"
-dependencies = [
- "icu_collections",
- "icu_normalizer_data",
- "icu_properties",
- "icu_provider",
- "smallvec",
- "utf16_iter",
- "write16",
- "zerovec",
-]
-
-[[package]]
-name = "icu_normalizer_data"
-version = "2.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0"
-
-[[package]]
-name = "icu_properties"
-version = "2.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148"
-dependencies = [
- "displaydoc",
- "icu_collections",
- "icu_locale_core",
- "icu_properties_data",
- "icu_provider",
- "zerotrie",
- "zerovec",
-]
-
-[[package]]
-name = "icu_properties_data"
-version = "2.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa"
-
-[[package]]
-name = "icu_provider"
-version = "2.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73"
-dependencies = [
- "displaydoc",
- "icu_locale_core",
- "serde",
- "stable_deref_trait",
- "writeable",
- "yoke",
- "zerofrom",
- "zerotrie",
- "zerovec",
-]
-
-[[package]]
-name = "icu_segmenter"
-version = "2.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "82d07aafccd67af15d02512a6adf5896fbc5ed00f2e99b471d2efa14016db3db"
-dependencies = [
- "core_maths",
- "icu_collections",
- "icu_locale_fallback",
- "icu_provider",
- "icu_segmenter_data",
- "potential_utf",
- "smallvec",
- "utf8_iter",
- "zerovec",
-]
-
-[[package]]
-name = "icu_segmenter_data"
-version = "2.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ae293c039020f9ec10710af98d29ce6aa2051486638b49c9a6409f3b4a9e98ad"
-
-[[package]]
-name = "ident_case"
-version = "1.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
-
-[[package]]
-name = "idna"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de"
-dependencies = [
- "idna_adapter",
- "smallvec",
- "utf8_iter",
-]
-
-[[package]]
-name = "idna_adapter"
-version = "1.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714"
-dependencies = [
- "icu_normalizer",
- "icu_properties",
-]
-
-[[package]]
-name = "image"
-version = "0.25.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "85ab80394333c02fe689eaf900ab500fbd0c2213da414687ebf995a65d5a6104"
-dependencies = [
- "bytemuck",
- "byteorder-lite",
- "color_quant",
- "gif",
- "image-webp",
- "moxcms",
- "num-traits",
- "png",
- "zune-core",
- "zune-jpeg",
-]
-
-[[package]]
-name = "image-webp"
-version = "0.2.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "525e9ff3e1a4be2fbea1fdf0e98686a6d98b4d8f937e1bf7402245af1909e8c3"
-dependencies = [
- "byteorder-lite",
- "quick-error",
-]
-
-[[package]]
-name = "imagesize"
-version = "0.15.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "65b27460c2c92b037f3f94c538ed9a3342f3fdf923606781629ccb35f82d042a"
-
-[[package]]
-name = "indexmap"
-version = "2.14.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855"
-dependencies = [
- "equivalent",
- "hashbrown 0.17.1",
- "serde",
- "serde_core",
-]
-
-[[package]]
-name = "indicatif"
-version = "0.17.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "183b3088984b400f4cfac3620d5e076c84da5364016b4f49473de574b2586235"
-dependencies = [
- "console",
- "number_prefix",
- "portable-atomic",
- "unicode-width",
- "web-time",
-]
-
-[[package]]
-name = "inflections"
-version = "1.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a257582fdcde896fd96463bf2d40eefea0580021c0712a0e2b028b60b47a837a"
-
-[[package]]
-name = "interpolate_name"
-version = "0.2.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c34819042dc3d3971c46c2190835914dfbe0c3c13f61449b2997f4e9722dfa60"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "intrusive-collections"
-version = "0.10.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4275b20e6057cd7733fd8df8a5a31701e4fe44497dad0f3fa0e1c4fb971506be"
-
-[[package]]
-name = "inventory"
-version = "0.3.25"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6928282826c822ad91bf1c9a1cb90a30ba1c26770749929b4656cd6be829cd7c"
-dependencies = [
- "rustversion",
-]
-
-[[package]]
-name = "is_terminal_polyfill"
-version = "1.70.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
-
-[[package]]
-name = "itertools"
-version = "0.14.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285"
-dependencies = [
- "either",
-]
-
-[[package]]
-name = "itertools"
-version = "0.15.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b4baf93f58d4425749ca49a51c50ebab072c5df6994d08fed93541c331481dc"
-dependencies = [
- "either",
-]
-
-[[package]]
-name = "itoa"
-version = "1.0.18"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
-
-[[package]]
-name = "ixdtf"
-version = "0.6.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4d3667095d64c3ecffc96463a21157b04bf3e252f6e8d5750b20c02e33c194e3"
-
-[[package]]
-name = "jni"
-version = "0.22.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5efd9a482cf3a427f00d6b35f14332adc7902ce91efb778580e180ff90fa3498"
-dependencies = [
- "cfg-if",
- "combine",
- "jni-macros",
- "jni-sys 0.4.1",
- "log",
- "simd_cesu8",
- "thiserror 2.0.21",
- "walkdir",
- "windows-link",
-]
-
-[[package]]
-name = "jni-macros"
-version = "0.22.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a00109accc170f0bdb141fed3e393c565b6f5e072365c3bd58f5b062591560a3"
-dependencies = [
- "proc-macro2",
- "quote",
- "rustc_version",
- "simd_cesu8",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "jni-sys"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258"
-dependencies = [
- "jni-sys 0.4.1",
-]
-
-[[package]]
-name = "jni-sys"
-version = "0.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2"
-dependencies = [
- "jni-sys-macros",
-]
-
-[[package]]
-name = "jni-sys-macros"
-version = "0.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264"
-dependencies = [
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "jobserver"
-version = "0.1.35"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c00acbd29eabad4a2392fa0e921c874934dbbf4194312ad20f04a0ed67a3cb3"
-dependencies = [
- "getrandom 0.4.3",
- "libc",
-]
-
-[[package]]
-name = "js-sys"
-version = "0.3.106"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5"
-dependencies = [
- "cfg-if",
- "futures-util",
- "wasm-bindgen",
-]
-
-[[package]]
-name = "keyboard-types"
-version = "0.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b750dcadc39a09dbadd74e118f6dd6598df77fa01df0cfcdc52c28dece74528a"
-dependencies = [
- "bitflags 2.13.2",
- "serde",
- "unicode-segmentation",
-]
-
-[[package]]
-name = "khronos-egl"
-version = "6.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6aae1df220ece3c0ada96b8153459b67eebe9ae9212258bb0134ae60416fdf76"
-dependencies = [
- "libc",
- "libloading",
- "pkg-config",
-]
-
-[[package]]
-name = "khronos_api"
-version = "3.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc"
-
-[[package]]
-name = "ktx2"
-version = "0.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d50be8a24c37debdf3170be6ca396d5b5b165f37f94837891adac735ca416b8"
-dependencies = [
- "bitflags 2.13.2",
-]
-
-[[package]]
-name = "kurbo"
-version = "0.13.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4b60dfc32f652b926df6192e55525b16d186c69d47876c3ead4da5cc9f8450e2"
-dependencies = [
- "arrayvec",
- "euclid",
- "polycool",
- "smallvec",
-]
-
-[[package]]
-name = "lazy_static"
-version = "1.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb"
-
-[[package]]
-name = "libc"
-version = "0.2.190"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78"
-
-[[package]]
-name = "libfuzzer-sys"
-version = "0.4.13"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9fd2f41a1cba099f79a0b6b6c35656cf7c03351a7bae8ff0f28f25270f929d2"
-dependencies = [
- "arbitrary",
- "cc",
-]
-
-[[package]]
-name = "libloading"
-version = "0.8.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55"
-dependencies = [
- "cfg-if",
- "windows-link",
-]
-
-[[package]]
-name = "libm"
-version = "0.2.16"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981"
-
-[[package]]
-name = "libredox"
-version = "0.1.25"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "61ff90caf6077a803a240f62fdbe88645a890bbca49ef8174c3cb0404362171d"
-dependencies = [
- "bitflags 2.13.2",
- "libc",
- "plain",
- "redox_syscall 0.9.4",
-]
-
-[[package]]
-name = "linebender_resource_handle"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d4a5ff6bcca6c4867b1c4fd4ef63e4db7436ef363e0ad7531d1558856bae64f4"
-
-[[package]]
-name = "linux-raw-sys"
-version = "0.4.15"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab"
-
-[[package]]
-name = "linux-raw-sys"
-version = "0.12.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
-
-[[package]]
-name = "litemap"
-version = "0.8.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae"
-
-[[package]]
-name = "litrs"
-version = "1.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4744e383959f0db86ede514b809b1c53251889093803c05267acc7d4e7030d70"
-
-[[package]]
-name = "lock_api"
-version = "0.4.14"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
-dependencies = [
- "scopeguard",
-]
-
-[[package]]
-name = "log"
-version = "0.4.34"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
-
-[[package]]
-name = "malloc_size_of_derive"
-version = "0.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f44db74bde26fdf427af23f1d146c211aed857c59e3be750cf2617f6b0b05c94"
-dependencies = [
- "proc-macro2",
- "syn 2.0.119",
- "synstructure 0.13.2",
-]
-
-[[package]]
-name = "markup5ever"
-version = "0.40.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ab3dc68ac4a0f5719e560136778c1ee716e296030d75dbd4484e37e39e3a842"
-dependencies = [
- "log",
- "tendril",
- "web_atoms",
-]
-
-[[package]]
-name = "matchers"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9"
-dependencies = [
- "regex-automata",
-]
-
-[[package]]
-name = "maybe-rayon"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8ea1f30cedd69f0a2954655f7188c6a834246d2bcf1e315e2ac40c4b24dc9519"
-dependencies = [
- "cfg-if",
- "rayon",
-]
-
-[[package]]
-name = "memchr"
-version = "2.8.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
-
-[[package]]
-name = "memmap2"
-version = "0.9.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d1219ed1b7f229ee7104d281dd01d6802fe28bb6e95d292942c4daacdeb798c0"
-dependencies = [
- "libc",
-]
-
-[[package]]
-name = "mime"
-version = "0.3.17"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
-
-[[package]]
-name = "miniz_oxide"
-version = "0.8.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
-dependencies = [
- "adler2",
- "simd-adler32",
-]
-
-[[package]]
-name = "miniz_oxide"
-version = "0.9.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b63fbc4a50860e98e7b2aa7804ded1db5cbc3aff9193adaff57a6931bf7c4b4c"
-dependencies = [
- "adler2",
- "simd-adler32",
-]
-
-[[package]]
-name = "moxcms"
-version = "0.8.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bb85c154ba489f01b25c0d36ae69a87e4a1c73a72631fc6c0eb6dde34a73e44b"
-dependencies = [
- "num-traits",
- "pxfm",
-]
-
-[[package]]
-name = "multiversion_no_op"
-version = "1.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "743fb55ba31b18fb1ecef6bdc9aa2743314978ac084044301a7eee33fb99a20d"
-
-[[package]]
-name = "muxide"
-version = "0.2.5"
-dependencies = [
- "anyhow",
- "clap",
- "indicatif",
- "serde",
- "serde_json",
- "thiserror 1.0.69",
-]
-
-[[package]]
-name = "naga"
-version = "29.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b2bf919621e7975acb27d881bae2fb993e0d45c8e0446e85e6272971e00dc8df"
-dependencies = [
- "arrayvec",
- "bit-set",
- "bitflags 2.13.2",
- "cfg-if",
- "cfg_aliases",
- "codespan-reporting 0.13.1",
- "half",
- "hashbrown 0.16.1",
- "hexf-parse",
- "indexmap",
- "libm",
- "log",
- "num-traits",
- "once_cell",
- "pp-rs",
- "rustc-hash 1.1.0",
- "spirv",
- "thiserror 2.0.21",
- "unicode-ident",
-]
-
-[[package]]
-name = "naga_oil"
-version = "0.22.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "319f03062940ed85c03da020042618356bb8ca5263020322930883b05e30208e"
-dependencies = [
- "codespan-reporting 0.12.0",
- "data-encoding",
- "indexmap",
- "naga",
- "regex",
- "rustc-hash 1.1.0",
- "thiserror 2.0.21",
- "tracing",
- "unicode-ident",
-]
-
-[[package]]
-name = "nasm-rs"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "706bf8a5e8c8ddb99128c3291d31bd21f4bcde17f0f4c20ec678d85c74faa149"
-dependencies = [
- "jobserver",
- "log",
-]
-
-[[package]]
-name = "ndk"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4"
-dependencies = [
- "bitflags 2.13.2",
- "jni-sys 0.3.1",
- "log",
- "ndk-sys",
- "num_enum",
- "raw-window-handle",
- "thiserror 1.0.69",
-]
-
-[[package]]
-name = "ndk-context"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b"
-
-[[package]]
-name = "ndk-sys"
-version = "0.6.0+11769913"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ee6cda3051665f1fb8d9e08fc35c96d5a244fb1be711a03b71118828afc9a873"
-dependencies = [
- "jni-sys 0.3.1",
-]
-
-[[package]]
-name = "new_debug_unreachable"
-version = "1.0.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086"
-
-[[package]]
-name = "nix"
-version = "0.31.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf20d2fde8ff38632c426f1165ed7436270b44f199fc55284c38276f9db47c3d"
-dependencies = [
- "bitflags 2.13.2",
- "cfg-if",
- "cfg_aliases",
- "libc",
-]
-
-[[package]]
-name = "no_std_io2"
-version = "0.9.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "418abd1b6d34fbf6cae440dc874771b0525a604428704c76e48b29a5e67b8003"
-dependencies = [
- "memchr",
-]
-
-[[package]]
-name = "nom"
-version = "8.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405"
-dependencies = [
- "memchr",
-]
-
-[[package]]
-name = "nonmax"
-version = "0.5.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "610a5acd306ec67f907abe5567859a3c693fb9886eb1f012ab8f2a47bef3db51"
-
-[[package]]
-name = "noop_proc_macro"
-version = "0.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0676bb32a98c1a483ce53e500a81ad9c3d5b3f7c920c28c24e9cb0980d0b5bc8"
-
-[[package]]
-name = "nu-ansi-term"
-version = "0.50.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5"
-dependencies = [
- "windows-sys 0.61.2",
-]
-
-[[package]]
-name = "num-bigint"
-version = "0.4.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367"
-dependencies = [
- "num-integer",
- "num-traits",
-]
-
-[[package]]
-name = "num-bigint"
-version = "0.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93e7820bc0a80a0238e650327316f929ba18d5be054b647490a3a6a339f3e7c0"
-dependencies = [
- "num-integer",
- "num-traits",
- "serde",
-]
-
-[[package]]
-name = "num-conv"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441"
-
-[[package]]
-name = "num-derive"
-version = "0.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "num-integer"
-version = "0.1.47"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b"
-dependencies = [
- "num-traits",
-]
-
-[[package]]
-name = "num-rational"
-version = "0.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824"
-dependencies = [
- "num-bigint 0.4.8",
- "num-integer",
- "num-traits",
- "serde",
-]
-
-[[package]]
-name = "num-traits"
-version = "0.2.19"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
-dependencies = [
- "autocfg",
- "libm",
-]
-
-[[package]]
-name = "num_cpus"
-version = "1.17.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b"
-dependencies = [
- "hermit-abi",
- "libc",
-]
-
-[[package]]
-name = "num_enum"
-version = "0.7.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5d0bca838442ec211fa11de3a8b0e0e8f3a4522575b5c4c06ed722e005036f26"
-dependencies = [
- "num_enum_derive",
- "rustversion",
-]
-
-[[package]]
-name = "num_enum_derive"
-version = "0.7.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "680998035259dcfcafe653688bf2aa6d3e2dc05e98be6ab46afb089dc84f1df8"
-dependencies = [
- "proc-macro-crate",
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "num_threads"
-version = "0.1.7"
-dependencies = [
- "libc",
-]
-
-[[package]]
-name = "number_prefix"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3"
-
-[[package]]
-name = "objc-sys"
-version = "0.3.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cdb91bdd390c7ce1a8607f35f3ca7151b65afc0ff5ff3b34fa350f7d7c7e4310"
-
-[[package]]
-name = "objc2"
-version = "0.5.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19d5490aaf8f1d7cf7688dfa9b0ce07900e168852c45cd2c03f534dfd27cfd0b"
-dependencies = [
- "objc-sys",
- "objc2-encode",
-]
-
-[[package]]
-name = "objc2"
-version = "0.6.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08849bbd4767dfae9457696856ae1c84fe4e0281bbe4a7abff2d0e06fb7981f8"
-dependencies = [
- "objc2-encode",
-]
-
-[[package]]
-name = "objc2-app-kit"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e4e89ad9e3d7d297152b17d39ed92cd50ca8063a89a9fa569046d41568891eff"
-dependencies = [
- "bitflags 2.13.2",
- "block2 0.5.1",
- "libc",
- "objc2 0.5.3",
- "objc2-core-data",
- "objc2-core-image 0.2.2",
- "objc2-foundation 0.2.2",
- "objc2-quartz-core 0.2.2",
-]
-
-[[package]]
-name = "objc2-audio-toolbox"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6948501a91121d6399b79abaa33a8aa4ea7857fe019f341b8c23ad6e81b79b08"
-dependencies = [
- "bitflags 2.13.2",
- "block2 0.6.2",
- "objc2 0.6.5",
- "objc2-foundation 0.3.2",
-]
-
-[[package]]
-name = "objc2-av-foundation"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "478ae33fcac9df0a18db8302387c666b8ef08a3e2d62b510ca4fc278a384b6c0"
-dependencies = [
- "bitflags 2.13.2",
- "block2 0.6.2",
- "dispatch2",
- "objc2 0.6.5",
- "objc2-avf-audio",
- "objc2-core-audio-types",
- "objc2-core-foundation",
- "objc2-core-graphics",
- "objc2-core-image 0.3.2",
- "objc2-core-media",
- "objc2-core-video",
- "objc2-foundation 0.3.2",
- "objc2-image-io",
- "objc2-media-toolbox",
- "objc2-quartz-core 0.3.2",
-]
-
-[[package]]
-name = "objc2-avf-audio"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "13a380031deed8e99db00065c45937da434ca987c034e13b87e4441f9e4090be"
-dependencies = [
- "bitflags 2.13.2",
- "block2 0.6.2",
- "objc2 0.6.5",
- "objc2-audio-toolbox",
- "objc2-core-audio-types",
- "objc2-foundation 0.3.2",
-]
-
-[[package]]
-name = "objc2-cloud-kit"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "74dd3b56391c7a0596a295029734d3c1c5e7e510a4cb30245f8221ccea96b009"
-dependencies = [
- "bitflags 2.13.2",
- "block2 0.5.1",
- "objc2 0.5.3",
- "objc2-core-location",
- "objc2-foundation 0.2.2",
-]
-
-[[package]]
-name = "objc2-contacts"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a5ff520e9c33812fd374d8deecef01d4a840e7b41862d849513de77e44aa4889"
-dependencies = [
- "block2 0.5.1",
- "objc2 0.5.3",
- "objc2-foundation 0.2.2",
-]
-
-[[package]]
-name = "objc2-core-audio"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1eebcea8b0dbff5f7c8504f3107c68fc061a3eb44932051c8cf8a68d969c3b2"
-dependencies = [
- "dispatch2",
- "objc2 0.6.5",
- "objc2-core-audio-types",
- "objc2-core-foundation",
-]
-
-[[package]]
-name = "objc2-core-audio-types"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a89f2ec274a0cf4a32642b2991e8b351a404d290da87bb6a9a9d8632490bd1c"
-dependencies = [
- "bitflags 2.13.2",
- "objc2 0.6.5",
-]
-
-[[package]]
-name = "objc2-core-data"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "617fbf49e071c178c0b24c080767db52958f716d9eabdf0890523aeae54773ef"
-dependencies = [
- "bitflags 2.13.2",
- "block2 0.5.1",
- "objc2 0.5.3",
- "objc2-foundation 0.2.2",
-]
-
-[[package]]
-name = "objc2-core-foundation"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536"
-dependencies = [
- "bitflags 2.13.2",
- "block2 0.6.2",
- "dispatch2",
- "libc",
- "objc2 0.6.5",
-]
-
-[[package]]
-name = "objc2-core-graphics"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e022c9d066895efa1345f8e33e584b9f958da2fd4cd116792e15e07e4720a807"
-dependencies = [
- "bitflags 2.13.2",
- "dispatch2",
- "objc2 0.6.5",
- "objc2-core-foundation",
- "objc2-io-surface",
-]
-
-[[package]]
-name = "objc2-core-image"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "55260963a527c99f1819c4f8e3b47fe04f9650694ef348ffd2227e8196d34c80"
-dependencies = [
- "block2 0.5.1",
- "objc2 0.5.3",
- "objc2-foundation 0.2.2",
- "objc2-metal 0.2.2",
-]
-
-[[package]]
-name = "objc2-core-image"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5d563b38d2b97209f8e861173de434bd0214cf020e3423a52624cd1d989f006"
-dependencies = [
- "objc2 0.6.5",
- "objc2-foundation 0.3.2",
-]
-
-[[package]]
-name = "objc2-core-location"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "000cfee34e683244f284252ee206a27953279d370e309649dc3ee317b37e5781"
-dependencies = [
- "block2 0.5.1",
- "objc2 0.5.3",
- "objc2-contacts",
- "objc2-foundation 0.2.2",
-]
-
-[[package]]
-name = "objc2-core-media"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "05ec576860167a15dd9fce7fbee7512beb4e31f532159d3482d1f9c6caedf31d"
-dependencies = [
- "bitflags 2.13.2",
- "block2 0.6.2",
- "dispatch2",
- "objc2 0.6.5",
- "objc2-core-audio",
- "objc2-core-audio-types",
- "objc2-core-foundation",
- "objc2-core-video",
-]
-
-[[package]]
-name = "objc2-core-text"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0cde0dfb48d25d2b4862161a4d5fcc0e3c24367869ad306b0c9ec0073bfed92d"
-dependencies = [
- "bitflags 2.13.2",
- "objc2-core-foundation",
-]
-
-[[package]]
-name = "objc2-core-video"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d425caf1df73233f29fd8a5c3e5edbc30d2d4307870f802d18f00d83dc5141a6"
-dependencies = [
- "bitflags 2.13.2",
- "block2 0.6.2",
- "objc2 0.6.5",
- "objc2-core-foundation",
- "objc2-core-graphics",
- "objc2-io-surface",
- "objc2-metal 0.3.2",
-]
-
-[[package]]
-name = "objc2-encode"
-version = "4.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33"
-
-[[package]]
-name = "objc2-foundation"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ee638a5da3799329310ad4cfa62fbf045d5f56e3ef5ba4149e7452dcf89d5a8"
-dependencies = [
- "bitflags 2.13.2",
- "block2 0.5.1",
- "dispatch",
- "libc",
- "objc2 0.5.3",
-]
-
-[[package]]
-name = "objc2-foundation"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272"
-dependencies = [
- "bitflags 2.13.2",
- "block2 0.6.2",
- "libc",
- "objc2 0.6.5",
- "objc2-core-foundation",
-]
-
-[[package]]
-name = "objc2-image-io"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32b0446e98cf4a784cc7a0177715ff317eeaa8463841c616cfc78aa4f953c4ea"
-dependencies = [
- "objc2 0.6.5",
- "objc2-core-foundation",
- "objc2-core-graphics",
-]
-
-[[package]]
-name = "objc2-io-surface"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "180788110936d59bab6bd83b6060ffdfffb3b922ba1396b312ae795e1de9d81d"
-dependencies = [
- "bitflags 2.13.2",
- "objc2 0.6.5",
- "objc2-core-foundation",
-]
-
-[[package]]
-name = "objc2-link-presentation"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a1a1ae721c5e35be65f01a03b6d2ac13a54cb4fa70d8a5da293d7b0020261398"
-dependencies = [
- "block2 0.5.1",
- "objc2 0.5.3",
- "objc2-app-kit",
- "objc2-foundation 0.2.2",
-]
-
-[[package]]
-name = "objc2-media-toolbox"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "edd9fdde720df3da7046bb9097811000c1e7ab5cd579fa89d96b27d56781fb30"
-dependencies = [
- "objc2 0.6.5",
- "objc2-core-audio-types",
- "objc2-core-foundation",
- "objc2-core-media",
-]
-
-[[package]]
-name = "objc2-metal"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd0cba1276f6023976a406a14ffa85e1fdd19df6b0f737b063b95f6c8c7aadd6"
-dependencies = [
- "bitflags 2.13.2",
- "block2 0.5.1",
- "objc2 0.5.3",
- "objc2-foundation 0.2.2",
-]
-
-[[package]]
-name = "objc2-metal"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a0125f776a10d00af4152d74616409f0d4a2053a6f57fa5b7d6aa2854ac04794"
-dependencies = [
- "bitflags 2.13.2",
- "block2 0.6.2",
- "objc2 0.6.5",
- "objc2-foundation 0.3.2",
-]
-
-[[package]]
-name = "objc2-quartz-core"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e42bee7bff906b14b167da2bac5efe6b6a07e6f7c0a21a7308d40c960242dc7a"
-dependencies = [
- "bitflags 2.13.2",
- "block2 0.5.1",
- "objc2 0.5.3",
- "objc2-foundation 0.2.2",
- "objc2-metal 0.2.2",
-]
-
-[[package]]
-name = "objc2-quartz-core"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "96c1358452b371bf9f104e21ec536d37a650eb10f7ee379fff67d2e08d537f1f"
-dependencies = [
- "bitflags 2.13.2",
- "objc2 0.6.5",
- "objc2-core-foundation",
- "objc2-foundation 0.3.2",
- "objc2-metal 0.3.2",
-]
-
-[[package]]
-name = "objc2-symbols"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0a684efe3dec1b305badae1a28f6555f6ddd3bb2c2267896782858d5a78404dc"
-dependencies = [
- "objc2 0.5.3",
- "objc2-foundation 0.2.2",
-]
-
-[[package]]
-name = "objc2-ui-kit"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8bb46798b20cd6b91cbd113524c490f1686f4c4e8f49502431415f3512e2b6f"
-dependencies = [
- "bitflags 2.13.2",
- "block2 0.5.1",
- "objc2 0.5.3",
- "objc2-cloud-kit",
- "objc2-core-data",
- "objc2-core-image 0.2.2",
- "objc2-core-location",
- "objc2-foundation 0.2.2",
- "objc2-link-presentation",
- "objc2-quartz-core 0.2.2",
- "objc2-symbols",
- "objc2-uniform-type-identifiers",
- "objc2-user-notifications",
-]
-
-[[package]]
-name = "objc2-uniform-type-identifiers"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "44fa5f9748dbfe1ca6c0b79ad20725a11eca7c2218bceb4b005cb1be26273bfe"
-dependencies = [
- "block2 0.5.1",
- "objc2 0.5.3",
- "objc2-foundation 0.2.2",
-]
-
-[[package]]
-name = "objc2-user-notifications"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "76cfcbf642358e8689af64cee815d139339f3ed8ad05103ed5eaf73db8d84cb3"
-dependencies = [
- "bitflags 2.13.2",
- "block2 0.5.1",
- "objc2 0.5.3",
- "objc2-core-location",
- "objc2-foundation 0.2.2",
-]
-
-[[package]]
-name = "objc2-video-toolbox"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "05bf9a3c14831a7d9641b0d81d87dd913ee238a012b2fde27db5a84b56f5df3e"
-dependencies = [
- "bitflags 2.13.2",
- "block2 0.6.2",
- "objc2 0.6.5",
- "objc2-core-foundation",
- "objc2-core-graphics",
- "objc2-core-media",
- "objc2-core-video",
- "objc2-foundation 0.3.2",
- "objc2-metal 0.3.2",
-]
-
-[[package]]
-name = "object"
-version = "0.39.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2e5a6c098c7a3b6547378093f5cc30bc54fd361ce711e05293a5cc589562739b"
-dependencies = [
- "memchr",
-]
-
-[[package]]
-name = "offset-allocator"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e234d535da3521eb95106f40f0b73483d80bfb3aacf27c40d7e2b72f1a3e00a2"
-dependencies = [
- "log",
- "nonmax",
-]
-
-[[package]]
-name = "once_cell"
-version = "1.21.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
-
-[[package]]
-name = "once_cell_polyfill"
-version = "1.70.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
-
-[[package]]
-name = "oneshot"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cfe21416a02c693fb9f980befcb230ecc70b0b3d1cc4abf88b9675c4c1457f0c"
-
-[[package]]
-name = "openh264"
-version = "0.9.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fcc9071a0b5f9c501ddd01066c2600d922cc799dc450a52975222bcda7755a08"
-dependencies = [
- "openh264-sys2",
- "wide",
-]
-
-[[package]]
-name = "openh264-sys2"
-version = "0.9.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ada29a4cadc13d4d326737af87c13e224210d7d99fe47594e9f3f9b0102fd70"
-dependencies = [
- "cc",
- "nasm-rs",
- "walkdir",
-]
-
-[[package]]
-name = "opus"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "33718946cc77d4032911d4efe03a66dbcbfbd2bb16c3da06aaeadcc637c32216"
-dependencies = [
- "opusic-sys",
-]
-
-[[package]]
-name = "opusic-sys"
-version = "0.7.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c9d1ecdf206421bc74343ab3bb2f30ad2abbfee41fa341f7181fecbaf957769a"
-dependencies = [
- "cmake",
-]
-
-[[package]]
-name = "orbclient"
-version = "0.3.55"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5df339f526ea9a60e371768d50efc2f2508c7203290731565d1f7a6f71d21747"
-dependencies = [
- "libc",
- "libredox",
-]
-
-[[package]]
-name = "ordered-float"
-version = "5.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8c7c9e0d9b23589f26070720bac724174bfec1083e82f7854cdd0267518343c0"
-dependencies = [
- "num-traits",
-]
-
-[[package]]
-name = "palette"
-version = "0.7.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ddeed8580d347d2abf3dcf06a5f0b3dc020258338526b277847cd4248a70fc64"
-dependencies = [
- "approx",
- "libm",
- "palette_derive",
- "palette_math",
-]
-
-[[package]]
-name = "palette_derive"
-version = "0.7.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "88537020289b719d81be994ccf1bbf4990f477e2f69ee52fe3e45f43a02e56be"
-dependencies = [
- "by_address",
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "palette_math"
-version = "0.7.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e6eb142958d64335fb0e345c5b9ead2ecd6fc438c307e9d7d3c4fd428dbaf12"
-dependencies = [
- "libm",
-]
-
-[[package]]
-name = "parking"
-version = "2.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba"
-
-[[package]]
-name = "parking_lot"
-version = "0.12.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
-dependencies = [
- "lock_api",
- "parking_lot_core",
-]
-
-[[package]]
-name = "parking_lot_core"
-version = "0.9.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
-dependencies = [
- "cfg-if",
- "libc",
- "redox_syscall 0.5.18",
- "smallvec",
- "windows-link",
-]
-
-[[package]]
-name = "parlance"
-version = "0.1.0"
-source = "git+https://github.com/linebender/parley?rev=62790943af982ad3388a3ff96cef6f90ac80a8bb#62790943af982ad3388a3ff96cef6f90ac80a8bb"
-dependencies = [
- "bytemuck",
-]
-
-[[package]]
-name = "parlance"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "73072a9470554c8e794778acece2312661218aaabb635600957d952cf01c716e"
-
-[[package]]
-name = "parley"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8fad031076f48f0d4d85ce1aea9b94b4e715a4d636a030a123038f8f5b5e4343"
-dependencies = [
- "fontique 0.9.0",
- "harfrust 0.6.2",
- "hashbrown 0.17.1",
- "icu_normalizer",
- "icu_properties",
- "icu_segmenter",
- "linebender_resource_handle",
- "parlance 0.1.1",
- "parley_data 0.9.0",
- "skrifa 0.42.1",
-]
-
-[[package]]
-name = "parley"
-version = "0.11.0"
-dependencies = [
- "fontique 0.11.0",
- "hashbrown 0.17.1",
- "linebender_resource_handle",
- "parlance 0.1.0",
- "parley_engine",
- "smallvec",
-]
-
-[[package]]
-name = "parley_data"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19ab9ace3fad1b9ed603ddac5b595e69931fc50263d7e04e4055015b77b02da5"
-dependencies = [
- "icu_properties",
-]
-
-[[package]]
-name = "parley_data"
-version = "0.11.0"
-source = "git+https://github.com/linebender/parley?rev=62790943af982ad3388a3ff96cef6f90ac80a8bb#62790943af982ad3388a3ff96cef6f90ac80a8bb"
-dependencies = [
- "icu_collections",
- "icu_properties",
-]
-
-[[package]]
-name = "parley_emoji"
-version = "0.11.0"
-source = "git+https://github.com/linebender/parley?rev=62790943af982ad3388a3ff96cef6f90ac80a8bb#62790943af982ad3388a3ff96cef6f90ac80a8bb"
-
-[[package]]
-name = "parley_engine"
-version = "0.11.0"
-dependencies = [
- "fontique 0.11.0",
- "harfrust 0.12.0",
- "hashbrown 0.17.1",
- "icu_locale_core",
- "icu_normalizer",
- "icu_properties",
- "icu_segmenter",
- "linebender_resource_handle",
- "parlance 0.1.0",
- "parley_data 0.11.0",
- "parley_emoji",
- "skrifa 0.44.0",
-]
-
-[[package]]
-name = "paste"
-version = "1.0.15"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
-
-[[package]]
-name = "pastey"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "35fb2e5f958ec131621fdd531e9fc186ed768cbe395337403ae56c17a74c68ec"
-
-[[package]]
-name = "pastey"
-version = "0.2.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2ee67f1008b1ba2321834326597b8e186293b049a023cdef258527550b9935b4"
-
-[[package]]
-name = "peniko"
-version = "0.6.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "839c8299360d2e998bdb106dc0a6cd71dcc5f4df51df1b620361bf50e283cca6"
-dependencies = [
- "bytemuck",
- "color",
- "kurbo",
- "linebender_resource_handle",
- "smallvec",
-]
-
-[[package]]
-name = "percent-encoding"
-version = "2.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
-
-[[package]]
-name = "petgraph"
-version = "0.8.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8701b58ea97060d5e5b155d383a69952a60943f0e6dfe30b04c287beb0b27455"
-dependencies = [
- "fixedbitset",
- "hashbrown 0.15.5",
- "indexmap",
- "serde",
- "serde_derive",
-]
-
-[[package]]
-name = "phf"
-version = "0.11.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078"
-dependencies = [
- "phf_macros 0.11.3",
- "phf_shared 0.11.3",
-]
-
-[[package]]
-name = "phf"
-version = "0.14.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "010378780309880b08997fae13be7834dba947d36393bd372f2b1556deb2a2f6"
-dependencies = [
- "phf_macros 0.14.0",
- "phf_shared 0.14.0",
- "serde",
-]
-
-[[package]]
-name = "phf_codegen"
-version = "0.14.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "41b585a510fb76fdebead6897982ef2a03a21d8e6cbcca904999742a4afc6ffe"
-dependencies = [
- "phf_generator 0.14.0",
- "phf_shared 0.14.0",
-]
-
-[[package]]
-name = "phf_generator"
-version = "0.11.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d"
-dependencies = [
- "phf_shared 0.11.3",
- "rand 0.8.8",
-]
-
-[[package]]
-name = "phf_generator"
-version = "0.14.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aeb62e0959d5a1bebc965f4d15d9e2b7cea002b6b0f5ba8cde6cc26738467100"
-dependencies = [
- "fastrand",
- "phf_shared 0.14.0",
-]
-
-[[package]]
-name = "phf_macros"
-version = "0.11.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216"
-dependencies = [
- "phf_generator 0.11.3",
- "phf_shared 0.11.3",
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "phf_macros"
-version = "0.14.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5fa8d0ca26d424d27630da600c6624696e7dec8bf7b3b492b383c5dc49e5e085"
-dependencies = [
- "phf_generator 0.14.0",
- "phf_shared 0.14.0",
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "phf_shared"
-version = "0.11.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5"
-dependencies = [
- "siphasher",
-]
-
-[[package]]
-name = "phf_shared"
-version = "0.14.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c6fd9027e2d9319be6349febd1db4e8d02aa544921200c9b777720ac34a3aa89"
-dependencies = [
- "siphasher",
-]
-
-[[package]]
-name = "pico-args"
-version = "0.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5be167a7af36ee22fe3115051bc51f6e6c7054c9348e28deb4f49bd6f705a315"
-
-[[package]]
-name = "pin-project"
-version = "1.1.13"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2466b2336ed02bcdca6b294417127b90ec92038d1d5c4fbeac971a922e0e0924"
-dependencies = [
- "pin-project-internal",
-]
-
-[[package]]
-name = "pin-project-internal"
-version = "1.1.13"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c96395f0a926bc13b1c17622aaddda1ecb55d49c8f1bf9777e4d877800a43f8b"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "pin-project-lite"
-version = "0.2.17"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
-
-[[package]]
-name = "piper"
-version = "0.2.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c835479a4443ded371d6c535cbfd8d31ad92c5d23ae9770a61bc155e4992a3c1"
-dependencies = [
- "atomic-waker",
- "fastrand",
- "futures-io",
-]
-
-[[package]]
-name = "pkg-config"
-version = "0.3.34"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548"
-
-[[package]]
-name = "plain"
-version = "0.2.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6"
-
-[[package]]
-name = "png"
-version = "0.18.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "60769b8b31b2a9f263dae2776c37b1b28ae246943cf719eb6946a1db05128a61"
-dependencies = [
- "bitflags 2.13.2",
- "crc32fast",
- "fdeflate",
- "flate2",
- "miniz_oxide 0.8.9",
-]
-
-[[package]]
-name = "polling"
-version = "3.11.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5d0e4f59085d47d8241c88ead0f274e8a0cb551f3625263c05eb8dd897c34218"
-dependencies = [
- "cfg-if",
- "concurrent-queue",
- "hermit-abi",
- "pin-project-lite",
- "rustix 1.1.5",
- "windows-sys 0.61.2",
-]
-
-[[package]]
-name = "pollster"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2f3a9f18d041e6d0e102a0a46750538147e5e8992d3b4873aaafee2520b00ce3"
-
-[[package]]
-name = "polycool"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "50596ddc09eb5ad5f75cacd40209568e66df71baf86e1499a0e99c4cff12a5a6"
-dependencies = [
- "arrayvec",
-]
-
-[[package]]
-name = "portable-atomic"
-version = "1.15.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
-
-[[package]]
-name = "portable-atomic-util"
-version = "0.2.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "10ab3eb7f3becc3a1cbc4f2c6f20267996cfc1a6467a873763411b136a122715"
-dependencies = [
- "portable-atomic",
-]
-
-[[package]]
-name = "potential_utf"
-version = "0.1.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661"
-dependencies = [
- "serde_core",
- "writeable",
- "zerovec",
-]
-
-[[package]]
-name = "powerfmt"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4a6394b9e965e73d0a289ee54f589087e2c676aedf60885baf52c76b771e4958"
-
-[[package]]
-name = "pp-rs"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bb458bb7f6e250e6eb79d5026badc10a3ebb8f9a15d1fff0f13d17c71f4d6dee"
-dependencies = [
- "unicode-xid",
-]
-
-[[package]]
-name = "ppv-lite86"
-version = "0.2.21"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
-dependencies = [
- "zerocopy 0.8.63",
-]
-
-[[package]]
-name = "precomputed-hash"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
-
-[[package]]
-name = "presser"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e8cf8e6a8aa66ce33f63993ffc4ea4271eb5b0530a9002db8455ea6050c77bfa"
-
-[[package]]
-name = "proc-macro-crate"
-version = "3.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f"
-dependencies = [
- "toml_edit",
-]
-
-[[package]]
-name = "proc-macro2"
-version = "1.0.107"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
-dependencies = [
- "unicode-ident",
-]
-
-[[package]]
-name = "profiling"
-version = "1.0.18"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3d595e54a326bc53c1c197b32d295e14b169e3cfeaa8dc82b529f947fba6bcf5"
-dependencies = [
- "profiling-procmacros",
- "tracing",
-]
-
-[[package]]
-name = "profiling-procmacros"
-version = "1.0.18"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4488a4a36b9a4ba6b9334a32a39971f77c1436ec82c38707bce707699cc3bbcb"
-dependencies = [
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "psm"
-version = "0.1.32"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4dcd034599e63b970727f70d79e02d62390a4a84f7c6b827c27c46d5ac3fa622"
-dependencies = [
- "ar_archive_writer",
- "cc",
-]
-
-[[package]]
-name = "pxfm"
-version = "0.1.30"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d55d956fa96f5ec02be2e13af0e20391a5aa83d6a074e3ad368959d0fab299ea"
-
-[[package]]
-name = "quick-error"
-version = "2.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3"
-
-[[package]]
-name = "quote"
-version = "1.0.47"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
-dependencies = [
- "proc-macro2",
-]
-
-[[package]]
-name = "r-efi"
-version = "5.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
-
-[[package]]
-name = "r-efi"
-version = "6.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
-
-[[package]]
-name = "radsort"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "019b4b213425016d7d84a153c4c73afb0946fbb4840e4eece7ba8848b9d6da22"
-
-[[package]]
-name = "rand"
-version = "0.8.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c"
-dependencies = [
- "rand_core 0.6.4",
-]
-
-[[package]]
-name = "rand"
-version = "0.9.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b9ef1d0d795eb7d84685bca4f72f3649f064e6641543d3a8c415898726a57b41"
-dependencies = [
- "rand_chacha",
- "rand_core 0.9.5",
-]
-
-[[package]]
-name = "rand"
-version = "0.10.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af"
-dependencies = [
- "chacha20",
- "getrandom 0.4.3",
- "rand_core 0.10.1",
-]
-
-[[package]]
-name = "rand_chacha"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
-dependencies = [
- "ppv-lite86",
- "rand_core 0.9.5",
-]
-
-[[package]]
-name = "rand_core"
-version = "0.6.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
-
-[[package]]
-name = "rand_core"
-version = "0.9.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c"
-dependencies = [
- "getrandom 0.3.4",
-]
-
-[[package]]
-name = "rand_core"
-version = "0.10.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69"
-
-[[package]]
-name = "rand_distr"
-version = "0.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4d431c2703ccf129de4d45253c03f49ebb22b97d6ad79ee3ecfc7e3f4862c1d8"
-dependencies = [
- "num-traits",
- "rand 0.10.3",
-]
-
-[[package]]
-name = "range-alloc"
-version = "0.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ca45419789ae5a7899559e9512e58ca889e41f04f1f2445e9f4b290ceccd1d08"
-
-[[package]]
-name = "rav1d"
-version = "1.1.0"
-source = "git+https://github.com/memorysafety/rav1d?tag=v1.1.0#782dab2135ea64a057c097088a13eb8ed3cc3320"
-dependencies = [
- "assert_matches",
- "atomig",
- "bitflags 2.13.2",
- "cc",
- "cfg-if",
- "libc",
- "nasm-rs",
- "parking_lot",
- "paste",
- "raw-cpuid",
- "strum 0.26.3",
- "to_method",
- "zerocopy 0.7.35",
-]
-
-[[package]]
-name = "rav1e"
-version = "0.8.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "43b6dd56e85d9483277cde964fd1bdb0428de4fec5ebba7540995639a21cb32b"
-dependencies = [
- "aligned-vec",
- "arbitrary",
- "arg_enum_proc_macro",
- "arrayvec",
- "av-scenechange",
- "av1-grain",
- "bitstream-io",
- "built",
- "cfg-if",
- "interpolate_name",
- "itertools 0.14.0",
- "libc",
- "libfuzzer-sys",
- "log",
- "maybe-rayon",
- "new_debug_unreachable",
- "noop_proc_macro",
- "num-derive",
- "num-traits",
- "paste",
- "profiling",
- "rand 0.9.5",
- "rand_chacha",
- "simd_helpers",
- "thiserror 2.0.21",
- "v_frame",
-]
-
-[[package]]
-name = "raw-cpuid"
-version = "11.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "498cd0dc59d73224351ee52a95fee0f1a617a2eae0e7d9d720cc622c73a54186"
-dependencies = [
- "bitflags 2.13.2",
-]
-
-[[package]]
-name = "raw-window-handle"
-version = "0.6.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539"
-
-[[package]]
-name = "raw-window-metal"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "40d213455a5f1dc59214213c7330e074ddf8114c9a42411eb890c767357ce135"
-dependencies = [
- "objc2 0.6.5",
- "objc2-core-foundation",
- "objc2-foundation 0.3.2",
- "objc2-quartz-core 0.3.2",
-]
-
-[[package]]
-name = "rayon"
-version = "1.12.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d"
-dependencies = [
- "either",
- "rayon-core",
-]
-
-[[package]]
-name = "rayon-core"
-version = "1.13.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
-dependencies = [
- "crossbeam-deque",
- "crossbeam-utils",
-]
-
-[[package]]
-name = "re_mp4"
-version = "0.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "63d71dca1bc07c053ed67ccfd0b52df652192a6541fbdf85cc3d46142e20d709"
-dependencies = [
- "byteorder",
- "bytes",
- "num-rational",
- "serde",
- "serde_json",
- "thiserror 2.0.21",
-]
-
-[[package]]
-name = "read-fonts"
-version = "0.39.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c4ed38b89c2c77ff968c524145ad65fb010f38af5c7a224b53b81d47ac2daa81"
-dependencies = [
- "bytemuck",
- "font-types 0.11.3",
-]
-
-[[package]]
-name = "read-fonts"
-version = "0.41.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "046a7d674daf459825b32f5062056d6882db0d2f5a479fbd76ccfc870ac18709"
-dependencies = [
- "bytemuck",
- "font-types 0.12.6",
- "once_cell",
-]
-
-[[package]]
-name = "rectangle-pack"
-version = "0.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a0d463f2884048e7153449a55166f91028d5b0ea53c79377099ce4e8cf0cf9bb"
-
-[[package]]
-name = "recursive"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0786a43debb760f491b1bc0269fe5e84155353c67482b9e60d0cfb596054b43e"
-dependencies = [
- "recursive-proc-macro-impl",
- "stacker",
-]
-
-[[package]]
-name = "recursive-proc-macro-impl"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "76009fbe0614077fc1a2ce255e3a1881a2e3a3527097d5dc6d8212c585e7e38b"
-dependencies = [
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "redox_syscall"
-version = "0.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
-dependencies = [
- "bitflags 1.3.2",
-]
-
-[[package]]
-name = "redox_syscall"
-version = "0.5.18"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
-dependencies = [
- "bitflags 2.13.2",
-]
-
-[[package]]
-name = "redox_syscall"
-version = "0.9.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "737970939a87c6fa31e7acad13307bccbb017a073b695b6089a2c484f929e20e"
-dependencies = [
- "bitflags 2.13.2",
-]
-
-[[package]]
-name = "regex"
-version = "1.13.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
-dependencies = [
- "aho-corasick",
- "memchr",
- "regex-automata",
- "regex-syntax",
-]
-
-[[package]]
-name = "regex-automata"
-version = "0.4.18"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
-dependencies = [
- "aho-corasick",
- "memchr",
- "regex-syntax",
-]
-
-[[package]]
-name = "regex-syntax"
-version = "0.8.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
-
-[[package]]
-name = "regress"
-version = "0.12.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32eef8b209c3c1c15dbad02c1f30f9539f00dc7253e0cbcdaae442a50a09d7c1"
-dependencies = [
- "memchr",
-]
-
-[[package]]
-name = "renderdoc-sys"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19b30a45b0cd0bcca8037f3d0dc3421eaf95327a17cad11964fb8179b4fc4832"
-
-[[package]]
-name = "ron"
-version = "0.12.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "81116b9531d61eabc41aeb228e4b6b2435bcca3233b98cf3b3077d4e6e9debb3"
-dependencies = [
- "bitflags 2.13.2",
- "once_cell",
- "serde",
- "serde_derive",
- "typeid",
- "unicode-ident",
-]
-
-[[package]]
-name = "rowlio"
-version = "0.1.0"
-dependencies = [
- "animato",
- "anyrender",
- "anyrender_vello_cpu",
- "base64 0.22.1",
- "bevy_ecs",
- "blitz-dom",
- "blitz-html",
- "blitz-paint",
- "blitz-traits",
- "blitz-vibey-script",
- "bytes",
- "csscolorparser",
- "data-url",
- "euclid",
- "harfrust 0.12.0",
- "image",
- "peniko",
- "serde",
- "serde_json",
- "simplecss",
- "skrifa 0.44.0",
- "stylo",
- "url",
- "usvg",
- "vello_cpu",
- "wuff",
-]
-
-[[package]]
-name = "rowlio-kgpu"
-version = "0.1.0"
-dependencies = [
- "bytemuck",
- "image",
- "pollster",
- "rowlio-media",
- "serde_json",
- "wgpu",
-]
-
-[[package]]
-name = "rowlio-media"
-version = "0.1.0"
-dependencies = [
- "block2 0.6.2",
- "image",
- "muxide",
- "objc2 0.6.5",
- "objc2-av-foundation",
- "objc2-avf-audio",
- "objc2-core-foundation",
- "objc2-core-media",
- "objc2-core-video",
- "objc2-foundation 0.3.2",
- "objc2-video-toolbox",
- "openh264",
- "opus",
- "rav1d",
- "rav1e",
- "re_mp4",
- "serde",
- "serde_json",
- "symphonia",
-]
-
-[[package]]
-name = "rowlio-sql"
-version = "0.1.0"
-dependencies = [
- "bevy",
- "bytemuck",
- "image",
- "regex",
- "rowlio",
- "rowlio-kgpu",
- "rowlio-media",
- "serde_json",
- "sha2",
- "sqlparser",
- "wgpu",
-]
-
-[[package]]
-name = "roxmltree"
-version = "0.20.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c20b6793b5c2fa6553b250154b78d6d0db37e72700ae35fad9387a46f487c97"
-
-[[package]]
-name = "roxmltree"
-version = "0.21.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f1964b10c76125c36f8afe190065a4bf9a87bf324842c05701330bba9f1cacbb"
-dependencies = [
- "memchr",
-]
-
-[[package]]
-name = "rustc-hash"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
-
-[[package]]
-name = "rustc-hash"
-version = "2.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
-
-[[package]]
-name = "rustc_version"
-version = "0.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
-dependencies = [
- "semver",
-]
-
-[[package]]
-name = "rustix"
-version = "0.38.44"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154"
-dependencies = [
- "bitflags 2.13.2",
- "errno",
- "libc",
- "linux-raw-sys 0.4.15",
- "windows-sys 0.59.0",
-]
-
-[[package]]
-name = "rustix"
-version = "1.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d"
-dependencies = [
- "bitflags 2.13.2",
- "errno",
- "libc",
- "linux-raw-sys 0.12.1",
- "windows-sys 0.61.2",
-]
-
-[[package]]
-name = "rustversion"
-version = "1.0.23"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
-
-[[package]]
-name = "ruzstd"
-version = "0.8.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a7c1c839d570d835527c9a5e4db7cb2198683a988cb9d7293fc8674e6bd58fc8"
-dependencies = [
- "twox-hash",
-]
-
-[[package]]
-name = "ryu-js"
-version = "1.0.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "04d056b875a9d2e6cb9a61d127afee9ac5999b9f87bcb32079d1318e505be714"
-
-[[package]]
-name = "safe_arch"
-version = "1.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "42c6efa15875e6ecb39ca61fb0b0c1a40b84fac5a5ffe71eef7d1000c8eb3f5f"
-dependencies = [
- "bytemuck",
-]
-
-[[package]]
-name = "same-file"
-version = "1.0.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
-dependencies = [
- "winapi-util",
-]
-
-[[package]]
-name = "scopeguard"
-version = "1.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
-
-[[package]]
-name = "selectors"
-version = "0.41.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8322aebea94a6cc288ff884e8a49bdbceef60206c400c6c46d22e62fc4fd91a6"
-dependencies = [
- "bitflags 2.13.2",
- "cssparser",
- "derive_more",
- "log",
- "new_debug_unreachable",
- "precomputed-hash",
- "rustc-hash 2.1.3",
- "servo_arc",
- "smallvec",
- "to_shmem",
- "to_shmem_derive",
-]
-
-[[package]]
-name = "semver"
-version = "1.0.28"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
-
-[[package]]
-name = "send_wrapper"
-version = "0.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73"
-
-[[package]]
-name = "serde"
-version = "1.0.229"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
-dependencies = [
- "serde_core",
- "serde_derive",
-]
-
-[[package]]
-name = "serde_core"
-version = "1.0.229"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
-dependencies = [
- "serde_derive",
-]
-
-[[package]]
-name = "serde_derive"
-version = "1.0.229"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 3.0.9",
-]
-
-[[package]]
-name = "serde_json"
-version = "1.0.154"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
-dependencies = [
- "itoa",
- "memchr",
- "serde",
- "serde_core",
- "zmij",
-]
-
-[[package]]
-name = "serde_spanned"
-version = "1.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4e7523beb55eece201a2356bee0bbca0d1ab466c14c07703b2e0ee6d42cb0c2c"
-dependencies = [
- "serde_core",
-]
-
-[[package]]
-name = "servo_arc"
-version = "0.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b4eceb519ec34d8290aaf6e46f435102f2bfa63f22b05a144fb16ab266d3b198"
-dependencies = [
- "serde",
- "stable_deref_trait",
-]
-
-[[package]]
-name = "sha2"
-version = "0.10.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
-dependencies = [
- "cfg-if",
- "cpufeatures 0.2.17",
- "digest",
-]
-
-[[package]]
-name = "sharded-slab"
-version = "0.1.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6"
-dependencies = [
- "lazy_static",
-]
-
-[[package]]
-name = "shlex"
-version = "2.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
-
-[[package]]
-name = "simd-adler32"
-version = "0.3.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea"
-
-[[package]]
-name = "simd_cesu8"
-version = "1.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "11031e251abf8611c80f460e19dbdeb54a66db918e49c65a7065b46ac7aec520"
-dependencies = [
- "rustc_version",
- "simdutf8",
-]
-
-[[package]]
-name = "simd_helpers"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95890f873bec569a0362c235787f3aca6e1e887302ba4840839bcc6459c42da6"
-dependencies = [
- "quote",
-]
-
-[[package]]
-name = "simdutf8"
-version = "0.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e"
-
-[[package]]
-name = "simplecss"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7a9c6883ca9c3c7c90e888de77b7a5c849c779d25d74a1269b0218b14e8b136c"
-dependencies = [
- "log",
-]
-
-[[package]]
-name = "siphasher"
-version = "1.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "33f4fe9184a62d842c9ef383018f3306d8ba224fd9d836f56d7288308847c256"
-
-[[package]]
-name = "skrifa"
-version = "0.42.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c34617370ae968efb7161bb2beb517d9084659aae19e24b89e3db25b46e4564"
-dependencies = [
- "bytemuck",
- "read-fonts 0.39.2",
-]
-
-[[package]]
-name = "skrifa"
-version = "0.44.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "819ab7d62b1d3e72d9d9dea5650bac30424f9111364bb94928dbf5ecad1baa68"
-dependencies = [
- "bytemuck",
- "read-fonts 0.41.0",
-]
-
-[[package]]
-name = "slab"
-version = "0.4.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
-
-[[package]]
-name = "slotmap"
-version = "1.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bdd58c3c93c3d278ca835519292445cb4b0d4dc59ccfdf7ceadaab3f8aeb4038"
-dependencies = [
- "version_check",
-]
-
-[[package]]
-name = "small_btree"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ba60d2df92ba73864714808ca68c059734853e6ab722b40e1cf543ebb3a057a"
-dependencies = [
- "arrayvec",
-]
-
-[[package]]
-name = "smallbitvec"
-version = "2.6.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b0e903ee191d8f7a8fbf0d712c3a1699d19e04ceba5ad1eb673053c7d938a09"
-
-[[package]]
-name = "smallvec"
-version = "1.16.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b"
-
-[[package]]
-name = "smol_str"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dd538fb6910ac1099850255cf94a94df6551fbdd602454387d0adb2d1ca6dead"
-dependencies = [
- "serde",
-]
-
-[[package]]
-name = "smol_str"
-version = "0.3.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4aaa7368fcf4852a4c2dd92df0cace6a71f2091ca0a23391ce7f3a31833f1523"
-dependencies = [
- "borsh",
- "serde_core",
-]
-
-[[package]]
-name = "spin"
-version = "0.10.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "023a211cb3138dbc438680b32560ad89f699977624c9f8dbb95a47d5b4c07dd3"
-dependencies = [
- "portable-atomic",
-]
-
-[[package]]
-name = "spirv"
-version = "0.4.0+sdk-1.4.341.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d9571ea910ebd84c86af4b3ed27f9dbdc6ad06f17c5f96146b2b671e2976744f"
-dependencies = [
- "bitflags 2.13.2",
-]
-
-[[package]]
-name = "sqlparser"
-version = "0.63.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3679862809bd1f92e563cf6fd820e28f39135303668001c10331d5027183e8b4"
-dependencies = [
- "log",
- "recursive",
- "sqlparser_derive",
-]
-
-[[package]]
-name = "sqlparser_derive"
-version = "0.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2905ae8e8148d8f7f5748ea95d1e949fa4fc1d7f5161547b758ad118b2e4b0aa"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 3.0.9",
-]
-
-[[package]]
-name = "stable_deref_trait"
-version = "1.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
-
-[[package]]
-name = "stacker"
-version = "0.1.25"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "707f49d46706bacf8a2b00d51dace3f9de527c13eec3778f570c411f89e69967"
-dependencies = [
- "cc",
- "cfg-if",
- "libc",
- "psm",
- "windows-sys 0.61.2",
-]
-
-[[package]]
-name = "stackfuture"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "115beb9c69db2393ff10b75a1b8587a51716e5551d015001e55320ed279d32f9"
-dependencies = [
- "const_panic",
-]
-
-[[package]]
-name = "static_assertions"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
-
-[[package]]
-name = "strict-num"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6637bab7722d379c8b41ba849228d680cc12d0a45ba1fa2b48f2a30577a06731"
-dependencies = [
- "float-cmp",
-]
-
-[[package]]
-name = "string_cache"
-version = "0.11.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ffa8a5dbe8b3f0bbe29d4c3225daafaeead63afdc1b65fc4c01a1384166038e6"
-dependencies = [
- "new_debug_unreachable",
- "parking_lot",
- "phf_shared 0.14.0",
- "precomputed-hash",
- "serde",
-]
-
-[[package]]
-name = "string_cache_codegen"
-version = "0.11.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "928dcdf75e47626b3617a976ec205d9f057584c371c1f23b782129268d0e6edc"
-dependencies = [
- "phf_generator 0.14.0",
- "phf_shared 0.14.0",
- "proc-macro2",
- "quote",
-]
-
-[[package]]
-name = "strsim"
-version = "0.11.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
-
-[[package]]
-name = "strum"
-version = "0.26.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06"
-dependencies = [
- "strum_macros 0.26.4",
-]
-
-[[package]]
-name = "strum"
-version = "0.28.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9628de9b8791db39ceda2b119bbe13134770b56c138ec1d3af810d045c04f9bd"
-dependencies = [
- "strum_macros 0.28.0",
-]
-
-[[package]]
-name = "strum_macros"
-version = "0.26.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be"
-dependencies = [
- "heck",
- "proc-macro2",
- "quote",
- "rustversion",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "strum_macros"
-version = "0.28.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ab85eea0270ee17587ed4156089e10b9e6880ee688791d45a905f5b1ca36f664"
-dependencies = [
- "heck",
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "stylo"
-version = "0.22.0"
-dependencies = [
- "app_units",
- "arrayvec",
- "atomic_refcell",
- "bitflags 2.13.2",
- "byteorder",
- "cssparser",
- "derive_more",
- "encoding_rs",
- "euclid",
- "icu_segmenter",
- "indexmap",
- "itertools 0.14.0",
- "itoa",
- "log",
- "malloc_size_of_derive",
- "mime",
- "new_debug_unreachable",
- "num-derive",
- "num-integer",
- "num-traits",
- "num_cpus",
- "parking_lot",
- "precomputed-hash",
- "rayon",
- "rayon-core",
- "rustc-hash 2.1.3",
- "selectors",
- "serde",
- "servo_arc",
- "smallbitvec",
- "smallvec",
- "static_assertions",
- "string_cache",
- "strum 0.28.0",
- "strum_macros 0.28.0",
- "stylo_atoms",
- "stylo_derive",
- "stylo_dom",
- "stylo_malloc_size_of",
- "stylo_static_prefs",
- "stylo_traits",
- "thin-vec",
- "to_shmem",
- "to_shmem_derive",
- "uluru",
- "url",
- "void",
- "walkdir",
- "web_atoms",
-]
-
-[[package]]
-name = "stylo_atoms"
-version = "0.22.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ee1771588fd747ef16f8b1990061b6f37c7d3251a0f9b74f405a44c0c5fb8966"
-dependencies = [
- "string_cache",
- "string_cache_codegen",
-]
-
-[[package]]
-name = "stylo_derive"
-version = "0.22.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ee5c550c2e00a0b3c046bef84a9ee217e04e7c014142eeb96f9e48781c5cfd3"
-dependencies = [
- "darling",
- "proc-macro2",
- "quote",
- "syn 2.0.119",
- "synstructure 0.13.2",
-]
-
-[[package]]
-name = "stylo_dom"
-version = "0.22.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9febcb03f2b669ef06b3e8a5209e6280971ed55cecf83fbf3c0562fcf2aa2ec6"
-dependencies = [
- "bitflags 2.13.2",
- "stylo_malloc_size_of",
-]
-
-[[package]]
-name = "stylo_malloc_size_of"
-version = "0.22.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "83ed69d55ee907599f093221004a28371925236f09f20961963020abf38bab6a"
-dependencies = [
- "app_units",
- "cssparser",
- "euclid",
- "parking_lot",
- "selectors",
- "servo_arc",
- "smallbitvec",
- "smallvec",
- "string_cache",
- "thin-vec",
- "void",
-]
-
-[[package]]
-name = "stylo_static_prefs"
-version = "0.22.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6767c48a1590461db79f8b434ccc5a2d65600a3b716751f7999b35ccead1e024"
-dependencies = [
- "toml",
-]
-
-[[package]]
-name = "stylo_taffy"
-version = "0.3.0-beta.2"
-dependencies = [
- "bitflags 2.13.2",
- "stylo",
- "stylo_atoms",
- "taffy 0.14.0",
-]
-
-[[package]]
-name = "stylo_traits"
-version = "0.22.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "645d6bfe40eb6e86ebe9f2d2adadcbced41bfa96175de7cb13d4d178d27bc83d"
-dependencies = [
- "app_units",
- "bitflags 2.13.2",
- "cssparser",
- "euclid",
- "malloc_size_of_derive",
- "selectors",
- "serde",
- "servo_arc",
- "stylo_atoms",
- "stylo_malloc_size_of",
- "thin-vec",
- "to_shmem",
- "to_shmem_derive",
- "url",
-]
-
-[[package]]
-name = "svg_fmt"
-version = "0.4.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0193cc4331cfd2f3d2011ef287590868599a2f33c3e69bc22c1a3d3acf9e02fb"
-
-[[package]]
-name = "svgtypes"
-version = "0.16.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "695b5790b3131dafa99b3bbfd25a216edb3d216dad9ca208d4657bfb8f2abc3d"
-dependencies = [
- "kurbo",
- "siphasher",
-]
-
-[[package]]
-name = "swash"
-version = "0.2.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6c2499c2d826531388872b2268718aed907a39bd785ab0dcfe57fab26283f92e"
-dependencies = [
- "skrifa 0.44.0",
- "yazi",
- "zeno",
-]
-
-[[package]]
-name = "symphonia"
-version = "0.5.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5773a4c030a19d9bfaa090f49746ff35c75dfddfa700df7a5939d5e076a57039"
-dependencies = [
- "lazy_static",
- "symphonia-bundle-flac",
- "symphonia-bundle-mp3",
- "symphonia-codec-aac",
- "symphonia-codec-adpcm",
- "symphonia-codec-pcm",
- "symphonia-codec-vorbis",
- "symphonia-core",
- "symphonia-format-isomp4",
- "symphonia-format-mkv",
- "symphonia-format-ogg",
- "symphonia-format-riff",
- "symphonia-metadata",
-]
-
-[[package]]
-name = "symphonia-bundle-flac"
-version = "0.5.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c91565e180aea25d9b80a910c546802526ffd0072d0b8974e3ebe59b686c9976"
-dependencies = [
- "log",
- "symphonia-core",
- "symphonia-metadata",
- "symphonia-utils-xiph",
-]
-
-[[package]]
-name = "symphonia-bundle-mp3"
-version = "0.5.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4872dd6bb56bf5eac799e3e957aa1981086c3e613b27e0ac23b176054f7c57ed"
-dependencies = [
- "lazy_static",
- "log",
- "symphonia-core",
- "symphonia-metadata",
-]
-
-[[package]]
-name = "symphonia-codec-aac"
-version = "0.5.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4c263845aa86881416849c1729a54c7f55164f8b96111dba59de46849e73a790"
-dependencies = [
- "lazy_static",
- "log",
- "symphonia-core",
-]
-
-[[package]]
-name = "symphonia-codec-adpcm"
-version = "0.5.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2dddc50e2bbea4cfe027441eece77c46b9f319748605ab8f3443350129ddd07f"
-dependencies = [
- "log",
- "symphonia-core",
-]
-
-[[package]]
-name = "symphonia-codec-pcm"
-version = "0.5.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4e89d716c01541ad3ebe7c91ce4c8d38a7cf266a3f7b2f090b108fb0cb031d95"
-dependencies = [
- "log",
- "symphonia-core",
-]
-
-[[package]]
-name = "symphonia-codec-vorbis"
-version = "0.5.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f025837c309cd69ffef572750b4a2257b59552c5399a5e49707cc5b1b85d1c73"
-dependencies = [
- "log",
- "symphonia-core",
- "symphonia-utils-xiph",
-]
-
-[[package]]
-name = "symphonia-core"
-version = "0.5.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ea00cc4f79b7f6bb7ff87eddc065a1066f3a43fe1875979056672c9ef948c2af"
-dependencies = [
- "arrayvec",
- "bitflags 1.3.2",
- "bytemuck",
- "lazy_static",
- "log",
-]
-
-[[package]]
-name = "symphonia-format-isomp4"
-version = "0.5.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "243739585d11f81daf8dac8d9f3d18cc7898f6c09a259675fc364b382c30e0a5"
-dependencies = [
- "encoding_rs",
- "log",
- "symphonia-core",
- "symphonia-metadata",
- "symphonia-utils-xiph",
-]
-
-[[package]]
-name = "symphonia-format-mkv"
-version = "0.5.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "122d786d2c43a49beb6f397551b4a050d8229eaa54c7ddf9ee4b98899b8742d0"
-dependencies = [
- "lazy_static",
- "log",
- "symphonia-core",
- "symphonia-metadata",
- "symphonia-utils-xiph",
-]
-
-[[package]]
-name = "symphonia-format-ogg"
-version = "0.5.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2b4955c67c1ed3aa8ae8428d04ca8397fbef6a19b2b051e73b5da8b1435639cb"
-dependencies = [
- "log",
- "symphonia-core",
- "symphonia-metadata",
- "symphonia-utils-xiph",
-]
-
-[[package]]
-name = "symphonia-format-riff"
-version = "0.5.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c2d7c3df0e7d94efb68401d81906eae73c02b40d5ec1a141962c592d0f11a96f"
-dependencies = [
- "extended",
- "log",
- "symphonia-core",
- "symphonia-metadata",
-]
-
-[[package]]
-name = "symphonia-metadata"
-version = "0.5.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "36306ff42b9ffe6e5afc99d49e121e0bd62fe79b9db7b9681d48e29fa19e6b16"
-dependencies = [
- "encoding_rs",
- "lazy_static",
- "log",
- "symphonia-core",
-]
-
-[[package]]
-name = "symphonia-utils-xiph"
-version = "0.5.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ee27c85ab799a338446b68eec77abf42e1a6f1bb490656e121c6e27bfbab9f16"
-dependencies = [
- "symphonia-core",
- "symphonia-metadata",
-]
-
-[[package]]
-name = "syn"
-version = "2.0.119"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
-dependencies = [
- "proc-macro2",
- "quote",
- "unicode-ident",
-]
-
-[[package]]
-name = "syn"
-version = "3.0.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
-dependencies = [
- "proc-macro2",
- "quote",
- "unicode-ident",
-]
-
-[[package]]
-name = "synstructure"
-version = "0.13.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "synstructure"
-version = "0.14.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 3.0.9",
-]
-
-[[package]]
-name = "sys-locale"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8eab9a99a024a169fe8a903cf9d4a3b3601109bcc13bd9e3c6fff259138626c4"
-dependencies = [
- "libc",
-]
-
-[[package]]
-name = "taffy"
-version = "0.10.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aea22054047c16c3f34d3ac473a2170be1424b1115b2a3adcf28cfb067c88859"
-dependencies = [
- "arrayvec",
- "grid",
- "serde",
- "slotmap",
-]
-
-[[package]]
-name = "taffy"
-version = "0.14.0"
-source = "git+https://github.com/DioxusLabs/taffy?rev=bc525c030e67d2fd58ecb7b96742f4fb34866c44#bc525c030e67d2fd58ecb7b96742f4fb34866c44"
-dependencies = [
- "serde",
- "slotmap",
- "smallvec",
-]
-
-[[package]]
-name = "tag_ptr"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c0e973b34477b7823833469eb0f5a3a60370fef7a453e02d751b59180d0a5a05"
-
-[[package]]
-name = "tap"
-version = "1.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
-
-[[package]]
-name = "temporal_rs"
-version = "0.2.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1a978fef907a27736827d336c0bfaab14fb8a7509dd6dc2b43c44e51d59aca5b"
-dependencies = [
- "calendrical_calculations",
- "core_maths",
- "icu_calendar",
- "icu_locale_core",
- "ixdtf",
- "num-traits",
- "timezone_provider",
- "tinystr",
- "writeable",
-]
-
-[[package]]
-name = "tendril"
-version = "0.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5fed54709c5b3a53d09bb1c113ea4f5ceafd1e772ddcb0030a82e1d56c087b08"
-dependencies = [
- "new_debug_unreachable",
-]
-
-[[package]]
-name = "termcolor"
-version = "1.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755"
-dependencies = [
- "winapi-util",
-]
-
-[[package]]
-name = "thin-vec"
-version = "0.2.21"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d6a4b9ba8738cb4a4f399d37e266becfd475e75eb73425b87a05a2f2039ba63e"
-
-[[package]]
-name = "thiserror"
-version = "1.0.69"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
-dependencies = [
- "thiserror-impl 1.0.69",
-]
-
-[[package]]
-name = "thiserror"
-version = "2.0.21"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e"
-dependencies = [
- "thiserror-impl 2.0.21",
-]
-
-[[package]]
-name = "thiserror-impl"
-version = "1.0.69"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "thiserror-impl"
-version = "2.0.21"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 3.0.9",
-]
-
-[[package]]
-name = "thread_local"
-version = "1.1.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ad99c4c6d32803332c548b1af0540b357b3f5fc0be8f6c6bfe8b2e6ae784070"
-dependencies = [
- "cfg-if",
-]
-
-[[package]]
-name = "time"
-version = "0.3.55"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cdb87b95ec50ddfa440816d227a17b2ccbdda963a316a727fda0fc4334f7d134"
-dependencies = [
- "deranged",
- "libc",
- "num-conv",
- "num_threads",
- "powerfmt",
- "serde_core",
- "time-core",
- "time-macros",
-]
-
-[[package]]
-name = "time-core"
-version = "0.1.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109"
-
-[[package]]
-name = "time-macros"
-version = "0.2.32"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7e689342a48d2ea927c87ea50cabf8594854bf940e9310208848d680d668ed85"
-dependencies = [
- "num-conv",
- "time-core",
-]
-
-[[package]]
-name = "timezone_provider"
-version = "0.2.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "89ec4f4eebb4817fde02a411aedc7ac5f66c89c68c49e5d4b17a8139f077af52"
-dependencies = [
- "tinystr",
- "zerofrom",
- "zerotrie",
- "zerovec",
-]
-
-[[package]]
-name = "tiny-skia-path"
-version = "0.12.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "edca365c3faccca67d06593c5980fa6c57687de727a03131735bb85f01fdeeb9"
-dependencies = [
- "arrayref",
- "bytemuck",
- "strict-num",
-]
-
-[[package]]
-name = "tinystr"
-version = "0.8.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643"
-dependencies = [
- "displaydoc",
- "serde_core",
- "zerovec",
-]
-
-[[package]]
-name = "tinyvec"
-version = "1.13.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee"
-
-[[package]]
-name = "to_method"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c7c4ceeeca15c8384bbc3e011dbd8fccb7f068a440b752b7d9b32ceb0ca0e2e8"
-
-[[package]]
-name = "to_shmem"
-version = "0.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bbf077da8dd01cc18453bd7d9bc3a945c262f5f344562e5f6deb3914b4dd6f14"
-dependencies = [
- "cssparser",
- "servo_arc",
- "smallbitvec",
- "smallvec",
- "string_cache",
- "thin-vec",
-]
-
-[[package]]
-name = "to_shmem_derive"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0f8e91a023810fd2019648410d00eea13a71f21d849e71d6d9ed936fb8061174"
-dependencies = [
- "darling",
- "proc-macro2",
- "quote",
- "syn 2.0.119",
- "synstructure 0.13.2",
-]
-
-[[package]]
-name = "tokio"
-version = "1.53.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ce3335fa71841cda333a58d7615b03901380ecf09d59b3296d21f8bbac0dde4e"
-dependencies = [
- "pin-project-lite",
-]
-
-[[package]]
-name = "toml"
-version = "1.1.8+spec-1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "20489e00e4d8741d6be680764cc12e270655e375a20d1011e844a9c3379e678d"
-dependencies = [
- "indexmap",
- "serde_core",
- "serde_spanned",
- "toml_datetime",
- "toml_parser",
- "toml_writer",
- "winnow",
-]
-
-[[package]]
-name = "toml_datetime"
-version = "1.1.2+spec-1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2b86d767906c6c42421dcba507eb9d203e779497710a47782a224bb871653053"
-dependencies = [
- "serde_core",
-]
-
-[[package]]
-name = "toml_edit"
-version = "0.25.17+spec-1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3641d5bbb5349a79e1020a242d251efbc546ad8048d133958323ce9c40a9c9c"
-dependencies = [
- "indexmap",
- "toml_datetime",
- "toml_parser",
- "winnow",
-]
-
-[[package]]
-name = "toml_parser"
-version = "1.1.5+spec-1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c"
-dependencies = [
- "winnow",
-]
-
-[[package]]
-name = "toml_writer"
-version = "1.1.3+spec-1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "06bdbd8cfc056b8d2e2e85f29b56a3bdbecb527cef81eb39e3e7b98af4652770"
-
-[[package]]
-name = "tracing"
-version = "0.1.44"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100"
-dependencies = [
- "pin-project-lite",
- "tracing-attributes",
- "tracing-core",
-]
-
-[[package]]
-name = "tracing-attributes"
-version = "0.1.31"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "tracing-chrome"
-version = "0.7.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf0a738ed5d6450a9fb96e86a23ad808de2b727fd1394585da5cdd6788ffe724"
-dependencies = [
- "serde_json",
- "tracing-core",
- "tracing-subscriber",
-]
-
-[[package]]
-name = "tracing-core"
-version = "0.1.36"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a"
-dependencies = [
- "once_cell",
- "valuable",
-]
-
-[[package]]
-name = "tracing-error"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8b1581020d7a273442f5b45074a6a57d5757ad0a47dac0e9f0bd57b81936f3db"
-dependencies = [
- "tracing",
- "tracing-subscriber",
-]
-
-[[package]]
-name = "tracing-log"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3"
-dependencies = [
- "log",
- "once_cell",
- "tracing-core",
-]
-
-[[package]]
-name = "tracing-oslog"
-version = "0.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d76902d2a8d5f9f55a81155c08971734071968c90f2d9bfe645fe700579b2950"
-dependencies = [
- "cc",
- "cfg-if",
- "tracing-core",
- "tracing-subscriber",
-]
-
-[[package]]
-name = "tracing-subscriber"
-version = "0.3.23"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cb7f578e5945fb242538965c2d0b04418d38ec25c79d160cd279bf0731c8d319"
-dependencies = [
- "matchers",
- "nu-ansi-term",
- "once_cell",
- "regex-automata",
- "sharded-slab",
- "smallvec",
- "thread_local",
- "tracing",
- "tracing-core",
- "tracing-log",
-]
-
-[[package]]
-name = "tracing-wasm"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4575c663a174420fa2d78f4108ff68f65bf2fbb7dd89f33749b6e826b3626e07"
-dependencies = [
- "tracing",
- "tracing-subscriber",
- "wasm-bindgen",
-]
-
-[[package]]
-name = "twox-hash"
-version = "2.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "86a801b3cea342a06d468c8710662aa29e5e05e4f5c0d62f00bbb7f2ad7941c2"
-
-[[package]]
-name = "typeid"
-version = "1.0.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c"
-
-[[package]]
-name = "typenum"
-version = "1.20.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
-
-[[package]]
-name = "typewit"
-version = "1.15.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "214ca0b2191785cbc06209b9ca1861e048e39b5ba33574b3cedd58363d5bb5f6"
-
-[[package]]
-name = "uluru"
-version = "3.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7c8a2469e56e6e5095c82ccd3afb98dad95f7af7929aab6d8ba8d6e0f73657da"
-dependencies = [
- "arrayvec",
-]
-
-[[package]]
-name = "unicode-bidi"
-version = "0.3.18"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5"
-
-[[package]]
-name = "unicode-ident"
-version = "1.0.27"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
-
-[[package]]
-name = "unicode-script"
-version = "0.5.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "383ad40bb927465ec0ce7720e033cb4ca06912855fc35db31b5755d0de75b1ee"
-
-[[package]]
-name = "unicode-segmentation"
-version = "1.13.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8"
-
-[[package]]
-name = "unicode-vo"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b1d386ff53b415b7fe27b50bb44679e2cc4660272694b7b6f3326d8480823a94"
-
-[[package]]
-name = "unicode-width"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254"
-
-[[package]]
-name = "unicode-xid"
-version = "0.2.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
-
-[[package]]
-name = "url"
-version = "2.5.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed"
-dependencies = [
- "form_urlencoded",
- "idna",
- "percent-encoding",
- "serde",
- "serde_derive",
-]
-
-[[package]]
-name = "usvg"
-version = "0.48.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "977d0a4abdef933f424a99fe09f95576e089b90aebc6f016a3bc813762493e91"
-dependencies = [
- "base64 0.23.1",
- "data-url",
- "flate2",
- "fontdb",
- "harfrust 0.12.0",
- "imagesize",
- "kurbo",
- "log",
- "pico-args",
- "roxmltree 0.21.1",
- "simplecss",
- "siphasher",
- "skrifa 0.44.0",
- "strict-num",
- "svgtypes",
- "tiny-skia-path",
- "unicode-bidi",
- "unicode-script",
- "unicode-vo",
- "xmlwriter",
-]
-
-[[package]]
-name = "utf16_iter"
-version = "1.0.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246"
-
-[[package]]
-name = "utf8_iter"
-version = "1.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
-
-[[package]]
-name = "utf8parse"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
-
-[[package]]
-name = "uuid"
-version = "1.28.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7cc1186384beb7dd8eedea376413fd654937285ea6c9cfbb928dc3043ea4b606"
-dependencies = [
- "getrandom 0.4.3",
- "js-sys",
- "serde_core",
- "wasm-bindgen",
-]
-
-[[package]]
-name = "v_frame"
-version = "0.3.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "666b7727c8875d6ab5db9533418d7c764233ac9c0cff1d469aec8fa127597be2"
-dependencies = [
- "aligned-vec",
- "num-traits",
- "wasm-bindgen",
-]
-
-[[package]]
-name = "valuable"
-version = "0.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65"
-
-[[package]]
-name = "variadics_please"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "41b6d82be61465f97d42bd1d15bf20f3b0a3a0905018f38f9d6f6962055b0b5c"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "vello_common"
-version = "0.3.0"
-dependencies = [
- "bytemuck",
- "fearless_simd",
- "guillotiere 0.7.0",
- "log",
- "peniko",
- "png",
- "smallvec",
- "thiserror 2.0.21",
-]
-
-[[package]]
-name = "vello_cpu"
-version = "0.3.0"
-dependencies = [
- "bytemuck",
- "glifo",
- "hashbrown 0.17.1",
- "png",
- "vello_common",
-]
-
-[[package]]
-name = "version_check"
-version = "0.9.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
-
-[[package]]
-name = "void"
-version = "1.0.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
-
-[[package]]
-name = "walkdir"
-version = "2.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
-dependencies = [
- "same-file",
- "winapi-util",
-]
-
-[[package]]
-name = "wasip2"
-version = "1.0.4+wasi-0.2.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487"
-dependencies = [
- "wit-bindgen",
-]
-
-[[package]]
-name = "wasm-bindgen"
-version = "0.2.129"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409"
-dependencies = [
- "cfg-if",
- "once_cell",
- "rustversion",
- "wasm-bindgen-macro",
- "wasm-bindgen-shared",
-]
-
-[[package]]
-name = "wasm-bindgen-futures"
-version = "0.4.79"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3cbab34de2d982e9b48e18d216d04c4a6f641066ff19ffb699980f591ee3610e"
-dependencies = [
- "js-sys",
- "tokio",
- "wasm-bindgen",
-]
-
-[[package]]
-name = "wasm-bindgen-macro"
-version = "0.2.129"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535"
-dependencies = [
- "quote",
- "wasm-bindgen-macro-support",
-]
-
-[[package]]
-name = "wasm-bindgen-macro-support"
-version = "0.2.129"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7"
-dependencies = [
- "bumpalo",
- "proc-macro2",
- "quote",
- "syn 3.0.9",
- "wasm-bindgen-shared",
-]
-
-[[package]]
-name = "wasm-bindgen-shared"
-version = "0.2.129"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6"
-dependencies = [
- "unicode-ident",
-]
-
-[[package]]
-name = "wayland-sys"
-version = "0.31.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d8eab23fefc9e41f8e841df4a9c707e8a8c4ed26e944ef69297184de2785e3be"
-dependencies = [
- "dlib",
- "log",
- "once_cell",
- "pkg-config",
-]
-
-[[package]]
-name = "weak-table"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "323f4da9523e9a669e1eaf9c6e763892769b1d38c623913647bfdc1532fe4549"
-
-[[package]]
-name = "web-sys"
-version = "0.3.106"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "88261b9deccee56594c11a3460c462c41f58d148598fe70ad77070126a68aba4"
-dependencies = [
- "js-sys",
- "wasm-bindgen",
-]
-
-[[package]]
-name = "web-task"
-version = "1.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1cdc136a53ccd64a1211f107ccc34404769fbcc0f165f1afa065f5d88ab93538"
-dependencies = [
- "async-task",
- "cfg-if",
- "js-sys",
- "wasm-bindgen",
-]
-
-[[package]]
-name = "web-time"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb"
-dependencies = [
- "js-sys",
- "wasm-bindgen",
-]
-
-[[package]]
-name = "web_atoms"
-version = "0.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7572660c8890448ba236b7376f27e389c6a7e1c70195622faced601f855c0ada"
-dependencies = [
- "phf 0.14.0",
- "phf_codegen",
- "string_cache",
- "string_cache_codegen",
-]
-
-[[package]]
-name = "weezl"
-version = "0.1.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a28ac98ddc8b9274cb41bb4d9d4d5c425b6020c50c46f25559911905610b4a88"
-
-[[package]]
-name = "wgpu"
-version = "29.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "76e8840e1ba2881d4cbb18d2147627a56af426ff064c0401eb0c8410c6325d07"
-dependencies = [
- "arrayvec",
- "bitflags 2.13.2",
- "bytemuck",
- "cfg-if",
- "cfg_aliases",
- "document-features",
- "hashbrown 0.16.1",
- "js-sys",
- "log",
- "naga",
- "parking_lot",
- "portable-atomic",
- "profiling",
- "raw-window-handle",
- "smallvec",
- "static_assertions",
- "wasm-bindgen",
- "wasm-bindgen-futures",
- "web-sys",
- "wgpu-core",
- "wgpu-hal",
- "wgpu-types",
-]
-
-[[package]]
-name = "wgpu-core"
-version = "29.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2f519832254e56965a9940c4af57dcb75f702b6f6fa4a0b172f685395843a4d7"
-dependencies = [
- "arrayvec",
- "bit-set",
- "bit-vec",
- "bitflags 2.13.2",
- "bytemuck",
- "cfg_aliases",
- "document-features",
- "hashbrown 0.16.1",
- "indexmap",
- "log",
- "naga",
- "once_cell",
- "parking_lot",
- "portable-atomic",
- "profiling",
- "raw-window-handle",
- "rustc-hash 1.1.0",
- "smallvec",
- "thiserror 2.0.21",
- "wgpu-core-deps-apple",
- "wgpu-core-deps-emscripten",
- "wgpu-core-deps-windows-linux-android",
- "wgpu-hal",
- "wgpu-naga-bridge",
- "wgpu-types",
-]
-
-[[package]]
-name = "wgpu-core-deps-apple"
-version = "29.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f5e39e26c4c0e07589e67d18546cf79ff45383659fc72fca4dd293358a0347f3"
-dependencies = [
- "wgpu-hal",
-]
-
-[[package]]
-name = "wgpu-core-deps-emscripten"
-version = "29.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "01e09be551dc939498bdd5f6b2c66e55ab275dad25825267a08605a80fc9f0af"
-dependencies = [
- "wgpu-hal",
-]
-
-[[package]]
-name = "wgpu-core-deps-windows-linux-android"
-version = "29.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4e592c1bbef6ad047647ae6e666ebd8cee7a32bb4544d9700ec96cbf73230257"
-dependencies = [
- "wgpu-hal",
-]
-
-[[package]]
-name = "wgpu-hal"
-version = "29.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "97ace1c17727311c22a46e4e3faf56ea6de81af99dcc839bdfb54857b94d448d"
-dependencies = [
- "android_system_properties",
- "arrayvec",
- "ash",
- "bit-set",
- "bitflags 2.13.2",
- "block2 0.6.2",
- "bytemuck",
- "cfg-if",
- "cfg_aliases",
- "glow",
- "glutin_wgl_sys",
- "gpu-allocator",
- "gpu-descriptor",
- "hashbrown 0.16.1",
- "js-sys",
- "khronos-egl",
- "libc",
- "libloading",
- "log",
- "naga",
- "ndk-sys",
- "objc2 0.6.5",
- "objc2-core-foundation",
- "objc2-foundation 0.3.2",
- "objc2-metal 0.3.2",
- "objc2-quartz-core 0.3.2",
- "once_cell",
- "ordered-float",
- "parking_lot",
- "portable-atomic",
- "portable-atomic-util",
- "profiling",
- "range-alloc",
- "raw-window-handle",
- "raw-window-metal",
- "renderdoc-sys",
- "smallvec",
- "thiserror 2.0.21",
- "wasm-bindgen",
- "wayland-sys",
- "web-sys",
- "wgpu-naga-bridge",
- "wgpu-types",
- "windows",
- "windows-core",
- "windows-result",
-]
-
-[[package]]
-name = "wgpu-naga-bridge"
-version = "29.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95226013f547544b223281cd16a4fb549aa9dcb562adbda0faae4c73ffbbc161"
-dependencies = [
- "naga",
- "wgpu-types",
-]
-
-[[package]]
-name = "wgpu-types"
-version = "29.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "84bf84cd9ca8ca45e2b223a3868f1adf9bfc0c66aeac212e76ee7e40fdadf8f5"
-dependencies = [
- "bitflags 2.13.2",
- "bytemuck",
- "js-sys",
- "log",
- "raw-window-handle",
- "serde",
- "web-sys",
-]
-
-[[package]]
-name = "wide"
-version = "1.7.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d920ac99c3c8edce110cb8d07dbb324d6d026011dce85b1e9355b70f0adacc4f"
-dependencies = [
- "bytemuck",
- "safe_arch",
-]
-
-[[package]]
-name = "winapi-util"
-version = "0.1.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
-dependencies = [
- "windows-sys 0.61.2",
-]
-
-[[package]]
-name = "windows"
-version = "0.62.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580"
-dependencies = [
- "windows-collections",
- "windows-core",
- "windows-future",
- "windows-numerics",
-]
-
-[[package]]
-name = "windows-collections"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610"
-dependencies = [
- "windows-core",
-]
-
-[[package]]
-name = "windows-core"
-version = "0.62.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb"
-dependencies = [
- "windows-implement",
- "windows-interface",
- "windows-link",
- "windows-result",
- "windows-strings",
-]
-
-[[package]]
-name = "windows-future"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb"
-dependencies = [
- "windows-core",
- "windows-link",
- "windows-threading",
-]
-
-[[package]]
-name = "windows-implement"
-version = "0.60.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "windows-interface"
-version = "0.59.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "windows-link"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
-
-[[package]]
-name = "windows-numerics"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26"
-dependencies = [
- "windows-core",
- "windows-link",
-]
-
-[[package]]
-name = "windows-result"
-version = "0.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5"
-dependencies = [
- "windows-link",
-]
-
-[[package]]
-name = "windows-strings"
-version = "0.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091"
-dependencies = [
- "windows-link",
-]
-
-[[package]]
-name = "windows-sys"
-version = "0.52.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
-dependencies = [
- "windows-targets",
-]
-
-[[package]]
-name = "windows-sys"
-version = "0.59.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
-dependencies = [
- "windows-targets",
-]
-
-[[package]]
-name = "windows-sys"
-version = "0.61.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
-dependencies = [
- "windows-link",
-]
-
-[[package]]
-name = "windows-targets"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
-dependencies = [
- "windows_aarch64_gnullvm",
- "windows_aarch64_msvc",
- "windows_i686_gnu",
- "windows_i686_gnullvm",
- "windows_i686_msvc",
- "windows_x86_64_gnu",
- "windows_x86_64_gnullvm",
- "windows_x86_64_msvc",
-]
-
-[[package]]
-name = "windows-threading"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37"
-dependencies = [
- "windows-link",
-]
-
-[[package]]
-name = "windows_aarch64_gnullvm"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
-
-[[package]]
-name = "windows_aarch64_msvc"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
-
-[[package]]
-name = "windows_i686_gnu"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
-
-[[package]]
-name = "windows_i686_gnullvm"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
-
-[[package]]
-name = "windows_i686_msvc"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
-
-[[package]]
-name = "windows_x86_64_gnu"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
-
-[[package]]
-name = "windows_x86_64_gnullvm"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
-
-[[package]]
-name = "windows_x86_64_msvc"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
-
-[[package]]
-name = "winit"
-version = "0.30.13"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a6755fa58a9f8350bd1e472d4c3fcc25f824ec358933bba33306d0b63df5978d"
-dependencies = [
- "android-activity",
- "atomic-waker",
- "bitflags 2.13.2",
- "block2 0.5.1",
- "calloop",
- "cfg_aliases",
- "concurrent-queue",
- "core-foundation",
- "core-graphics",
- "cursor-icon",
- "dpi",
- "js-sys",
- "libc",
- "ndk",
- "objc2 0.5.3",
- "objc2-app-kit",
- "objc2-foundation 0.2.2",
- "objc2-ui-kit",
- "orbclient",
- "pin-project",
- "raw-window-handle",
- "redox_syscall 0.4.1",
- "rustix 0.38.44",
- "smol_str 0.2.2",
- "tracing",
- "unicode-segmentation",
- "wasm-bindgen",
- "wasm-bindgen-futures",
- "web-sys",
- "web-time",
- "windows-sys 0.52.0",
- "xkbcommon-dl",
-]
-
-[[package]]
-name = "winnow"
-version = "1.0.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81"
-dependencies = [
- "memchr",
-]
-
-[[package]]
-name = "wit-bindgen"
-version = "0.57.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e"
-
-[[package]]
-name = "write16"
-version = "1.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936"
-
-[[package]]
-name = "writeable"
-version = "0.6.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc"
-
-[[package]]
-name = "wuff"
-version = "0.2.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "200a7b806377b65f1ff9a985874332f15357c87e5dd7855f35f06dade95b8b3d"
-dependencies = [
- "brotli-decompressor",
- "bytes",
- "flate2",
-]
-
-[[package]]
-name = "xkbcommon-dl"
-version = "0.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d039de8032a9a8856a6be89cea3e5d12fdd82306ab7c94d74e6deab2460651c5"
-dependencies = [
- "bitflags 2.13.2",
- "dlib",
- "log",
- "once_cell",
- "xkeysym",
-]
-
-[[package]]
-name = "xkeysym"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b9cc00251562a284751c9973bace760d86c0276c471b4be569fe6b068ee97a56"
-
-[[package]]
-name = "xml-rs"
-version = "0.8.29"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e450f9b2ed1dff33c94c12589a87338689467b9c4f5d8a5710bd09a847d2c8a7"
-
-[[package]]
-name = "xml5ever"
-version = "0.40.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "73290529dc9bc6c6155bf77fdd70ce0061f98ad387586aa3104cddab29206961"
-dependencies = [
- "log",
- "markup5ever",
-]
-
-[[package]]
-name = "xmlwriter"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec7a2a501ed189703dba8b08142f057e887dfc4b2cc4db2d343ac6376ba3e0b9"
-
-[[package]]
-name = "xsum"
-version = "0.1.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0637d3a5566a82fa5214bae89087bc8c9fb94cd8e8a3c07feb691bb8d9c632db"
-
-[[package]]
-name = "y4m"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7a5a4b21e1a62b67a2970e6831bc091d7b87e119e7f9791aef9702e3bef04448"
-
-[[package]]
-name = "yazi"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e01738255b5a16e78bbb83e7fbba0a1e7dd506905cfc53f4622d89015a03fbb5"
-
-[[package]]
-name = "yeslogic-fontconfig-sys"
-version = "6.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d8b8abf912b9a29ff112e1671c97c33636903d13a69712037190e6805af4f76"
-dependencies = [
- "dlib",
- "once_cell",
- "pkg-config",
-]
-
-[[package]]
-name = "yoke"
-version = "0.8.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5"
-dependencies = [
- "stable_deref_trait",
- "yoke-derive",
- "zerofrom",
-]
-
-[[package]]
-name = "yoke-derive"
-version = "0.8.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 3.0.9",
- "synstructure 0.14.0",
-]
-
-[[package]]
-name = "zeno"
-version = "0.3.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6df3dc4292935e51816d896edcd52aa30bc297907c26167fec31e2b0c6a32524"
-
-[[package]]
-name = "zerocopy"
-version = "0.7.35"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
-dependencies = [
- "byteorder",
- "zerocopy-derive 0.7.35",
-]
-
-[[package]]
-name = "zerocopy"
-version = "0.8.63"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5fe1f8f1b06191a00962174c61aa5005e0bb391a6d80d07e24d115c01a92ed8"
-dependencies = [
- "zerocopy-derive 0.8.63",
-]
-
-[[package]]
-name = "zerocopy-derive"
-version = "0.7.35"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "zerocopy-derive"
-version = "0.8.63"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "863ad3ac83293fb4d740aedbfdc9240dd8d1a50c1099acd76ce80ce7c7230c7f"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "zerofrom"
-version = "0.1.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272"
-dependencies = [
- "zerofrom-derive",
-]
-
-[[package]]
-name = "zerofrom-derive"
-version = "0.1.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 3.0.9",
- "synstructure 0.14.0",
-]
-
-[[package]]
-name = "zerotrie"
-version = "0.2.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f"
-dependencies = [
- "displaydoc",
- "yoke",
- "zerofrom",
- "zerovec",
-]
-
-[[package]]
-name = "zerovec"
-version = "0.11.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8"
-dependencies = [
- "serde",
- "yoke",
- "zerofrom",
- "zerovec-derive",
-]
-
-[[package]]
-name = "zerovec-derive"
-version = "0.11.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 3.0.9",
-]
-
-[[package]]
-name = "zlib-rs"
-version = "0.6.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b268e58e7c693d7c271f93ffc4ba3b380412554231c85bf61ca7af91042a4112"
-
-[[package]]
-name = "zmij"
-version = "1.0.23"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
-
-[[package]]
-name = "zune-core"
-version = "0.5.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d56377fd46368984a170bc5aac5567e52ca5da874caa60bea39fcbca78fb658b"
-
-[[package]]
-name = "zune-jpeg"
-version = "0.5.15"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "27bc9d5b815bc103f142aa054f561d9187d191692ec7c2d1e2b4737f8dbd7296"
-dependencies = [
- "zune-core",
-]
diff --git a/ios-probe/Cargo.toml b/ios-probe/Cargo.toml
deleted file mode 100644
index 70a81e2a..00000000
--- a/ios-probe/Cargo.toml
+++ /dev/null
@@ -1,68 +0,0 @@
-[package]
-name = "rowlio-probe"
-version = "0.1.0"
-edition = "2024"
-publish = false
-description = "rowlio's authoring language: plain SQL (DuckDB dialect) compiled to Bevy systems (docs/relational-plan.feature)"
-
-[workspace]
-
-[dependencies]
-rowlio-sql = { path = "../rdb" }
-sqlparser = { version = "=0.63.0", features = ["visitor"] }
-sha2 = "0.10"
-bevy = { version = "=0.19.1", default-features = false, features = ["std", "default_app", "default_font", "multi_threaded", "3d_bevy_render", "ui_bevy_render", "png", "tonemapping_luts", "ktx2", "zstd_rust"] }
-image = { version = "0.25", default-features = false, features = ["png"] }
-serde_json = "1"
-regex = "1"
-# rowlio's rows and systems (Blitz 2D), running inside this Bevy World
-rowlio = { path = "../engine", default-features = false }
-# the media plane: clips decode and the render encodes through a MediaBackend (soft everywhere, apple on Apple)
-# K on the GPU: the render path's kernels (kernels/*.k) compile to WGSL here and run in Bevy's render schedule
-rowlio-kgpu = { path = "../kgpu" }
-# the same wgpu Bevy uses (the NV12 pass records on its device)
-wgpu = "=29.0.4"
-bytemuck = "1"
-rowlio-media = { path = "../media", default-features = false, features = ["soft", "apple", "av1"] }
-
-[features]
-# per-system spans as a chrome trace (RUST_LOG=info, trace-*.json in the working directory)
-trace = ["bevy/trace", "bevy/trace_chrome"]
-
-# rowlio's vendored patches (they only apply at a workspace root, so they are repeated here)
-[patch.crates-io]
-blitz-paint = { path = "../engine/vendor/blitz-paint" }
-blitz-dom = { path = "../engine/vendor/blitz-dom" }
-# stylo_taffy without container-type containing blocks (vendor/stylo_taffy/Cargo.toml)
-stylo_taffy = { path = "../engine/vendor/stylo_taffy" }
-
-# `cargo build --profile profiling`: release plus line tables, so samply sees inlined frames
-# (bench/profile.py summarizes the recordings).
-
-# Vello's CPU rasterizer with render-speed fixes that keep its output bit-identical
-# (see the headers of vendor/vello_common/Cargo.toml and vendor/vello_cpu/Cargo.toml)
-# muxide with the AV1 sequence-header fix (see ../media/vendor/muxide)
-muxide = { path = "../media/vendor/muxide" }
-# `filter: url(#id)` parses in Servo builds (see vendor/stylo/Cargo.toml)
-stylo = { path = "../engine/vendor/stylo" }
-vello_common = { path = "../engine/vendor/vello_common" }
-vello_cpu = { path = "../engine/vendor/vello_cpu" }
-# clips as clip paths instead of isolated layers (see vendor/anyrender_vello_cpu/Cargo.toml)
-anyrender_vello_cpu = { path = "../engine/vendor/anyrender_vello_cpu" }
-# iOS: libc only binds mach_task_self on macOS (see vendor/num_threads/Cargo.toml)
-num_threads = { path = "../engine/vendor/num_threads" }
-# filter graphs with SVG's per-axis parameters, subregions and colour spaces; usvg filters rendered
-# (see vendor/anyrender/Cargo.toml and vendor/anyrender_svg/Cargo.toml)
-anyrender = { path = "../engine/vendor/anyrender" }
-anyrender_svg = { path = "../engine/vendor/anyrender_svg" }
-
-# parley's engine with Blink's macOS vertical font metrics (see vendor/parley_engine/Cargo.toml)
-[patch."https://github.com/linebender/parley"]
-parley_engine = { path = "../engine/vendor/parley_engine" }
-fontique = { path = "../engine/vendor/fontique" }
-# line boxes at LayoutUnit precision (see vendor/parley/Cargo.toml)
-parley = { path = "../engine/vendor/parley" }
-
-[lib]
-path = "src/lib.rs"
-crate-type = ["staticlib"]
diff --git a/ios-probe/app/Probe/Info.plist b/ios-probe/app/Probe/Info.plist
deleted file mode 100644
index fdfc67a3..00000000
--- a/ios-probe/app/Probe/Info.plist
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>$(DEVELOPMENT_LANGUAGE)</string>
- <key>CFBundleDisplayName</key>
- <string>Raea Probe</string>
- <key>CFBundleExecutable</key>
- <string>$(EXECUTABLE_NAME)</string>
- <key>CFBundleIdentifier</key>
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>$(PRODUCT_NAME)</string>
- <key>CFBundlePackageType</key>
- <string>APPL</string>
- <key>CFBundleShortVersionString</key>
- <string>1.0</string>
- <key>CFBundleVersion</key>
- <string>1</string>
- <key>UIFileSharingEnabled</key>
- <true/>
- <key>UILaunchScreen</key>
- <dict/>
-</dict>
-</plist>
diff --git a/ios-probe/app/Probe/ProbeApp.swift b/ios-probe/app/Probe/ProbeApp.swift
deleted file mode 100644
index 166d576c..00000000
--- a/ios-probe/app/Probe/ProbeApp.swift
+++ /dev/null
@@ -1,71 +0,0 @@
-import SwiftUI
-
-/// Runs rowlio-sql's CLI on the phone: launch with the CLI's arguments (devicectl … -- render hook.sql -o …).
-/// Inputs are copied from the bundle into Documents/probe, which is also the working directory, so outputs land there.
-
-/// The process's physical footprint (what jetsam counts): now and its peak, in MB.
-func footprint() -> (now: Int, peak: Int) {
- var info = task_vm_info_data_t()
- var count = mach_msg_type_number_t(MemoryLayout<task_vm_info_data_t>.size / MemoryLayout<natural_t>.size)
- let kr = withUnsafeMutablePointer(to: &info) {
- $0.withMemoryRebound(to: integer_t.self, capacity: Int(count)) { task_info(mach_task_self_, task_flavor_t(TASK_VM_INFO), $0, &count) }
- }
- guard kr == KERN_SUCCESS else { return (-1, -1) }
- return (Int(info.phys_footprint >> 20), Int(info.ledger_phys_footprint_peak >> 20))
-}
-
-@main
-struct ProbeApp: App {
- @State private var status = "Running rowlio…"
-
- var body: some Scene {
- WindowGroup {
- Text(status).font(.headline).padding()
- .onAppear(perform: run)
- }
- }
-
- private func run() {
- let fm = FileManager.default
- let dir = fm.urls(for: .documentDirectory, in: .userDomainMask)[0].appendingPathComponent("probe")
- try? fm.createDirectory(at: dir, withIntermediateDirectories: true)
- if let inputs = Bundle.main.url(forResource: "inputs", withExtension: nil),
- let names = try? fm.contentsOfDirectory(atPath: inputs.path) {
- for n in names {
- let to = dir.appendingPathComponent(n)
- try? fm.removeItem(at: to)
- try? fm.copyItem(at: inputs.appendingPathComponent(n), to: to)
- }
- }
- // Stylo and Bevy recurse deeply; a secondary thread's 512 KB default isn't enough
- // PROBE_SAMPLE=1: the footprint every 50 ms, to see what the engine's start-up and each phase cost
- if ProcessInfo.processInfo.environment["PROBE_SAMPLE"] != nil {
- print("BASE \(footprint().now) MB")
- let t0 = Date()
- let s = Thread {
- while true {
- let f = footprint()
- print(String(format: "MEM %.2fs %d MB", Date().timeIntervalSince(t0), f.now))
- Thread.sleep(forTimeInterval: 0.05)
- }
- }
- s.start()
- }
- let t = Thread {
- let start = Date()
- dir.path.withCString { rowlio_probe_main($0) }
- let s = String(format: "%.2f", Date().timeIntervalSince(start))
- var info = task_vm_info_data_t()
- var count = mach_msg_type_number_t(MemoryLayout<task_vm_info_data_t>.size / MemoryLayout<natural_t>.size)
- let kr = withUnsafeMutablePointer(to: &info) {
- $0.withMemoryRebound(to: integer_t.self, capacity: Int(count)) { task_info(mach_task_self_, task_flavor_t(TASK_VM_INFO), $0, &count) }
- }
- let peak = kr == KERN_SUCCESS ? Double(info.ledger_phys_footprint_peak) / 1_048_576 : -1
- print("PROBE DONE \(s)s peak \(Int(peak)) MB")
- fflush(stdout)
- exit(0)
- }
- t.stackSize = 64 << 20
- t.start()
- }
-}
diff --git a/ios-probe/app/Probe/probe.h b/ios-probe/app/Probe/probe.h
deleted file mode 100644
index acdcb212..00000000
--- a/ios-probe/app/Probe/probe.h
+++ /dev/null
@@ -1,2 +0,0 @@
-// rowlio-sql's CLI, compiled as a static library (../crate): runs with the launch arguments, in `dir`.
-void rowlio_probe_main(const char *dir);
diff --git a/ios-probe/app/project.yml b/ios-probe/app/project.yml
deleted file mode 100644
index 5eb5518d..00000000
--- a/ios-probe/app/project.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-name: RaeaProbe
-options:
- bundleIdPrefix: com.shinyobjectz
- deploymentTarget:
- iOS: "17.0"
-settings:
- base:
- DEVELOPMENT_TEAM: BJJZ79J5NL
- CODE_SIGN_STYLE: Automatic
-targets:
- RaeaProbe:
- type: application
- platform: iOS
- sources:
- - Probe
- - path: inputs
- type: folder
- buildPhase: resources
- info:
- path: Probe/Info.plist
- properties:
- CFBundleDisplayName: Raea Probe
- UILaunchScreen: {}
- UIFileSharingEnabled: true
- settings:
- base:
- PRODUCT_BUNDLE_IDENTIFIER: com.shinyobjectz.raeaprobe
- SWIFT_OBJC_BRIDGING_HEADER: Probe/probe.h
- LIBRARY_SEARCH_PATHS: $(RUST_LIB_DIR)
- OTHER_LDFLAGS: -lraea_probe -lc++ -lz -liconv -framework Metal -framework QuartzCore -framework AVFoundation -framework CoreMedia -framework CoreVideo -framework VideoToolbox -framework CoreText -framework CoreGraphics -framework Security -framework IOSurface -framework AudioToolbox
- DEAD_CODE_STRIPPING: YES
diff --git a/ios-probe/gen.sh b/ios-probe/gen.sh
deleted file mode 100755
index 3a49d711..00000000
--- a/ios-probe/gen.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-# Regenerate the probe crate (this folder) from ~/rowlio-sql: it links rowlio-sql's library, and lib.rs is rowlio-sql's
-# own main.rs with `fn main()` renamed to `cli_main()` plus a C entry point, so the phone runs exactly the CLI's code.
-# Cargo.toml is rowlio-sql's (same dependencies and [patch] lines, which only apply at a workspace root) plus rowlio-sql.
-set -euo pipefail
-cd "$(dirname "$0")"
-rm -rf src && mkdir -p src
-{
- sed -e "s/^fn main() {/pub fn cli_main() {/" ~/rowlio-sql/src/main.rs
- cat <<'RS'
-
-/// The iPhone entry point: run the CLI in `dir`; its arguments are the app's launch arguments (std::env::args).
-#[unsafe(no_mangle)]
-pub extern "C" fn rowlio_probe_main(dir: *const std::ffi::c_char) {
- let d = unsafe { std::ffi::CStr::from_ptr(dir) }.to_string_lossy().into_owned();
- std::env::set_current_dir(&d).expect("probe dir");
- cli_main();
-}
-RS
-} > src/lib.rs
-grep -q '^pub fn cli_main' src/lib.rs
-sed -e 's/^name = "rowlio-sql"/name = "rowlio-probe"/' \
- -e 's|^\[dependencies\]|[dependencies]\nrowlio-sql = { path = "../rdb" }|' ~/rowlio-sql/Cargo.toml \
- | awk '/^\[lib\]/{skip=1;next} /^\[\[bin\]\]/{skip=1;next} /^\[/{skip=0} !skip' > Cargo.toml
-printf '\n[lib]\npath = "src/lib.rs"\ncrate-type = ["staticlib"]\n' >> Cargo.toml
-cp ~/rowlio-sql/Cargo.lock Cargo.lock
diff --git a/kgpu/README.md b/kgpu/README.md
new file mode 100644
index 00000000..0b12640e
--- /dev/null
+++ b/kgpu/README.md
@@ -0,0 +1,14 @@
+# kgpu
+
+`raea-kgpu`: K on the GPU. A kernel is a few lines of a small K dialect; it compiles to one fused WGSL compute shader
+on wgpu, the same GPU stack Bevy uses. The same text also runs on the CPU through an interpreter, and the two agree
+bit for bit: everything is 32-bit integers with wrapping arithmetic and fixed loop orders, so there is nothing for a
+GPU to reorder. `src/lib.rs` documents the dialect.
+
+- `kernels/*.k`: the kernels raea uses, for compositing, NV12 conversion, frame comparison and per-frame columns.
+ `kernels/gen.py` generates some of them.
+- `src/bin/`: test and benchmark binaries that check each kernel against the interpreter.
+
+[`rdb/`](../rdb) runs these kernels in its render path.
+
+Status: in use.
diff --git a/kgpu/bench/looktest-738.json b/kgpu/bench/looktest-738.json
deleted file mode 100644
index 191dc96a..00000000
--- a/kgpu/bench/looktest-738.json
+++ /dev/null
@@ -1 +0,0 @@
-{"bits_set_frac":0.5025340341294038,"decode_s":14.465158958,"frames":738,"gpu_ms_grid_proj_ham":40.304791,"grid_gpu_eq_interpreter":true,"grid_gpu_eq_native":true,"ham_gpu_eq_interpreter":true,"ham_gpu_eq_native":true,"interpreter_s_all":59.845494459,"mean_distance_bits":367.6808051391233,"native_ms_grid_proj":111.95025,"pair_gpu_eq_interpreter":true,"pair_gpu_eq_native":true,"proj_gpu_eq_interpreter":true,"proj_gpu_eq_native":true,"sources":["take-h264.mp4","broll-screen.mov","broll-rot.mov"]}
diff --git a/meaning/README.md b/meaning/README.md
new file mode 100644
index 00000000..c6ab3dc9
--- /dev/null
+++ b/meaning/README.md
@@ -0,0 +1,19 @@
+# meaning
+
+`raea-meaning`: what footage shows, as columns. Each frame of a video (or N a second) is embedded once with SigLIP 2
+and stored as a column of 768 floats (`COL.f32` plus `COL.json`). Everything after that is K kernels over the column,
+with no model call:
+
+ raea-meaning ingest VIDEO -o COL [--fps N] [--int8 | --coreml]
+ raea-meaning dist COL distance from each frame to the one before
+ raea-meaning search COL "text" the frames most like a phrase
+ raea-meaning find LIBDIR "text" the best frame in each column of a footage library
+
+- `embed/` (`raea-embed`): SigLIP 2 on ONNX Runtime, the same vectors on the Mac, the iPhone and a server. Models are
+ read from `RAEA_MODELS`.
+- `src/k.rs`: the kernels, also compiled into [`rdb/`](../rdb).
+- `ios-hdc/`: a probe that times the hypervector kernels on an iPhone.
+
+Depends on [`perception/`](../perception) for Core ML on Apple devices.
+
+Status: working; experimental.
diff --git a/meaning/docs/meaning.feature b/meaning/docs/meaning.feature
deleted file mode 100644
index 06ed45fe..00000000
--- a/meaning/docs/meaning.feature
+++ /dev/null
@@ -1,136 +0,0 @@
-Feature: The meaning plane: what footage shows, as columns
- Status 2026-10-14: working and checked end to end on this Mac. raea-meaning turns footage into frame-embedding
- columns once, and everything after that (search, find-or-make, cut spikes, temporal fingerprints) is K kernels over
- those columns (src/k.rs). The same k.rs is compiled into rdb (rdb/src/lib.rs `#[path]`), so the hypervectors previz
- makes and the ones the meaning plane makes are one implementation.
-
- (2026-10-15: the embedder crate ugc-embed is now raea-embed, its models in ~/.local/share/raea-models; the old names
- below are what they were called when measured, and still work: agent/agent.feature)
-
- Rule: One model, run once, at ingest
- The vision model is the host app's embedder (ugc-embed, ~/host/agent/crates/ugc-embed): SigLIP 2 base p16-256
- (Apache-2.0), ONNX on ONNX Runtime, 768 floats per frame, L2-normalised. The phone runs its Core ML build
- (coreml/ImageEncoder.mlpackage, 8-bit palettised), which matches the ONNX reference at cosine 0.9956 mean and
- 0.987 worst on our frames (T-410, 2026-10-13). The models are in ~/.local/share/ugc-models/siglip2-base-p16-256/.
- A composition never calls the model; it only reads what ingest wrote (the rule from engine/docs/ml-tracks.feature).
-
- Scenario: The commands
- Given meaning/target/release/raea-meaning (built with `lane build -- cargo build --release` in meaning/)
- Then it does
- | command | what |
- | ingest VIDEO -o COL [--fps N] [--int8] | every frame (or N a second) -> SigLIP 2 -> COL.f32 + COL.json |
- | dist COL | the distance between each frame and the one before it |
- | cuts COL [--w --ratio --floor --gap] | shot boundaries: spikes in that distance against its local median |
- | search COL "text" [-k] | the frames most like a phrase, with times and scores |
- | find LIBDIR "text" [-k] | the best frame of each column in a folder, best first (a library) |
- And a column is COL.f32 (n x 768 little-endian floats) beside COL.json (source, model, fps, n, dim)
- And the source is stored as an absolute path (since 2026-10-14), because find() cuts frames out of it later
- And `cargo test --release` in meaning/ passes 5 of 5 (the K kernels)
-
- Scenario: Ingest cost, measured 2026-10-14 on the M4 Mac mini (shared with an eval run)
- Then the UGC example's footage ingested at
- | clip | length | frames | seconds | ms per frame |
- | take-h264.mp4 | 25.6 s | 769 | 99.8 | 130 |
- | broll-screen.mov | 4.0 s | 100 | 18.3 | 183 |
- | broll-rot.mov | 8.0 s | 240 | 31.2 | 130 |
- And that is ONNX on 4 CPU threads; the phone's Core ML build is the fast path and is not measured here
-
- Rule: Find-or-make: snippets ask for footage by meaning
- rdb's `find('…')` and `make('…', seed)` (rdb/src/assets.rs, G4) search the footage library first and fall back to
- generation (a deterministic stand-in today). Rows hold only `asset:<sha256>`; how the asset came to be is a
- provenance row, used only by an explicit `remake`, which is a recorded move.
-
- Scenario: Where things live
- Then the library is every column in $RAEA_LIBRARY, default ~/.cache/raea-meaning/cols
- And the binary is $RAEA_MEANING, default meaning/target/release/raea-meaning beside rdb
- (fixed 2026-10-14: the default still pointed at ~/raea-meaning/ from before the rename, so find() failed)
- And a found asset is the source's frame at the hit's time, cut out by ffmpeg and stored under its hash
- And evals never write into the library: cuts_eval.py and cuts_fusion.py cache their columns in
- ~/.cache/raea-meaning/eval-cols (they wrote into the library before 2026-10-14)
-
- Scenario: The threshold
- Given FIND_THRESHOLD = 0.10 (SigLIP 2 text-image score)
- When the UGC example's three clips are the library (2026-10-14)
- Then the scores for phrases fall either side of it
- | phrase | best hit | score |
- | a man with glasses talking to the camera | take-h264.mp4 at 0.7 s | 0.146 |
- | a woman holding a phone | take-h264.mp4 at 10.1 s | 0.105 |
- | a computer screen | broll-screen.mov at 3.4 s | 0.108 |
- | a skincare bottle (not in the footage) | take-h264.mp4 at 22.1 s | 0.043 |
- And rdb/examples/assets/g4.py passes 7 of 7 (found for a phrase the library has, made for one it lacks,
- hashes in rows, bytes stored once, a byte-identical re-render with retrieval and generation off, remake as
- a recorded move, undo)
-
- Rule: Cuts from embeddings, and from TransNetV2
- Scenario: Against the current detector, on renders whose cuts are known
- Given meaning/bench/cuts_eval.py: Buddy's renders (~/host/agent/evals/runs), truth from their timelines,
- scoring and the train/held-out split from ~/host/knowledge/drive/bin/shot_detector_fit.py (precision
- against every cut, recall against the visible ones, within 0.1 s), every detector's thresholds
- grid-searched on the train half
- And TransNetV2 (official MIT weights, converted 2026-10-14 to ONNX in meaning/bench/transnetv2/; per-frame
- probability within 5.2e-7 of the TF original) scored as peaks of its per-frame transition probability
- When it ran on the 10 newest renders on 2026-10-14 (28 visible cuts; tuned on 5, scored on 5)
- Then
- | detector | train F1 | held out P | R | F1 |
- | current (ffmpeg scene score + luma change) | 0.837 | 0.448 | 0.909 | 0.600 |
- | SigLIP 2 neighbour-distance spikes | 0.583 | 0.347 | 0.909 | 0.502 |
- | TransNetV2 (single head, p >= 0.10) | 0.710 | 0.800 | 0.727 | 0.762 |
- | current + TransNetV2 (many head, p >= 0.6) | 0.870 | 0.448 | 0.909 | 0.600 |
- When it ran on the 40 newest renders on 2026-10-14 (110 visible cuts; tuned on 20, scored on 20)
- Then
- | detector | train F1 | held out P | R | F1 |
- | current (ffmpeg scene score + luma change) | 0.704 | 0.662 | 0.667 | 0.664 |
- | SigLIP 2 neighbour-distance spikes | 0.543 | 0.326 | 0.719 | 0.449 |
- | TransNetV2 (single head, p >= 0.15) | 0.512 | 0.590 | 0.404 | 0.479 |
- | current + TransNetV2 (many head, p >= 0.6) | 0.715 | 0.671 | 0.702 | 0.686 |
- And TransNetV2's 10-render lead doesn't survive 40: it finds a cut to another source (24 of 29 across the 40,
- ffmpeg 23) but not a jump within one take (21 of 81, ffmpeg 54); it gives most jump cuts a probability
- under 0.01, because a jump inside one shot is not a shot boundary in its training data
- And so (2026-10-14) raea keeps the ffmpeg detector for "every visible cut"; SigLIP spikes are out.
- TransNetV2 is the better answer to "where does the shot change" (source changes, dissolves) and adds a
- little as a second voice (F1 0.664 -> 0.686 on 20 held-out renders, about two cuts); not worth a 31 MB
- model for that alone
- And the current detector's own 40-render fit (2026-10-12, an older 40) scored held out P 0.90 R 0.65; the
- newest 40 are harder for it (P 0.66 R 0.67)
- And meaning/bench/cuts_fusion.py fuses ffmpeg's scene score, the luma change and the SigLIP distance into one
- classifier (TabICL against gradient boosting); it needs a venv with tabicl and scikit-learn and has no
- recorded result yet. TransNetV2's probability is a natural extra feature for it
- And next, not built: run TransNetV2 on rdb previz sketches (rdb/src/previz.rs) to answer whether an authored
- cut "reads as a cut", for cuts between different shots only (it is blind to jumps within a take)
-
- Scenario: How TransNetV2 would run in the apps (noted, not built)
- Given the model is 31 MB of 3D convolutions on 100 frames of 48x27 RGB, the same 48x27 grid Perception
- already samples (perception/Perception.swift)
- Then on the phone: Core ML from the PyTorch port (coremltools; the colour-histogram scatter_add and the
- bit shifts may need rewriting as one-hot sums), checked against the ONNX on the same frames
- And in Rust for raea, where perception is moving: ort with the existing ONNX (CPU, or the CoreML execution
- provider), or Core ML through objc2; ort is the shortest path since parity is already measured there
- And at native frame rate it costs ~12-22 ms per frame on an M4 CPU (each frame is computed twice: windows
- of 100 step by 50), so a 30 s clip at 30 fps is ~15 s on CPU unless the Neural Engine takes it
-
- Rule: Time, without a video model (bench 2026-10-13)
- Scenario: SigLIP 2 frames plus HDC transitions against V-JEPA 2
- Given meaning/bench/temporal/: 359 two-second windows from 21 source groups, classification by GroupKFold,
- retrieval of each window among 718 forward and reversed windows (RESULTS.txt has the method)
- Then
- | method | forward/reverse acc | R@1 | twin | cost per window |
- | SigLIP mean-pooled | 0.500 | 0.485 | 0.500 | ~960 ms (16 frames, CPU) |
- | HDC transitions, position permuted | 0.542 | 0.982 | 1.000 | +0.8 ms (8192 bits) |
- | HDC mean + transitions | 0.528 | 0.985 | 1.000 | +0.8 ms |
- | V-JEPA 2-L time-split | 0.648 | 0.967 | 0.989 | 699 ms Core ML CPU, 581 MB |
- And so raea keeps SigLIP 2 plus HDC for "which moment is this" and ships no video model; V-JEPA only reads
- the arrow of time better, which no feature needs today
- And superseded 2026-10-15 by the roadmap's Track K: the HDC sandwich (frames, change and order as slots) reads
- the arrow of time better than V-JEPA after all (0.667 against 0.561) and speed too (0.812 against 0.699), at
- 0.045 ms a window on an iPhone 13 Pro Max; the records that grew from it are Track L. Current results live
- there, not here
-
- Rule: Reproduce
- Scenario: Commands
- Then the library: `raea-meaning ingest <clip> -o ~/.cache/raea-meaning/cols/<name>` for each clip
- And find-or-make: `python3 rdb/examples/assets/g4.py` (needs rdb built)
- And cuts: `lane eval -- python3 meaning/bench/cuts_eval.py --renders N --jobs 2` (keep N so it ends in 15 minutes;
- for 40, first repeat `... --renders 40 --prepare --budget 540` until it prints complete: true)
- And TransNetV2: venv from meaning/bench/transnetv2/requirements.txt at ~/.venvs/transnetv2, then
- `convert.py <videos>` (weights in ~/.local/share/ugc-models/transnetv2, SOURCE.txt there)
- And temporal: siglip_frames.py -> vjepa_windows.py -> analyse.py in meaning/bench/temporal (a torch venv)
diff --git a/media/README.md b/media/README.md
new file mode 100644
index 00000000..1acfc553
--- /dev/null
+++ b/media/README.md
@@ -0,0 +1,18 @@
+# media
+
+`raea-media`: decoding and encoding behind one seam (`Backend`), so an edit's clips, voice and music never depend on
+one tool. A decoder answers "the frame showing at time t", so frames come back the same in any order of requests.
+Muxing is pure Rust everywhere (muxide, vendored in `vendor/muxide`).
+
+| Backend | What it uses |
+|---|---|
+| `apple` | AVFoundation and VideoToolbox: HEVC and H.264 decode, H.264, HEVC and AAC encode |
+| `soft` | portable software: openh264, re_mp4, Symphonia, Opus |
+| `av1` | dav1d decode, rav1e encode |
+| `ffmpeg` | the ffmpeg CLI, as a baseline for tests |
+
+Audio is handled as columns: decoding, mixing, resampling and loudness are raea's own code. The `raea-media` binary
+benchmarks and cross-checks the backends. [`docs/licences.feature`](docs/licences.feature) records what each backend
+links and under which licence.
+
+Used by [`rdb/`](../rdb), [`react/`](../react), [`perception/`](../perception) and [`kgpu/`](../kgpu).
diff --git a/media/bench/crosscheck.txt b/media/bench/crosscheck.txt
deleted file mode 100644
index 94a360cf..00000000
--- a/media/bench/crosscheck.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-🍺 /opt/homebrew/Cellar/nasm/3.02: 12 files, 3.1MB
-aarch64-apple-darwin [soft]: Finished `release` profile [optimized] target(s) in 22.07s
-aarch64-apple-darwin [soft,av1]: Finished `release` profile [optimized] target(s) in 10.07s
-aarch64-apple-darwin [soft,av1,apple]: Finished `release` profile [optimized] target(s) in 0.52s
-aarch64-apple-ios [soft]: Finished `release` profile [optimized] target(s) in 16.66s
-aarch64-apple-ios [soft,av1]: Finished `release` profile [optimized] target(s) in 5.49s
-aarch64-apple-ios [soft,av1,apple]: Finished `release` profile [optimized] target(s) in 0.27s
-x86_64-unknown-linux-gnu [soft]: Finished `release` profile [optimized] target(s) in 12.60s
-x86_64-unknown-linux-gnu [soft,av1]: Finished `release` profile [optimized] target(s) in 1m 26s
-x86_64-unknown-linux-gnu [soft,av1,apple]: Finished `release` profile [optimized] target(s) in 0.24s
-aarch64-linux-android [soft]: Finished `release` profile [optimized] target(s) in 8.51s
-aarch64-linux-android [soft,av1]: Finished `release` profile [optimized] target(s) in 5.57s
-aarch64-linux-android [soft,av1,apple]: Finished `release` profile [optimized] target(s) in 0.22s
-
-[exited with code 0]
diff --git a/media/bench/decode-sources.txt b/media/bench/decode-sources.txt
deleted file mode 100644
index 8524331c..00000000
--- a/media/bench/decode-sources.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-# decode on the UGC edit's sources: any-order identity (24 seeks forward vs shuffled), SSIM vs the ffmpeg reference
-# (untagged HD read as BT.709), decode fps over 300 frames; 2026-10-13, M4
-backend source any-order SSIM mean SSIM min decode fps
-ffmpeg take-h264.mp4 24/24 1.0000 1.0000 95.6
-apple take-h264.mp4 24/24 0.9984 0.9983 98.5
-soft take-h264.mp4 24/24 0.9985 0.9984 37.3
-av1 take-av1.mp4 24/24 0.9985 0.9983 61.3
-ffmpeg broll-screen.mov 24/24 1.0000 1.0000 92.2
-apple broll-screen.mov 24/24 0.9922 0.9913 94.9
-soft broll-screen.mezz.mp4 24/24 0.9995 0.9994 67.4
-av1 broll-screen.av1.mp4 24/24 0.9997 0.9996 60.2
-ffmpeg broll-rot.mov 24/24 1.0000 1.0000 95.1
-apple broll-rot.mov 24/24 0.9983 0.9981 100.2
-soft broll-rot.mov 24/24 0.9985 0.9983 35.1
-av1 broll-rot.av1.mp4 24/24 0.9985 0.9983 63.0
diff --git a/media/bench/licences.txt b/media/bench/licences.txt
deleted file mode 100644
index ee2665b2..00000000
--- a/media/bench/licences.txt
+++ /dev/null
@@ -1,214 +0,0 @@
-# cargo metadata licence scan, all features, 2026-10-13
-# GPL/AGPL crates: none
-adler2 2.0.1: 0BSD OR MIT OR Apache-2.0
-aligned 0.4.3: MIT OR Apache-2.0
-aligned-vec 0.6.4: MIT
-anstream 1.0.0: MIT OR Apache-2.0
-anstyle 1.0.14: MIT OR Apache-2.0
-anstyle-parse 1.0.0: MIT OR Apache-2.0
-anstyle-query 1.1.5: MIT OR Apache-2.0
-anstyle-wincon 3.0.11: MIT OR Apache-2.0
-anyhow 1.0.104: MIT OR Apache-2.0
-arbitrary 1.5.0: MIT OR Apache-2.0
-arg_enum_proc_macro 0.3.4: MIT
-arrayvec 0.7.8: MIT OR Apache-2.0
-as-slice 0.2.1: MIT OR Apache-2.0
-assert_matches 1.5.0: MIT/Apache-2.0
-atomig 0.4.3: MIT/Apache-2.0
-atomig-macro 0.4.0: MIT/Apache-2.0
-autocfg 1.5.1: Apache-2.0 OR MIT
-av-scenechange 0.14.1: MIT
-av1-grain 0.2.5: BSD-2-Clause
-bitflags 1.3.2: MIT/Apache-2.0
-bitflags 2.13.2: MIT OR Apache-2.0
-bitstream-io 4.10.0: MIT/Apache-2.0
-block2 0.6.2: MIT
-built 0.8.1: MIT
-bumpalo 3.20.3: MIT OR Apache-2.0
-bytemuck 1.25.2: Zlib OR Apache-2.0 OR MIT
-byteorder 1.5.0: Unlicense OR MIT
-byteorder-lite 0.1.0: Unlicense OR MIT
-bytes 1.12.1: MIT
-cc 1.8.0: MIT OR Apache-2.0
-cfg-if 1.0.5: MIT OR Apache-2.0
-clap 4.6.7: MIT OR Apache-2.0
-clap_builder 4.6.7: MIT OR Apache-2.0
-clap_derive 4.6.7: MIT OR Apache-2.0
-clap_lex 1.1.1: MIT OR Apache-2.0
-cmake 0.1.58: MIT OR Apache-2.0
-colorchoice 1.0.5: MIT OR Apache-2.0
-console 0.15.11: MIT
-core_detect 1.0.0: MIT/Apache-2.0
-crc32fast 1.5.2: MIT OR Apache-2.0
-crossbeam-deque 0.8.8: MIT OR Apache-2.0
-crossbeam-epoch 0.9.21: MIT OR Apache-2.0
-crossbeam-utils 0.8.23: MIT OR Apache-2.0
-dispatch2 0.3.1: Zlib OR Apache-2.0 OR MIT
-either 1.19.0: MIT OR Apache-2.0
-encode_unicode 1.0.0: Apache-2.0 OR MIT
-encoding_rs 0.8.42: (Apache-2.0 OR MIT) AND BSD-3-Clause
-equator 0.4.2: MIT
-equator-macro 0.4.2: MIT
-extended 0.1.0: MIT
-fdeflate 0.3.7: MIT OR Apache-2.0
-find-msvc-tools 0.1.14: MIT OR Apache-2.0
-flate2 1.1.10: MIT OR Apache-2.0
-futures-core 0.3.34: MIT OR Apache-2.0
-futures-task 0.3.34: MIT OR Apache-2.0
-futures-util 0.3.34: MIT OR Apache-2.0
-getrandom 0.3.4: MIT OR Apache-2.0
-getrandom 0.4.3: MIT OR Apache-2.0
-heck 0.5.0: MIT OR Apache-2.0
-image 0.25.10: MIT OR Apache-2.0
-indicatif 0.17.11: MIT
-interpolate_name 0.2.4: MIT
-is_terminal_polyfill 1.70.2: MIT OR Apache-2.0
-itertools 0.14.0: MIT OR Apache-2.0
-itoa 1.0.18: MIT OR Apache-2.0
-jobserver 0.1.35: MIT OR Apache-2.0
-js-sys 0.3.106: MIT OR Apache-2.0
-lazy_static 1.5.1: MIT OR Apache-2.0
-libc 0.2.190: MIT OR Apache-2.0
-libfuzzer-sys 0.4.13: (MIT OR Apache-2.0) AND NCSA
-lock_api 0.4.14: MIT OR Apache-2.0
-log 0.4.34: MIT OR Apache-2.0
-maybe-rayon 0.1.1: MIT
-memchr 2.8.3: Unlicense OR MIT
-miniz_oxide 0.8.9: MIT OR Zlib OR Apache-2.0
-miniz_oxide 0.9.1: MIT OR Zlib OR Apache-2.0
-moxcms 0.8.1: BSD-3-Clause OR Apache-2.0
-multiversion_no_op 1.0.0: Apache-2.0 OR MIT
-muxide 0.2.5: MIT OR Apache-2.0
-nasm-rs 0.3.2: MIT OR Apache-2.0
-new_debug_unreachable 1.0.6: MIT
-no_std_io2 0.9.4: Apache-2.0 OR MIT
-nom 8.0.0: MIT
-noop_proc_macro 0.3.0: MIT
-num-bigint 0.4.8: MIT OR Apache-2.0
-num-derive 0.4.2: MIT OR Apache-2.0
-num-integer 0.1.47: MIT OR Apache-2.0
-num-rational 0.4.2: MIT OR Apache-2.0
-num-traits 0.2.19: MIT OR Apache-2.0
-number_prefix 0.4.0: MIT
-objc2 0.6.5: MIT
-objc2-audio-toolbox 0.3.2: Zlib OR Apache-2.0 OR MIT
-objc2-av-foundation 0.3.2: Zlib OR Apache-2.0 OR MIT
-objc2-avf-audio 0.3.2: Zlib OR Apache-2.0 OR MIT
-objc2-core-audio 0.3.2: Zlib OR Apache-2.0 OR MIT
-objc2-core-audio-types 0.3.2: Zlib OR Apache-2.0 OR MIT
-objc2-core-foundation 0.3.2: Zlib OR Apache-2.0 OR MIT
-objc2-core-graphics 0.3.2: Zlib OR Apache-2.0 OR MIT
-objc2-core-image 0.3.2: Zlib OR Apache-2.0 OR MIT
-objc2-core-media 0.3.2: Zlib OR Apache-2.0 OR MIT
-objc2-core-video 0.3.2: Zlib OR Apache-2.0 OR MIT
-objc2-encode 4.1.0: MIT
-objc2-foundation 0.3.2: MIT
-objc2-image-io 0.3.2: Zlib OR Apache-2.0 OR MIT
-objc2-io-surface 0.3.2: Zlib OR Apache-2.0 OR MIT
-objc2-media-toolbox 0.3.2: Zlib OR Apache-2.0 OR MIT
-objc2-metal 0.3.2: Zlib OR Apache-2.0 OR MIT
-objc2-quartz-core 0.3.2: Zlib OR Apache-2.0 OR MIT
-once_cell 1.21.4: MIT OR Apache-2.0
-once_cell_polyfill 1.70.2: MIT OR Apache-2.0
-openh264 0.9.8: BSD-2-Clause
-openh264-sys2 0.9.8: BSD-2-Clause
-opus 0.4.0: MIT/Apache-2.0
-opusic-sys 0.7.5: BSD-3-Clause
-parking_lot 0.12.5: MIT OR Apache-2.0
-parking_lot_core 0.9.12: MIT OR Apache-2.0
-paste 1.0.15: MIT OR Apache-2.0
-pastey 0.1.1: MIT OR Apache-2.0
-pin-project-lite 0.2.17: Apache-2.0 OR MIT
-png 0.18.1: MIT OR Apache-2.0
-portable-atomic 1.15.0: Apache-2.0 OR MIT
-ppv-lite86 0.2.21: MIT OR Apache-2.0
-proc-macro2 1.0.107: MIT OR Apache-2.0
-profiling 1.0.18: MIT OR Apache-2.0
-profiling-procmacros 1.0.18: MIT OR Apache-2.0
-pxfm 0.1.30: BSD-3-Clause OR Apache-2.0
-quote 1.0.47: MIT OR Apache-2.0
-r-efi 5.3.0: MIT OR Apache-2.0 OR LGPL-2.1-or-later
-r-efi 6.0.0: MIT OR Apache-2.0 OR LGPL-2.1-or-later
-rand 0.9.5: MIT OR Apache-2.0
-rand_chacha 0.9.0: MIT OR Apache-2.0
-rand_core 0.9.5: MIT OR Apache-2.0
-rav1d 1.1.0: BSD-2-Clause
-rav1e 0.8.1: BSD-2-Clause
-raw-cpuid 11.6.0: MIT
-rayon 1.12.0: MIT OR Apache-2.0
-rayon-core 1.13.0: MIT OR Apache-2.0
-re_mp4 0.5.1: MIT
-redox_syscall 0.5.18: MIT
-raea-media 0.1.0: NONE
-rustversion 1.0.23: MIT OR Apache-2.0
-safe_arch 1.2.0: Zlib OR Apache-2.0 OR MIT
-same-file 1.0.6: Unlicense/MIT
-scopeguard 1.2.0: MIT OR Apache-2.0
-serde 1.0.229: MIT OR Apache-2.0
-serde_core 1.0.229: MIT OR Apache-2.0
-serde_derive 1.0.229: MIT OR Apache-2.0
-serde_json 1.0.154: MIT OR Apache-2.0
-shlex 2.0.1: MIT OR Apache-2.0
-simd-adler32 0.3.10: MIT
-simd_helpers 0.1.0: MIT
-simdutf8 0.1.5: MIT OR Apache-2.0
-slab 0.4.12: MIT
-smallvec 1.16.3: MIT OR Apache-2.0
-stable_deref_trait 1.2.1: MIT OR Apache-2.0
-strsim 0.11.1: MIT
-strum 0.26.3: MIT
-strum_macros 0.26.4: MIT
-symphonia 0.5.5: MPL-2.0
-symphonia-bundle-flac 0.5.5: MPL-2.0
-symphonia-bundle-mp3 0.5.5: MPL-2.0
-symphonia-codec-aac 0.5.5: MPL-2.0
-symphonia-codec-adpcm 0.5.5: MPL-2.0
-symphonia-codec-pcm 0.5.5: MPL-2.0
-symphonia-codec-vorbis 0.5.5: MPL-2.0
-symphonia-core 0.5.5: MPL-2.0
-symphonia-format-isomp4 0.5.5: MPL-2.0
-symphonia-format-mkv 0.5.5: MPL-2.0
-symphonia-format-ogg 0.5.5: MPL-2.0
-symphonia-format-riff 0.5.5: MPL-2.0
-symphonia-metadata 0.5.5: MPL-2.0
-symphonia-utils-xiph 0.5.5: MPL-2.0
-syn 2.0.119: MIT OR Apache-2.0
-syn 3.0.9: MIT OR Apache-2.0
-thiserror 1.0.69: MIT OR Apache-2.0
-thiserror 2.0.21: MIT OR Apache-2.0
-thiserror-impl 1.0.69: MIT OR Apache-2.0
-thiserror-impl 2.0.21: MIT OR Apache-2.0
-to_method 1.1.0: CC0-1.0
-unicode-ident 1.0.27: (MIT OR Apache-2.0) AND Unicode-3.0
-unicode-width 0.2.2: MIT OR Apache-2.0
-utf8parse 0.2.2: Apache-2.0 OR MIT
-v_frame 0.3.9: BSD-2-Clause
-walkdir 2.5.0: Unlicense/MIT
-wasip2 1.0.4+wasi-0.2.12: Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
-wasm-bindgen 0.2.129: MIT OR Apache-2.0
-wasm-bindgen-macro 0.2.129: MIT OR Apache-2.0
-wasm-bindgen-macro-support 0.2.129: MIT OR Apache-2.0
-wasm-bindgen-shared 0.2.129: MIT OR Apache-2.0
-web-time 1.1.0: MIT OR Apache-2.0
-wide 1.7.1: Zlib OR Apache-2.0 OR MIT
-winapi-util 0.1.11: Unlicense OR MIT
-windows-link 0.2.1: MIT OR Apache-2.0
-windows-sys 0.59.0: MIT OR Apache-2.0
-windows-sys 0.61.2: MIT OR Apache-2.0
-windows-targets 0.52.6: MIT OR Apache-2.0
-windows_aarch64_gnullvm 0.52.6: MIT OR Apache-2.0
-windows_aarch64_msvc 0.52.6: MIT OR Apache-2.0
-windows_i686_gnu 0.52.6: MIT OR Apache-2.0
-windows_i686_gnullvm 0.52.6: MIT OR Apache-2.0
-windows_i686_msvc 0.52.6: MIT OR Apache-2.0
-windows_x86_64_gnu 0.52.6: MIT OR Apache-2.0
-windows_x86_64_gnullvm 0.52.6: MIT OR Apache-2.0
-windows_x86_64_msvc 0.52.6: MIT OR Apache-2.0
-wit-bindgen 0.57.1: Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
-y4m 0.8.0: MIT
-zerocopy 0.7.35: BSD-2-Clause OR Apache-2.0 OR MIT
-zerocopy 0.8.63: BSD-2-Clause OR Apache-2.0 OR MIT
-zerocopy-derive 0.7.35: BSD-2-Clause OR Apache-2.0 OR MIT
-zerocopy-derive 0.8.63: BSD-2-Clause OR Apache-2.0 OR MIT
-zlib-rs 0.6.8: Zlib
-zmij 1.0.23: MIT
diff --git a/media/bench/linux-container-x86.txt b/media/bench/linux-container-x86.txt
deleted file mode 100644
index 9c415847..00000000
--- a/media/bench/linux-container-x86.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-G8 re-run, 2026-10-14: the soft backend end to end in a Linux container (rust:1-slim, x86_64, Docker Engine in WSL2 on the CUDA box), headless.
-Build: cargo build --release --no-default-features --features soft (bench/linux-run.sh steps; cmake added for opusic-sys).
-
-== Linux x86_64 (WSL2 kernel 6.6.87.2-microsoft-standard-WSL2, Docker container rust:1-slim), rustc 1.99.0 (b940084d7 2026-09-28)
-== decode (openh264, BT.709)
-{"backend":"soft","decode_s":11.012451851,"fps":27.241889822452038,"frames":300,"hash":"a64d0a5c26cd9af3","open_s":0.059017051}
-== seek: any order + SSIM vs ffmpeg
-== rotated source
-== encode (openh264 + Opus via muxide)
-{"backend":"soft","bytes":5089810,"codec":"h264 (openh264)","encode_s":3.193030946,"fps":46.97730856254595,"frames":150,"kbps":8143.696000000001,"ssim_mean":0.951565390942464}
-stream|codec_name=h264|duration=5.000000|nb_read_frames=150
-stream|codec_name=opus|duration=5.000000|nb_read_frames=250
-ffmpeg decode errors: 0
-== audio decode parity (Symphonia vs ffmpeg)
-== mix vs ffmpeg amix
-{"ffmpeg_lufs":-20.05105580097326,"offset_samples":0,"ours_lufs":-20.05105462497048,"residual_db":-117.32673263198353}
-
--- second pass (seek with --ref as the file itself; audio parity by loudness, both decoders)
-== seek: any order + SSIM vs ffmpeg
-{"backend":"soft","identical_any_order":24,"seeks":24,"ssim_vs_ref_mean":0.9984935078309856,"ssim_vs_ref_min":0.9983955862169609}
-== rotated source
-{"backend":"soft","identical_any_order":24,"seeks":24,"ssim_vs_ref_mean":0.9985018779400252,"ssim_vs_ref_min":0.9984258377214974}
-== audio decode parity (Symphonia vs ffmpeg)
-{"backend":"ffmpeg","channels":1,"decode_s":0.121366471,"file":"fixtures/take-voice.m4a","lufs":-22.64467537689185,"peak_db":-4.001524395337336,"rate":48000,"seconds":25.641333333333332}
-{"backend":"soft","channels":1,"decode_s":0.027232264,"file":"fixtures/take-voice.m4a","lufs":-22.644674409118206,"peak_db":-4.001522753989658,"rate":48000,"seconds":25.633333333333333}
diff --git a/media/bench/linux-container.txt b/media/bench/linux-container.txt
deleted file mode 100644
index d6cf467e..00000000
--- a/media/bench/linux-container.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-Unable to find image 'rust:1-slim' locally
-1-slim: Pulling from library/rust
-6f85d7de63d9: Pulling fs layer
-bbeda6b4abb7: Pulling fs layer
-df26a473a330: Download complete
-f8056fd0adb1: Download complete
-bbeda6b4abb7: Download complete
-bbeda6b4abb7: Pull complete
-6f85d7de63d9: Download complete
-6f85d7de63d9: Pull complete
-Digest: sha256:2752b332db73fdbb7dc576f06c82ed1f312005784ef913d7e04a28f5f55dc581
-Status: Downloaded newer image for rust:1-slim
-== Linux aarch64, rustc 1.99.0 (b940084d7 2026-09-28)
-== decode (openh264, BT.709)
-{"backend":"soft","decode_s":17.409505785,"fps":17.231965324281603,"frames":300,"hash":"a64d0a5c26cd9af3","open_s":0.043025327}
-== seek: any order + SSIM vs ffmpeg
-{"backend":"soft","identical_any_order":24,"seeks":24,"ssim_vs_ref_mean":0.9985244952215308,"ssim_vs_ref_min":0.9983503168024441}
-== rotated source
-{"backend":"soft","identical_any_order":24,"seeks":24,"ssim_vs_ref_mean":0.9992076875523219,"ssim_vs_ref_min":0.9991311548617742}
-== encode (openh264 + Opus via muxide)
-{"backend":"soft","bytes":5088415,"codec":"h264 (openh264)","encode_s":5.694985261,"fps":26.338961933267765,"frames":150,"kbps":8141.464,"ssim_mean":0.9517330185520894}
-stream|codec_name=h264|duration=5.000000|nb_read_frames=150
-stream|codec_name=opus|duration=5.000000|nb_read_frames=250
-== audio decode parity (Symphonia vs ffmpeg)
-{"backend":"soft","ffmpeg_samples":1230784,"file":"fixtures/take-voice.m4a","offset_samples":0,"rate":48000,"residual_db":-133.98365498267842,"samples":1230400}
-== mix vs ffmpeg amix
-{"ffmpeg_lufs":-20.05105579538382,"offset_samples":0,"ours_lufs":-20.05105462497048,"residual_db":-117.32705535711226}
diff --git a/media/docs/bakeoff.feature b/media/docs/bakeoff.feature
deleted file mode 100644
index 828e4e2d..00000000
--- a/media/docs/bakeoff.feature
+++ /dev/null
@@ -1,88 +0,0 @@
-Feature: The media plane bake-off (G7), on the real UGC edit
- Four backends behind one MediaBackend seam, measured on the UGC edit built from Buddy's eval take (talking head cut
- on sentences, word-chunked captions, two b-roll inserts, a music bed ducked under speech; 738 frames, 24.6 s,
- 1080x1920 at 30 fps). M4 Mac, 2026-10-13. The raw numbers are in bench/ and ../rdb/bench/.
-
- Background:
- Given the edit references its sources by content hash (the media table), with an edit mezzanine for any source
- the portable decoders can't read (B-frames: broll-screen.mov)
- And its second b-roll, broll-rot.mov, is a segment of Buddy's take stored landscape with a -90 degree display
- matrix (2026-10-14: it replaced a clip that turned out to be from Kelly's drive; every number here is from the
- corrected edit, re-run by ../rdb/bench/step0.sh)
- And every render runs guarded (bench/guarded.sh in rdb: memory floor, lane eval, decoder and render ceilings)
-
- Scenario: Decoding is exact in any order and matches ffmpeg
- # any-order: 24 seeks forward vs shuffled, identical frames; SSIM against ffmpeg's frame at the same time
- # (untagged HD read as BT.709); decode fps over 300 sequential frames (bench/decode-sources.txt)
- Then the decoders on the edit's sources measure
- | backend | source | any order | SSIM mean | SSIM min | decode fps |
- | ffmpeg | take-h264.mp4 | 24/24 | 1.0000 | 1.0000 | 95.6 |
- | apple | take-h264.mp4 | 24/24 | 0.9984 | 0.9983 | 98.5 |
- | soft | take-h264.mp4 | 24/24 | 0.9985 | 0.9984 | 37.3 |
- | av1 | take-av1.mp4 | 24/24 | 0.9985 | 0.9983 | 61.3 |
- | ffmpeg | broll-screen.mov | 24/24 | 1.0000 | 1.0000 | 92.2 |
- | apple | broll-screen.mov | 24/24 | 0.9922 | 0.9913 | 94.9 |
- | soft | broll-screen.mezz.mp4 | 24/24 | 0.9995 | 0.9994 | 67.4 |
- | av1 | broll-screen.av1.mp4 | 24/24 | 0.9997 | 0.9996 | 60.2 |
- | ffmpeg | broll-rot.mov | 24/24 | 1.0000 | 1.0000 | 95.1 |
- | apple | broll-rot.mov | 24/24 | 0.9983 | 0.9981 | 100.2 |
- | soft | broll-rot.mov | 24/24 | 0.9985 | 0.9983 | 35.1 |
- | av1 | broll-rot.av1.mp4 | 24/24 | 0.9985 | 0.9983 | 63.0 |
- And every row is >= 0.99
- # found and fixed on the way: soft used openh264's BT.601 conversion, soft and av1 ignored the rotation matrix,
- # ffmpeg's reference read untagged HD as BT.601, and the Apple decoder leaked VideoToolbox sessions (23 GB)
-
- Scenario: The edit's rendered frames are byte-identical across runs and orders
- # 738 frame hashes per run (rdb render -o X.txt), ../rdb/examples/out/ref/
- Then with the apple decoders, two runs and one shuffled run give the same 738 hashes
- And with the soft decoders, two runs and one shuffled run give the same 738 hashes
- And the soft decoder's frames on Linux (aarch64, in a container) hash the same as on the Mac (a64d0a5c26cd9af3)
- And the reference hashes for the corrected edit are ../rdb/examples/out/ref/hash-{apple,soft}-{a,b,shuffled}.txt
-
- Scenario: Encoding the whole edit
- # full render including encode, 8 Mbps, SSIM against the uncompressed rendered frames (every 30th),
- # ../rdb/examples/out/encode-table.jsonl
- Then the encoders measure
- | decode + encode | render incl. encode | encode ms/frame | SSIM | size | audio |
- | apple + VideoToolbox | 70.7 fps | 0.75 | 0.9790 | 25.1 MB | AAC (AudioToolbox) |
- | ffmpeg + libx264 | 23.9 fps | 5.00 | 0.9709 | 25.4 MB | AAC (ffmpeg) |
- | soft + openh264 | 20.2 fps | 14.12 | 0.9690 | 24.8 MB | Opus |
- | soft + rav1e (speed 10) | 1.7 fps | 547.27 | 0.9764 | 24.9 MB | Opus |
- And the Apple path renders the edit at 2.4x real time; the portable path at 0.7x
- # (step 0 path, RGBA readback; G8's GPU frame path renders the same edit at 188 fps incl. encode: ../rdb/docs/g8.feature)
-
- Scenario: The outputs play
- # ffprobe -count_frames; ffmpeg decode errors; AVFoundation (QuickTime's engine) playable, then every video
- # frame and audio sample decoded through AVAssetReader, headless (../rdb/bench/playback.jsonl)
- Then every output has 738 video frames and 24.6 s of audio, no ffmpeg decode errors
- And AVFoundation plays all four, decoding 738 frames and all audio samples
- # found and fixed: muxide read AV1's decoder_model_info flag without timing info, writing a wrong av1C (tier,
- # level, monochrome) that VideoToolbox refused (vendor/muxide)
-
- Scenario: Audio as columns
- Then the column mix matches ffmpeg's amix to -117.3 dB residual on the same lanes (soft decode, resample, cut, gain)
- And Symphonia's AAC decode matches ffmpeg's to -134 dB and AudioToolbox's to -136 dB, sample-aligned (gapless)
- And the edit's master lands at -14.2 LUFS (ffmpeg's ebur128 agrees within 0.1 LU), peaks at -1.5 dBFS
- And the brief's audio scenarios hold, and fail when the ducking rule is removed
-
- Scenario: Portability
- Then cargo check passes for aarch64-apple-darwin, aarch64-apple-ios, x86_64-unknown-linux-gnu (zig cc, nasm)
- and aarch64-linux-android (NDK) with soft, soft+av1, and soft+av1+apple (apple compiles away off Apple)
- And the soft backend runs end to end in a Linux container (rust:1-slim, aarch64): decode, any-order seeks,
- SSIM vs ffmpeg 0.9985, a rotated source, encode with Opus, Symphonia vs ffmpeg -134 dB, mix vs amix -117 dB
- (bench/linux-container.txt)
- And again on x86_64 (2026-10-14, rust:1-slim under Docker Engine in WSL2, headless): the same decoded frames as the
- Mac and aarch64 (hash a64d0a5c26cd9af3), 24/24 any-order seeks with SSIM vs ffmpeg 0.9985 (rotated source
- 0.9985), an H.264 + Opus encode with no decode errors, Symphonia vs ffmpeg loudness within 1e-6 LU, mix vs amix
- -117 dB (bench/linux-container-x86.txt)
-
- Scenario: Licences
- Then the per-backend record is docs/licences.feature: no GPL in any shipping path; Apple codecs are licensed with
- the OS; AV1 and Opus are royalty-free; a source-built openh264 is not covered by Cisco's H.264 licence
-
- Scenario: The recommendation
- Then Mac renders on the apple backend: VideoToolbox decode and encode, AAC, muxide (63 fps for the edit)
- And iPhone uses the same apple backend (it compiles for aarch64-apple-ios; not yet run on a device)
- And Linux servers decode with soft (H.264 mezzanines) or rav1d (AV1), and encode with openh264 under an AVC
- licence, or AV1 when there's time (rav1e at speed 10 is 1.9 fps; VA-API/NVDEC are the next backends to add)
- And the winning path's render of the UGC edit is ../rdb/examples/out/ugc-apple.mp4
diff --git a/media/docs/licences.feature b/media/docs/licences.feature
index a3304c65..b4f82817 100644
--- a/media/docs/licences.feature
+++ b/media/docs/licences.feature
@@ -1,7 +1,6 @@
Feature: What the media plane may ship, per backend
raea-media's backends, what each links, under which licence, and which codec patents apply. Checked against
- `cargo metadata` on 2026-10-13 (no GPL or AGPL crate anywhere in the dependency graph; the scan is in
- bench/licences.txt). This is an engineering record, not legal advice: a release that ships H.264 or AAC encoders in
+ `cargo metadata` (no GPL or AGPL crate anywhere in the dependency graph). This is an engineering record, not legal advice: a release that ships H.264 or AAC encoders in
our own binaries goes past legal review first.
Background:
diff --git a/modules/README.md b/modules/README.md
new file mode 100644
index 00000000..5430077e
--- /dev/null
+++ b/modules/README.md
@@ -0,0 +1,11 @@
+# modules
+
+`raea-modules`: loads the agent's TypeScript, TSX and JSX in process, with no bun. It resolves an import inside the
+project folder, transpiles the file with deno_ast (swc) using React's automatic JSX runtime, and hands the module to
+the JavaScript engine's module loader. Shared libraries (React, `@raea/motion`) come from one prebuilt bundle instead
+of being loaded per import. This is what lets compositions run on the iPhone, where there is no bun.
+
+It refuses, with a message the agent can act on, a file outside the project, a missing file, a bare name the bundle
+doesn't serve, and a file it can't parse.
+
+Used by [`native/`](../native) (its `modules` feature), [`react/`](../react) and the engine's page scripts.
diff --git a/motion/README.md b/motion/README.md
index 2afdbaf7..1c536512 100644
--- a/motion/README.md
+++ b/motion/README.md
@@ -31,13 +31,15 @@ raea-motion render title.tsx -o title.mp4
## Layout
-- `spec/motion.feature`: the behavioural spec. `spec/surface.md`: the APIs agents actually reach for, in build order.
+- `spec/motion.feature`: the behavioural spec.
- `conformance/`: tests written from the spec (`bun test conformance`); `raea-motion test FILE...` runs them on the
engine's own runtime.
- `src/`: the SDK. `src/native.ts`, `ecs.ts`, `solid.ts` and `codecs.ts` are the engine modules (`/native`, `/ecs`,
`/3d`'s `manifold` and `Solid`, `/codecs`). `/codecs` wraps mediabunny (MPL-2.0, unmodified) with the engine's
coders underneath; Manifold runs natively as manifold-rust (Apache-2.0). Under plain bun, `/ecs` falls back to
TypeScript tables and the others say they need the engine.
+- `docs/bevy-coverage.md`: which of Bevy's features a composition can reach, and what each missing one needs.
+ `bench/bevy/` holds the 3D fixtures and their render-against-play check.
- `tools/`: golden-frame checks (`golden.sh`, `golden-av.sh`) and `media-vs-ffmpeg.sh`.
void's agent learns the SDK from `void/prompts/craft/motion.md` and `motion/*.md`, its guide for writing compositions.
diff --git a/motion/RELEASES.md b/motion/RELEASES.md
deleted file mode 100644
index 33cac45b..00000000
--- a/motion/RELEASES.md
+++ /dev/null
@@ -1,30 +0,0 @@
-# @raea/motion releases
-
-Each passed tools/release.sh before it was tagged.
-
-
-## 0.1.0 (2026-10-16)
-- conformance: 81 pass
-- similarity: 0 matches
-- dependency guard: clean over raea and the host app
-- 12 golden frames pass
-
-## 0.1.1 (2026-10-16)
-- conformance: 86 pass
-- similarity: 0 matches
-- dependency guard: clean over raea and the host app
-- 12 golden frames pass
-
-## 0.2.0 (2026-10-16)
-- conformance: 99 pass
-- similarity: 0 matches
-- dependency guard: clean over raea and the host app
-- 21 golden frames pass
-- golden video with sound: 5 approved pieces rendered by the SDK checked
-
-## 0.3.0 (2026-10-16)
-- conformance: 121 pass
-- similarity: 0 matches
-- dependency guard: clean over raea and the host app
-- 24 golden frames pass
-- golden video with sound: 5 approved pieces rendered by the SDK checked
diff --git a/motion/bench/bevy/eval/run.py b/motion/bench/bevy/eval/run.py
new file mode 100644
index 00000000..c8d08cb6
--- /dev/null
+++ b/motion/bench/bevy/eval/run.py
@@ -0,0 +1,200 @@
+#!/usr/bin/env python3
+"""Does the Bevy skills library teach? GLM 5.3 Flash (OpenRouter) writes one composition per 3D or game brief, with a
+`craft` tool to read the craft files, in two conditions:
+ before: the motion files as they were before the library (motion.md, motion/3d and the other motion/* topics,
+ from git rev BEFORE_REV)
+ after: the same, as they are now, plus the bevy router (in the system prompt) and its topics behind the tool
+Each first answer is rendered at its first, middle and last frame with raea-motion. A first-try success renders all
+three frames, its middle frame isn't blank, and its source uses what the brief asks for (a regex per brief).
+Tokens and cost come from OpenRouter's usage. Writes OUT/results.json and prints the table.
+ run.py [--samples N] [--out DIR] [--only before|after]
+"""
+import concurrent.futures as cf, json, os, pathlib, re, subprocess, sys, time, urllib.request
+
+ROOT = pathlib.Path(__file__).resolve().parents[4]
+MODEL = "z-ai/glm-5.3-flash"
+PRICE_IN, PRICE_OUT = 0.048e-6, 0.20e-6 # $ per token (OpenRouter, 2026-10-18)
+BEFORE_REV = "d565763" # the rows path landed, the SDK and the library not yet
+BIN = ROOT / "react/target/release/raea-motion"
+ARGS = sys.argv[1:]
+SAMPLES = int(ARGS[ARGS.index("--samples") + 1]) if "--samples" in ARGS else 3
+OUT = pathlib.Path(ARGS[ARGS.index("--out") + 1]) if "--out" in ARGS else pathlib.Path(os.environ.get("TMPDIR", "/tmp")) / "raea-bevy-eval"
+ONLY = ARGS[ARGS.index("--only") + 1] if "--only" in ARGS else None
+
+BRIEFS = [
+ ("product", "A 4-second product shot, 1080x1080 at 30 fps: a perfume bottle (model it from simple shapes) on a "
+ "turntable that turns slowly, lit by a soft spotlight from above that casts a shadow on the floor, while the "
+ "camera pushes in. The words \"Night Bloom\" sit over the top of the frame.",
+ [r"SpotLight", r"castShadow", r"PerspectiveCamera"]),
+ ("neon", "A 3-second 1280x720 loop at 30 fps: the word OPEN as glowing neon letters in 3D, the glow blooming, "
+ "drifting fog behind it, the letters flickering on two fixed frames.",
+ [r"<Bloom", r"emissive", r"Text3D|text3d", r"<Fog"]),
+ ("model", "A 2-second 1280x720 shot at 30 fps of the 3D model media/model.glb (it has an animation clip named "
+ "\"Spin\") playing its clip on a floor, with the picture media/poster.png standing beside it as a sign in the scene.",
+ [r"<Model[^>]*model\.glb", r"animation=", r"<ImagePlane|poster\.png"]),
+ ("game", "A 5-second 1280x720 scripted play-through at 30 fps of a 3D game: the player steers a ball left and right "
+ "along a lane to dodge blocks coming towards the camera; the blocks spawn in a seeded pattern; the score (blocks "
+ "passed) is shown at the top. The steering comes from a scripted input timeline in the file.",
+ [r"useGameState", r"<Mesh", r"Canvas3D"]),
+ ("finishes", "A 2-second 1280x720 shot at 30 fps of three spheres in a row: one of clear glass you can see through, "
+ "one in glossy lacquered car paint with a clear coat, and one whose colour shifts from teal to orange over the shot.",
+ [r"transparent|opacity", r"clearcoat", r"color=\{"]),
+ ("city", "A 4-second 1080x1080 shot at 30 fps: a small city of box buildings on a grid that rise out of the ground "
+ "one after another, the camera orbiting the city once, a sun casting shadows; a beacon sphere appears on the "
+ "tallest building after 2 seconds.",
+ [r"Sequence|>\s*\d+\s*&&|frame\s*>=?\s*\d+", r"Math\.(sin|cos)", r"DirectionalLight"]),
+]
+
+ROLE = ("You write one complete composition file (edit.tsx) for raea's TypeScript SDK @raea/motion, which renders "
+ "React-style video compositions; its 3D is drawn by raea's engine with Bevy. Read the craft files you need "
+ "with the craft tool before writing. When you are done, answer with the whole file in one ```tsx block: "
+ "imports from \"@raea/motion\" and \"@raea/motion/3d\", a component, and registerRoot(() => <Composition ... />). "
+ "No other files exist except the media files a brief names. There is no brand for these pieces: choose the "
+ "colours yourself as hex strings.")
+
+
+def craft_files(cond):
+ """name -> text for the craft tool, and the system prompt's router text."""
+ names = ["motion", "motion/compositions", "motion/timing", "motion/animating", "motion/assets", "motion/3d", "motion/games", "motion/rendering"]
+ if cond == "after":
+ names += ["bevy"] + [f"bevy/{t}" for t in ["scene", "lights", "materials", "meshes", "animation", "games", "assets", "post", "limits"]]
+ files = {}
+ for n in names:
+ rel = f"void/prompts/craft/{n}.md"
+ if cond == "before":
+ files[n] = subprocess.run(["git", "-C", str(ROOT), "show", f"{BEFORE_REV}:{rel}"], capture_output=True, text=True, check=True).stdout
+ else:
+ files[n] = (ROOT / rel).read_text()
+ router = files["motion"] + ("\n\n" + files["bevy"] if cond == "after" else "")
+ return files, router
+
+
+def key():
+ for line in (pathlib.Path.home() / ".raea/openrouter.env").read_text().splitlines():
+ if line.startswith("OPENROUTER_API_KEY="):
+ return line.split("=", 1)[1].strip().strip('"')
+ raise SystemExit("no OPENROUTER_API_KEY")
+
+
+def chat(messages, tools):
+ body = {"model": MODEL, "messages": messages, "tools": tools, "max_tokens": 65536, "temperature": 0.7}
+ req = urllib.request.Request("https://openrouter.ai/api/v1/chat/completions", data=json.dumps(body).encode(),
+ headers={"Authorization": f"Bearer {key()}", "Content-Type": "application/json"})
+ for attempt in range(4):
+ try:
+ with urllib.request.urlopen(req, timeout=600) as r:
+ return json.load(r)
+ except Exception as e: # network or provider hiccup: retried, never counted as the model's failure
+ err = e
+ time.sleep(5 * (attempt + 1))
+ raise RuntimeError(f"OpenRouter failed: {err}")
+
+
+def write(cond, brief, k):
+ files, router = craft_files(cond)
+ tools = [{"type": "function", "function": {"name": "craft", "description": "Read a craft file by name.",
+ "parameters": {"type": "object", "properties": {"name": {"type": "string", "enum": sorted(files)}}, "required": ["name"]}}}]
+ msgs = [{"role": "system", "content": ROLE + "\n\n" + router}, {"role": "user", "content": brief[1]}]
+ usage = {"in": 0, "out": 0, "reads": []}
+ for _ in range(16):
+ r = chat(msgs, tools)
+ u = r.get("usage", {})
+ usage["in"] += u.get("prompt_tokens", 0)
+ usage["out"] += u.get("completion_tokens", 0)
+ m = r["choices"][0]["message"]
+ calls = m.get("tool_calls") or []
+ msgs.append({k2: v for k2, v in m.items() if k2 in ("role", "content", "tool_calls")})
+ if not calls:
+ return m.get("content") or "", usage
+ for c in calls:
+ try:
+ name = json.loads(c["function"]["arguments"] or "{}").get("name", "")
+ except json.JSONDecodeError:
+ name = ""
+ usage["reads"].append(name)
+ msgs.append({"role": "tool", "tool_call_id": c["id"], "content": files.get(name, f"no craft file {name!r}; one of {', '.join(sorted(files))}")})
+ return "", usage
+
+
+def frames_of(src):
+ m = re.search(r"durationInFrames=\{(\d+)\}", src) or re.search(r"durationInFrames:\s*(\d+)", src)
+ if m:
+ return int(m.group(1))
+ m = re.search(r"const\s+\w*(?:FRAMES|DURATION)\w*\s*=\s*(\d+)", src)
+ return int(m.group(1)) if m else 60
+
+
+def luma_range(png):
+ out = subprocess.run(["ffmpeg", "-v", "error", "-i", str(png), "-vf", "signalstats,metadata=print:file=-", "-f", "null", "-"], capture_output=True, text=True).stdout
+ hi = re.search(r"YMAX=(\d+)", out)
+ lo = re.search(r"YMIN=(\d+)", out)
+ return int(hi.group(1)) - int(lo.group(1)) if hi and lo else 0
+
+
+def judge(cond, brief, k, answer):
+ d = OUT / f"{cond}-{brief[0]}-{k}"
+ (d / "media").mkdir(parents=True, exist_ok=True)
+ (d / "media/model.glb").write_bytes((ROOT / "motion/bench/bevy/model/media/spinner.glb").read_bytes())
+ (d / "media/poster.png").write_bytes((ROOT / "motion/bench/bevy/planes/media/poster.png").read_bytes())
+ (d / "answer.md").write_text(answer)
+ blocks = re.findall(r"```(?:tsx|ts|jsx|typescript)?\n(.*?)```", answer, re.S)
+ src = next((b for b in blocks if "registerRoot" in b), None)
+ res = {"cond": cond, "brief": brief[0], "sample": k, "code": src is not None}
+ if src is None:
+ res.update(ok=False, why="no file with registerRoot")
+ return res
+ (d / "edit.tsx").write_text(src)
+ res["features"] = [bool(re.search(p, src)) for p in brief[2]]
+ total = frames_of(src)
+ for f in [0, total // 2, max(0, total - 1)]:
+ p = subprocess.run(["nice", "-n", "15", str(BIN), "render", str(d / "edit.tsx"), "--frame", str(f), "-o", str(d / f"f{f}.png")], capture_output=True, text=True, timeout=300)
+ if p.returncode != 0 or not (d / f"f{f}.png").exists():
+ lines = (p.stdout + p.stderr).splitlines()
+ last = [l for l in lines if l.startswith("REFUSED")] or [l for l in lines if l.strip() and "WARN" not in l and "logger" not in l]
+ res.update(ok=False, renders=False, why=f"frame {f}: {last[-1][:300] if last else 'no output'}")
+ return res
+ res["renders"] = True
+ res["blank"] = luma_range(d / f"f{total // 2}.png") < 8
+ res["ok"] = res["renders"] and not res["blank"] and all(res["features"])
+ if not res["ok"]:
+ res["why"] = "blank middle frame" if res["blank"] else f"missing: {[p for p, h in zip(brief[2], res['features']) if not h]}"
+ return res
+
+
+def main():
+ OUT.mkdir(parents=True, exist_ok=True)
+ conds = [ONLY] if ONLY else ["before", "after"]
+ jobs = [(c, b, k) for c in conds for b in BRIEFS for k in range(SAMPLES)]
+ answers = {}
+ with cf.ThreadPoolExecutor(8) as ex:
+ futs = {ex.submit(write, c, b, k): (c, b, k) for c, b, k in jobs}
+ for fu in cf.as_completed(futs):
+ c, b, k = futs[fu]
+ try:
+ answers[(c, b[0], k)] = fu.result()
+ except Exception as e:
+ answers[(c, b[0], k)] = ("", {"in": 0, "out": 0, "reads": [], "error": str(e)})
+ print(f"wrote {c} {b[0]} {k}", file=sys.stderr)
+ results = []
+ for c, b, k in jobs: # renders one at a time (the GPU)
+ answer, usage = answers[(c, b[0], k)]
+ r = judge(c, b, k, answer)
+ r.update(tokens_in=usage["in"], tokens_out=usage["out"], reads=usage["reads"], error=usage.get("error"))
+ results.append(r)
+ print(f"{c:6} {b[0]:9} {k} {'OK ' if r['ok'] else 'no '} {r.get('why', '')}", file=sys.stderr)
+ tin = sum(r["tokens_in"] for r in results)
+ tout = sum(r["tokens_out"] for r in results)
+ summary = {}
+ for c in conds:
+ rs = [r for r in results if r["cond"] == c]
+ summary[c] = {"runs": len(rs), "first_try_ok": sum(r["ok"] for r in rs), "renders": sum(bool(r.get("renders")) for r in rs),
+ "by_brief": {b[0]: sum(r["ok"] for r in rs if r["brief"] == b[0]) for b in BRIEFS},
+ "avg_reads": round(sum(len(r["reads"]) for r in rs) / max(1, len(rs)), 1)}
+ out = {"model": MODEL, "samples": SAMPLES, "summary": summary, "tokens_in": tin, "tokens_out": tout,
+ "cost_usd": round(tin * PRICE_IN + tout * PRICE_OUT, 4), "results": results}
+ (OUT / "results.json").write_text(json.dumps(out, indent=1))
+ print(json.dumps({k: v for k, v in out.items() if k != "results"}, indent=1))
+
+
+if __name__ == "__main__":
+ main()
diff --git a/motion/docs/bevy-coverage.md b/motion/docs/bevy-coverage.md
index ebdba338..cbb27f92 100644
--- a/motion/docs/bevy-coverage.md
+++ b/motion/docs/bevy-coverage.md
@@ -1,4 +1,4 @@
-# Bevy through @raea/motion: what's reachable (2026-10-18)
+# Bevy through @raea/motion: what's reachable
raea draws 3D with Bevy **0.19.1** (`rdb/Cargo.toml`: `bevy = "=0.19.1"` with `3d_bevy_render`, `ui_bevy_render`,
`png`, `tonemapping_luts`, `ktx2`; `engine/Cargo.toml` uses `bevy_ecs 0.19.1`). Agents never write Rust: they write
@@ -18,7 +18,7 @@ The path, end to end:
## Summary
-59 features: **27 covered, 11 partial, 21 missing**. Three of the covered ones (2D text, UI, audio) are covered by the page and raea's mixer rather than by Bevy. This work moved 12 rows to covered: visibility, transforms, hierarchy, the perspective camera, point and spot lights, the standard material, bloom, tonemapping, fog, glTF models and their clips.
+59 features: **27 covered, 11 partial, 21 missing**. Three of the covered ones (2D text, UI, audio) are covered by the page and raea's mixer rather than by Bevy.
The top gaps, in the order a game or ad agent would hit them:
@@ -95,7 +95,7 @@ missing features: the SDK component or hook, the rows and columns, and the rdb s
|---|---|---|---|---|
| Sprites | partial | 2D is the page (HTML/CSS through Blitz); `<ImagePlane>` puts a picture in 3D | `panel` | sprite sheets: `ImagePlane frame={n} grid={[cols, rows]}` → UV rect columns |
| Text in 2D | covered (by the page) | HTML text, brand fonts, captions; not `Text2d` | page | |
-| Text in 3D | partial | `Text3D` (extruded solid letters) | `mesh.shape = text3d(...)` | flat text on a card: a DOM subtree painted to a `panel` (engine/docs/bevy.feature B4) exposed as `<Html3D>` |
+| Text in 3D | partial | `Text3D` (extruded solid letters) | `mesh.shape = text3d(...)` | flat text on a card: a DOM subtree painted to a `panel` exposed as `<Html3D>` |
| 2D meshes and materials | missing | use the page (SVG, CSS) | | not needed while the page draws 2D |
| UI (bevy_ui) | covered (by the page) | CSS flex and grid, not bevy_ui | page | |
@@ -183,12 +183,11 @@ export declare function stepBodies(bodies: Body[], dt: number, gravity?: Vec3):
## Checks
- `motion/bench/bevy/check.sh`: every fixture (`lights`, `materials`, `model`, `planes`) rendered and played baked
- with its 3D on a layer; on 2026-10-18 all four at SSIM 1.000 at frames 0, 30 and 59.
-- `react/bench/timelines/check.sh` (titles: 1.000), `engine/bench/parity.sh` (93 exact, 75 ok, 2 fail, as before),
- rdb's tests (41 pass), `motion/tools/golden.sh` 3D cases 04-06 against their frozen references (all pass),
+ with its 3D on a layer, each at SSIM 1.000 at frames 0, 30 and 59.
+- `react/bench/timelines/check.sh` (titles: 1.000), rdb's tests (41 pass), `motion/tools/golden.sh` 3D cases 04-06 against their frozen references (all pass),
`bun test conformance` (126 pass).
-## Existing Bevy knowledge packs (surveyed 2026-10-18)
+## Existing Bevy knowledge packs
What the skills library (`void/prompts/craft/bevy/`, mirrored in `skills/raea-bevy/`) took from each. Nothing was
copied from a pack without a permissive license; the library is written for our SDK, so most packs informed its
diff --git a/motion/spec/motion.feature b/motion/spec/motion.feature
index 388eb678..1eed9ea3 100644
--- a/motion/spec/motion.feature
+++ b/motion/spec/motion.feature
@@ -2,8 +2,7 @@
Feature: @raea/motion, the behaviour of its API
The spec the SDK is built from (clean-room: see motion/README.md). Written by the spec writer from public docs of
React-video libraries and from the maths; builders work from this file and the conformance suite, nothing else.
- Frames are integers from 0; a composition's frame t is time t / fps seconds. The order of rules follows the measured
- surface (spec/surface.md).
+ Frames are integers from 0; a composition's frame t is time t / fps seconds.
Rule: A composition is a component rendered once per frame
Scenario: Declaring and registering
@@ -12,8 +11,7 @@ Feature: @raea/motion, the behaviour of its API
durationInFrames are positive integers and fps a positive number, or registering fails with a message naming
the composition and the field
And `registerRoot(Root)` names the root component the renderer starts from; calling it twice is an error
- And a root that declares no Composition (M3 writes this in 4 of 50 compositions: the content registered
- directly) is itself one composition: id "main", 30 fps, 1080x1920, durationInFrames the latest end among its
+ And a root that declares no Composition (the content registered directly) is itself one composition: id "main", 30 fps, 1080x1920, durationInFrames the latest end among its
top-level Sequences with a finite duration, else 300
And finding the Compositions never runs a component that uses hooks: where expanding one would, the walk stops
there and treats it as content (the SDK's own clock-reading components and any whose source shows a hook call
@@ -145,7 +143,7 @@ Feature: @raea/motion, the behaviour of its API
Scenario: Media imported as modules (a renderer requirement)
Then `import take from "./media/take01.mp4"` (and .mov, .m4v, .mp3, .wav, .m4a, .png, .jpg, .webp, .gif) gives a
URL string in the form staticFile returns, resolved from the importing file's folder, usable anywhere a src
- is; the renderer's bundle step does this (M3 wrote it in 1 of 50 compositions)
+ is; the renderer's bundle step does this
And a missing file fails the build, naming the import line
Scenario: Img and staticFile
Then `<Img src>` draws an image, and the frame is not rendered until it has loaded (a failed load fails the
@@ -241,7 +239,7 @@ Feature: @raea/motion, the behaviour of its API
this frame already computed, as data-source-time in seconds, so the renderer needn't redo the timing), and
Composition and registerRoot record what was registered so a renderer can list compositions
Scenario: The test clock
- Then the main entry (@raea/motion) imports nothing that can't run inside the engine's V8 (no server renderer, no
+ Then the main entry (@raea/motion) imports nothing that can't run inside the engine's JavaScriptCore (no server renderer, no
Node APIs); `renderFrame` lives in the test entry, @raea/motion/test (src/test.tsx)
And `renderFrame(node, {frame, fps, width, height, durationInFrames, words?, perception?, input?})` renders a tree at one frame
without a window and returns what's visible, so the conformance suite can test timing without pixels; `words`
@@ -257,7 +255,7 @@ Feature: @raea/motion, the behaviour of its API
Scenario: The call
Then `native(name, args)` sends `args` as JSON to the engine's call `name` and returns its answer parsed (undefined
for an empty answer); a call the engine refuses throws an Error carrying the engine's message
- And `hasNative()` says whether the engine is present: true inside raea's V8 (raea-motion render, run and test, the
+ And `hasNative()` says whether the engine is present: true inside raea's JavaScriptCore runtime (raea-motion render, run and test, the
apps, the iPhone), false under plain bun, where `native` throws "<name> needs the raea engine ..."
And `print(...parts)` writes one line (strings as they are, anything else as JSON) to the run's output inside the
engine, and to the console under plain bun
@@ -378,7 +376,7 @@ Feature: @raea/motion, the behaviour of its API
encodes with sound to MP4 natively, nothing passing through JavaScript, and returns {frames, width, height, fps,
kbps, bytes}
Scenario: The proof
- Then the same conversions done through mediabunny, through rrl ffmpeg and through real ffmpeg give the same
+ Then the same conversions done through mediabunny, through rdb ffmpeg and through real ffmpeg give the same
answers (motion/tools/media-vs-ffmpeg.sh): frame counts, sizes, SSIM 1.0 for remuxes, audio correlation
above 0.999
Scenario: AAC out, captions in, and what the hardware encodes
@@ -393,5 +391,5 @@ Feature: @raea/motion, the behaviour of its API
And `hardwareEncodes()` lists the video codecs this machine encodes in hardware (VideoToolbox's list); the
encoder offers H.264 where it's there, and AV1 or VP9 only where a chip encodes them
Scenario: Helpers
- Then `toBase64(bytes)` and `fromBase64(text)` convert bytes and standard base64 both ways (bare V8 has no btoa),
+ Then `toBase64(bytes)` and `fromBase64(text)` convert bytes and standard base64 both ways (a bare JavaScript engine has no btoa),
padding included, and round-trip any bytes
diff --git a/motion/spec/surface.md b/motion/spec/surface.md
deleted file mode 100644
index 3b9115bf..00000000
--- a/motion/spec/surface.md
+++ /dev/null
@@ -1,54 +0,0 @@
-# The surface M3 writes (2026-10-16)
-
-How measured: MiniMax M3 (the agent's model, OpenRouter, no tools) wrote one complete composition in the familiar
-React-video style for each of 50 of our own eval briefs, picked by medium (ugc 18, motion 10, deck 7, game 6, scene3d
-5, app 2, doc 2), seed 7, $0.08. The counts are files using each API. The 50 outputs themselves are not kept in the
-repo, so they never reach the SDK's builders.
-
-## Build order (the first slice covers rows 1-13: everything used in more than one file)
-
-| # | API | files | props and options M3 used (count) |
-|---|---|---|---|
-| 1 | `AbsoluteFill` | 50 | style (141) |
-| 2 | `useCurrentFrame` | 50 | |
-| 3 | `interpolate` | 40 | extrapolateRight (139), extrapolateLeft (55), easing (23) |
-| 4 | `Sequence` | 35 | durationInFrames (60), from (59), name (1) |
-| 5 | `useVideoConfig` | 34 | |
-| 6 | `spring` | 26 | config (41): damping (41), stiffness (38), mass (27); frame (25), fps (6), from/to (3), durationInFrames (3), overshootClamping (1) |
-| 7 | `staticFile` | 20 | |
-| 8 | `Video` | 17 | src (20), style (19), startFrom (2), endAt (1), volume (1) |
-| 9 | `Composition` | 14 | id, component, durationInFrames, fps, width, height (11 each) |
-| 10 | `Audio` | 11 | src (3), volume (2), startFrom (2) |
-| 11 | `registerRoot` | 10 | |
-| 12 | `Img` | 8 | |
-| 13 | `Easing` | 8 | cubic (17), out (13), inOut (7), bezier (2), back, exp, quad, in, sin (1 each) |
-
-## The long tail (one file each; wait until it shows up again)
-
-Series, OffthreadVideo, Still, delayRender/continueRender, useFont, a player component. Series, Loop and Freeze are in
-the conformance suite anyway because the user named them.
-
-## 3D: give M3 the shapes it reached for
-
-The 5 scene3d briefs had M3 import three.js-style components (`Mesh`, `Box`, `Plane`, `AmbientLight`,
-`DirectionalLight`, `PerspectiveCamera`, `MeshStandardMaterial` with color, emissive, metalness, roughness) and a 3D
-canvas, from the wrong package. So `@raea/motion/3d` offers those shapes (geometry `args`, `position`, `rotation`,
-standard material props, lights, a camera), drawn by Bevy, with Manifold for modelled geometry. That's point 6 of the
-README, chosen by the data.
-
-## Checked against the build (2026-10-16, @raea/motion 0.1.1)
-
-The same 50 compositions, with only their imports pointed at @raea/motion, each loaded and rendered at its first,
-middle and last frame through the test clock:
-
-| result | count | what |
-|---|---|---|
-| render unchanged | 40 | |
-| cut off by the survey's 4000-token limit | 4 | not code M3 finished; excluded |
-| the SDK's gap, now closed in the spec | 0 | (4 were roots with no Composition; fixed in 0.1.1, now among the 40) |
-| the renderer's bundler | 1 | imports an .mp4 as a module and uses it as a src: the Bevy bridge's bundle step should resolve media imports to URLs (an agent session) |
-| the long tail | 1 | a player component (not a render API) |
-| M3's own mistakes | 4 | an element used as a component, two packages that don't exist, an import of a file it never wrote |
-
-So 40 of the 46 finished compositions (87%) run as written, and 40 of the 41 that are valid code using real APIs
-(98%); the one left is the media import, which is the bundler's to resolve.
diff --git a/motion/src/3d.tsx b/motion/src/3d.tsx
index 417c75a7..627d536a 100644
--- a/motion/src/3d.tsx
+++ b/motion/src/3d.tsx
@@ -34,11 +34,13 @@ function checkVec(owner: string, name: string, v: unknown): void {
}
}
+/** A geometry's sizes. three.js puts segment counts after them (`[r, h, 32]`); those are accepted and dropped, since
+ * the engine tessellates on its own. */
function checkArgs(owner: string, args: unknown, count: number): number[] {
- if (!Array.isArray(args) || args.length !== count || !args.every((n) => typeof n === "number" && Number.isFinite(n))) {
+ if (!Array.isArray(args) || args.length < count || !args.every((n) => typeof n === "number" && Number.isFinite(n))) {
throw new TypeError(`${owner}: args must be ${count} finite number${count === 1 ? "" : "s"}, got ${JSON.stringify(args)}`);
}
- return args;
+ return args.slice(0, count);
}
/** The 3D scene's root; everything 3D goes inside it. */
@@ -60,7 +62,7 @@ const GEOMETRY_SHAPES = new Map<unknown, (args: unknown) => string>();
function geometry<P extends { args?: number[] }>(name: string, defaults: number[], shape: (a: number[]) => string) {
const toShape = (args: unknown) => shape(checkArgs(name, args ?? defaults, defaults.length));
const Component = (props: P) => {
- const args = props.args ?? defaults;
+ const args = checkArgs(name, props.args ?? defaults, defaults.length);
toShape(args);
return node3d(name, { ...props, args });
};
diff --git a/motion/src/games.ts b/motion/src/games.ts
index 95bac230..32fdd16c 100644
--- a/motion/src/games.ts
+++ b/motion/src/games.ts
@@ -54,10 +54,18 @@ function isPlainData(v: unknown, depth = 0): boolean {
return false;
}
-/** Equal initial states share a cache: primitives by value, plain data by its JSON, anything else by identity. */
+/** Equal initial states share a cache: primitives by value, plain data by its JSON, anything else by identity. An
+ * object's key is worked out once (states are values, never changed in place): every useGameState and useGameEvents
+ * call made it again each frame, a JSON of the whole initial state each. */
+const initialKeys = new WeakMap<object, unknown>();
function initialKey(initial: unknown): unknown {
if (initial === null || typeof initial !== "object") return initial;
- return isPlainData(initial) ? `json:${JSON.stringify(initial)}` : initial;
+ let k = initialKeys.get(initial);
+ if (k === undefined) {
+ k = isPlainData(initial) ? `json:${JSON.stringify(initial)}` : initial;
+ initialKeys.set(initial, k);
+ }
+ return k;
}
function foldFor<S>(step: Step<S>, initial: S, origin: number): Fold {
diff --git a/motion/src/media.tsx b/motion/src/media.tsx
index 870a62cb..bdf208f9 100644
--- a/motion/src/media.tsx
+++ b/motion/src/media.tsx
@@ -157,6 +157,16 @@ export function Video(props: VideoProps) {
/** Sound in step with the frame; no picture. A muted or ended Audio is silent. */
export function Audio(props: AudioProps) {
const asset = isGeneratedAsset(props.src) ? props.src : null;
+ // a generated sound is as long as it was made (its seconds): once its source time is past that it has ended, and it
+ // leaves the page. A game's cues are Sequences without an end, so every sound it ever played stayed on the page with
+ // its source time moving: a finished pong rendered 115 of them a frame and sent their 115 updates (12 KB)
+ if (asset && !props.loop && props.endAt === undefined && props.trimAfter === undefined) {
+ const { fps } = useClockState("Audio").config;
+ const { frame } = useLocalTime("Audio");
+ const startFrom = props.startFrom ?? props.trimBefore ?? 0;
+ const rate = props.playbackRate ?? 1;
+ if (rate > 0 && (startFrom + Math.max(0, frame) * rate) / fps >= asset.seconds) return null;
+ }
const attrs = useMediaAttrs("Audio", { ...props, src: asset ? asset.src : (props.src as string) });
if (attrs["data-ended"]) attrs["data-volume"] = 0;
if (asset) {
diff --git a/motion/src/timeline.tsx b/motion/src/timeline.tsx
index 20e7ef85..43a91b19 100644
--- a/motion/src/timeline.tsx
+++ b/motion/src/timeline.tsx
@@ -70,13 +70,14 @@ function Shifted(props: {
if (layout === "none" && (style !== undefined || className !== undefined)) {
throw new Error(`${owner}: style and className need a box, so they can't be used with layout="none"`);
}
+ // layout "none": the children as they are (a Fragment around them was one more element a frame for each Sequence)
const inner =
layout === "absolute-fill" ? (
<AbsoluteFill style={style} className={className} data-sequence={label}>
{children}
</AbsoluteFill>
) : (
- <Fragment>{children}</Fragment>
+ children
);
return <LocalTimeContext.Provider value={time}>{inner}</LocalTimeContext.Provider>;
}
@@ -89,11 +90,9 @@ export function Sequence(props: SequenceProps) {
const parent = useLocalTime("Sequence");
const f = parent.frame;
if (durationInFrames === 0 || f < from || f >= from + durationInFrames) return null;
- for (const [label, v] of [["width", width], ["height", height]] as const) {
- if (v !== undefined && (!Number.isInteger(v) || v <= 0)) {
- throw new RangeError(`Sequence: ${label} must be a positive integer, got ${v}`);
- }
- }
+ // (checked without arrays: a game's sound cues are Sequences, hundreds rendered a frame)
+ if (width !== undefined && (!Number.isInteger(width) || width <= 0)) throw new RangeError(`Sequence: width must be a positive integer, got ${width}`);
+ if (height !== undefined && (!Number.isInteger(height) || height <= 0)) throw new RangeError(`Sequence: height must be a positive integer, got ${height}`);
const time: LocalTime = {
frame: f - from,
origin: parent.origin + from,
diff --git a/native/README.md b/native/README.md
new file mode 100644
index 00000000..f2d69ef1
--- /dev/null
+++ b/native/README.md
@@ -0,0 +1,17 @@
+# native
+
+`raea-native`: raea's one native-call layer. TypeScript running on JavaScriptCore reaches Rust through one function,
+`__raea_call(name, json)`. Every name it can call is registered here once, with the TypeScript types of its arguments
+and answer, by whichever crate implements it. A host links the crates it wants and calls their `register()`;
+`raea-motion types` writes the types `@raea/motion` imports, so a call that doesn't exist or takes the wrong arguments
+fails to type-check.
+
+It also holds:
+
+- the JavaScriptCore binding (`src/jsc.rs`) and the web shims bundles expect (`src/web.js`: TextEncoder, URL,
+ AbortController, crypto, Blob, ...);
+- the shell's native tools: the filesystem, HTTP under a policy, SQLite, tar, HTML to Markdown;
+- the flight recorder (`src/trace.rs`): each run's events, memory, stderr, panics and crashes in a session folder.
+
+Nearly every crate depends on it: [`engine/`](../engine), [`react/`](../react), [`media/`](../media),
+[`browser/`](../browser), [`void/`](../void).
diff --git a/perception/README.md b/perception/README.md
new file mode 100644
index 00000000..748087cf
--- /dev/null
+++ b/perception/README.md
@@ -0,0 +1,12 @@
+# perception
+
+Reading footage the way an editor does, before it is used: shots and how each begins, framing, faces, the subject,
+on-screen text, speech, music and silence, camera motion, and the person's performance over time. It writes a fact
+sheet (`facts.json`) beside the footage, and on request mattes and object tracks.
+
+- `Perception.swift`: the original implementation on Apple's Vision and Core ML. It stays the reference.
+- `src/` (`raea-perception`): the Rust port, module by module, each checked against the Swift. It runs models through
+ Core ML on Apple devices and ONNX Runtime elsewhere. Binaries: `raea-perceive` and `raea-focus`.
+- `seg/`: a small overlay segmenter trained in Rust (burn) that marks which pixels of a rendered frame are overlays.
+
+[`meaning/`](../meaning) depends on it. Status: in progress; not every part of the Swift is ported.
diff --git a/perception/perception.feature b/perception/perception.feature
deleted file mode 100644
index 9c2a7950..00000000
--- a/perception/perception.feature
+++ /dev/null
@@ -1,637 +0,0 @@
-Feature: Perception: footage read the way an editor reads it, before it's used
- Status 2026-10-14: moved into raea from the host app (it is core to editing and rendering, not to one app). The source is
- perception/Perception.swift; the host app compiles the same file through a symlink at its old path
- (~/host/app/Host/Agent/Perception.swift -> raea/perception/Perception.swift), the same way ~/host/framework
- points at raea/engine. One file, so the phone, the Mac app and the evals can't drift.
-
- Rule: What it is
- Scenario: The fact sheet and the tracks
- Given a photo, video or sound
- Then Perception writes facts.json: its shots and how each begins (cut, dissolve, fade), each shot's framing,
- faces, subject, layout (docs: ~/host/docs/previz.feature), scene labels and look, the words on screen over
- time, and what's heard (speech, music, silence)
- And on request it writes tracks next to the footage (engine/docs/ml-tracks.feature): person, hair, face and depth
- mattes, and object-<name> tracks from EdgeTAM
- And it also reads performance (the creator each second), product candidates and tracks, the camera's move, and
- the framing coach on a still
-
- Scenario: What it runs on (2,949 lines, 2026-10-14)
- Then it uses
- | dependency | uses | for |
- | Apple Vision | 40 | face rectangles, person and foreground masks, text, saliency, aesthetics, rectangles, image classes, feature prints |
- | Core ML | 18 | MediaPipe face, hands and hair, Depth Anything 3 Small (+ camera head), EdgeTAM, sound and taste models |
- | AVFoundation | 19 | decoding frames and audio |
- | Core Image | 16 | crops, scaling, mattes |
- | Sound Analysis | 2 | what's heard |
- And the rest, about half the file, is plain logic: shot bounds, layout and split seams, coach, camera, summaries
-
- Rule: Who compiles it
- Scenario: Three builds, one file
- Then these compile perception/Perception.swift
- | build | how |
- | the host app iPhone app | app/project.yml compiles the Host folder, which holds the symlink |
- | the host app Mac app | mac/project.yml lists ../app/Host/Agent/Perception.swift (the symlink) |
- | ugc-perceive (evals' host) | ~/host/agent/tools/perceive/build.sh: swiftc with main.swift, Mac only |
- And ugc-perceive is the way to run it from a shell: `ugc-perceive <file> <dir>`, `track`, `layout`, `coach`,
- `camera`, `performance`, `product-candidates`, `product-track`, `check-hair|check-face|check-object`
-
- Scenario: Checked after the move, 2026-10-14
- When ugc-perceive was built through the symlink (lane quick, swiftc -O)
- Then it read media/fixtures/take-h264.mp4 in 31 s: 1 shot, 2 faces, close-up, a layout with two subject zones
- And `layout` read a still of it the same way
- And reference-check.sh passed: face points vs MediaPipe mean 0.46 px (0.28% of face width), followed 0.58 px;
- EdgeTAM objects vs the official predictor mean IoU 0.9922 (box) and 0.9928 (click)
- And the two apps were not rebuilt for the move (their project files are unchanged; the next app build compiles
- the file through the symlink)
-
- Rule: The Rust port so far (raea/perception, crate raea-perception, binary raea-perceive)
- Each part is ported as it is and checked against the Swift on the same inputs. ugc-perceive grew two commands for
- this: `samples <video>` (the shot finder's samples and bounds) and `layout-inputs <image> [next...]` (what Vision
- saw, the grey copies, and the layout); Perception.swift's layout was split into layoutInputs (Vision) and
- layout(from:) (the logic) for it, behaviour unchanged.
-
- Scenario: Shots (A1, 2026-10-14)
- Given perception/bench/shots_parity.py on 12 videos (the three fixtures and 9 of Buddy's renders)
- When the Rust shot_bounds runs on the Swift's own samples
- Then the bounds are identical on 12 of 12
- When the Rust samples the video itself (raea-media's VideoToolbox decode, each 192 x 192 pixel the mean of the
- source pixels under it, the first frame at or after each sample time)
- Then the grids differ from the Swift's by 0.012-0.023 per channel (VideoToolbox's scaling filter against the
- mean), and the bounds match on 10 of 12; the other two differ on borderline transitions (one dissolve read as
- a cut, one extra shot), which A4 settles against true cut times rather than against the Swift
- And the Swift's reader samples the stored, unrotated picture (a rotated clip's grid differs by 0.31); raea
- samples the picture as displayed, which doesn't change shots
-
- Scenario: Layout (A1, 2026-10-14)
- Given perception/bench/layout_parity.py on 60 distinct stills from Buddy's runs (faces, person-mask subjects,
- captions, screens, one grid split), plus built frames (stacked, side by side, a 25° diagonal, a letterbox)
- When the Rust layout reads the same inputs as the Swift's layout(from:)
- Then the layouts are equal on 60 of 60 stills and 4 of 4 built frames (ratio, split, zones as a set; the Swift
- groups caption blocks through a Dictionary, whose order isn't fixed)
- And the built stacked, side-by-side and diagonal frames read as no split in both: the T-401 frames that did
- read as splits weren't kept, so those branches are checked equal but not yet seen to fire
-
- Scenario: The framing coach (A1, 2026-10-14)
- Given perception/bench/coach_parity.py on 60 distinct stills from Buddy's runs (26 with a face, 24 with enough
- skin to read the light); Perception.swift's coach split into coachInputs (Vision's face and person mask) and
- coach(from:) (the logic, reading pixels through a closure), behaviour unchanged; `ugc-perceive coach-inputs`
- writes the frame's RGB bytes beside the inputs
- When the Rust coach reads the same inputs and pixels
- Then the coach is equal on 60 of 60 (face, eye line, light, warning, face level, backlight, key-fill, mixed)
-
- Scenario: The camera summary (A1, 2026-10-14)
- Given perception/bench/camera_parity.py on 8 videos (the fixtures and 5 of Buddy's renders): `ugc-perceive camera
- VIDEO --inputs` logs each shot's Depth Anything 3 camera windows (rotations, centres, fx, separation) and its
- first frame's side and room vector; Perception.swift's camera split into the model and Vision part and
- cameraSummary (the arithmetic), behaviour unchanged
- When the Rust summary reads the same windows
- Then the cameras are equal on 17 of 17 shots (moves seen: pan, tilt, still, handheld, push-in; zoom and dolly),
- the room vector compared at f32 precision (it is Float in the Swift)
-
- Scenario: The performance read (A1, 2026-10-14)
- Given perception/bench/performance_parity.py on 8 videos with a face (the fixture take and 7 of Buddy's
- renders): `ugc-perceive performance VIDEO --inputs` logs every frame's Look, the frame times, the loudness,
- the gestures, and the first 40 frames' face meshes (478 points, 52 scores) with their Looks
- When the Rust reduces the same meshes and summarises the same Looks
- Then 320 of 320 Looks match to 1e-9 and 8 of 8 performances are equal (141 seconds: eye contact, lens share,
- blinks, energy, speaking, reading, gestures, and the lip-sync offset and confidence)
-
- Rule: The models from Rust (A2): Core ML through objc2 on Apple
- perception/src/coreml.rs loads the apps' .mlpackage files (compiled once into ~/Library/Caches/raea-perception,
- recompiled when the package is newer), fills BGRA pixel buffers and reads multi-arrays through their strides
- (Float32, Float16, Double, Int32). `raea-perceive check-<model> <reference dir>` grades each against the same
- reference files and bars as ugc-perceive's checks.
-
- Scenario: Hair (A2a, 2026-10-14)
- When `raea-perceive check-hair ~/host/models/mediapipe-hair-segmenter/reference` runs
- Then IoU against MediaPipe is 0.9986, 0.9989 and 0.9977 on the three references (bar 0.997), the Swift's own
- numbers to the fourth place, and 0 levels off the converted model's reference mattes; 4-10 ms a frame on M4
-
- Scenario: Depth (A2b, 2026-10-14)
- Given Depth Anything 3 Small through the same Core ML path, the picture letterboxed into 504 x 504 the way the
- Swift's Core Image does it (one scale for both axes, origin bottom-left, the picture's fractional edges
- blended over black, bilinear at pixel centres); `ugc-perceive depth-values` writes the Swift's 1/depth
- When a picture needs no resizing (a 279 x 504 PNG)
- Then the Rust and the Swift 1/depth are identical (largest difference 0.0): the model path is exact
- When 24 eval stills (303 x 540, scaled by 0.933) go through both (perception/bench/depth_parity.py)
- Then 1/depth correlates at r 0.999 on average (worst 0.990), and the 8-bit track levels (each clamped to its
- own 1st-99th percentiles) differ by 2.5 levels on average (worst still 10.8): short of the bar set for it
- (99% of pixels within 2 levels)
- And the rest is Core Image's own downscaling sampler, which isn't plain bilinear (a plain bilinear resize gave a
- 1% scale bias; the exact geometry took it to 0.06%); raea's ingest resamples frames itself, so matching Core
- Image's sampler is left open rather than chased: what the track needs is the same model on the same picture
-
- Scenario: The face (A2c, 2026-10-14)
- Given the three face models through Core ML (BlazeFace letterboxed to 128 with MediaPipe's weighted
- suppression; the landmark model on a 256 crop turned upright; the blendshape model on 146 of the points, a
- multi-array input); the Core Image geometry shared in perception/src/picture.rs
- When `raea-perceive check-face ~/host/models/mediapipe-face-landmarker/reference` runs
- Then the points are 0.34%, 0.38% and 0.33% of face width from MediaPipe's (bar 0.6%; the Swift: 0.45%, 0.29%,
- 0.28%), blendshapes within 0.107 of MediaPipe's, 2-5 ms a face on M4
- And a face followed from its own points (the crop the next frame uses) is 0.56%, 0.56% and 0.35%, the Swift's
- numbers exactly: the crop warp and the two later models are equal; the first detection's crop differs from
- the Swift's by 1.5-3.7 degrees, which is the 128-pixel letterbox's resampling again
-
- Scenario: Hands, and the detectors' downscale (A2d, 2026-10-14)
- Given the palm detector (192 letterbox), the hand landmarks (224 crop turned up), the gesture embedder and
- classifier through Core ML; `ugc-perceive hands` prints the Swift's hands per still
- And picture.rs's letterbox averages a copy down by the whole factor before sampling when it shrinks past half,
- as Core Image's downscaling does (the face detector's crop then sits within 0.5 degrees of the Swift's
- rotation, from 1.6-3.5; points 0.53%, 0.33%, 0.25% of face width, still under the 0.6% bar)
- When perception/bench/hands_parity.py compares the two on the 66 distinct eval stills
- Then hands and gestures are equal on 8 of the 9 stills where the Swift finds a hand, the Rust finds a hand on 3
- stills where the Swift finds none, and the points are 3.1% of the hand's size from the Swift's on average
- (worst 6.0%): just over the 3% bar set for it; the differences are borderline palms near the 0.5 score
-
- Scenario: Objects tracked through a clip, EdgeTAM (A2e, 2026-10-14)
- Given EdgeTAM's four Core ML models chained from Rust (perception/src/object.rs: the encoder on the frame
- stretched to 1024, memory attention over the prompted frame and the 6 before, pointers of the prompted frame
- and the 15 before, the decoder, the memory encoder on the GPU), frames from raea-media's VideoToolbox decode
- When `raea-perceive check-object ~/host/models/edgetam/reference` tracks the bird clip from a box (frame 10)
- and from a click (frame 0)
- Then against the official predictor: box mean IoU 0.9947, min 0.9851; click mean 0.9958, min 0.9855; no empty
- frames (bar: mean 0.99, min 0.97); the Swift's own numbers are 0.9922/0.9821 and 0.9928/0.9808
- And about 137 ms a frame on M4
-
- Rule: Vision behind a Rust trait (A3)
- perception/src/vision.rs: `trait Vision { fn see(&self, picture) -> Seen }` (faces, text lines with the Swift's
- tilt and confidence filters, rectangles, the person mask, screenshot); AppleVision runs Vision's requests through
- objc2-vision with the Swift's settings; vision::layout reads a frame's layout end to end in Rust.
-
- Scenario: The layout end to end (A3a, 2026-10-14)
- When perception/bench/layout_e2e.py reads the 66 distinct eval stills with `raea-perceive see-layout` (all Rust)
- and `ugc-perceive layout` (all Swift)
- Then the splits agree on 66 of 66, the parts (people, captions, screens, panes, framed video) on 58 of 66, and
- the matching boxes' edges differ by 0.001 of the frame at the median (90th percentile 0.043) once Vision is
- handed an sRGB CGImage as the Swift does (from a bare pixel buffer: 0.003 and 0.106)
- And the Swift doesn't agree with itself exactly: two runs give equal layouts on 59 of 66 (the parts on 66);
- the Rust gives 66 of 66; the 8 part differences are caption lines and person-mask pieces, from the two
- decoders' JPEG pixels and the grey copy feeding Vision's fast OCR; in ingest both read frames from one decoder
-
- Scenario: The framing coach end to end (A3b, 2026-10-15)
- Given the Vision trait's people read (faces and the fast person mask, through a CGImage) and vision::coach (the
- tallest face, the mask, the Rust coach over the frame's pixels); `raea-perceive see-coach`
- When perception/bench/coach_e2e.py compares it with `ugc-perceive coach` on the 66 distinct eval stills
- Then both find a face on the same 28, the light agrees on 65 of 66 (one borderline soft/even front light), the
- warning on 66 of 66, and the eye line within 0.002 at the median (worst 0.009)
-
- Scenario: The camera end to end (A3c, 2026-10-15)
- Given `raea-perceive see-camera VIDEO`: the Rust shots, frames every 0.5 s (720 px at most) from raea-media,
- Depth Anything 3's camera package through Core ML on windows of four (letterboxed like depth; frame 0's
- separation from the person mask read on the letterboxed frame), the side from the biggest face and the room
- vector (the feature print with the person blacked out) through the Vision trait, the Rust summary
- When perception/bench/camera_e2e.py compares it with the Swift's cameras on the 17 shots of 8 videos
- Then the move, the side and the lens agree on 17 of 17, zoom or dolly on 16; the median differences are pan
- 0.12 and tilt 0.10 degrees a second, shake 0.15, focal length 0.5 mm, separation 0.12; the room vectors are
- 0.97 alike at the median (lowest 0.93)
-
- Rule: Visible cuts in Rust (A4)
- Scenario: The detector's signals without ffmpeg (A4, 2026-10-15)
- Given perception/src/cuts.rs: every frame from raea-media's NV12 decode, its planes area-resized to 480 wide (as
- `scale=480:-2`), ffmpeg's `select` scene score and `signalstats` YDIF computed in Rust, and engine/src/
- measure.rs's sensitive_shot_changes rule; `raea-perceive cuts VIDEO`
- And the scene score is luma's alone: computed over Y, U and V it read 0.72 of ffmpeg's at peaks, while U and V
- themselves matched signalstats' UDIF and VDIF; over Y alone it matches (0.0488 vs 0.0492)
- When perception/bench/cuts_rust.py compares both on 20 of Buddy's renders (58 visible cuts; cuts_eval's truth
- and split)
- Then the signals correlate at r 1.0 (scene and YDIF, medians), with the same frames on 20 of 20
- And the detector scores P 0.915 R 0.672 F1 0.775 on Rust's signals against 0.898 / 0.672 / 0.769 on ffmpeg's,
- held out 0.875 / 0.739 / 0.801 against 0.840 / 0.739 / 0.786
- And TransNetV2 joins later as a column through ort with its ONNX export (meaning.feature), not as the detector
-
- Rule: Clip ingestion in Rust (A5)
- Scenario: A clip's facts (A5a, 2026-10-14)
- Given `raea-perceive analyze VIDEO DIR` (perception/src/ingest.rs): raea-media's VideoToolbox decode, the Rust
- shot finder, each shot's middle frame read through the Vision trait (faces, bodies, saliency, scene labels,
- aesthetics, accurate OCR; extra reads every 2 s in long shots), the Rust layout with two later frames, facts.json
- and a still per shot in the Swift's format (sound and performance not yet)
- When perception/bench/facts_parity.py compares it with `ugc-perceive VIDEO DIR` on the 2 fixtures and 6 renders
- Then the shot count is the same on 7 of 8 videos (edit-1: the borderline transition of A1a's reading check)
- And on the 19 shots compared: framing, faces, motion, brightness (within 0.02) and the top scene label agree on
- 19 of 19, the layout's parts on 14 of 19; text spans and the clip's scene labels are near-identical
- And the Rust takes 30.8 s for the 8 clips against the Swift's 51.9 s
-
- Scenario: What's heard (A5b, 2026-10-14)
- Given perception/src/sound.rs: YAMNet (Apache-2.0, AudioSet's 521 classes, the Core ML package the apps carry) on
- 16 kHz mono from raea-media, each 0.96 s patch's top class mapped to speech, music, singing, laughter,
- applause, silence or noise, merged and filtered as the Swift does; the Swift asks Apple's SoundAnalysis
- When perception/bench/sound_parity.py compares the spans every 0.1 s on the fixture take and 9 renders
- Then they agree on 97.6% of the timeline; the rest is span edges (about half a second at the ends) and short
- noise or music blips Apple's classifier splits out of speech
- And facts.json from `raea-perceive analyze` now carries the sound
-
- Scenario: The performance read end to end (A5c, 2026-10-14)
- Given `raea-perceive performance-video VIDEO` (ingest.rs): raea-media's decode at up to 15 frames a second, frames
- over 1280 px scaled as Core Image does, the face followed from its last points (found again when lost), hands
- every third frame, the Looks, loudness every 10 ms from raea-media's audio, the summary
- When perception/bench/performance_e2e.py compares it with the Swift's performance on 8 videos (141 seconds)
- Then the lip-sync offset is within 10 ms of the Swift's on all 8 (the same on 5)
- And second by second: face share 100%, blink 99.3%, energy 98.6%, speaking 97.2%, reading 96.5%, gesture
- 95.7%, eye contact 93.6% agree
-
- Scenario: One ingest, keyed by content (A5d, 2026-10-14)
- Given `raea-perceive ingest CLIP [--store DIR]` (ingest.rs): the clip's sha-256 is its key, and into
- <store>/<hash[..16]>/ it writes facts.json (shots, layout, words, scene, sound) with a still per shot,
- performance.json when a face is on camera (10 minutes at most), SigLIP 2 columns at 8 frames a second
- (through raea-meaning), and manifest.json (source, hash, version, each step's seconds); the store is
- $RAEA_INGEST, else ~/.cache/raea-ingest
- When the fixture take (25.6 s) and a 16 s render are ingested twice
- Then the first runs take 75 s (facts 17, performance 22, SigLIP 35) and 22 s (3.3, 3.0, 15.6)
- And the second runs take 0.16 s and 0.20 s: every step is already there; a new INGEST_VERSION runs them again
-
- Rule: Tiny models, one ingest step each (Track H, the user 2026-10-15)
- Scenario: Beat This! in Rust (H1, 2026-10-15)
- Given perception/src/beatthis.rs: the small checkpoint (small0, 2.1M parameters, MIT) exported to ONNX (10 MB,
- within 1e-5 of PyTorch at 1500 and 700 frames), its LogMelSpect front end written in Rust (22 050 Hz, 1024-point
- STFT every 441 samples, 128 Slaney bands 30 Hz-11 kHz, log1p(1000 x)), the package's chunking (1500 frames,
- 6-frame borders, earlier chunks win) and its minimal postprocessing (the DBN option needs madmom's
- non-commercial models); `raea-perceive beats FILE [--store DIR]` keeps beats.json in the source's ingest
- folder; unit tests pass (3 of 3: peak picking, downbeats moved to beats, the mel bank's edges and frame count)
- When perception/bench/beatthis_parity.py runs it beside the beat_this package on the UGC bed and the UGC render
- Then on the package's own samples the spectrograms agree to 1.2e-4 and the beats and downbeats are identical
- (5 of 5 on both files)
- And from the files (raea-media's ffmpeg decode and resampler against torchaudio's and soxr) the spectrogram's
- mean difference is 0.01 and 13 of the bed's 14 beats and 9 of its 10 downbeats are within 20 ms; the render's 6
- beats all match
- And raea-media's Apple decode reads the render 2 frames (40 ms) shorter than ffmpeg does, which moves every beat
- off (0 of 6 within 20 ms) against the package's ffmpeg-decoded reference
- And the Apple decode was the right one (an agent session, 2026-10-15): our exports carried AudioToolbox AAC's 2112
- samples of encoder delay with no edit list; Apple trims the standard delay, ffmpeg plays it as sound, so an
- ffmpeg decode of an export (the reference's included) runs 44 ms late, and the two matched by sharing it; the
- remux now writes an edts/elst and both decoders read clicks at 1.000 and 2.000 s. Exports from before keep the
- offset in ffmpeg; beats decode with the default (Apple) backend
- And on click tracks it finds 39 of 40 clicks at 120 BPM (median error 10 ms) but places only 19 beats for 32
- clicks at 95 BPM (each within 20 ms): bare clicks aren't music, and rdb's model-free tracker is exact on both;
- on the bed (a weak pulse) it places 13 beats in 40 s where the model-free tracker places a steady 96 BPM
- And previz's cut_timing uses ingest beats when every music row has them ("beats_from": "beat_this"): the UGC edit
- has 9 beats under it and 2 of 9 cuts on one (0.33 by chance), against 4 of 9 (1.46) from the model-free tracker
- And the bench caught one mistake of its own: upmixing a mono file to stereo first scaled the package's input by
- 1/sqrt(2); it now keeps each file's own channels
-
- Scenario: The sound steps of ingest (Track H, 2026-10-15)
- Given ingest::ingest_sound, run by `raea-perceive ingest` on every file with sound (and alone on a file with no
- picture: a voice, a music bed): vad.json (Silero's spans, the talking's level and the floor between), beats.json
- (Beat This! on the whole sound), stems.json (HTDemucs: each stem's level 20 times a second, and Beat This! on the
- music stem), denoise.json (+ denoised.f32, 16 kHz, when it runs)
- And DeepFilterNet3 runs only on speech whose floor between words is over -40 dB and flat like noise (spectral
- flatness over 0.3); two gates tried first failed: the whole sound's floor sent the bed and the render's music
- to the denoiser, and the vocals stem's floor missed white noise (HTDemucs puts it in "other") and let the
- render's music through
- When it ingests the UGC voice, the bed, the render, and the voice with white noise mixed in at two levels
- Then the gate stays shut on the clean voice (floor -51 dB, flatness 0.03), the bed (no speech), the render (floor
- -19 dB of music, flatness 0.01) and the milder noise (-42 dB, under the line), and opens on the stronger noise
- (-30 dB, flatness 0.54), lifting its SI-SDR against the clean voice from 6.4 to 13.2 dB
- And from the render alone the stems put the music a median 15.3 dB under the voice over its speech, against the
- 16.6 dB previz measures from the edit's separate lanes (the master's limiter between them): music-under-voice
- can be read off footage whose music is baked in
- And Beat This! on the render's music stem finds 1 beat (the bed alone: 13): a weak-pulse bed 15 dB under a voice
- leaves it nothing to hold; the stems take 17-27 s for 25-40 s of sound, the 174 MB model's load included
-
- Scenario: HTDemucs stems, measured in Python before the port (H3, 2026-10-15)
- Given demucs 4.0.1's htdemucs (MIT code and weights; trained partly on MUSDB, which is research-licensed: noted)
- through its own apply_model (one shift, 0.25 overlap) on CPU, on a mix whose parts are known: the UGC take's
- voice plus the music bed under it (perception/bench/stems_bench.py; SI-SDR of the vocals stem against the voice
- and of drums+bass+other against the bed)
- When the bed is 16.6 dB under the voice (what previz measured in the UGC edit)
- Then the vocals go from 16.6 to 24.0 dB and the music from -16.9 to 6.9 dB
- When the bed is 6 dB under
- Then the vocals go from 6.0 to 19.8 dB and the music from -6.1 to 13.9 dB
- And it runs at 3.1 x real time on the CPU in PyTorch (9.3 x on the first, cold run)
-
- Scenario: HTDemucs in Rust (H3, 2026-10-15)
- Given perception/src/stems.rs: htdemucs between its STFT and its inverse exported to ONNX (174 MB fp32, 3e-4 from
- PyTorch on the spectral branch, 5e-6 on the waveform; ONNX can't hold complex tensors, so the STFT stays
- outside, the usual route), and around it in Rust: htdemucs._spec and _ispec (4096-point, hop 1024, periodic
- Hann, normalised, its 1536-sample reflect padding, real and imaginary parts as channels) and apply_model's
- chunking (7.8 s segments centre-padded from the mix, a quarter overlap, a triangle cross-fade, no random
- shift); `raea-perceive stems FILE -o DIR`
- When perception/bench/stems_parity.py runs it beside apply_model(shifts=0) on the same known mixes
- Then every stem is within 1e-5 of Python's (Rust against Python: 52-101 dB SI-SDR), and the vocals (23.93 and
- 19.69 dB) and the music (6.79 and 13.75 dB) score exactly as Python's do
- And it runs at 0.35 x real time on the CPU through ort once loaded (1.13 x with the 174 MB model's load), about
- 9 times PyTorch's 3.1 x: fast enough to split a clip's sound at ingest; the GPU (ort's Core ML provider or a
- Core ML conversion) is a later speed-up, not a need
-
- Scenario: DeepFilterNet3 in Rust (H2, 2026-10-15)
- Given perception/src/denoise.rs (feature `denoise`): the authors' own Rust library, libDF v0.5.6 (MIT/Apache-2.0),
- with its built-in DFN3 model run by tract, 48 kHz mono one 480-sample hop at a time, its STFT and lookahead
- delay taken out so the output lines up (best lag 0 against the input); `raea-perceive denoise FILE -o OUT.f32`;
- about 0.27 x real time on this Mac
- When perception/bench/denoise_bench.py runs it on the UGC take's clean voice and on it mixed with white noise or
- with the music bed at 0, 5 and 10 dB (SI-SDR against the clean voice; level in Silero's speech spans and between)
- Then on white noise it lifts SI-SDR from -0.4 to 11.8 dB, 4.6 to 14.9 and 9.6 to 16.4, the speech level within
- 1.7 dB at 5 and 10 dB SNR and the floor between words gone (-23 to -120 dB at 0 dB SNR)
- And on the music bed as the noise it lifts -0.5 to 7.6 dB and 4.6 to 10.4, but at 10 dB SNR it does slightly
- worse than doing nothing (9.6 to 8.8): it isn't a music remover (that is H3's stems)
- And on the clean voice it changes the voice: 6.8 dB SI-SDR to the input, the speech 2.3 dB quieter, the room tone
- between words taken from -51 to -71 dB; so the bar (loudness within 0.5 LU) fails on clean sound, and the step
- runs only on sources whose floor between speech is high (the take's -51 dB is clean; the white-noise mixes are
- -23 to -33), a gate to set when the step joins ingest
-
- Scenario: Silero VAD in Rust (H4, 2026-10-15)
- Given perception/src/vad.rs: Silero VAD v5 (MIT, the 2.3 MB ONNX the silero-vad 5.1.2 package carries) run as
- the package runs it (16 kHz mono, 512-sample windows with the previous 64 samples in front, the recurrent state
- carried) and its get_speech_timestamps with the defaults; `raea-perceive vad FILE [--store DIR]` (vad.json in
- the source's ingest folder); unit test passes (1 of 1: a 64 ms dip doesn't split speech, a 0.1 s blip isn't
- speech, padding applied)
- When perception/bench/vad_parity.py runs it beside the package on the UGC take's voice (take-voice.m4a)
- Then all 10 span edges are identical to the package's, on the package's samples and from the file (5 spans,
- 23.2 s of speech in 25.6 s, 0.23 s to run)
- And the spans cover 0.914 of the transcript segments' time; the rest is mostly the first segment's opening:
- the transcript starts "All right" at 0.24 s, but the voice is at -52 dB until 1.44 s (-21 dB while talking) and
- the model's probability stays under 0.25 there, so the segment's start is early, not the model late
- And so the UGC edit opens on 1.2 s of near-silence before its first word (s1 starts at the take's 0.24 s): a
- hook that waits, which previz's speech rows (from the transcript) hide; YAMNet's one speech span starts at 0.48
- s because its windows are 0.96 s
-
- Scenario: CLAP against YAMNet and descriptions (H5, tested 2026-10-15; not an ingest step yet)
- Given laion/clap-htsat-unfused (Apache-2.0 on its model card; Microsoft's CLAP weights carry no clear licence and
- were left aside) through transformers 4.46.3 in a scratch venv, on take-voice.m4a, music-bed.m4a and the UGC
- render (voice and bed mixed); windows labelled by YAMNet's spans (raea-perceive sound) and by CLAP's best of
- seven prompts, plus eight free descriptions ranked by summed similarity
- When the windows are 1 s
- Then CLAP agrees with YAMNet on 0.28 of the voice's windows, 0.05 of the bed's and 0.125 of the mix's, and
- ranks "a calm electronic music bed" first for the plain voice: its encoder is trained on 10 s clips
- When the windows are 5 s with the paper's prompt form ("This is a sound of ...")
- Then the voice is speech in 5 of 5 windows and "a man talking to the camera" ranks first; the mix is speech in 4
- of 4; the bed is music in 8 of 8, where YAMNet calls it noise (its music spans are 3 short ones), and "a calm
- electronic music bed" ranks first
- And so CLAP is usable for sound-to-description matching (Foley search, diegetic sounds) at 5 s or longer, and
- reads music YAMNet misses; a short event (a door, a click) needs a test with such sounds before it is trusted
- at its own length, and the step waits for an ONNX export and a Rust front end
-
- Rule: Reading rendered video as layers (Track J, the user 2026-10-15)
- Scenario: Text read off a render, graded on rows we wrote (J1, 2026-10-15)
- Given perception/src/textread.rs: every frame's lines from Apple Vision's accurate text recognition (no
- language correction, lines 1.5% of the frame high or more; vision::text_lines), chained into rows (the same
- words case and punctuation aside, an overlapping box, up to 3 missed frames bridged), and lines that come and
- go together, centred and stacked within a line's height, joined into one wrapped text; `raea-perceive
- read-text VIDEO`; unit tests pass (2 of 2: a dropped frame bridged and a moved copy kept apart; a two-line
- caption joined)
- When perception/bench/textread_grade.py reads the UGC render (rdb/examples/out/ugc-g8.mp4) and sets the rows read
- against ugc.sql's 16 caption rows and 2 title rows (the same words at 0.85 similarity, overlapping spans)
- Then all 18 are found; 16 spans are exact to the frame and the other 2 (the titles, which fade in over 8 frames)
- start 1 and 2 frames late; the boxes' tops are within 0.014 of the frame and their centres within 0.025 (the
- titles' padding); the words slip twice ("AI" read "Al", "≠" read "#")
- And it reads the footage's own text too: 703 rows no caption explains, nearly all the whiteboard behind the
- creator, flickering and read at 0.3-0.4 confidence where every caption reads at 0.58 or more; only 3 are steady
- and confident (a "DEV" sticker in the footage, a caption read once with an accent): telling those apart from
- the edit's overlays is J2
- And it takes 77 s for 738 frames (about 0.1 s a frame, every frame read)
-
- Scenario: Overlay or footage, for text (J2's first part, 2026-10-15)
- Given the truth from rendering each edit twice, with its titles and captions at opacity 0 the second time (rdb
- render; the UGC edit and the hook, 21 s for all four renders): a row read by J1 is an overlay when its box
- differs between the two on its middle frame (mean absolute difference over 8 levels), footage text otherwise
- And the rule: an overlay reads at confidence 0.5 or more, in 80% of its span or more, for 6 frames or more
- (perception/bench/layers_text.py)
- When it runs on both renders
- Then on the UGC render 18 of its 19 overlay rows are called overlays and none of its 132 footage rows (the
- whiteboard behind the creator) is; the one missed is a 3-frame misreading of a caption ("thèm"); accuracy 0.993
- And on the hook render all 4 overlay rows are found (its titles fade and slide in); it has no text in its
- footage, so it can't test false alarms, and the rule was set after looking at the UGC render: a third edit with
- text in moving footage is the test still owed
- And shapes, stickers and other overlays that aren't text are J2's next part (pixel masks from the same two-render
- truth)
-
- Scenario: Motion read back into keys (J3's first part, 2026-10-15)
- Given perception/src/motion.rs: each text row's box left and top over the frames it was read in (pixels), split
- into moves of 1% of the frame or more, each fitted with rdb's own eases (eval.rs ease_fn: linear, in, out,
- inout) over every nearby start and end frame by least squares; of the fits about as good as the best, the
- shortest; a move under way from an element's first sighting starts one frame before it (the tail of an eased
- move is itself nearly the same ease, so an unseen start can't come from the data: two fits tried first put it 7
- frames early, then 1 frame late); unit tests pass (4 of 4)
- When `raea-perceive read-text` reads the hook's render and its rows' keys are set against hook.sql's
- Then the "Stop scrolling" title reads frames 0-17, -82 px, ease out, against the key's 0-18, -80, out; "this
- changes your mornings" reads 14-30, -65 px, out, against 14-32, -60, out; the caption, moved by a rule that
- follows the face's linear key (60-120, -220 px), reads 62-127, -218 px, linear
- And the ends come 1-2 frames early: an ease-out's last stretch moves under a pixel a frame, and the box is
- measured in whole pixels; opacity (both titles fade in) isn't read yet, and rendering the rows read back
- through rdb against the original frames is the rest of J3's bar
-
- Scenario: The rows read, rendered back (J3's bar, 2026-10-15)
- Given perception/bench/renderback.py: the overlay rows J2 keeps become caption rows over the render without
- overlays (their words and span; size from the box height per line and top from the box, one constant each
- fitted on the UGC edit's single-line captions: 1.158 box heights per size unit, top 0.098 of the size above;
- centred when the box is, wrapping at the read width when read as several lines; colour the median of the
- brightest changed pixels; J3's keys as rdb keys), rendered by rdb, and set against the original frames inside the
- true overlays (pixels over 40 levels from the bare render), frames streamed one at a time
- When it runs on the UGC render (calibration) and the hook (held out)
- Then the read-back explains 0.276 and 0.521 of the overlays' pixel difference; as masks with 2 px of tolerance
- it scores F 0.687 (recall 0.594, precision 0.814) and F 0.759 (0.738, 0.782)
- And side by side the same words sit in the same places, in the same colours, moving the same way; what's missing
- is what isn't read yet: the captions' black stroke and shadow and the UGC title's pill (most of the UGC
- recall gap), the font weight (the hook's subtitle is 600 and comes back 800), and the titles' fades
- And its first version crashed the Mac: it decoded the three full-HD videos whole into arrays (a 738-frame render
- is 4.6 GB as raw RGB), so the machine thrashed and froze; memguard (~/.local/bin/memguard, a LaunchAgent) now
- stops any job past 6 GB or the largest one at the edge, and the bench streams frames (peak 0.5 GB)
-
- Scenario: Text styles read from the frame alone (J3, 2026-10-15)
- Given perception/bench/textstyle.py: at each overlay row's middle frame, its box's pixels in four colour
- clusters; light text with a stroke when the brightest cluster is ringed (2 px out) mostly by the darkest, which
- is dark, far from it and unlike what surrounds the box; else the glyphs are the cluster standing out most from
- the surround (a ring a quarter of a line wide outside the box), which is a pill when it is one colour that ends
- within 0.8 of a line (its colour and padding); no overlay-free render used (footage won't come with one)
- And three rules tried first failed and are written down there: the smaller of two clusters (busy footage behind
- the text wins), the edgiest of four (the stroke wins), the largest edgy one (the shadow wins)
- When perception/bench/textstyle_grade.py sets them against the edits' rows
- Then on the UGC render pill or not is right on 17 of 18 rows (the yellow pill found, padding 24 px against 22),
- stroke or not on 17 of 18, the text colour within 24 levels on 16 of 18; on the hook all three on 4 of 4; the
- misses are text over the colour-bar b-roll (a yellow bar taken for the letters) and a pill of 55% black, which
- isn't one colour
- And rendered back with them (strokes as stroke, pills as titles with their background and padding), the UGC
- render's overlay masks go from F 0.687 to 0.780 (recall 0.594 to 0.745); the hook, which has neither, stays at
- 0.759; shadows, weight and fades are still not read
-
- Scenario: Motion as hypervectors, matched across edits (J5, 2026-10-15)
- Given perception/src/motion.rs motion_hv: each move read by J3 as role vectors bound to values (axis and way,
- ease, length and distance on log scales), the features bundled by majority, an element's moves bundled in
- order (each shifted by its place), "still" a vector of its own; 4096 bits; similarity is the share of agreeing
- bits; every text row read carries it (read-text's "motion"); unit test passes (two ease-out rises match at over
- 0.7, a slide-in under 0.6, still against a move near 0.5)
- When the hook is rendered three ways (its titles rising easing out, rising at a steady speed, sliding in from the
- left easing in and out; the caption the same in all three) and perception/bench/motion_match.py reads them
- Then 12 of the 13 overlay rows' nearest other row has the same motion; the miss is a partial read of a title
- still cut off at the left edge as it slides in, which reads as still and matches the still caption
- And similarity averages 0.694 within a kind of motion and 0.619 across kinds: moves sharing an axis share bits, so
- the vectors rank well (nearest) but a fixed threshold between "same" and "different" would be thin
-
- Scenario: Non-text overlays as the pixels that hold still: a negative result (J2, 2026-10-15)
- Given perception/bench/layers_steady.py: per pixel at a quarter of the size, the spread of luma over 9 frames; a
- pixel within 6 levels counted as overlay; the truth the render against its overlay-free twin
- When it runs on the UGC render and the hook
- Then it finds 0.746 and 0.825 of the overlay pixels but only 0.023 and 0.035 of what it calls overlay is overlay
- (F 0.044 and 0.067): the wall behind the creator and the hook's flat backdrop hold just as still as a title
- And so holding still isn't what makes an overlay; the next try uses what the text reader already shows works
- (edges sharp and uniform against the picture, J3's styles) on regions that move unlike the footage around them
-
- Scenario: Overlay patches learned from two renders: ranks, doesn't yet transfer (J2b, 2026-10-15)
- Given raea-gbm layers (tabular/gbm/src/layers.rs, all Rust): every 24 px patch of every 2nd frame at half size
- (decoded by raea-media's Apple backend) described by what the frame alone shows (brightness, spread, colour,
- saturation, uniformity, edges, change since the last frame and 8 frames back, place), labelled overlay when over
- half its pixels differ from the overlay-free render; Perpetual trained on one render, scored on the other
- When it runs on the UGC render and the hook (overlays 0.7% and 2.2% of patches)
- Then trained on UGC it ranks the hook's overlay patches at AUC 0.946, trained on the hook it ranks UGC's at 0.581
- And at a threshold chosen on the training render (0.94, 0.99) it finds none on the other: F 0 both ways; two
- renders don't carry a calibration across edits, so the plan stands: thousands of generated render pairs over
- the corpus's footage (J2b); 1.75 GB peak, 87 s for both
-
- Scenario: Overlay patches learned from 60 generated render pairs (J2b, 2026-10-15)
- Given raea-gbm layers-gen (tabular/gbm/src/gen.rs): 60 two-second edits over raea's fixture footage, each with 1-4
- random overlays (boxes with borders, image stickers, titles on pills, stroked captions; still, sliding in, fading
- in or rotated), rendered by rdb as written and with every overlay at opacity 0; the patch features of J2b's first
- try; folds by edit (an edit's patches on one side), then a model on all 60 scored on the real renders
- Then held out by edit: AUC 0.977-0.995 per fold, F 0.617 (precision 0.758, recall 0.52) at the training threshold
- And on the UGC render it ranks the overlays at AUC 0.972 (0.581 when trained on the hook alone), but at the
- threshold carried over F is 0.163 (precision 0.279, recall 0.115); on the hook AUC 0.704, F 0.068
- And so variety is what made it rank: the generated edits have no 3D scene or flat backdrop (the hook) and no soft
- caption shadows (the UGC captions), the gap between generated and real; next: those in the generator, finer
- patches than 24 px, and calibrating the threshold per edit (the share of overlay a frame holds varies)
-
- Scenario: Generated renders closer to real edits (J2b, 2026-10-15)
- Given the generator changed where the two real renders differed from it: a third of the edits over a rendered 3D
- scene (the hook's kind: a flat backdrop, a floor, moving shapes, colours varied) and half the captions with a soft
- shadow (the UGC captions'); 90 pairs
- Then held out by edit: AUC 0.971-0.991, F 0.578 (precision 0.684, recall 0.5): harder, being more varied
- And on the hook: AUC 0.704 to 0.994, F 0.068 to 0.671 (precision 0.732, recall 0.619)
- And on the UGC render: AUC 0.974, F 0.163 to 0.359 (precision 0.478, recall 0.287); its captions over a moving
- handheld take are what's left; the generated footage is three fixture clips, so more real footage under the
- overlays is the next lever, then finer patches
-
- Scenario: More real footage under the overlays didn't help (J2b, 2026-10-15)
- Given the generator's footage widened from 3 fixture clips to 23 (the host app's 20 takes added), 120 pairs; patch
- features cached per pair (decoding 240 renders took most of lane's 15 minutes); training on every overlay patch
- and every 4th footage patch, the threshold chosen as if all footage patches were there
- Then held out by edit F 0.616 (AUC 0.977-0.994), about as before (0.578)
- And on the real renders it got worse, not better: the hook F 0.524 (0.671 with the 3 clips), UGC F 0.308 (0.359),
- AUCs 0.982 and 0.971; the takes bring busier backgrounds (whiteboards with writing, people moving) that make the
- generated overlays harder to tell from the picture without matching the real edits any better
- And so the 90-pair generator (the fixtures, 3D backdrops, caption shadows) stays the best so far; what the real
- renders' overlays have that the generated ones don't (their placement, sizes and timing as editors use them) is
- the next thing to copy, not more footage
-
- Scenario: Overlays placed and timed as editors do (J2b, 2026-10-15)
- Given the generator's captions as 2-4 chunks one after another (0.5-1.3 s each) centred in the lower third, stroked
- and mostly shadowed, its titles mostly in the top band; footage back to the 3 fixture clips and 3D scenes; 90
- pairs, training thinned with the weighted threshold
- Then held out by edit F 0.671 (precision 0.65, recall 0.694), the best yet
- And on the UGC render F 0.442 (precision 0.36, recall 0.573; 0.359 before), the best yet: captions over a
- moving take are what the placement taught it
- And on the hook F 0.286 (precision 0.198, recall 0.517; 0.671 before): it now takes parts of the moving 3D scene
- for overlays; the two real renders pull opposite ways, so the next step is a third and fourth real edit to
- judge by, rather than tuning the generator to two
-
- Scenario: Four real edits to judge by: the ranking transfers, the threshold doesn't (J2b, 2026-10-15)
- Given the overnight bases dr.rrl and demo.rrl rendered by `rrl render` as written and bare (title, caption and box
- rules at opacity 0, the bases' own title fade rules taken out of the bare copies, since they set opacity over
- the zero rule); checked on frames side by side: every overlay gone, a thin grey bar in dr and small marks in
- demo in both renders (so counted as footage); the model unchanged (90 generated pairs, editors' placement)
- Then AUC on all four real renders is 0.90-0.98: UGC 0.975, the hook 0.96, dr 0.982, demo 0.903
- But F at the threshold carried over from generated renders (0.73) is 0.21-0.64: dr 0.64 (precision 0.582, recall
- 0.71), UGC 0.442, the hook 0.286, demo 0.206 (precision 0.285, recall 0.161; dark callout pills over colour bars)
- So the patch model orders overlay above footage on edits it never saw, and what fails to transfer is one fixed
- cut; the next step is a threshold set per edit without its truth (a share of each frame, or the score's gap),
- scored on these four, before any more generator tuning
-
- Scenario: A cut per edit doesn't lift it either: the patch features are the ceiling (J2b, 2026-10-15)
- Given two cuts set from each edit's own scores, no truth (Otsu's split of the score histogram; the cut flagging as
- many patches as the probabilities sum to), and the best cut chosen with the truth as the ceiling (raea-gbm
- layers-gen, layers.rs `otsu`, `expected_count`)
- Then F (carried-over 0.73 / Otsu / expected count / best possible):
- | edit | 0.73 | Otsu | expected | best |
- | dr | 0.640 | 0.628 | 0.627 | 0.654 |
- | UGC | 0.442 | 0.359 | 0.308 | 0.465 |
- | hook | 0.286 | 0.310 | 0.308 | 0.384 |
- | demo | 0.206 | 0.279 | 0.330 | 0.364 |
- So no cut, even one chosen with the truth, gets past F 0.36-0.65 on three of the four edits: overlays are 1-4% of
- patches, and at AUC 0.90-0.98 the footage patches scored above them still outnumber them; the patch features
- (still pixel statistics per patch) are the limit, not the threshold
- And J2b is blocked on the route the roadmap planned: a small segmenter trained on the generated pairs (which see
- shape and context, not one patch), and with no Python that means training it in Rust (burn or candle), a choice
- for the user
-
- Scenario: A small U-Net trained in Rust beats the patch model on real edits (J2b, 2026-10-15)
- Given perception/seg (raea-overlay-seg): each frame at 1/8 size, 136 x 240 cells of 5 channels (colour, the change
- since the frame before and since 8 before), a U-Net of 16, 32, 64 and 64 channels with skips (about 300k
- weights), trained with burn 0.22 on the Mac's GPU (Metal) on the 90 generated render pairs (81 to train, 9 held
- out by pair to pick the epoch and the cut), overlay cells weighted 20x (2.1% of cells), Adam at 1e-3 falling to
- 1e-4 with gradients clipped at norm 1 (2e-3 unclipped collapsed to a constant at the 5th epoch); 50 s an epoch,
- 2.4 GB at most; the best epoch's weights saved to $RAEA_MODELS/overlay-seg/ (1.2 MB) with its cut, and
- `--load` scores them again to the same numbers
- When it's scored as the patch model is (48 px patches, overlay when over half their pixels differ; the cells'
- mean as the score), at the cut chosen on the held-out generated pairs (0.72)
- Then held out by pair: AUC 0.993, F 0.706
- And on the real edits (F at that cut / F at the best cut, against the patch model's 0.73 cut / best):
- | edit | AUC | F | best | patch model F | patch best |
- | demo | 0.991 | 0.743 | 0.751 | 0.206 | 0.364 |
- | dr | 0.961 | 0.535 | 0.558 | 0.640 | 0.654 |
- | hook | 0.987 | 0.466 | 0.883 | 0.286 | 0.384 |
- | UGC | 0.984 | 0.324 | 0.359 | 0.442 | 0.465 |
- And so the mean F is 0.52 against 0.39 (best cuts 0.64 against 0.47): it takes the demo's dark pills over colour
- bars and the hook's titles over a moving 3D scene, which the patch statistics couldn't; the patch model still
- does better on dr and UGC, and UGC's captions over a moving take are the weakest (0.32: it flags caption-like
- footage, precision 0.20); another training run gave 0.54 (GPU sums aren't bit-reproducible); the U-Net is the
- one kept (the consolidation's M10)
-
- Rule: Faces count once confirmed (the user via raea-9f, 2026-10-15: "faces are confirmed with confidence")
- Scenario: Raw confidence kept, faces confirmed over time at ingest
- Given raea-9f's finding: a face appearing in one frame made the hook's caption-dodge rule jump 68 px, and rules
- see one frame at a time; so ingest keeps Vision's confidence per face per sample (faces.json "conf", raw, as
- an agent session asked) and adds confirmed "tracks" (ingest::confirm_faces): faces followed across samples by overlap
- or by centre distance and size, tracks unseen for 2 s closed, pieces that follow on stitched, a face visible
- after two sightings in a row at 0.8 or more, held through gaps, gone after 0.5 s under 0.5, its box the median of
- its last three sightings; unit tests pass (3 of 3: entering, held through a dropout, let go; a one-sample blip
- never shows; two faces keep their own tracks)
- When the UGC take (two people, 103 samples at 4 a second) is ingested
- Then matched by overlap alone its 2 people came out as 11 tracks (heads move between samples); with distance,
- closing and stitching, 6: the creator (100 sightings) and the second person (92) and four one-off false faces
- And the faces switch on or off 21 times raw and 7 times confirmed: the creator's track is steady but for one
- 2-sample dropout near the end, the second person's is one span of 87 samples, and of the four false faces only
- one shows (2 samples); Vision's confidence alone can't tell them apart (median 0.875), which is why two
- sightings are needed
- And rdb's previz reads the confirmed tracks (previz::face_track; raw only for an older ingest): on the UGC edit
- captions over the face go from 514 frames to 509
- And rules that read faces still get a transition in the edit (raea-9f's part: void's prompt; the hook example with
- an agent session's gate)
-
- Rule: the host app through the C interface (A6)
- Scenario: The interface (A6a, 2026-10-14)
- Given perception/src/ffi.rs and perception/include/raea_perception.h: raea_perception_ingest(clip, store),
- raea_perception_analyze(clip, dir), raea_perception_free; UTF-8 paths in, JSON out, {"error"} on failure
- When a Swift program links the crate as a static library (78 MB unstripped) and calls raea_perception_analyze on
- the fixture take
- Then it gets the same facts as the CLI (1 shot) in 15.5 s; `cargo test --lib` covers a missing clip and a null path
- Scenario: Linked into HostCore, off by default (A6b, 2026-10-14)
- Given ugc-core's new `perception` feature (~/host/agent/crates/ugc-core) re-exports raea_perception_* on Apple
- Then `cargo check -p ugc-core` is green with it off (the apps' build, unchanged) and on
- And raea-perception checks for aarch64-apple-ios with rustup's cargo (Homebrew's cargo has no iOS std)
- And next (A6c): the apps build with it on, and the phone's perceive-test screen (RenderTest.swift) runs Swift and
- Rust on the same clip
- Scenario: The app runs both, Swift and Rust, on the same clip (A6c, 2026-10-15, the Simulator)
- Given HostCore's iPhone and Simulator slices built with `perception` (2 minutes each in lane; the iPhone slice links
- ONNX Runtime statically, OrtGetApiBase in the archive), packaged privately with raea_perception.h in the module
- (build-xcframework.sh now does that when the feature is on), and the app built from a host worktree with
- -DUGC_PERCEPTION, so nobody's shared framework changed; the perceive-test screen (RenderTest.swift) runs
- Perception.analyze and then raea_perception_analyze on an 8 s cut of the fixture take
- When it runs in an iPhone 17 Pro Simulator (iOS 26.3; the platform and the Metal toolchain had to be installed
- into Xcode 26.2 first, as no iPhone build worked without them)
- Then both find 1 shot and agree on framing (close-up), faces (2), motion (moving), brightness (0.53) and the
- layout's parts; text spans 11 (Swift) against 9 (Rust); Swift's facts also carry audio and performance, which
- Rust's analyze leaves to ingest's own steps
- And Rust took 7.7 s and Swift 26.0 s, but the Swift is a Debug build (unoptimised pixel loops), so the times
- aren't a comparison
- But Rust reads Core ML packages from $UGC_MODELS (.mlpackage, compiled at first use), and the app bundles them
- compiled (.mlmodelc): the run pointed UGC_MODELS at a copy of ~/host/models in the app's Documents; before the
- switch ships, coreml.rs should also load the bundle's compiled models
- And on a phone: not run, as neither paired iPhone is connected (devicectl lists both unavailable)
-
- Rule: Toward Rust (the founder, 2026-10-14: run perception in Rust for raea)
- Scenario: The plan
- Then the plain logic ports to Rust as it is, beside raea's K kernels
- And the models run from Rust: Core ML through objc2 on Apple (keeps the Neural Engine) or ONNX through ort
- elsewhere (as ugc-embed does); decoding comes from raea-media
- And Apple Vision sits behind one Rust trait: an objc2-vision implementation on Apple, models elsewhere
- (MediaPipe face for faces, selfie-multiclass for people, YAMNet for sound, UNISAL for saliency); OCR and
- aesthetics have no good open replacement and stay Apple-only
- And the Swift file stays the reference until the Rust port is checked equal to it (facts.json on the eval
- footage, reference-check.sh); then the host app calls the Rust one through HostCore.xcframework and the Swift goes
diff --git a/rdb/README.md b/rdb/README.md
new file mode 100644
index 00000000..8d405d88
--- /dev/null
+++ b/rdb/README.md
@@ -0,0 +1,17 @@
+# rdb
+
+`rdb`: an edit as typed tables, run on Bevy's World, and the renderer that draws it. `@raea/motion` compositions are
+lowered to rdb's rows by [`react/`](../react) and rendered here, so a render and a live play draw from the same rows
+with the same code.
+
+- `src/engine.rs` and `src/engine/`: the Bevy renderer: 2D layers, 3D scenes (meshes, lights, cameras, glTF models,
+ post effects), video frames, captions and sound.
+- `src/cli.rs`: the `rdb` command: create and edit an edit with SQL snippets (`new`, `apply`, `undo`, `moves`,
+ `query`), `render`, `stills`, `compare`, and native media verbs (`rdb media ...`, plus `rdb ffmpeg` and
+ `rdb ffprobe`, which read ffmpeg-style command lines without running ffmpeg).
+- `examples/`: small edits and benchmarks.
+
+Depends on [`engine/`](../engine), [`kgpu/`](../kgpu), [`media/`](../media) and [`gputrace/`](../gputrace). The shell
+runs its commands in process.
+
+Status: in use as the renderer behind `raea-motion`.
diff --git a/rdb/bench/ablation.txt b/rdb/bench/ablation.txt
deleted file mode 100644
index 78977b4d..00000000
--- a/rdb/bench/ablation.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-v-empty step0 gpu 3.52 main 0.11 render 2.70 readback 5.19
-v-empty gpu gpu 3.18 main 0.10 render 1.87 readback 0.21
-v-noclips step0 gpu 3.48 main 0.49 render 2.60 readback 5.12
-v-noclips gpu gpu 3.02 main 0.38 render 1.76 readback 0.19
-v-noclip2d step0 gpu 4.84 main 2.82 render 5.07 readback 5.37
-v-noclip2d gpu gpu 4.51 main 1.45 render 2.62 readback 0.21
-ugc step0 gpu 4.93 main 3.41 render 5.43 readback 5.48
-ugc gpu gpu 4.62 main 1.80 render 2.78 readback 0.21
diff --git a/rdb/bench/baseline-pipelined.json b/rdb/bench/baseline-pipelined.json
deleted file mode 100644
index 8c6952db..00000000
--- a/rdb/bench/baseline-pipelined.json
+++ /dev/null
@@ -1 +0,0 @@
-{"audio":"aac (AudioToolbox)","audio_s":0.310966083,"bytes":25067143,"encode_fps":1362.9509066136116,"frames":738,"lufs":-14.180952402041742,"overlay_drawn_reused":[34,714],"peak_db":-1.499999404829768,"render_fps":75.95769881253104,"seconds":10.615889625,"ssim":null,"stages_ms_per_frame":{"clip_texture_write":0.13286199999999998,"decode":1.1368206675712347,"encode_rgba_convert":0.5288757042062415,"encode_total":0.7346976675712351,"frames":737,"gpu_wait_serial":0.0,"main_world_total":2.782359327001357,"overlay":0.24413630257801902,"readback_bytes":8360192,"readback_copy":5.3347011506105835,"render_world":4.868753336499322,"rules":0.22532118588873812,"updates_per_frame":1.0040705563093624,"wall_per_frame":14.38466948915989,"yuv_to_rgba":0.982798538670285},"video":"h264 (VideoToolbox)"}
diff --git a/rdb/bench/baseline-serial.json b/rdb/bench/baseline-serial.json
deleted file mode 100644
index 746ffa63..00000000
--- a/rdb/bench/baseline-serial.json
+++ /dev/null
@@ -1 +0,0 @@
-{"audio":"aac (AudioToolbox)","audio_s":0.31540125,"bytes":25067143,"encode_fps":1352.8111572575926,"frames":738,"lufs":-14.180952402041742,"overlay_drawn_reused":[34,713],"peak_db":-1.499999404829768,"render_fps":59.1069961014423,"seconds":13.391182875,"ssim":null,"stages_ms_per_frame":{"clip_texture_write":0.11908316689280869,"decode":1.0969343337856174,"encode_rgba_convert":0.5088556146540028,"encode_total":0.7402044599728633,"frames":737,"gpu_wait_serial":5.174378188602442,"main_world_total":2.6692240230664854,"overlay":0.23074457530529172,"readback_bytes":8360192,"readback_copy":4.969193762550882,"render_world":3.9610058222523743,"rules":0.2151969009497965,"updates_per_frame":1.0027137042062415,"wall_per_frame":18.145229901084008,"yuv_to_rgba":0.9496989932157396},"video":"h264 (VideoToolbox)"}
diff --git a/rdb/bench/direct.txt b/rdb/bench/direct.txt
deleted file mode 100644
index c107aad1..00000000
--- a/rdb/bench/direct.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-The direct render (RAEA_DIRECT=1): edits without 3D rendered through gpuview's pool and kernels (composite.k ->
-nv12buf.k -> a ring of 3 readbacks in flight) with no Bevy schedules. UGC edit, 738 frames, 1080x1920, M4, Apple
-decode and VideoToolbox encode, guarded, 2026-10-14, load ~4 (the orchestrator's build had just finished).
-
-Exact: hash-only renders, two runs and one shuffled run: 738/738 frames byte-identical to the engine's GPU path
-(examples/out/ref/gpu-apple-a.txt). The first try differed on the zoom 1.18 clips (147 frames): gpuview read row values
-as f64 where the engine's World holds f32 (1.18 -> 1.17999995), moving the 16.16 source map; gpuview now rounds slot
-inputs through f32 as the engine does.
-
-Speed, incl. encode, alternating (fps, ms per frame):
-rep engine (GPU path) direct direct ms/frame: decode+upload rules overlay submit wait copy encoder push
-1 180.2 212.4 2.14 0.21 0.22 0.03 0.00 0.21 1.81
-2 183.3 208.5 2.24 0.21 0.22 0.03 0.00 0.22 1.79
-3 181.1 212.0 2.10 0.20 0.21 0.03 0.00 0.22 1.87
-(engine column: frames / wall incl. setup and audio mix; direct: the frame loop incl. encode)
-
-The ceiling is the encoder: VideoToolbox H.264 alone, 300 frames of the take pushed as NV12 from memory, 8 Mbps:
-212.1 fps, 212.0 fps (raea-media encode apple ... --nv12). The direct render runs at it. The encoder on its own thread
-didn't raise it (its queue stays full: 194, 208, 148 fps, under background load); it stays, as it frees the loop the day
-the encoder is faster.
-Without the encoder (hash-only, minus the hashing's 3.16 ms): ~2.7 ms per frame, ~370 fps, of which decode+upload ~1.9.
-The GPU is never waited on (wait 0.00 ms): composite + NV12 + copy finish while the CPU prepares the next frame.
-
-Pool budget (engine::pool_budget: RAEA_POOL_MB, else 1 GiB on the Mac, 256 MiB on iOS/Android): at 256 MB the engine
-and the direct render give the same 738 hashes, with the same 929 uploads (a render in order reuses frames only within
-a few frames); peak footprint 628 MB (engine) and 614 MB (direct) vs 1431 MB at 1 GiB.
-
-GPU per stage (RAEA_GPU_TIMES=1: timestamp queries, one frame at a time; each upload as its own staging copy), ms per
-frame over 738 frames, two runs: uploads 0.214 / 0.196, composite.k 1.794 / 1.777, nv12buf.k 0.360 / 0.372, readback
-copy 0.029 / 0.012; sum 2.40 / 2.36. Frames unchanged (hash-only run = gpu-apple-a.txt).
-Un-overlapped GPU per frame (RAEA_SERIAL, the engine): step 0 path (RAEA_READBACK=rgba RAEA_COMPOSITE=ui) 4.81,
-the engine's GPU path 4.13.
diff --git a/rdb/bench/encode-table.jsonl b/rdb/bench/encode-table.jsonl
deleted file mode 100644
index d854a90a..00000000
--- a/rdb/bench/encode-table.jsonl
+++ /dev/null
@@ -1,4 +0,0 @@
-{"decode":"apple","enc":"apple","r":{"audio":"aac (AudioToolbox)","audio_s":0.312465791,"bytes":25067143,"encode_fps":1336.3888106989768,"frames":738,"lufs":-14.180952402041742,"overlay_drawn_reused":[34,714],"peak_db":-1.499999404829768,"render_fps":77.39416803627523,"seconds":12.9097215,"ssim":0.9789917576383167,"stages_ms_per_frame":{"clip_texture_write":0.07906858344640434,"decode":1.053394024423338,"encode_rgba_convert":0.54815602578019,"encode_total":0.7493005359565807,"frames":737,"gpu_wait_serial":0.0,"main_world_total":2.612004910447761,"overlay":0.24215632293080055,"readback_bytes":8360192,"readback_copy":5.530138337856174,"render_world":4.632332134328358,"rules":0.23868100949796472,"updates_per_frame":1.0040705563093624,"wall_per_frame":14.153241417344175,"yuv_to_rgba":0.9367464138398914},"video":"h264 (VideoToolbox)"}}
-{"decode":"soft","enc":"soft","r":{"audio":"opus (libopus)","audio_s":0.360470792,"bytes":24816997,"encode_fps":70.89363942397719,"frames":738,"lufs":-14.180952402041742,"overlay_drawn_reused":[34,714],"peak_db":-1.499999404829768,"render_fps":28.721908481075467,"seconds":38.571184042,"ssim":0.9690478952023227,"stages_ms_per_frame":{"clip_texture_write":0.07371153188602442,"decode":23.74583798778833,"encode_rgba_convert":3.2867281248303937,"encode_total":14.124777063772074,"frames":737,"gpu_wait_serial":0.0,"main_world_total":25.118720000000003,"overlay":0.2283812713704206,"readback_bytes":8360192,"readback_copy":5.400778058344641,"render_world":4.200941985074627,"rules":0.22015749118046132,"updates_per_frame":1.0040705563093624,"wall_per_frame":49.41180470867209,"yuv_to_rgba":0.7798746662143827},"video":"h264 (openh264)"}}
-{"decode":"ffmpeg","enc":"ffmpeg","r":{"audio":"aac","audio_s":0.355488209,"bytes":25366688,"encode_fps":200.18575740963246,"frames":738,"lufs":-14.180952402041742,"overlay_drawn_reused":[34,714],"peak_db":-1.499999404829768,"render_fps":27.475209163075,"seconds":33.548037125,"ssim":0.9709313185560979,"stages_ms_per_frame":{"clip_texture_write":0.5511130108548169,"decode":10.048433237449117,"encode_rgba_convert":0.0,"encode_total":5.002138339213027,"frames":737,"gpu_wait_serial":0.0,"main_world_total":12.155529516960652,"overlay":0.4715640054274084,"readback_bytes":8360192,"readback_copy":10.76748466485753,"render_world":12.878825131614654,"rules":0.5447819457259159,"updates_per_frame":1.0040705563093624,"wall_per_frame":41.87425129810298,"yuv_to_rgba":0.0},"video":"h264 (libx264)"}}
-{"decode":"soft","enc":"av1","r":{"audio":"opus (libopus)","audio_s":0.330857084,"bytes":24929856,"encode_fps":1.8297240305699671,"frames":738,"lufs":-14.180952402041742,"overlay_drawn_reused":[34,714],"peak_db":-1.499999404829768,"render_fps":26.085291678020265,"seconds":435.20568775,"ssim":0.9763568410701292,"stages_ms_per_frame":{"clip_texture_write":0.03340486567164179,"decode":25.81596830257802,"encode_rgba_convert":3.559105156037992,"encode_total":547.2720669199463,"frames":737,"gpu_wait_serial":0.0,"main_world_total":27.193994891451833,"overlay":0.23799926187245588,"readback_bytes":8360192,"readback_copy":5.888834127544097,"render_world":5.159090409769335,"rules":0.2515502591587517,"updates_per_frame":1.0040705563093624,"wall_per_frame":585.3165157520325,"yuv_to_rgba":0.7687110597014924},"video":"av1 (rav1e)"}}
diff --git a/rdb/bench/g8-crosscheck.txt b/rdb/bench/g8-crosscheck.txt
deleted file mode 100644
index acd21e6c..00000000
--- a/rdb/bench/g8-crosscheck.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-raea-kgpu aarch64-apple-darwin: Finished `release` profile [optimized] target(s) in 12.00s
-raea-kgpu aarch64-apple-ios: Finished `release` profile [optimized] target(s) in 10.48s
-raea-kgpu x86_64-unknown-linux-gnu: Finished `release` profile [optimized] target(s) in 8.68s
-raea-kgpu aarch64-linux-android: Finished `release` profile [optimized] target(s) in 8.81s
-raea-media aarch64-apple-darwin [soft]: Finished `release` profile [optimized] target(s) in 14.46s
-raea-media aarch64-apple-darwin [soft,av1]: Finished `release` profile [optimized] target(s) in 6.93s
-raea-media aarch64-apple-darwin [soft,av1,apple]: Finished `release` profile [optimized] target(s) in 0.30s
-raea-media aarch64-apple-ios [soft]: Finished `release` profile [optimized] target(s) in 13.61s
-raea-media aarch64-apple-ios [soft,av1]: Finished `release` profile [optimized] target(s) in 5.23s
-raea-media aarch64-apple-ios [soft,av1,apple]: Finished `release` profile [optimized] target(s) in 0.29s
-raea-media x86_64-unknown-linux-gnu [soft]: Finished `release` profile [optimized] target(s) in 10.30s
-raea-media x86_64-unknown-linux-gnu [soft,av1]: Finished `release` profile [optimized] target(s) in 1m 23s
-raea-media x86_64-unknown-linux-gnu [soft,av1,apple]: Finished `release` profile [optimized] target(s) in 0.25s
-raea-media aarch64-linux-android [soft]: Finished `release` profile [optimized] target(s) in 8.20s
-raea-media aarch64-linux-android [soft,av1]: Finished `release` profile [optimized] target(s) in 5.56s
-raea-media aarch64-linux-android [soft,av1,apple]: Finished `release` profile [optimized] target(s) in 0.26s
diff --git a/rdb/bench/g8-final.json b/rdb/bench/g8-final.json
deleted file mode 100644
index fd29e952..00000000
--- a/rdb/bench/g8-final.json
+++ /dev/null
@@ -1,2 +0,0 @@
-{"audio":"aac (AudioToolbox)","audio_s":0.325701875,"bytes":25075126,"encode_fps":3058.107587084121,"frames":738,"lufs":-14.180952402041742,"overlay_drawn_reused":[34,805],"peak_db":-1.499999404829768,"pool_uploads_reuses_bytes":[929,139,1073088000],"render_fps":222.9407748397437,"seconds":5.998862083,"ssim":0.9799843946589416,"stages_ms_per_frame":{"clip_texture_write":0.0,"decode":1.1271554843962008,"encode_rgba_convert":0.09759927951153323,"encode_total":0.327443303934871,"frames":737,"gpu_wait_serial":0.0,"main_world_total":1.5974476919945726,"overlay":0.14703035956580732,"readback_bytes":3110404,"readback_copy":0.16784193758480326,"render_world":2.6859724898236093,"rules":0.25790805970149255,"updates_per_frame":1.1275440976933515,"wall_per_frame":5.3138162831978315,"yuv_to_rgba":0.0},"video":"h264 (VideoToolbox)"}
-guarded: exit 0, peak decoder 194 MB, peak render 1446 MB
diff --git a/rdb/bench/g8-speed.txt b/rdb/bench/g8-speed.txt
deleted file mode 100644
index 8c950417..00000000
--- a/rdb/bench/g8-speed.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-G8 render speed, the UGC edit (738 frames, 1080x1920), M4, 2026-10-14, step 0 path and GPU path alternating, Apple decode
-and VideoToolbox encode, guarded, load ~3. ms per frame (CPU, pipelined).
-
-rep path wall fps incl. encode decode yuv->rgba main render world readback copy (bytes) encode (conv)
-1 step0 14.33 69.8 1.19 0.97 2.81 4.84 5.23 (8.4 MB) 0.78 (0.52)
-1 gpu 5.26 190.1 0.79 0.00 1.25 2.82 0.16 (3.1 MB) 0.51 (0.10)
-2 step0 13.86 72.1 1.15 0.97 2.75 4.70 5.04 (8.4 MB) 0.70 (0.51)
-2 gpu 5.50 181.7 0.84 0.00 1.34 2.98 0.18 (3.1 MB) 0.47 (0.10)
-3 step0 13.84 72.2 1.16 0.97 2.77 4.70 5.01 (8.4 MB) 0.69 (0.51)
-3 gpu 6.43 155.6 0.95 0.00 1.52 3.78 0.21 (3.1 MB) 0.37 (0.11)
-
-GPU path / step 0 path: 2.2x to 2.6x. (The GPU path's "encode conv" is the NV12 plane copy into VideoToolbox's buffer.)
diff --git a/rdb/bench/guarded.sh b/rdb/bench/guarded.sh
deleted file mode 100755
index 7ea9f1b0..00000000
--- a/rdb/bench/guarded.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-# Run a render with a memory ceiling (the orchestrator's rules, 2026-10-13): refuse below 25% free memory, run through
-# `lane eval`, and kill it if VideoToolbox's decoder service passes a quarter of the Mac's memory or the render itself
-# passes 3/8 (4 and 6 GB on the 16 GB Mac this was written on; 16 and 24 GB on the 64 GB M5 Pro since 2026-10-16).
-# bench/guarded.sh <command...>
-set -u
-free=$(memory_pressure 2>/dev/null | awk -F': ' '/free percentage/ {gsub("%","",$2); print $2}')
-mem_mb=$(( $(sysctl -n hw.memsize) / 1048576 )); vt_cap=$(( mem_mb / 4 )); render_cap=$(( mem_mb * 3 / 8 ))
-if [ "${free:-0}" -lt 25 ]; then echo "guarded: only ${free}% memory free (need 25%)" >&2; exit 3; fi
-mb() { # resident memory of a pid in MB, from ps (instant; top took a second a sample and read 0 for the render)
- ps -o rss= -p "$1" 2>/dev/null | awk '{print int($1/1024)}'
-}
-lane eval -- "$@" &
-job=$!
-peak_vt=0; peak_r=0
-# exit is noticed within 0.2 s and memory sampled every second (polling every 2 s through top left a finished 3 s
-# render waiting up to 3 s more)
-tick=0
-while kill -0 $job 2>/dev/null; do
- sleep 0.2
- tick=$((tick + 1))
- [ $((tick % 5)) -eq 0 ] || continue
- kill -0 $job 2>/dev/null || break
- for p in $(pgrep -f VTDecoderXPCService); do v=$(mb $p); [ "${v:-0}" -gt $peak_vt ] && peak_vt=$v; if [ "${v:-0}" -gt $vt_cap ]; then echo "guarded: VTDecoderXPCService at ${v} MB: killing" >&2; pkill -f "rdb render"; kill $p; fi; done
- for p in $(pgrep -f "rdb render"); do v=$(mb $p); [ "${v:-0}" -gt $peak_r ] && peak_r=$v; if [ "${v:-0}" -gt $render_cap ]; then echo "guarded: render at ${v} MB: killing" >&2; kill $p; fi; done
-done
-wait $job; rc=$?
-echo "guarded: exit $rc, peak decoder ${peak_vt} MB, peak render ${peak_r} MB" >&2
-exit $rc
diff --git a/rdb/bench/metal-trace.txt b/rdb/bench/metal-trace.txt
deleted file mode 100644
index bdc6e822..00000000
--- a/rdb/bench/metal-trace.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-Metal System Trace (xcrun xctrace record --template 'Metal System Trace', headless), the UGC edit's frames 200-259 with RAEA_SERIAL, M4, 2026-10-14. GPU time per update (69 updates: 60 frames, 8 warm-ups, the careful first frame), by Bevy's command-buffer label, rdb's process only (bench script: the scratchpad's gpuagg2.py over the metal-gpu-intervals and metal-application-encoders-list tables).
-
-== step 0 path (RAEA_READBACK=rgba RAEA_COMPOSITE=ui; today's engine: no MSAA for an edit without 3D)
- 2.295 ms 1.2x Fragment ui
- 1.161 ms 1.0x Fragment clustering count pass
- 0.875 ms 1.0x Compute (unlabelled)
- 0.544 ms 1.1x Compute (wgpu internal) Signal
- 0.355 ms 1.0x Fragment main_opaque_pass_3d
- 0.225 ms 0.9x Fragment upscaling
- 0.142 ms 1.0x Fragment clustering populate pass
- 0.127 ms 1.0x Compute (wgpu internal) Transit
- 0.087 ms 1.0x Vertex ui
- 0.083 ms 4.1x Compute (wgpu internal) Pre Pass
- 0.067 ms 1.0x Compute clustering allocation local pass
- 0.051 ms 1.0x Vertex clustering count pass
- 0.051 ms 1.0x Compute clustering allocation global pass
- 0.042 ms 0.2x Fragment (wgpu internal) Signal
- 0.027 ms 1.0x Compute Command Buffer 0
- 0.025 ms 1.0x Vertex clustering populate pass
- 0.024 ms 0.0x Fragment (unlabelled)
- 0.021 ms 0.8x Vertex upscaling
- 0.018 ms 1.0x Compute clustering Z slicing pass
- 0.011 ms 0.0x Compute (wgpu internal) PendingWrites
- 0.011 ms 1.0x Vertex main_opaque_pass_3d
- 0.004 ms 0.2x Vertex (wgpu internal) Signal
- 6.246 ms per update in all (69 updates)
-
-== the engine's GPU path (default)
- 2.208 ms 2.2x Compute Command Buffer 0
- 0.470 ms 2.1x Compute (wgpu internal) Signal
- 0.286 ms 1.0x Compute (unlabelled)
- 0.235 ms 1.0x Fragment main_opaque_pass_3d
- 0.158 ms 1.0x Fragment upscaling
- 0.139 ms 1.0x Compute (wgpu internal) Transit
- 0.114 ms 1.0x Fragment clustering count pass
- 0.065 ms 4.1x Compute (wgpu internal) Pre Pass
- 0.042 ms 1.0x Fragment clustering populate pass
- 0.041 ms 1.0x Compute clustering allocation global pass
- 0.037 ms 1.0x Compute clustering allocation local pass
- 0.035 ms 0.0x Compute (wgpu internal) PendingWrites
- 0.032 ms 1.0x Vertex clustering populate pass
- 0.025 ms 1.0x Vertex ui
- 0.018 ms 1.0x Compute clustering Z slicing pass
- 0.016 ms 1.0x Vertex upscaling
- 0.016 ms 1.0x Vertex clustering count pass
- 0.015 ms 1.0x Fragment ui
- 0.006 ms 1.0x Vertex main_opaque_pass_3d
- 3.957 ms per update in all (69 updates)
diff --git a/rdb/bench/playback-recheck.txt b/rdb/bench/playback-recheck.txt
deleted file mode 100644
index 12ecf21a..00000000
--- a/rdb/bench/playback-recheck.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-Playback re-check, 2026-10-14 (after the G8 work): ffprobe -count_frames, ffmpeg decode errors, AVFoundation (raea-media playable: AVAssetReader, headless)
-ugc-apple.mp4: h264|738 aac|1154 24.618667 | ffmpeg errors 0 | {"audio_error":null,"audio_samples_decoded":1179584,"avfoundation_playable":true,"avfoundation_readable":true,"duration":24.6,"file":"ugc-apple.mp4","video_error":null,"video_frames_decoded":738}
-ugc-soft.mp4: h264|738 opus|1230 24.600000 | ffmpeg errors 0 | {"audio_error":null,"audio_samples_decoded":1180800,"avfoundation_playable":true,"avfoundation_readable":true,"duration":24.6,"file":"ugc-soft.mp4","video_error":null,"video_frames_decoded":738}
-ugc-av1.mp4: av1|738 opus|1230 24.600000 | ffmpeg errors 0 | {"audio_error":null,"audio_samples_decoded":1180800,"avfoundation_playable":true,"avfoundation_readable":true,"duration":24.6,"file":"ugc-av1.mp4","video_error":null,"video_frames_decoded":738}
-ugc-ffmpeg.mp4: h264|738 aac|1154 24.600000 | ffmpeg errors 0 | {"audio_error":null,"audio_samples_decoded":1180800,"avfoundation_playable":true,"avfoundation_readable":true,"duration":24.6,"file":"ugc-ffmpeg.mp4","video_error":null,"video_frames_decoded":738}
-ugc-g8.mp4: h264|738 aac|1154 24.618667 | ffmpeg errors 0 | {"audio_error":null,"audio_samples_decoded":1179584,"avfoundation_playable":true,"avfoundation_readable":true,"duration":24.6,"file":"ugc-g8.mp4","video_error":null,"video_frames_decoded":738}
diff --git a/rdb/bench/playback.jsonl b/rdb/bench/playback.jsonl
deleted file mode 100644
index aac9f219..00000000
--- a/rdb/bench/playback.jsonl
+++ /dev/null
@@ -1,4 +0,0 @@
-{"audio_error":null,"audio_samples_decoded":1179584,"avfoundation_playable":true,"avfoundation_readable":true,"duration":24.6,"file":"../out/ugc-apple.mp4","video_error":null,"video_frames_decoded":738}
-{"audio_error":null,"audio_samples_decoded":1180800,"avfoundation_playable":true,"avfoundation_readable":true,"duration":24.6,"file":"../out/ugc-soft.mp4","video_error":null,"video_frames_decoded":738}
-{"audio_error":null,"audio_samples_decoded":1180800,"avfoundation_playable":true,"avfoundation_readable":true,"duration":24.6,"file":"../out/ugc-ffmpeg.mp4","video_error":null,"video_frames_decoded":738}
-{"audio_error":null,"audio_samples_decoded":1180800,"avfoundation_playable":true,"avfoundation_readable":true,"duration":24.6,"file":"../out/ugc-av1.mp4","video_error":null,"video_frames_decoded":738}
diff --git a/rdb/bench/queries.py b/rdb/bench/queries.py
deleted file mode 100644
index 936d82e6..00000000
--- a/rdb/bench/queries.py
+++ /dev/null
@@ -1,26 +0,0 @@
-"""Phase 4's query check: the live hook edit built from its snippets, then each query in bench/queries.sql answered from
-our columns against DuckDB's recorded answers (bench/ref/queries.json). python3 bench/queries.py BIN EDIT"""
-import subprocess, sys, json
-B, E = sys.argv[1], sys.argv[2]
-for b in [b.strip() for b in open("examples/hook/snippets.sql").read().split("\n--\n")]:
- if b and not all(l.strip().startswith("--") for l in b.splitlines()):
- r = subprocess.run([B, "apply", E, b], capture_output=True, text=True, cwd="examples/hook")
- assert r.returncode == 0, r.stderr
-ref = json.load(open("bench/ref/queries.json"))
-agg = False
-def same(a, b):
- if isinstance(a, (int, float)) and isinstance(b, (int, float)): return float(a) == float(b) or (agg and abs(a - b) <= 1e-12 * max(abs(a), abs(b)))
- if isinstance(b, str) and isinstance(a, str):
- try: return json.loads(a) == json.loads(b)
- except Exception: return a == b
- return a == b
-bad = 0
-for r in ref:
- p = subprocess.run([B, "query", E, r["q"]], capture_output=True, text=True)
- if p.returncode: print("ERR", r["q"], p.stderr.strip()[:300]); bad += 1; continue
- agg = any(f in r["q"] for f in ("sum(", "avg("))
- got = [list(x.values()) for x in json.loads(p.stdout)]
- ok = len(got) == len(r["rows"]) and all(len(g) == len(w) and all(same(x, y) for x, y in zip(g, w)) for g, w in zip(got, r["rows"]))
- if not ok:
- bad += 1; print("DIFF", r["q"]); print(" want", str(r["rows"])[:300]); print(" got ", str(got)[:300])
-print(f"{len(ref)-bad}/{len(ref)} queries answer as DuckDB did")
diff --git a/rdb/bench/queries.sql b/rdb/bench/queries.sql
deleted file mode 100644
index e1879689..00000000
--- a/rdb/bench/queries.sql
+++ /dev/null
@@ -1,29 +0,0 @@
--- The agent's read queries (G5's query tool: one SELECT over the kinds, keys, rule, asset, move), one per line.
--- bench/ref/queries.json holds DuckDB's answers on the live hook edit, recorded before phase 4 replaced DuckDB.
--- Values compare exactly, except sums and averages to 1e-12 relative: DuckDB's float summation order is its own.
-SELECT * FROM cube
-SELECT id, class, y FROM sphere ORDER BY id
-SELECT id, size FROM sphere WHERE class = 'ring' AND size > 0.3 ORDER BY id DESC LIMIT 3
-SELECT count(*) FROM sphere
-SELECT class, count(*) AS n, avg(size) AS mean, max(y) AS top FROM sphere GROUP BY class ORDER BY class
-SELECT * FROM keys ORDER BY id, prop, frame
-SELECT id, prop, min(frame) AS first, max(frame) AS last, count(*) AS n FROM keys GROUP BY id, prop ORDER BY id, prop
-SELECT name, sql FROM rule ORDER BY seq
-SELECT name FROM rule WHERE sql LIKE '%sphere%' ORDER BY name
-SELECT n, text FROM move ORDER BY n DESC LIMIT 5
-SELECT count(*) AS moves FROM move
-SELECT fps, width, height, frames FROM edit
-SELECT frames / fps AS seconds FROM edit
-SELECT id, text, size, y FROM caption ORDER BY y
-SELECT text, color FROM title
-SELECT id FROM sphere WHERE id IN ('ring0', 'ring3', 'ring9') ORDER BY id
-SELECT id, y FROM sphere WHERE y BETWEEN 0.5 AND 1.5 ORDER BY y, id
-SELECT DISTINCT class FROM sphere ORDER BY class
-SELECT id, size * 2 AS double_size, upper(color) AS c FROM sphere WHERE class <> 'ring' ORDER BY id
-SELECT kind, col, frames, ease, align FROM transition ORDER BY seq
-SELECT count(*) FROM asset
-SELECT id, lux FROM light
-SELECT id, bg, look_y FROM camera
-SELECT id, visible FROM face WHERE visible IS NOT NULL
-SELECT sum(size) AS total, min(size) AS smallest FROM sphere WHERE class = 'ring'
-SELECT id FROM sphere ORDER BY seq LIMIT 2 OFFSET 1
diff --git a/rdb/bench/ref/g1.txt b/rdb/bench/ref/g1.txt
deleted file mode 100644
index 0d4965aa..00000000
--- a/rdb/bench/ref/g1.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-22 snippets applied as 22 moves in Ns, each previewed at frames [0, 14, 45, 90, 140]
-live == file-built: true
-reloaded tables == saved: true
-reloaded frames == live: true
-undo restores the earlier state exactly: 21/21
-undo restores the earlier frames: 20/20
- (the same on the long-lived engine: 19/20)
-G1 pass test: ok
-exit 0
diff --git a/rdb/bench/ref/hook-gpu.txt b/rdb/bench/ref/hook-gpu.txt
deleted file mode 100644
index 8c71a4c8..00000000
--- a/rdb/bench/ref/hook-gpu.txt
+++ /dev/null
@@ -1,150 +0,0 @@
-0 361f55a96a56c439
-1 5714871d9e645af1
-2 9c244ca741a10a7a
-3 34712512a0718a24
-4 d68742beb6797a8b
-5 f640ac82ea073cea
-6 7bf78bd931df1b1d
-7 ac3ff040e8092fc6
-8 f8dce1664d414882
-9 0a281903a19bb001
-10 3da8047949a9bdf5
-11 31d8967f8a04ad5d
-12 485b5738dd99dd44
-13 7504f5b2cdcc1cd7
-14 33c491fb41147f01
-15 aec41a7207572ede
-16 04f0e7ae72b72f14
-17 26a2da09741c029d
-18 1c374232bdbe0aec
-19 eb397e517a6cfcf8
-20 01889004926696c9
-21 f2aa6c1fc9af8408
-22 74ff32e21545396c
-23 763cd5417df7ec00
-24 27d12cb5a1f77c33
-25 ceeb253951149531
-26 cb98d9659ac6e4d8
-27 df2e471c6afc6fd0
-28 97c9b2d08f5770b3
-29 c80278a7783bc89f
-30 dbe6d1cb2c51cd5a
-31 6c8f0a15d60befe3
-32 eb1a710c460afe2e
-33 e248a199f5fc07de
-34 012105794625861f
-35 4f3d07c5d41630bf
-36 6101ed8bc9b9c584
-37 74735a5c155d22a4
-38 41c1016704301921
-39 2d93462b5d7260e6
-40 bbcd336dfc3cc974
-41 04dfd3ee28b2ec98
-42 c2d4f9af97c04009
-43 77651b47c8900b4c
-44 f007c1eb0a55924f
-45 2e98e2a1977b1402
-46 57b0a8ba991c2ea8
-47 0dee95945eb69cfc
-48 5adef5f5a9b979ac
-49 1ac9d8d84761054b
-50 5a6efe21da52fc72
-51 2097ee435f8a13a7
-52 2f26bd5e777d1bb5
-53 462d71a743f4d006
-54 6ed07d6d6c0b9f34
-55 c0b3e217cf9c05c3
-56 c891031ccfe79472
-57 efaa60de4f0e80d0
-58 2d41e4b6fc65ee70
-59 17507d24ba744d63
-60 96ab2a4568888c28
-61 61e6bec71e99af1a
-62 09bc18a520cf140e
-63 7a7264828f323168
-64 65311e0df251d1da
-65 36896432cea23d65
-66 fc3ed2e5d631796e
-67 cc5eb8ee2231b7fc
-68 bf031098eb218a8a
-69 5cac1e0cff7817c3
-70 5719fce780c1ef15
-71 609ed53c26d8d6a1
-72 96693bc615f6e3bc
-73 0aa6dec72714e1b2
-74 fcd848e0d6e618ab
-75 d1ca87e20dee0698
-76 519bc18523f88d46
-77 399138c7274e39cd
-78 4a6679f1ac1dd816
-79 733517d3de90f9c5
-80 cd3559800bbb947f
-81 8c41c8a244f3e748
-82 dfb4d09ff30987fc
-83 0abfa637c1f835f0
-84 c2060417471a2177
-85 3d6e6d4bc49e2a9d
-86 b04e5b1ba237f1ab
-87 c3cf73911ab1ab8a
-88 60b6896279fdb6a0
-89 0f3e1cf9d0818915
-90 ca1d045cd26bb389
-91 bbdbd388bcb72b71
-92 112ad03345ff4f38
-93 83c4bcc4c5d00a2c
-94 fd321f8ff6e1afe8
-95 da60dca8bdf2f94e
-96 6314301ecc251e25
-97 1451e15614c316a7
-98 f65a2095e99cbfeb
-99 0b1ac34acf46e401
-100 c02151869cbbe967
-101 0d25b4e4f21aa2af
-102 90ffa00ceb694ec9
-103 c4894759a53234ed
-104 223f7c8adbd7cd62
-105 757a59b845921e15
-106 18fd8c8bf3bafc94
-107 93ef187666f36734
-108 6c45f8310373ba3e
-109 40a2121f6d489dc2
-110 383d0433d3bd1e19
-111 3de0afad2b06124d
-112 4d09a6b5845488cc
-113 17792c19a8430e54
-114 d91db866fd2c2f69
-115 b74ced3b536f1ac1
-116 4365ef8f1126fa35
-117 c90555bc40308946
-118 7a488560c5d5b9fb
-119 6acf7156bbfae53f
-120 9e08369d2b1b3cb6
-121 feb100165f424619
-122 69024e12fd8662d1
-123 611943d6d238d57e
-124 1275cb53cd80b868
-125 5fa09b77d0a7a692
-126 ecf6f858da1304c2
-127 cc7682aa1476dac4
-128 d34fd747cc43ca05
-129 39621e029756da94
-130 56513eddb2c1f813
-131 34407d4e91198f5f
-132 d31a655d2ce7c2c3
-133 1dcd31cfb04f5106
-134 750d1768d3983e1e
-135 f8ee45643b69e76a
-136 ca92a36a572b2974
-137 6f5294fc4ecb6645
-138 b5fc512200f5d6ed
-139 c8af7341a6b95c4c
-140 8630df0781c0a731
-141 b7c66e9192b12cdb
-142 15c83ff4331a090a
-143 9a7fca1931d9dcb2
-144 499a4cbc9c743a0f
-145 cf88bbd48c4ad85c
-146 a48a42c9a3667b54
-147 d5341a807314f2da
-148 68ecbbc61c248a7a
-149 454c52141359b76b
diff --git a/rdb/bench/ref/hook-rgba.txt b/rdb/bench/ref/hook-rgba.txt
deleted file mode 100644
index 7567a6f8..00000000
--- a/rdb/bench/ref/hook-rgba.txt
+++ /dev/null
@@ -1,150 +0,0 @@
-0 08a15c5b5729f4ed
-1 f36b06ae50e47614
-2 46f3494ef8841046
-3 62ce400c2a2277ef
-4 6b07dd5b69e28e06
-5 cd1830b87a721fe0
-6 c684058e3b89afbc
-7 2e232fc4ab9eb25f
-8 3bddf3ed59a3326b
-9 d19c248444db68f5
-10 a3583f3c4427d49d
-11 3b54e3f674bac945
-12 eda8a0cecc16c2fa
-13 9b17e302f6ed30db
-14 9ffbaf40356a48b1
-15 f6c0514834644a90
-16 1d30f3c2e113fd54
-17 cee398226a2d8a69
-18 b1e29378f5c95bd3
-19 919b59028cfdd1b6
-20 eef14f0815aa8162
-21 8c914a525364ea72
-22 4c7cd7812b33c38b
-23 f5533a65550f2cb7
-24 99d39fc101b781b4
-25 05abb18f0d5a9bde
-26 c5a3d60448181af6
-27 7cae3066ff4ddc18
-28 ed3665cb309f3dfa
-29 8186b93f44e4aca4
-30 15a0dd3bcc9a56d0
-31 3934d3fdb72c11cf
-32 6100de2a632030c7
-33 1e487a24b68ae77b
-34 442a47ca0d8ccecc
-35 f77c737c05a31a8f
-36 e9102c91162c49ed
-37 2fb781899048ae12
-38 c3595800e0bc2b28
-39 fd43f1cc4d00e428
-40 7f4ea8f606ee3845
-41 9efc27514c84af23
-42 e24843bfaf9278b2
-43 c480248397ec0388
-44 0e607acfcce12935
-45 559fe1e6587df619
-46 dc5de7d77b456cac
-47 6bba67a12388ac1d
-48 4259bab40d4abd66
-49 dd042025dd77f7d1
-50 bf7045cee04218f1
-51 4086e9360d9b35d4
-52 e9575aae030fc4ce
-53 31e01b8ac78cbdef
-54 417f19a0bd52137e
-55 e94ca64d6ee8d4b4
-56 fffc1ee857606135
-57 e9c2bc1a37a8d267
-58 1a88e0a1227c7ee5
-59 854a35f09612eb98
-60 608e8f99968569d2
-61 f3687d5170b65a3e
-62 32a918f8ee7c35fe
-63 47b82a8ee2301575
-64 0141fd31ae21431e
-65 470f325705ebc952
-66 41cad6153737fd37
-67 1690ca00b273f696
-68 acaab2a0841d0b16
-69 5084b4b665594967
-70 709a9eed36d0cb99
-71 054612902ec3391d
-72 a792c92c617bd893
-73 4e6f1ed282d6ce97
-74 3a74b62f9cd0d6f9
-75 7f784f388e1e49a7
-76 9b1f31f672586fd7
-77 6eef4827b05d84a8
-78 40b4adcc2f1c6b06
-79 92500c602b0386f1
-80 706738e1f1d551ad
-81 dc88202fa3a659a9
-82 3736245d6e4a08a9
-83 62b2468ef26f078e
-84 20425c2e0b69e26a
-85 d43bc53d880a9891
-86 da2334d4c0668bc3
-87 3880641c4c9f57d3
-88 0229fd8125dc4ac5
-89 b0fcf27f32e4b802
-90 b1ff24a3760fec9a
-91 f6da1092cfd61131
-92 13473b555b1f7168
-93 936178d5d054df7f
-94 81b6e4db1cace88e
-95 b3006e194e2a823b
-96 c91374399b2425fe
-97 e2f417d90501cdca
-98 af4550f22c8edb98
-99 f858d8635dc85c8f
-100 4e6864f2c0f68784
-101 93b5ac4cc047d81e
-102 74eccfd26f59ffcd
-103 5837037e755ff2b0
-104 798f888c9526dcfc
-105 aa323f2b78cac19b
-106 e1b60251475af84b
-107 61eca111a87a5d19
-108 c21476c6eb293436
-109 cb5d65e7c48a6e93
-110 9f57dd1563d1c986
-111 9d288a3175d85a42
-112 16c3f9054485181e
-113 d0065d7af08e0598
-114 3d038179962a36fe
-115 f069a1501bd0c7e3
-116 912c0ddd817ab399
-117 842075d93581d45f
-118 b9f4b4c62d7457e8
-119 c29b49308b280314
-120 1a687764eb95f740
-121 b69510fbdcfe45c7
-122 8396f2df5f6bdc04
-123 a37eb8e23488ae17
-124 ea2ce59342f767cf
-125 07333f863b4fc788
-126 d3a09a8f7b803a08
-127 f2d8611e6502b2ed
-128 78d95c6443a15b78
-129 482643534323c6a1
-130 2de5568049358c85
-131 f2466c790a353766
-132 dc688af5e2e04194
-133 9491a8f5c4999804
-134 8894ae55bd404b1e
-135 918a2115b89b5d60
-136 1e8141ae68a5b434
-137 7845329083d8ffb7
-138 fc98337e99139566
-139 ea788718e9d9ebe3
-140 be336726e12b673a
-141 e0f2a64ab2139b04
-142 5a0b438cfb56a662
-143 5c04645a06c2e36e
-144 955ed7a54059a27d
-145 42380dcd0d54a940
-146 eadfdc6c375e6a3d
-147 5df165684126dd2f
-148 dcad7e6eace22ed5
-149 bd7548d10bb325be
diff --git a/rdb/bench/ref/live.txt b/rdb/bench/ref/live.txt
deleted file mode 100644
index 431c2fb6..00000000
--- a/rdb/bench/ref/live.txt
+++ /dev/null
@@ -1,50 +0,0 @@
-apply 0 [' after: [{"edit":[30.0,1080,1920,150]}]']
-apply 0 [' after: [{"bg":"#1b1f3a","id":"cam","kind":"camera","look_y":1.0,"x":0.0,"y":2.2,"z":9.0}]']
-apply 0 [' after: [{"dir_x":-0.5,"dir_y":-1.0,"dir_z":-0.4,"id":"sun","kind":"light","lux":9000.0}]']
-apply 0 [' after: [{"color":"#2a2440","id":"floor","kind":"plane","size":30.0}]']
-apply 0 [' after: [{"color":"#ff7a59","id":"hero","kind":"cube","rough":0.3,"size":1.6,"y":1.4}]']
-apply 0 [' after: [{"color":"#3fd28a","id":"hero","kind":"cube","rough":0.3,"size":1.6,"y":1.4}]']
-apply 0 [' after: 14 rows (ring0, ring1, ring10, ring11 ...)']
-apply 0 [' after: [{"color":"#fff8ec","font":"Avenir Next","id":"hook","kind":"title","opacity":0.0,"size":120.0,"text":"Stop scrolling","weight":800.0,"y":260.0},{"color":"#ffcc66","font":"Avenir Next","id":"sub","kind":"title","opacity":0.0,"size":52.0,"text":"this changes your mornings","weight":600.0,"y":410.0}]']
-apply 0 [' after: [{"color":"#ffffff","font":"Avenir Next","height":80.0,"id":"cap","kind":"caption","size":64.0,"text":"one serum, one step","weight":700.0,"y":1480.0}]']
-apply 0 [' after: [{"id":"face","kind":"face","visible":0.0,"y":1520.0}]']
-apply 0 [' after: [{"keys":{"ease":"step","frame":0,"id":"face","prop":"visible","value":0.0}},{"keys":{"ease":"step","frame":60,"id":"face","prop":"visible","value":1.0}},{"keys":{"ease":"linear","frame":60,"id":"face","prop":"y","value":1520.0}},{"keys":{"ease":"linear","frame":120,"id":"face","prop":"y","value":1300.0}}]']
-apply 0 [' after: [{"keys":{"ease":"out","frame":0,"id":"hook","prop":"y","value":340.0}},{"keys":{"ease":"out","frame":18,"id":"hook","prop":"y","value":260.0}},{"keys":{"ease":"out","frame":14,"id":"sub","prop":"y","value":470.0}},{"keys":{"ease":"out","frame":32,"id":"sub","prop":"y","value":410.0}}]']
-apply 0 [' after: [{"rule":"hero-turns","sql":"UPDATE cube SET rot_y = frame * 2 * pi() / 180 WHERE id = \'hero\'"}]']
-apply 0 [' after: [{"rule":"wobble","sql":"UPDATE cube SET rot_x = 0.3 * sin(frame * 0.2) WHERE id = \'hero\'"}]']
-apply 0 [' after: [{"rule":"ring-orbits","sql":"UPDATE sphere SET\\n x = 2.4 * cos(2 * pi() * (row_number() OVER () / count(*) OVER () + frame * 0.004)),\\n z = 2.4 * sin(2 * pi() * (row_number() OVER () / count(*) OVER () + frame * 0.004)),\\n y = 0.6 + 0.5 * sin(2 * pi() * row_number() OVER () * 3 / count(*) OVER () + frame * 0.08)\\n WHERE class = \'ring\'"}]']
-apply 0 [' after: [{"rule":"ring-size-follows-height","sql":"UPDATE sphere SET scale = 0.55 + 0.6 * y / max(y) OVER () WHERE class = \'ring\'"}]']
-apply 0 [' after: []']
-apply 0 [' after: [{"rule":"hook-fades-in","sql":"UPDATE title SET opacity = least(1, frame / 14) WHERE id = \'hook\'"}]']
-apply 0 [' after: [{"rule":"sub-fades-in","sql":"UPDATE title SET opacity = least(1, (frame - 14) / 18) WHERE id = \'sub\' AND frame >= 14"}]']
-apply 0 [' after: [{"color":"#ff7a59","id":"hero","kind":"cube","rough":0.3,"size":1.6,"y":1.4}]']
-apply 0 [' after: [{"rule":"caption-clears-face","sql":"UPDATE caption SET y = least(y, (SELECT min(y) FROM face WHERE visible = 1) - height - 24)\\n WHERE (SELECT count(*) FROM face WHERE visible = 1) > 0"}]']
-apply 0 [' after: []']
- 1 INSERT INTO edit VALUES (30, 1080, 1920, 150)
- 2 INSERT INTO camera (id, x, y, z, look_y, bg) VALUES ('cam', 0, 2.2, 9, 1, '#1b1f3a')
- 3 INSERT INTO light (id, dir_x, dir_y, dir_z, lux) VALUES ('sun', -0.5, -1, -0.4, 9000)
- 4 INSERT INTO plane (id, size, color) VALUES ('floor', 30, '#2a2440')
- 5 INSERT INTO cube (id, size, color, y, rough) VALUES ('hero', 1.6, '#ff7a59', 1.4, 0.3)
- 6 UPDATE cube SET color = '#3fd28a' WHERE id = 'hero'
- 7 INSERT INTO sphere (id, class, size, color, y, rough, metal) SELECT 'ring' || i, 'ring', 0.38, '#ffd8c2', 0.6, 0.2, 0.3 FROM range(14) t (i)
- 8 INSERT INTO title (id, text, font, weight, size, color, y, opacity) VALUES ('hook', 'Stop scrolling', 'Avenir Next', 800, 120, '#fff8ec', 260, 0), ('sub', 'this changes your mornings', 'Avenir Next', 600, 52, '#ffcc66', 410, 0)
- 9 INSERT INTO caption (id, text, font, weight, size, color, y, height) VALUES ('cap', 'one serum, one step', 'Avenir Next', 700, 64, '#ffffff', 1480, 80)
- 10 INSERT INTO face (id, y, visible) VALUES ('face', 1520, 0)
- 11 INSERT INTO keys VALUES ('face', 'visible', 0, 0, 'step'), ('face', 'visible', 60, 1, 'step'), ('face', 'y', 60, 1520, 'linear'), ('face', 'y', 120, 1300, 'linear')
- 12 INSERT INTO keys VALUES ('hook', 'y', 0, 340, 'out'), ('hook', 'y', 18, 260, 'out'), ('sub', 'y', 14, 470, 'out'), ('sub', 'y', 32, 410, 'out')
- 13 INSERT INTO rule (name, sql) VALUES ('hero-turns', $$UPDATE cube SET rot_y = frame * 2 * pi() / 180 WHERE id = 'hero'$$)
- 14 INSERT INTO rule (name, sql) VALUES ('wobble', $$UPDATE cube SET rot_x = 0.3 * sin(frame * 0.2) WHERE id = 'hero'$$)
- 15 INSERT INTO rule (name, sql) VALUES ('ring-orbits', $$UPDATE sphere SET
- x = 2.4 * cos(2 * pi() * (row_number() OVER () / count(*) OVER () + frame * 0.004)),
- z = 2.4 * sin(2 * pi() * (row_number() OVER () / count(*) OVER () + frame * 0.004)),
- y = 0.6 + 0.5 * sin(2 * pi() * row_number() OVER () * 3 / count(*) OVER () + frame * 0.08)
- WHERE class = 'ring'$$)
- 16 INSERT INTO rule (name, sql) VALUES ('ring-size-follows-height', $$UPDATE sphere SET scale = 0.55 + 0.6 * y / max(y) OVER () WHERE class = 'ring'$$)
- 17 DELETE FROM rule WHERE name = 'wobble'
- 18 INSERT INTO rule (name, sql) VALUES ('hook-fades-in', $$UPDATE title SET opacity = least(1, frame / 14) WHERE id = 'hook'$$)
- 19 INSERT INTO rule (name, sql) VALUES ('sub-fades-in', $$UPDATE title SET opacity = least(1, (frame - 14) / 18) WHERE id = 'sub' AND frame >= 14$$)
- 20 UPDATE cube SET color = '#ff7a59' WHERE id = 'hero'
- 21 INSERT INTO rule (name, sql) VALUES ('caption-clears-face', $$UPDATE caption SET y = least(y, (SELECT min(y) FROM face WHERE visible = 1) - height - 24)
- WHERE (SELECT count(*) FROM face WHERE visible = 1) > 0$$)
- 22 INSERT INTO transition (kind, col, frames, ease, align) VALUES ('caption', 'y', 10, 'out', 'before')
-live.rdb 150 d33c8739979bb9d5
diff --git a/rdb/bench/ref/queries.json b/rdb/bench/ref/queries.json
deleted file mode 100644
index ca712221..00000000
--- a/rdb/bench/ref/queries.json
+++ /dev/null
@@ -1,608 +0,0 @@
-[
- {
- "q": "SELECT * FROM cube",
- "rows": [
- [
- 3,
- "hero",
- "#ff7a59",
- 0.3,
- 1.6,
- 1.4
- ]
- ],
- "cols": [
- "seq",
- "id",
- "color",
- "rough",
- "size",
- "y"
- ]
- },
- {
- "q": "SELECT id, class, y FROM sphere ORDER BY id",
- "rows": [
- [
- "ring0",
- "ring",
- 0.6
- ],
- [
- "ring1",
- "ring",
- 0.6
- ],
- [
- "ring10",
- "ring",
- 0.6
- ],
- [
- "ring11",
- "ring",
- 0.6
- ],
- [
- "ring12",
- "ring",
- 0.6
- ],
- [
- "ring13",
- "ring",
- 0.6
- ],
- [
- "ring2",
- "ring",
- 0.6
- ],
- [
- "ring3",
- "ring",
- 0.6
- ],
- [
- "ring4",
- "ring",
- 0.6
- ],
- [
- "ring5",
- "ring",
- 0.6
- ],
- [
- "ring6",
- "ring",
- 0.6
- ],
- [
- "ring7",
- "ring",
- 0.6
- ],
- [
- "ring8",
- "ring",
- 0.6
- ],
- [
- "ring9",
- "ring",
- 0.6
- ]
- ],
- "cols": [
- "id",
- "class",
- "y"
- ]
- },
- {
- "q": "SELECT id, size FROM sphere WHERE class = 'ring' AND size > 0.3 ORDER BY id DESC LIMIT 3",
- "rows": [
- [
- "ring9",
- 0.38
- ],
- [
- "ring8",
- 0.38
- ],
- [
- "ring7",
- 0.38
- ]
- ],
- "cols": [
- "id",
- "size"
- ]
- },
- {
- "q": "SELECT count(*) FROM sphere",
- "rows": [
- [
- 14
- ]
- ],
- "cols": [
- "count_star()"
- ]
- },
- {
- "q": "SELECT class, count(*) AS n, avg(size) AS mean, max(y) AS top FROM sphere GROUP BY class ORDER BY class",
- "rows": [
- [
- "ring",
- 14,
- 0.37999999999999995,
- 0.6
- ]
- ],
- "cols": [
- "class",
- "n",
- "mean",
- "top"
- ]
- },
- {
- "q": "SELECT * FROM keys ORDER BY id, prop, frame",
- "rows": [
- [
- 0,
- "face",
- "visible",
- 0,
- 0.0,
- "step"
- ],
- [
- 1,
- "face",
- "visible",
- 60,
- 1.0,
- "step"
- ],
- [
- 2,
- "face",
- "y",
- 60,
- 1520.0,
- "linear"
- ],
- [
- 3,
- "face",
- "y",
- 120,
- 1300.0,
- "linear"
- ],
- [
- 4,
- "hook",
- "y",
- 0,
- 340.0,
- "out"
- ],
- [
- 5,
- "hook",
- "y",
- 18,
- 260.0,
- "out"
- ],
- [
- 6,
- "sub",
- "y",
- 14,
- 470.0,
- "out"
- ],
- [
- 7,
- "sub",
- "y",
- 32,
- 410.0,
- "out"
- ]
- ],
- "cols": [
- "seq",
- "id",
- "prop",
- "frame",
- "value",
- "ease"
- ]
- },
- {
- "q": "SELECT id, prop, min(frame) AS first, max(frame) AS last, count(*) AS n FROM keys GROUP BY id, prop ORDER BY id, prop",
- "rows": [
- [
- "face",
- "visible",
- 0,
- 60,
- 2
- ],
- [
- "face",
- "y",
- 60,
- 120,
- 2
- ],
- [
- "hook",
- "y",
- 0,
- 18,
- 2
- ],
- [
- "sub",
- "y",
- 14,
- 32,
- 2
- ]
- ],
- "cols": [
- "id",
- "prop",
- "first",
- "last",
- "n"
- ]
- },
- {
- "q": "SELECT name, sql FROM rule ORDER BY seq",
- "rows": [
- [
- "hero-turns",
- "UPDATE cube SET rot_y = frame * 2 * pi() / 180 WHERE id = 'hero'"
- ],
- [
- "ring-orbits",
- "UPDATE sphere SET\n x = 2.4 * cos(2 * pi() * (row_number() OVER () / count(*) OVER () + frame * 0.004)),\n z = 2.4 * sin(2 * pi() * (row_number() OVER () / count(*) OVER () + frame * 0.004)),\n y = 0.6 + 0.5 * sin(2 * pi() * row_number() OVER () * 3 / count(*) OVER () + frame * 0.08)\n WHERE class = 'ring'"
- ],
- [
- "ring-size-follows-height",
- "UPDATE sphere SET scale = 0.55 + 0.6 * y / max(y) OVER () WHERE class = 'ring'"
- ],
- [
- "hook-fades-in",
- "UPDATE title SET opacity = least(1, frame / 14) WHERE id = 'hook'"
- ],
- [
- "sub-fades-in",
- "UPDATE title SET opacity = least(1, (frame - 14) / 18) WHERE id = 'sub' AND frame >= 14"
- ],
- [
- "caption-clears-face",
- "UPDATE caption SET y = least(y, (SELECT min(y) FROM face WHERE visible = 1) - height - 24)\n WHERE (SELECT count(*) FROM face WHERE visible = 1) > 0"
- ]
- ],
- "cols": [
- "name",
- "sql"
- ]
- },
- {
- "q": "SELECT name FROM rule WHERE sql LIKE '%sphere%' ORDER BY name",
- "rows": [
- [
- "ring-orbits"
- ],
- [
- "ring-size-follows-height"
- ]
- ],
- "cols": [
- "name"
- ]
- },
- {
- "q": "SELECT n, text FROM move ORDER BY n DESC LIMIT 5",
- "rows": [
- [
- 22.0,
- "INSERT INTO transition (kind, col, frames, ease, align) VALUES ('caption', 'y', 10, 'out', 'before')"
- ],
- [
- 21.0,
- "INSERT INTO rule (name, sql) VALUES ('caption-clears-face', $$UPDATE caption SET y = least(y, (SELECT min(y) FROM face WHERE visible = 1) - height - 24)\n WHERE (SELECT count(*) FROM face WHERE visible = 1) > 0$$)"
- ],
- [
- 20.0,
- "UPDATE cube SET color = '#ff7a59' WHERE id = 'hero'"
- ],
- [
- 19.0,
- "INSERT INTO rule (name, sql) VALUES ('sub-fades-in', $$UPDATE title SET opacity = least(1, (frame - 14) / 18) WHERE id = 'sub' AND frame >= 14$$)"
- ],
- [
- 18.0,
- "INSERT INTO rule (name, sql) VALUES ('hook-fades-in', $$UPDATE title SET opacity = least(1, frame / 14) WHERE id = 'hook'$$)"
- ]
- ],
- "cols": [
- "n",
- "text"
- ]
- },
- {
- "q": "SELECT count(*) AS moves FROM move",
- "rows": [
- [
- 22.0
- ]
- ],
- "cols": [
- "moves"
- ]
- },
- {
- "q": "SELECT fps, width, height, frames FROM edit",
- "rows": [
- [
- 30.0,
- 1080,
- 1920,
- 150
- ]
- ],
- "cols": [
- "fps",
- "width",
- "height",
- "frames"
- ]
- },
- {
- "q": "SELECT frames / fps AS seconds FROM edit",
- "rows": [
- [
- 5.0
- ]
- ],
- "cols": [
- "seconds"
- ]
- },
- {
- "q": "SELECT id, text, size, y FROM caption ORDER BY y",
- "rows": [
- [
- "cap",
- "one serum, one step",
- 64.0,
- 1480.0
- ]
- ],
- "cols": [
- "id",
- "text",
- "size",
- "y"
- ]
- },
- {
- "q": "SELECT text, color FROM title",
- "rows": [
- [
- "Stop scrolling",
- "#fff8ec"
- ],
- [
- "this changes your mornings",
- "#ffcc66"
- ]
- ],
- "cols": [
- "text",
- "color"
- ]
- },
- {
- "q": "SELECT id FROM sphere WHERE id IN ('ring0', 'ring3', 'ring9') ORDER BY id",
- "rows": [
- [
- "ring0"
- ],
- [
- "ring3"
- ],
- [
- "ring9"
- ]
- ],
- "cols": [
- "id"
- ]
- },
- {
- "q": "SELECT id, y FROM sphere WHERE y BETWEEN 0.5 AND 1.5 ORDER BY y, id",
- "rows": [
- [
- "ring0",
- 0.6
- ],
- [
- "ring1",
- 0.6
- ],
- [
- "ring10",
- 0.6
- ],
- [
- "ring11",
- 0.6
- ],
- [
- "ring12",
- 0.6
- ],
- [
- "ring13",
- 0.6
- ],
- [
- "ring2",
- 0.6
- ],
- [
- "ring3",
- 0.6
- ],
- [
- "ring4",
- 0.6
- ],
- [
- "ring5",
- 0.6
- ],
- [
- "ring6",
- 0.6
- ],
- [
- "ring7",
- 0.6
- ],
- [
- "ring8",
- 0.6
- ],
- [
- "ring9",
- 0.6
- ]
- ],
- "cols": [
- "id",
- "y"
- ]
- },
- {
- "q": "SELECT DISTINCT class FROM sphere ORDER BY class",
- "rows": [
- [
- "ring"
- ]
- ],
- "cols": [
- "class"
- ]
- },
- {
- "q": "SELECT id, size * 2 AS double_size, upper(color) AS c FROM sphere WHERE class <> 'ring' ORDER BY id",
- "rows": [],
- "cols": []
- },
- {
- "q": "SELECT kind, col, frames, ease, align FROM transition ORDER BY seq",
- "rows": [
- [
- "caption",
- "y",
- 10.0,
- "out",
- "before"
- ]
- ],
- "cols": []
- },
- {
- "q": "SELECT count(*) FROM asset",
- "rows": [
- [
- 0
- ]
- ],
- "cols": [
- "count_star()"
- ]
- },
- {
- "q": "SELECT id, lux FROM light",
- "rows": [
- [
- "sun",
- 9000.0
- ]
- ],
- "cols": [
- "id",
- "lux"
- ]
- },
- {
- "q": "SELECT id, bg, look_y FROM camera",
- "rows": [
- [
- "cam",
- "#1b1f3a",
- 1.0
- ]
- ],
- "cols": [
- "id",
- "bg",
- "look_y"
- ]
- },
- {
- "q": "SELECT id, visible FROM face WHERE visible IS NOT NULL",
- "rows": [
- [
- "face",
- 0.0
- ]
- ],
- "cols": [
- "id",
- "visible"
- ]
- },
- {
- "q": "SELECT sum(size) AS total, min(size) AS smallest FROM sphere WHERE class = 'ring'",
- "rows": [
- [
- 5.32,
- 0.38
- ]
- ],
- "cols": [
- "total",
- "smallest"
- ]
- },
- {
- "q": "SELECT id FROM sphere ORDER BY seq LIMIT 2 OFFSET 1",
- "rows": [
- [
- "ring1"
- ],
- [
- "ring2"
- ]
- ],
- "cols": [
- "id"
- ]
- }
-]
\ No newline at end of file
diff --git a/rdb/bench/ref/states.txt b/rdb/bench/ref/states.txt
deleted file mode 100644
index 8ba6c9bd..00000000
--- a/rdb/bench/ref/states.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-examples/hook/hook.sql 150 d33c8739979bb9d5
-examples/ugc/ugc.sql 738 af754acb2e12bf27
-examples/ugc/v-empty.sql 738 1df19de2df6f7583
-examples/ugc/v-noclips.sql 738 a7241fcb8e601ec7
-examples/ugc/v-noclip2d.sql 738 c9b522d78f25b2fb
diff --git a/rdb/bench/ref/ugc-direct.txt b/rdb/bench/ref/ugc-direct.txt
deleted file mode 100644
index 35d032ad..00000000
--- a/rdb/bench/ref/ugc-direct.txt
+++ /dev/null
@@ -1,738 +0,0 @@
-0 3428a220db1dbc61
-1 a56d08bc32cb5881
-2 6ddfca7f05b65385
-3 8cede586a3762331
-4 1c1f7be8dbe3295b
-5 053b97b29b856ad1
-6 c1ec487ebe036d68
-7 6f068882c29f8b5b
-8 747f192469b4a726
-9 7f87b83c35e92902
-10 bd2a777b071c2d6f
-11 5c5c3961e42e412a
-12 92438be91b21265a
-13 7173727732df4452
-14 2ec18b02a602e278
-15 f5b7bbbd770c38f8
-16 dba3c995a0bdf76d
-17 8bf43d99fa437d0d
-18 b07c1a339fa14afd
-19 f2488535fe07c440
-20 21c501bd1d822a2e
-21 3373f572215d0fcb
-22 ffcf94baec0274e8
-23 8838cf039b19f10d
-24 d198ce72ce115ead
-25 19b1fe9180b8b742
-26 905876b6b7a54aa0
-27 8c5dc93f5b890fee
-28 474ee3f8e378391a
-29 75901e512e04232a
-30 a0da200376225bbe
-31 6917e7ce9aa8217f
-32 9522bf41617e78ee
-33 029fb12c82c478e7
-34 7410d11fce3a36d3
-35 8752f810b73289c3
-36 1023748416eca9dc
-37 d4b615582b09f0d1
-38 d13ca09df1ec8d2a
-39 77aa07cc110f7952
-40 b074dfedba99fa75
-41 30b50273fd3eee26
-42 ad98a7dbcbe4e320
-43 1f71b9a5cf8ba6bb
-44 efd310d499c4ec6e
-45 192e41fbc6b6b945
-46 8e6acd3d04bc0663
-47 3b8a7ac7ca36c036
-48 21658a871d0d2215
-49 8825db403d03c6e7
-50 741c9666eecbbe3e
-51 df9a7d470f5396ae
-52 c8e3cf7e23a99738
-53 3c75656010c53d36
-54 46fb78aad1721e9f
-55 4f2c41649f9f741e
-56 a0daaa796c455825
-57 74e8b76ab87ab247
-58 0d39c0db8fbf0b03
-59 0d13044e934f9560
-60 5dd7b725c452da15
-61 5c4ee373d248da29
-62 969798d8c6d9e705
-63 630a536b4c9f5b6c
-64 74250c144f45f53a
-65 52fe157834761443
-66 8070999abffab60f
-67 cc6662d7909644d2
-68 61d9f53ec7c820f4
-69 11a31cc83a5220fa
-70 4450d439c9c0c8f6
-71 c9a6318dc9e86586
-72 f5925f85b6e7d571
-73 ee9516a5b4c96696
-74 9d44479e343c2e3a
-75 9e5bcb5d32290673
-76 688706631f490916
-77 492a145e1d49019c
-78 93c2a6bea8bfed14
-79 8c86162254cb6ea6
-80 8f819848f7a8600e
-81 2128b6107b765a4a
-82 e5192f588c74e269
-83 bd96f5a1898bce53
-84 4e20720d9255bc4c
-85 b933844859cfe4b9
-86 2ad75fbf2d94063e
-87 e02f96fc21030fc7
-88 e3aafb1c044db32b
-89 2b3abf3bb5f6aad7
-90 12ba68b40479a2f2
-91 9fe859724558ba69
-92 7b97d5daf3db292d
-93 b0d7971f89588926
-94 94298d4225a9a62a
-95 b1f02ff3fbb0771b
-96 4fe898132ad946a9
-97 76cc767eec89e75f
-98 a0020bee0656b98b
-99 5484afa8bbe100a0
-100 3ffa6a72ef1827a8
-101 c8fa83fe7a0da6c3
-102 85218430e7673020
-103 ac4d34a1004812d1
-104 72dfd9cc159ebd45
-105 6a977ddf1066f955
-106 2b81829dd7e63c04
-107 534a45bb9f5131c8
-108 2437d4a141f49241
-109 8864b69ec0c42474
-110 9e08594656ded58d
-111 ab72050123863d83
-112 0c20eb34f8973622
-113 82d53685e7619638
-114 0c794bf82e23e991
-115 0335a0f6c9ad2a17
-116 ea5c32219fee445b
-117 883cfbb3fa692c67
-118 806bf56b285eda00
-119 a770d95cc2fa67f4
-120 4b2268d8eece4a47
-121 e6f9f540df5969e0
-122 a8cdd61d04902fe2
-123 d3acce300496bf83
-124 a65a2246dc74fb4c
-125 d76c61b7748a133e
-126 63815b7274a5188e
-127 f16554b9035740f7
-128 f87bee3a3250d04c
-129 5f4db428ae9187b4
-130 62ae42eb33130b65
-131 9ae09f79be75bea0
-132 47daee70704628ef
-133 759867e02c9320a2
-134 699b012ff4231747
-135 b8c6dbc3ebc438e5
-136 ca4f93eb8d301666
-137 a2cff9cde0f322d2
-138 e3475847977bc53a
-139 d6c4f543228e76eb
-140 3c8ef598aaa710f5
-141 a6ea7956d221a74f
-142 6c02b4c91619465d
-143 3c69ef22efc8dea2
-144 cee8eabde27ea117
-145 36491922c3407d88
-146 7193eaad3b8f9666
-147 a376d8d25dfd2aea
-148 bcdc002c41c24a94
-149 6a7d6a63d555079c
-150 5be1e50f92e8efd5
-151 b2d66b1750c05773
-152 2790e5ca29e723d6
-153 d5350db68e431f65
-154 dc45ecc636bc8d49
-155 872c7f0c46e2a07f
-156 a896020d922529d8
-157 701e72d781faf695
-158 011aee7420ae52a1
-159 30fea1908a9017f4
-160 94304ebd6466caa1
-161 3cc192fe797ef75b
-162 a510c85e6d39fa17
-163 dabaab750a18c413
-164 29b5eb4655e271ad
-165 ff5a213303a693d4
-166 3c1ceb2becd2309e
-167 d99b10a51d6db631
-168 d7e59d7f40716656
-169 7d3f364151f19325
-170 1b492f586d2fd02f
-171 241c7363d001d25f
-172 0c84109ae4df5b45
-173 923d45ad023f256f
-174 ee57867508364ba5
-175 ced60c25528b8eb0
-176 140baf2308dfb49e
-177 1c3a086663f33af9
-178 8d1e33cf80f4c592
-179 496ac39425684461
-180 4a330f08486ee624
-181 630d8eb2f4d19e49
-182 b5a7bd63cade3623
-183 123af41e55432ed9
-184 4211277491537f08
-185 3b0bb426d6b1619b
-186 17404de726700bd2
-187 a9df2dd020dc7cf0
-188 c642e220e0b7b3ab
-189 23ec4ae320a3f8ae
-190 d93f418d19a0deb1
-191 f2755f2c7f201e19
-192 95d9a8bf93012dd0
-193 db531870c209b3a9
-194 408f86a66e1b8669
-195 ee639755ac66f8a8
-196 0a2d7cbe68206cef
-197 893e3f2b23628c02
-198 33375e077f638d59
-199 a3a876a0439b16c0
-200 e6e963f2a32769eb
-201 2881868cd61af907
-202 acf2dd9e1e23af21
-203 d7ff07a7fff6aad6
-204 39c6a5ca649f073c
-205 8ba14401e26c0c72
-206 1f15f2d9a73da6aa
-207 cede908d2ef3e592
-208 9d6517625dbf1093
-209 a3dcf6c47c41c294
-210 36491fcafd23233b
-211 963db27280ea24be
-212 033c131b68faeddc
-213 e1f3be403aa47719
-214 37d0aa21d461d353
-215 6dcb3d74df5f4dac
-216 87b6aeed306c75ff
-217 c20ac7fbe3e603f6
-218 10fbcf8f04f643b3
-219 02660eff9a0079e3
-220 02660eff9a0079e3
-221 e719b80b9fff8cdf
-222 9b6f06ba53225d0c
-223 9f20f8d391476ddb
-224 ce6c769315075e16
-225 7b3f7f3c12f871a6
-226 7b3f7f3c12f871a6
-227 a65ed0599aab2100
-228 d19b3265a998844b
-229 4fecb9db948599c3
-230 f73de9210d1c7d3c
-231 c164d13cf9c22312
-232 c164d13cf9c22312
-233 90bbc2763fcf9069
-234 465995625ec592f6
-235 478d7cd80de6f323
-236 632d6fefc38de77f
-237 48a177fb6c5d5bd4
-238 48a177fb6c5d5bd4
-239 f887c1be5eaf4efc
-240 01584cad4c631758
-241 bba145a664094249
-242 c935acd217422e6f
-243 df15376eed21defd
-244 df15376eed21defd
-245 42b0d728a4b7cfaf
-246 33a0597e31830ce1
-247 a8973dc9762846e0
-248 b6ba142a21aea2f7
-249 8e480ec1a735e80f
-250 8e480ec1a735e80f
-251 83a9cfeca7ed5dd7
-252 b0a97e33fcb6bc8b
-253 39e58fbf75d93eb4
-254 6134bde2b3705ed4
-255 63b6c523c9aa2b92
-256 63b6c523c9aa2b92
-257 bb5c033e8cf1be40
-258 71fcc5261416b49d
-259 22d8e17df338963a
-260 043ae5a20af93049
-261 bbc7a0e2baf0ee31
-262 bb6620f1d776dacd
-263 65fd2610189f3de3
-264 c1b81bf4ef438368
-265 99d6dd206cc3c726
-266 afb98c50d2fbfac3
-267 3a916f1a8ffa1481
-268 3a916f1a8ffa1481
-269 93c8aa566c5bb9b8
-270 63ee9c7ae7028906
-271 b96e8e7510dc1800
-272 48129628cf5acb85
-273 63a50679c8ff1b84
-274 63a50679c8ff1b84
-275 bfd99af9e6e26c8b
-276 00371aa22e85596c
-277 8af490eef672d233
-278 d41a99d53e90ae0e
-279 dac3447f781cb778
-280 dac3447f781cb778
-281 f384d747aff2f443
-282 4b01a12dfece4302
-283 df66dd4f53d04a01
-284 1b96f2ecfa57ae9e
-285 8ba0057472c13c95
-286 8ba0057472c13c95
-287 a6525d3ffad6e2c4
-288 c75a0da2d7d7e2a1
-289 0701def455a63b6e
-290 20799ddf2102ad05
-291 af93c8d108624c26
-292 0819bc1079456c47
-293 4f88cd3ab7ca26a7
-294 9a629becfb68e192
-295 13bb9d8609106160
-296 d0c538d557ae4416
-297 17f06412ca4107df
-298 17f06412ca4107df
-299 65831789aa1dd6e9
-300 dbb6bf66ecde7ff2
-301 95d160679914d803
-302 8704ef4436e05ed4
-303 2d6cd4bd7054bc8f
-304 2d6cd4bd7054bc8f
-305 768dc698e186f390
-306 64f9e003190962c6
-307 500882d437d37080
-308 08106219f0d51b7d
-309 389cea356a6cae94
-310 389cea356a6cae94
-311 3b51c87431070f77
-312 41688cf4e1d02fe2
-313 9825e1aa13dd5126
-314 29703f9fd23254b7
-315 b2ff9be7d41bd167
-316 b2ff9be7d41bd167
-317 e04cf3d6e21ff043
-318 559bcae971deb4ad
-319 2bfdef2daf4bdb90
-320 19e594d7e4dee5df
-321 3b9397dc13064fbd
-322 3b9397dc13064fbd
-323 8503ed4cce70da16
-324 799c667b26d2636c
-325 b33b6a8d0dcdc4c5
-326 e82531ab7b049bb9
-327 1bbacf0903e41e30
-328 1bbacf0903e41e30
-329 6e6cc262847aaad6
-330 bd6318f2ff044bae
-331 a316d416399b2995
-332 28dbedc8ca18c064
-333 4421b9a871431836
-334 3ba60b740118dd33
-335 1aeca47cc8b6b16e
-336 3b7ca57e4f8c34c8
-337 0810d437ca403ea5
-338 6fc33bfc94d6ba90
-339 199de05fb76ae2b9
-340 599822dbca598ed4
-341 70eacaf9dc6b20ec
-342 8d4b8123dfa86985
-343 7a12e5076825dc26
-344 f14273586e660594
-345 d5e94c2e8aadcfed
-346 feaa83a357bd6e58
-347 9a45db5296eb9dfb
-348 9a69eb1589549077
-349 90bb23ba3da2746e
-350 156d5fa10ab1ec62
-351 4fcfb0c6e6d30adb
-352 f01adadf654154ee
-353 0fca3c468447defa
-354 35e019623fce3bb3
-355 a6cde1712887a269
-356 80d076ce002c41d1
-357 9f6034bcf37021ae
-358 81af397f889c86bb
-359 c775852a51b0b0e2
-360 b26b92bf576453a1
-361 4dd3fb1e9b1e4638
-362 b08e5bc542620c79
-363 eb0c74bb5da74d44
-364 93f7252f85a1d5df
-365 117672bdab234c2e
-366 ec2117c6609b201e
-367 c1dec0646c216f10
-368 e3686bd87c8fee6f
-369 7a8a787d5f749264
-370 1ba2f02b637aec1d
-371 cc477edb97873a29
-372 df45c9a7588fb821
-373 fd809fe203832975
-374 3022b5514b25eac2
-375 8b26775e0dd9ed00
-376 1a6b6e341c5b494a
-377 892c6af4e0439a69
-378 1ace6549e11d1b9b
-379 7aca0af36f285ffa
-380 c3257ba29bcc62f9
-381 433bfc973c165815
-382 70fbc58588f60e39
-383 016d4fc9df38f0c6
-384 893e37f78b061767
-385 5c86a99f65e4feef
-386 8efb542a8b40a1ac
-387 f8a680f564ff9608
-388 a55c9e3478e047cd
-389 fcaaef9d71589b7a
-390 484db2db50064d18
-391 336ff3e1fe8d6a71
-392 b891a0dcffba39fa
-393 0acbd97916b3c5ba
-394 b36a1b5083f61f30
-395 f3301dd61fdcd352
-396 3b08215c58b4e7a9
-397 1f8e00e38c0dcbca
-398 304e09f000134381
-399 73b520be51f8ff16
-400 870c5c9ef3a5c734
-401 316fb4df5102c06f
-402 bd061065ff604954
-403 8d55d1d6fdebe5e6
-404 05f956afc393800e
-405 bbea06bd82673758
-406 7a0c789e7d0b76ed
-407 d1df04eb45839d48
-408 2898c5b0e3f75838
-409 8be5db40f2a8b9a3
-410 4d1457a8f910a08c
-411 b8d27bec0ae4bce6
-412 8f15844217afda9e
-413 dc7ce28acb239b8b
-414 3dbf92596cafded6
-415 182817490673c798
-416 6c117bef69e4f0e8
-417 6f4cba3b166afbb8
-418 af411dab111e1af3
-419 3f45841976f6107b
-420 a3712b173fc0d276
-421 956b91b9c251deda
-422 6d9571d8194a51c3
-423 c9440a7c837094c1
-424 6bf89792016f9557
-425 e5b8321c75ff087a
-426 b87a99ebc8dcedb8
-427 f957f14388315665
-428 2f1d37fe3f56a213
-429 69ca6ce0e8fc9472
-430 fe663e554c6bfb05
-431 9b60be4435bd8fd7
-432 79c7977e0becc6fb
-433 9b9fd3d26467e827
-434 c45a10bd68c072de
-435 fa6f4e6bc542337c
-436 daed7ee89000c7ed
-437 3d57f11a2f508fc0
-438 7c8b8e9676acdf7a
-439 491f545896e3eb44
-440 0a7413598dc31989
-441 495ec6527fec14ce
-442 4c82132f79d8a1ef
-443 4137da94e06a0233
-444 81b1ff2cbc2031eb
-445 8427185375e02295
-446 64257c715bdef008
-447 f3e07b026dd01bea
-448 fb8f72decfb79fc0
-449 6e953b92e85a731c
-450 b31e7627803c103a
-451 05910448902862c7
-452 b868d4cf144f6827
-453 a146101255572560
-454 e2cec4ec1393d5ad
-455 d488aaffa1ecd9c2
-456 2f247a84f05316a7
-457 1fdc07aab5e5867d
-458 521b198e9de69c62
-459 82c82ce17ca875cf
-460 a142ffcc378fe862
-461 245d4f79e02d27f1
-462 ef9e072fc104a1bb
-463 03ddad1f05c6e4ef
-464 1f2cb07ba0e78f60
-465 be11f36ae19c1cb5
-466 b86cfe6cc247cb9f
-467 3d004c6e8960a3f2
-468 c1044650c430596e
-469 c94a0e4d24333f57
-470 aa4b146959255066
-471 6a6f6ed3c8ed57bb
-472 967083e15dac3fa7
-473 3cbcdcef2e7ccaf8
-474 3ef6f881b083376a
-475 93c5ae1eb0df1ca0
-476 dbf3cff7cd3d4aa6
-477 3da06478e0a937c7
-478 d812ef885b2f17b6
-479 b261a19a9b5a8a09
-480 d41d95012e3ab8d3
-481 1bf5fffb271f744f
-482 8d6140f0c1617b11
-483 2271d002845f5f64
-484 c2552c07955857b5
-485 67bb99a3f60e7aee
-486 d62c79eee2a5164e
-487 f5a0fb03dae129fe
-488 c5d8e61e17649755
-489 a0084665c1522132
-490 3745029b76a96636
-491 85bd8b33f3950b04
-492 753e35114e10be2f
-493 0c80627fc0de3718
-494 ad98a3dd15272ee9
-495 8309fdf82d02e5f4
-496 a7060390043c965d
-497 cc5698fb9e52bf17
-498 5b236f45bb1680f2
-499 4adea2a4a3ba7438
-500 97837bccf2bde26c
-501 e486c8dc09ad14fe
-502 63d7bbf6c91ab4f8
-503 06ca0424ed442cc8
-504 3ae2972901307f3d
-505 80dc49e0b76bfa05
-506 53c586a4a43a5c64
-507 b5130324181b0339
-508 edd9a0e587abd034
-509 18445bf1a8b4ac74
-510 05e31980b4f72c94
-511 f867fb2dc4963271
-512 ad5abb212c307530
-513 4f8dcf7f42962432
-514 ba8d370359e97a70
-515 99e240f8710a55da
-516 efff266b43ac88e5
-517 26831a908e4f9588
-518 fcc1fa375ed076ba
-519 123f1da889264d54
-520 d1d150db4cb1dceb
-521 48b3e55e94e62611
-522 64d7c305c27cba7c
-523 92f2d9bb6687fb7d
-524 ce6b9d60db2609d7
-525 d0707fc3a053f0ee
-526 54cdda15cfe48cc5
-527 11a769e17fc955fc
-528 aeb2d5a4a1b232dd
-529 b991d8c5ebfacf59
-530 4342a987e74c9b3f
-531 48f102af1c341ea2
-532 64f4e4ca110ccf06
-533 87dc1f6e095bf455
-534 46ba99f3a3f83911
-535 f39733310c02f015
-536 16f04b19bf669cae
-537 e4419c1dd48fbb04
-538 25952a350d4a6c2b
-539 0e53f6a6ae6ed43f
-540 664beeba01988752
-541 975705c6cd661ff6
-542 fa7f7d63b1e6acab
-543 d155161f8b6b2cb3
-544 73009cc6b9afc9e1
-545 9e8d531e37461e30
-546 a6bf609a187f6837
-547 0880b883732fcb1c
-548 8cb47e5583df58e3
-549 fbac33f3c4c444e7
-550 ba0a58675864f6da
-551 b38911202a7718cb
-552 cf0312ca0172f04c
-553 4f895005606c2089
-554 6495cd1e6934131d
-555 60cde8fd93ec1216
-556 95445f7492cf57eb
-557 35bb9c361e43791b
-558 7cc8a16b0a5b578d
-559 5e0cfcf4254c7034
-560 ec3a5ffea66c6407
-561 8afecb360b8b0a99
-562 5ea505598bddc85e
-563 9bae9c5dc175dd47
-564 e8c9792686712723
-565 cc56c1d7dac4702b
-566 6ebe5f8548c38f9e
-567 2138d75bae38c9ac
-568 a20e9b8575338d66
-569 30b9e74cefc365f8
-570 6172c5bdaab80357
-571 699220010b87d5fb
-572 bb89d825a7a1678e
-573 485c5956293ea1fe
-574 ff9a69ef93c3284e
-575 3ee505f405adefbc
-576 aaea85eb25f3bf00
-577 7c1b304588cae6f7
-578 dbb7dd8f09b15b8e
-579 c4cd837b870301a1
-580 6523b453143fbaf4
-581 ab7802fb39ea9284
-582 1019ffad5a7836f9
-583 ab077abd522a1193
-584 9b2593a65f58781a
-585 5813a4f5fe462bae
-586 d0df453a518f7d1b
-587 cc20e8543e967318
-588 e4eff0de115c4a3f
-589 e5ce1a5b7e6dd9a6
-590 a0dfab2089c90116
-591 da8e2902e67d2d48
-592 938c786ae28969dd
-593 a85fa69a79bb4468
-594 190e4a11451bb3e8
-595 44614d8aade1be33
-596 bc08577d30c30c95
-597 ac86dde035880d39
-598 a9743e775ea902a5
-599 ca8260ed920a70bd
-600 7b2b19014f015698
-601 89cdad30592a186f
-602 4fd9a7910fde3b40
-603 ec571c2ef681a067
-604 7d9dc0bfd44f6d84
-605 497eb52ca9127b64
-606 b1289d049464b2f3
-607 f877e774ede20d3a
-608 a4330a0b0e3ca7e6
-609 a017b57be28bec03
-610 309be6f5b7077d9c
-611 6504be0b47b42d41
-612 acbde353682f0e6e
-613 cc093d7faf90c6ac
-614 8a3061c73638f924
-615 46a59eb082c661d5
-616 7b27e348e835f49d
-617 27a9fe653559dafc
-618 2a503a566a5f461a
-619 667becaa059bc707
-620 9d8f2e828769013e
-621 12f869a94b9f927e
-622 0478943ae2770542
-623 d6ea41358d70d859
-624 9c54423c3db4c8e8
-625 b27bd4638c2c19c7
-626 80909da3bef604bb
-627 91a2dfed71e99a54
-628 17c129031454ac21
-629 1a359fe70981219f
-630 4885e998c54943f9
-631 129e4c00db5695d4
-632 55500b75767272bf
-633 7e113f4e4680d172
-634 99cbe40d786aeccb
-635 d1dba712506d16ff
-636 6ebd6426a700b29a
-637 7faafbf1ece10f30
-638 21d1ceb6c0bf867e
-639 9e9d866555f90613
-640 6f935d10737c070d
-641 c384c4990835dac6
-642 2f853d90ca6514b4
-643 69c5b33e7770754b
-644 c45611023efd0bac
-645 46ab74decc29cfb5
-646 7431d4da9a95dfe3
-647 c73862951e3e1240
-648 afadb262f0d28b8d
-649 01a095100848e5fb
-650 4db247a837ec610a
-651 391aec9742edd555
-652 006eade43c7f372e
-653 58ebd12ad9447d3b
-654 32f3eafbcf92d45f
-655 e101946b0657f601
-656 8fcf64d3c0a6e2e3
-657 632a1eebdf3e7b08
-658 54c5d17836045045
-659 bc0ff80fc435bd7f
-660 5ab2b25d1e550170
-661 6ee23b30da3735e1
-662 73be0e85d7149df7
-663 5248145bf7959f79
-664 bf1f64708b8b2565
-665 0c6c8f1737f42380
-666 f72ae60e11c0ef4e
-667 2cd3875ae2a4d935
-668 aa5cac2a999f2096
-669 52245edeb6149663
-670 8450dc65b700e243
-671 6b63f28f556afa31
-672 ba733de70e7f93d4
-673 ec04ba24bcdd57df
-674 5e6cc3b6267766ac
-675 1f0973850c89bb76
-676 5ddc9f29da7ee841
-677 51f8adf3ab7c573b
-678 0cb47d8f7c0ed883
-679 2c52a1cf7a3c8526
-680 06e811ef6833bf4c
-681 559fcc20ee71c24e
-682 be277c444b7ded73
-683 6ab4c5b7bbaadb4c
-684 03d1901707e31f05
-685 a86e15ce1e0bc6f6
-686 c7ff0b0ed67c7df1
-687 584ac53db8331dff
-688 4f0997e4a7d61e08
-689 620eaf845897d4c1
-690 c2c95e9bed307f18
-691 772d758632fc2078
-692 c59b13c1a012f588
-693 08dfbef94603c378
-694 d4e392a052a919b1
-695 00978fd37f4fcda5
-696 1a9f91674fab04fa
-697 83e233b334168189
-698 a4aeaf0166ab870e
-699 17b31b8154339951
-700 cccf00ce4fdde2c9
-701 bd1adbd05f485ad4
-702 7fdb949f43fbb0ff
-703 756921abd81e412e
-704 80ca554c5df68269
-705 36eb16dbf44e46bb
-706 ace8b948f03a9929
-707 4bb29bd7e8cfa90e
-708 662f0627c912aeb1
-709 ee7c995faf8204de
-710 54a54c8182d6707e
-711 628f382bb7c25905
-712 73587019300cffb1
-713 9d4d9d265aa30b14
-714 f5249621345b2102
-715 cf338e847f3d066a
-716 5b4cd8dfa577b42c
-717 f8b6096b0bf2e94d
-718 e7da5d500a56cfb3
-719 144022ff6781d679
-720 45be749fb0fc3d96
-721 92c050cf18965dd8
-722 27162d599ec4df11
-723 6cef815301650972
-724 8eaeb06beab4409a
-725 b218e450f9024496
-726 aee582f937decedb
-727 bc9a61072a32d507
-728 a57f3092c3466901
-729 fafd78f5bcd73689
-730 90f019ff8bc71b13
-731 40de37604d46d600
-732 698c65b25beec77c
-733 713b141b526ead14
-734 84f86981178a9a23
-735 d2b58388037721c8
-736 1fc7385a75031f81
-737 28f251bdca2aa98c
diff --git a/rdb/bench/ref/ugc-gpu.txt b/rdb/bench/ref/ugc-gpu.txt
deleted file mode 100644
index 35d032ad..00000000
--- a/rdb/bench/ref/ugc-gpu.txt
+++ /dev/null
@@ -1,738 +0,0 @@
-0 3428a220db1dbc61
-1 a56d08bc32cb5881
-2 6ddfca7f05b65385
-3 8cede586a3762331
-4 1c1f7be8dbe3295b
-5 053b97b29b856ad1
-6 c1ec487ebe036d68
-7 6f068882c29f8b5b
-8 747f192469b4a726
-9 7f87b83c35e92902
-10 bd2a777b071c2d6f
-11 5c5c3961e42e412a
-12 92438be91b21265a
-13 7173727732df4452
-14 2ec18b02a602e278
-15 f5b7bbbd770c38f8
-16 dba3c995a0bdf76d
-17 8bf43d99fa437d0d
-18 b07c1a339fa14afd
-19 f2488535fe07c440
-20 21c501bd1d822a2e
-21 3373f572215d0fcb
-22 ffcf94baec0274e8
-23 8838cf039b19f10d
-24 d198ce72ce115ead
-25 19b1fe9180b8b742
-26 905876b6b7a54aa0
-27 8c5dc93f5b890fee
-28 474ee3f8e378391a
-29 75901e512e04232a
-30 a0da200376225bbe
-31 6917e7ce9aa8217f
-32 9522bf41617e78ee
-33 029fb12c82c478e7
-34 7410d11fce3a36d3
-35 8752f810b73289c3
-36 1023748416eca9dc
-37 d4b615582b09f0d1
-38 d13ca09df1ec8d2a
-39 77aa07cc110f7952
-40 b074dfedba99fa75
-41 30b50273fd3eee26
-42 ad98a7dbcbe4e320
-43 1f71b9a5cf8ba6bb
-44 efd310d499c4ec6e
-45 192e41fbc6b6b945
-46 8e6acd3d04bc0663
-47 3b8a7ac7ca36c036
-48 21658a871d0d2215
-49 8825db403d03c6e7
-50 741c9666eecbbe3e
-51 df9a7d470f5396ae
-52 c8e3cf7e23a99738
-53 3c75656010c53d36
-54 46fb78aad1721e9f
-55 4f2c41649f9f741e
-56 a0daaa796c455825
-57 74e8b76ab87ab247
-58 0d39c0db8fbf0b03
-59 0d13044e934f9560
-60 5dd7b725c452da15
-61 5c4ee373d248da29
-62 969798d8c6d9e705
-63 630a536b4c9f5b6c
-64 74250c144f45f53a
-65 52fe157834761443
-66 8070999abffab60f
-67 cc6662d7909644d2
-68 61d9f53ec7c820f4
-69 11a31cc83a5220fa
-70 4450d439c9c0c8f6
-71 c9a6318dc9e86586
-72 f5925f85b6e7d571
-73 ee9516a5b4c96696
-74 9d44479e343c2e3a
-75 9e5bcb5d32290673
-76 688706631f490916
-77 492a145e1d49019c
-78 93c2a6bea8bfed14
-79 8c86162254cb6ea6
-80 8f819848f7a8600e
-81 2128b6107b765a4a
-82 e5192f588c74e269
-83 bd96f5a1898bce53
-84 4e20720d9255bc4c
-85 b933844859cfe4b9
-86 2ad75fbf2d94063e
-87 e02f96fc21030fc7
-88 e3aafb1c044db32b
-89 2b3abf3bb5f6aad7
-90 12ba68b40479a2f2
-91 9fe859724558ba69
-92 7b97d5daf3db292d
-93 b0d7971f89588926
-94 94298d4225a9a62a
-95 b1f02ff3fbb0771b
-96 4fe898132ad946a9
-97 76cc767eec89e75f
-98 a0020bee0656b98b
-99 5484afa8bbe100a0
-100 3ffa6a72ef1827a8
-101 c8fa83fe7a0da6c3
-102 85218430e7673020
-103 ac4d34a1004812d1
-104 72dfd9cc159ebd45
-105 6a977ddf1066f955
-106 2b81829dd7e63c04
-107 534a45bb9f5131c8
-108 2437d4a141f49241
-109 8864b69ec0c42474
-110 9e08594656ded58d
-111 ab72050123863d83
-112 0c20eb34f8973622
-113 82d53685e7619638
-114 0c794bf82e23e991
-115 0335a0f6c9ad2a17
-116 ea5c32219fee445b
-117 883cfbb3fa692c67
-118 806bf56b285eda00
-119 a770d95cc2fa67f4
-120 4b2268d8eece4a47
-121 e6f9f540df5969e0
-122 a8cdd61d04902fe2
-123 d3acce300496bf83
-124 a65a2246dc74fb4c
-125 d76c61b7748a133e
-126 63815b7274a5188e
-127 f16554b9035740f7
-128 f87bee3a3250d04c
-129 5f4db428ae9187b4
-130 62ae42eb33130b65
-131 9ae09f79be75bea0
-132 47daee70704628ef
-133 759867e02c9320a2
-134 699b012ff4231747
-135 b8c6dbc3ebc438e5
-136 ca4f93eb8d301666
-137 a2cff9cde0f322d2
-138 e3475847977bc53a
-139 d6c4f543228e76eb
-140 3c8ef598aaa710f5
-141 a6ea7956d221a74f
-142 6c02b4c91619465d
-143 3c69ef22efc8dea2
-144 cee8eabde27ea117
-145 36491922c3407d88
-146 7193eaad3b8f9666
-147 a376d8d25dfd2aea
-148 bcdc002c41c24a94
-149 6a7d6a63d555079c
-150 5be1e50f92e8efd5
-151 b2d66b1750c05773
-152 2790e5ca29e723d6
-153 d5350db68e431f65
-154 dc45ecc636bc8d49
-155 872c7f0c46e2a07f
-156 a896020d922529d8
-157 701e72d781faf695
-158 011aee7420ae52a1
-159 30fea1908a9017f4
-160 94304ebd6466caa1
-161 3cc192fe797ef75b
-162 a510c85e6d39fa17
-163 dabaab750a18c413
-164 29b5eb4655e271ad
-165 ff5a213303a693d4
-166 3c1ceb2becd2309e
-167 d99b10a51d6db631
-168 d7e59d7f40716656
-169 7d3f364151f19325
-170 1b492f586d2fd02f
-171 241c7363d001d25f
-172 0c84109ae4df5b45
-173 923d45ad023f256f
-174 ee57867508364ba5
-175 ced60c25528b8eb0
-176 140baf2308dfb49e
-177 1c3a086663f33af9
-178 8d1e33cf80f4c592
-179 496ac39425684461
-180 4a330f08486ee624
-181 630d8eb2f4d19e49
-182 b5a7bd63cade3623
-183 123af41e55432ed9
-184 4211277491537f08
-185 3b0bb426d6b1619b
-186 17404de726700bd2
-187 a9df2dd020dc7cf0
-188 c642e220e0b7b3ab
-189 23ec4ae320a3f8ae
-190 d93f418d19a0deb1
-191 f2755f2c7f201e19
-192 95d9a8bf93012dd0
-193 db531870c209b3a9
-194 408f86a66e1b8669
-195 ee639755ac66f8a8
-196 0a2d7cbe68206cef
-197 893e3f2b23628c02
-198 33375e077f638d59
-199 a3a876a0439b16c0
-200 e6e963f2a32769eb
-201 2881868cd61af907
-202 acf2dd9e1e23af21
-203 d7ff07a7fff6aad6
-204 39c6a5ca649f073c
-205 8ba14401e26c0c72
-206 1f15f2d9a73da6aa
-207 cede908d2ef3e592
-208 9d6517625dbf1093
-209 a3dcf6c47c41c294
-210 36491fcafd23233b
-211 963db27280ea24be
-212 033c131b68faeddc
-213 e1f3be403aa47719
-214 37d0aa21d461d353
-215 6dcb3d74df5f4dac
-216 87b6aeed306c75ff
-217 c20ac7fbe3e603f6
-218 10fbcf8f04f643b3
-219 02660eff9a0079e3
-220 02660eff9a0079e3
-221 e719b80b9fff8cdf
-222 9b6f06ba53225d0c
-223 9f20f8d391476ddb
-224 ce6c769315075e16
-225 7b3f7f3c12f871a6
-226 7b3f7f3c12f871a6
-227 a65ed0599aab2100
-228 d19b3265a998844b
-229 4fecb9db948599c3
-230 f73de9210d1c7d3c
-231 c164d13cf9c22312
-232 c164d13cf9c22312
-233 90bbc2763fcf9069
-234 465995625ec592f6
-235 478d7cd80de6f323
-236 632d6fefc38de77f
-237 48a177fb6c5d5bd4
-238 48a177fb6c5d5bd4
-239 f887c1be5eaf4efc
-240 01584cad4c631758
-241 bba145a664094249
-242 c935acd217422e6f
-243 df15376eed21defd
-244 df15376eed21defd
-245 42b0d728a4b7cfaf
-246 33a0597e31830ce1
-247 a8973dc9762846e0
-248 b6ba142a21aea2f7
-249 8e480ec1a735e80f
-250 8e480ec1a735e80f
-251 83a9cfeca7ed5dd7
-252 b0a97e33fcb6bc8b
-253 39e58fbf75d93eb4
-254 6134bde2b3705ed4
-255 63b6c523c9aa2b92
-256 63b6c523c9aa2b92
-257 bb5c033e8cf1be40
-258 71fcc5261416b49d
-259 22d8e17df338963a
-260 043ae5a20af93049
-261 bbc7a0e2baf0ee31
-262 bb6620f1d776dacd
-263 65fd2610189f3de3
-264 c1b81bf4ef438368
-265 99d6dd206cc3c726
-266 afb98c50d2fbfac3
-267 3a916f1a8ffa1481
-268 3a916f1a8ffa1481
-269 93c8aa566c5bb9b8
-270 63ee9c7ae7028906
-271 b96e8e7510dc1800
-272 48129628cf5acb85
-273 63a50679c8ff1b84
-274 63a50679c8ff1b84
-275 bfd99af9e6e26c8b
-276 00371aa22e85596c
-277 8af490eef672d233
-278 d41a99d53e90ae0e
-279 dac3447f781cb778
-280 dac3447f781cb778
-281 f384d747aff2f443
-282 4b01a12dfece4302
-283 df66dd4f53d04a01
-284 1b96f2ecfa57ae9e
-285 8ba0057472c13c95
-286 8ba0057472c13c95
-287 a6525d3ffad6e2c4
-288 c75a0da2d7d7e2a1
-289 0701def455a63b6e
-290 20799ddf2102ad05
-291 af93c8d108624c26
-292 0819bc1079456c47
-293 4f88cd3ab7ca26a7
-294 9a629becfb68e192
-295 13bb9d8609106160
-296 d0c538d557ae4416
-297 17f06412ca4107df
-298 17f06412ca4107df
-299 65831789aa1dd6e9
-300 dbb6bf66ecde7ff2
-301 95d160679914d803
-302 8704ef4436e05ed4
-303 2d6cd4bd7054bc8f
-304 2d6cd4bd7054bc8f
-305 768dc698e186f390
-306 64f9e003190962c6
-307 500882d437d37080
-308 08106219f0d51b7d
-309 389cea356a6cae94
-310 389cea356a6cae94
-311 3b51c87431070f77
-312 41688cf4e1d02fe2
-313 9825e1aa13dd5126
-314 29703f9fd23254b7
-315 b2ff9be7d41bd167
-316 b2ff9be7d41bd167
-317 e04cf3d6e21ff043
-318 559bcae971deb4ad
-319 2bfdef2daf4bdb90
-320 19e594d7e4dee5df
-321 3b9397dc13064fbd
-322 3b9397dc13064fbd
-323 8503ed4cce70da16
-324 799c667b26d2636c
-325 b33b6a8d0dcdc4c5
-326 e82531ab7b049bb9
-327 1bbacf0903e41e30
-328 1bbacf0903e41e30
-329 6e6cc262847aaad6
-330 bd6318f2ff044bae
-331 a316d416399b2995
-332 28dbedc8ca18c064
-333 4421b9a871431836
-334 3ba60b740118dd33
-335 1aeca47cc8b6b16e
-336 3b7ca57e4f8c34c8
-337 0810d437ca403ea5
-338 6fc33bfc94d6ba90
-339 199de05fb76ae2b9
-340 599822dbca598ed4
-341 70eacaf9dc6b20ec
-342 8d4b8123dfa86985
-343 7a12e5076825dc26
-344 f14273586e660594
-345 d5e94c2e8aadcfed
-346 feaa83a357bd6e58
-347 9a45db5296eb9dfb
-348 9a69eb1589549077
-349 90bb23ba3da2746e
-350 156d5fa10ab1ec62
-351 4fcfb0c6e6d30adb
-352 f01adadf654154ee
-353 0fca3c468447defa
-354 35e019623fce3bb3
-355 a6cde1712887a269
-356 80d076ce002c41d1
-357 9f6034bcf37021ae
-358 81af397f889c86bb
-359 c775852a51b0b0e2
-360 b26b92bf576453a1
-361 4dd3fb1e9b1e4638
-362 b08e5bc542620c79
-363 eb0c74bb5da74d44
-364 93f7252f85a1d5df
-365 117672bdab234c2e
-366 ec2117c6609b201e
-367 c1dec0646c216f10
-368 e3686bd87c8fee6f
-369 7a8a787d5f749264
-370 1ba2f02b637aec1d
-371 cc477edb97873a29
-372 df45c9a7588fb821
-373 fd809fe203832975
-374 3022b5514b25eac2
-375 8b26775e0dd9ed00
-376 1a6b6e341c5b494a
-377 892c6af4e0439a69
-378 1ace6549e11d1b9b
-379 7aca0af36f285ffa
-380 c3257ba29bcc62f9
-381 433bfc973c165815
-382 70fbc58588f60e39
-383 016d4fc9df38f0c6
-384 893e37f78b061767
-385 5c86a99f65e4feef
-386 8efb542a8b40a1ac
-387 f8a680f564ff9608
-388 a55c9e3478e047cd
-389 fcaaef9d71589b7a
-390 484db2db50064d18
-391 336ff3e1fe8d6a71
-392 b891a0dcffba39fa
-393 0acbd97916b3c5ba
-394 b36a1b5083f61f30
-395 f3301dd61fdcd352
-396 3b08215c58b4e7a9
-397 1f8e00e38c0dcbca
-398 304e09f000134381
-399 73b520be51f8ff16
-400 870c5c9ef3a5c734
-401 316fb4df5102c06f
-402 bd061065ff604954
-403 8d55d1d6fdebe5e6
-404 05f956afc393800e
-405 bbea06bd82673758
-406 7a0c789e7d0b76ed
-407 d1df04eb45839d48
-408 2898c5b0e3f75838
-409 8be5db40f2a8b9a3
-410 4d1457a8f910a08c
-411 b8d27bec0ae4bce6
-412 8f15844217afda9e
-413 dc7ce28acb239b8b
-414 3dbf92596cafded6
-415 182817490673c798
-416 6c117bef69e4f0e8
-417 6f4cba3b166afbb8
-418 af411dab111e1af3
-419 3f45841976f6107b
-420 a3712b173fc0d276
-421 956b91b9c251deda
-422 6d9571d8194a51c3
-423 c9440a7c837094c1
-424 6bf89792016f9557
-425 e5b8321c75ff087a
-426 b87a99ebc8dcedb8
-427 f957f14388315665
-428 2f1d37fe3f56a213
-429 69ca6ce0e8fc9472
-430 fe663e554c6bfb05
-431 9b60be4435bd8fd7
-432 79c7977e0becc6fb
-433 9b9fd3d26467e827
-434 c45a10bd68c072de
-435 fa6f4e6bc542337c
-436 daed7ee89000c7ed
-437 3d57f11a2f508fc0
-438 7c8b8e9676acdf7a
-439 491f545896e3eb44
-440 0a7413598dc31989
-441 495ec6527fec14ce
-442 4c82132f79d8a1ef
-443 4137da94e06a0233
-444 81b1ff2cbc2031eb
-445 8427185375e02295
-446 64257c715bdef008
-447 f3e07b026dd01bea
-448 fb8f72decfb79fc0
-449 6e953b92e85a731c
-450 b31e7627803c103a
-451 05910448902862c7
-452 b868d4cf144f6827
-453 a146101255572560
-454 e2cec4ec1393d5ad
-455 d488aaffa1ecd9c2
-456 2f247a84f05316a7
-457 1fdc07aab5e5867d
-458 521b198e9de69c62
-459 82c82ce17ca875cf
-460 a142ffcc378fe862
-461 245d4f79e02d27f1
-462 ef9e072fc104a1bb
-463 03ddad1f05c6e4ef
-464 1f2cb07ba0e78f60
-465 be11f36ae19c1cb5
-466 b86cfe6cc247cb9f
-467 3d004c6e8960a3f2
-468 c1044650c430596e
-469 c94a0e4d24333f57
-470 aa4b146959255066
-471 6a6f6ed3c8ed57bb
-472 967083e15dac3fa7
-473 3cbcdcef2e7ccaf8
-474 3ef6f881b083376a
-475 93c5ae1eb0df1ca0
-476 dbf3cff7cd3d4aa6
-477 3da06478e0a937c7
-478 d812ef885b2f17b6
-479 b261a19a9b5a8a09
-480 d41d95012e3ab8d3
-481 1bf5fffb271f744f
-482 8d6140f0c1617b11
-483 2271d002845f5f64
-484 c2552c07955857b5
-485 67bb99a3f60e7aee
-486 d62c79eee2a5164e
-487 f5a0fb03dae129fe
-488 c5d8e61e17649755
-489 a0084665c1522132
-490 3745029b76a96636
-491 85bd8b33f3950b04
-492 753e35114e10be2f
-493 0c80627fc0de3718
-494 ad98a3dd15272ee9
-495 8309fdf82d02e5f4
-496 a7060390043c965d
-497 cc5698fb9e52bf17
-498 5b236f45bb1680f2
-499 4adea2a4a3ba7438
-500 97837bccf2bde26c
-501 e486c8dc09ad14fe
-502 63d7bbf6c91ab4f8
-503 06ca0424ed442cc8
-504 3ae2972901307f3d
-505 80dc49e0b76bfa05
-506 53c586a4a43a5c64
-507 b5130324181b0339
-508 edd9a0e587abd034
-509 18445bf1a8b4ac74
-510 05e31980b4f72c94
-511 f867fb2dc4963271
-512 ad5abb212c307530
-513 4f8dcf7f42962432
-514 ba8d370359e97a70
-515 99e240f8710a55da
-516 efff266b43ac88e5
-517 26831a908e4f9588
-518 fcc1fa375ed076ba
-519 123f1da889264d54
-520 d1d150db4cb1dceb
-521 48b3e55e94e62611
-522 64d7c305c27cba7c
-523 92f2d9bb6687fb7d
-524 ce6b9d60db2609d7
-525 d0707fc3a053f0ee
-526 54cdda15cfe48cc5
-527 11a769e17fc955fc
-528 aeb2d5a4a1b232dd
-529 b991d8c5ebfacf59
-530 4342a987e74c9b3f
-531 48f102af1c341ea2
-532 64f4e4ca110ccf06
-533 87dc1f6e095bf455
-534 46ba99f3a3f83911
-535 f39733310c02f015
-536 16f04b19bf669cae
-537 e4419c1dd48fbb04
-538 25952a350d4a6c2b
-539 0e53f6a6ae6ed43f
-540 664beeba01988752
-541 975705c6cd661ff6
-542 fa7f7d63b1e6acab
-543 d155161f8b6b2cb3
-544 73009cc6b9afc9e1
-545 9e8d531e37461e30
-546 a6bf609a187f6837
-547 0880b883732fcb1c
-548 8cb47e5583df58e3
-549 fbac33f3c4c444e7
-550 ba0a58675864f6da
-551 b38911202a7718cb
-552 cf0312ca0172f04c
-553 4f895005606c2089
-554 6495cd1e6934131d
-555 60cde8fd93ec1216
-556 95445f7492cf57eb
-557 35bb9c361e43791b
-558 7cc8a16b0a5b578d
-559 5e0cfcf4254c7034
-560 ec3a5ffea66c6407
-561 8afecb360b8b0a99
-562 5ea505598bddc85e
-563 9bae9c5dc175dd47
-564 e8c9792686712723
-565 cc56c1d7dac4702b
-566 6ebe5f8548c38f9e
-567 2138d75bae38c9ac
-568 a20e9b8575338d66
-569 30b9e74cefc365f8
-570 6172c5bdaab80357
-571 699220010b87d5fb
-572 bb89d825a7a1678e
-573 485c5956293ea1fe
-574 ff9a69ef93c3284e
-575 3ee505f405adefbc
-576 aaea85eb25f3bf00
-577 7c1b304588cae6f7
-578 dbb7dd8f09b15b8e
-579 c4cd837b870301a1
-580 6523b453143fbaf4
-581 ab7802fb39ea9284
-582 1019ffad5a7836f9
-583 ab077abd522a1193
-584 9b2593a65f58781a
-585 5813a4f5fe462bae
-586 d0df453a518f7d1b
-587 cc20e8543e967318
-588 e4eff0de115c4a3f
-589 e5ce1a5b7e6dd9a6
-590 a0dfab2089c90116
-591 da8e2902e67d2d48
-592 938c786ae28969dd
-593 a85fa69a79bb4468
-594 190e4a11451bb3e8
-595 44614d8aade1be33
-596 bc08577d30c30c95
-597 ac86dde035880d39
-598 a9743e775ea902a5
-599 ca8260ed920a70bd
-600 7b2b19014f015698
-601 89cdad30592a186f
-602 4fd9a7910fde3b40
-603 ec571c2ef681a067
-604 7d9dc0bfd44f6d84
-605 497eb52ca9127b64
-606 b1289d049464b2f3
-607 f877e774ede20d3a
-608 a4330a0b0e3ca7e6
-609 a017b57be28bec03
-610 309be6f5b7077d9c
-611 6504be0b47b42d41
-612 acbde353682f0e6e
-613 cc093d7faf90c6ac
-614 8a3061c73638f924
-615 46a59eb082c661d5
-616 7b27e348e835f49d
-617 27a9fe653559dafc
-618 2a503a566a5f461a
-619 667becaa059bc707
-620 9d8f2e828769013e
-621 12f869a94b9f927e
-622 0478943ae2770542
-623 d6ea41358d70d859
-624 9c54423c3db4c8e8
-625 b27bd4638c2c19c7
-626 80909da3bef604bb
-627 91a2dfed71e99a54
-628 17c129031454ac21
-629 1a359fe70981219f
-630 4885e998c54943f9
-631 129e4c00db5695d4
-632 55500b75767272bf
-633 7e113f4e4680d172
-634 99cbe40d786aeccb
-635 d1dba712506d16ff
-636 6ebd6426a700b29a
-637 7faafbf1ece10f30
-638 21d1ceb6c0bf867e
-639 9e9d866555f90613
-640 6f935d10737c070d
-641 c384c4990835dac6
-642 2f853d90ca6514b4
-643 69c5b33e7770754b
-644 c45611023efd0bac
-645 46ab74decc29cfb5
-646 7431d4da9a95dfe3
-647 c73862951e3e1240
-648 afadb262f0d28b8d
-649 01a095100848e5fb
-650 4db247a837ec610a
-651 391aec9742edd555
-652 006eade43c7f372e
-653 58ebd12ad9447d3b
-654 32f3eafbcf92d45f
-655 e101946b0657f601
-656 8fcf64d3c0a6e2e3
-657 632a1eebdf3e7b08
-658 54c5d17836045045
-659 bc0ff80fc435bd7f
-660 5ab2b25d1e550170
-661 6ee23b30da3735e1
-662 73be0e85d7149df7
-663 5248145bf7959f79
-664 bf1f64708b8b2565
-665 0c6c8f1737f42380
-666 f72ae60e11c0ef4e
-667 2cd3875ae2a4d935
-668 aa5cac2a999f2096
-669 52245edeb6149663
-670 8450dc65b700e243
-671 6b63f28f556afa31
-672 ba733de70e7f93d4
-673 ec04ba24bcdd57df
-674 5e6cc3b6267766ac
-675 1f0973850c89bb76
-676 5ddc9f29da7ee841
-677 51f8adf3ab7c573b
-678 0cb47d8f7c0ed883
-679 2c52a1cf7a3c8526
-680 06e811ef6833bf4c
-681 559fcc20ee71c24e
-682 be277c444b7ded73
-683 6ab4c5b7bbaadb4c
-684 03d1901707e31f05
-685 a86e15ce1e0bc6f6
-686 c7ff0b0ed67c7df1
-687 584ac53db8331dff
-688 4f0997e4a7d61e08
-689 620eaf845897d4c1
-690 c2c95e9bed307f18
-691 772d758632fc2078
-692 c59b13c1a012f588
-693 08dfbef94603c378
-694 d4e392a052a919b1
-695 00978fd37f4fcda5
-696 1a9f91674fab04fa
-697 83e233b334168189
-698 a4aeaf0166ab870e
-699 17b31b8154339951
-700 cccf00ce4fdde2c9
-701 bd1adbd05f485ad4
-702 7fdb949f43fbb0ff
-703 756921abd81e412e
-704 80ca554c5df68269
-705 36eb16dbf44e46bb
-706 ace8b948f03a9929
-707 4bb29bd7e8cfa90e
-708 662f0627c912aeb1
-709 ee7c995faf8204de
-710 54a54c8182d6707e
-711 628f382bb7c25905
-712 73587019300cffb1
-713 9d4d9d265aa30b14
-714 f5249621345b2102
-715 cf338e847f3d066a
-716 5b4cd8dfa577b42c
-717 f8b6096b0bf2e94d
-718 e7da5d500a56cfb3
-719 144022ff6781d679
-720 45be749fb0fc3d96
-721 92c050cf18965dd8
-722 27162d599ec4df11
-723 6cef815301650972
-724 8eaeb06beab4409a
-725 b218e450f9024496
-726 aee582f937decedb
-727 bc9a61072a32d507
-728 a57f3092c3466901
-729 fafd78f5bcd73689
-730 90f019ff8bc71b13
-731 40de37604d46d600
-732 698c65b25beec77c
-733 713b141b526ead14
-734 84f86981178a9a23
-735 d2b58388037721c8
-736 1fc7385a75031f81
-737 28f251bdca2aa98c
diff --git a/rdb/bench/ref/ugc-rgba-macos27.txt b/rdb/bench/ref/ugc-rgba-macos27.txt
deleted file mode 100644
index 173ad834..00000000
--- a/rdb/bench/ref/ugc-rgba-macos27.txt
+++ /dev/null
@@ -1,738 +0,0 @@
-0 143a5441b3b9aeb6
-1 262204d664ed0513
-2 c81141d9fa239ae8
-3 1580732a37233151
-4 7ad57aaf165d1c93
-5 69dbd14243ee7f57
-6 ef37a706d9c661b3
-7 ce2b3c407ab5e463
-8 f00454df29190868
-9 5f6fd0aa40fea747
-10 c6515d4f80b765fe
-11 4f3fdfa6b78382b0
-12 d44838fc36e110c4
-13 fe620752568fa585
-14 b92f7eeec43b3dce
-15 c52227e222900949
-16 1efef1258550722a
-17 7d14d5a1a98690e4
-18 c6c383cb0534bef8
-19 8e7dedf088cd52e8
-20 dc1757a45ff5a7cd
-21 5aec723bc44804e0
-22 9e3fde0e6b345d27
-23 46f331da48f3aca5
-24 e12930c85523d2c5
-25 490f1bc44452785c
-26 71df150e2e062ec3
-27 dcad6e107c32e21f
-28 90117c19c741692b
-29 e63d18f3b73fff7c
-30 986623ba5a1e2c4d
-31 7d852959ac93161d
-32 6b17b40edad53114
-33 91e31d583ef19d19
-34 0b69a8cf9e7e1a13
-35 cc31d319a09956f3
-36 12a9f5fcc369e9fe
-37 24d9e50020f6250e
-38 a4b79497ac8cdff1
-39 c613f57940362596
-40 666a1b2b6d4b3570
-41 fba2e28fe5194b36
-42 555e4ac14c1785de
-43 a86964a12f3820df
-44 25960766cb2d268b
-45 aa16e847918804e2
-46 39eaafe3c613627d
-47 38ae3f3fa4cd1a31
-48 06a541a1d24b3324
-49 cd97696945d13abd
-50 670709f881c859c4
-51 c686f41a902e61ca
-52 d65fc92cca7b404d
-53 0cd3f3ec08003693
-54 ef48ef479bce9ecc
-55 b15dd6bc4ecab9d0
-56 1f3a7c47273425a1
-57 31700a46f8a23616
-58 9d978da613ffae0d
-59 f47e5c177b56229b
-60 17249229c7c7f402
-61 2a8087f8d2d7c5f1
-62 b9252fc291109f7d
-63 b85878969efd358b
-64 74c00503414000c3
-65 1899521f0ce75881
-66 bf0e23c387864fcb
-67 b763a4d068d8d42d
-68 e81a3c000ba1e9d0
-69 d6d3cf4b44755b30
-70 c51a7bfcd4394e65
-71 0305b6e1803d9ef8
-72 f301fc9668565fe3
-73 ff66dd9dc74eae8d
-74 359972e470de202e
-75 0b168727c345dde9
-76 e0089dfdc122df4f
-77 4b2dd584eccc7fe3
-78 9e374bdd8f246d5e
-79 72c2104292ec935f
-80 30531b8c1785a4a7
-81 8c129ce5d422adf4
-82 92b29e6aca4a9797
-83 b24310d6efc7c058
-84 f8db74067dd77246
-85 96fc86894e7ce530
-86 f03c4b74a0939243
-87 fa961a9ff9abb642
-88 7a3c9f803e17add4
-89 c0f0b1d60f69960e
-90 d8eed09bf63b4742
-91 75128b5344fb5b95
-92 4c29038f4dd44100
-93 0a2966656e6eae84
-94 370bea3802ba7bec
-95 d2c3dbc2abf13d5f
-96 3e0ea5b048493a7b
-97 8951a486918dcb9d
-98 b38160dd5795a736
-99 1b7d5b416ec078a2
-100 c9fb51404c0b47a6
-101 e7ef23bf8f6bc375
-102 65891708c44e91c5
-103 84853d8879adf0b1
-104 71d780269385f401
-105 d783da846bca3f65
-106 a50169b4025abf42
-107 3780d99d857dca52
-108 9bca0c093a03dc9e
-109 47b907e9d4e4644e
-110 a93479094f1fd29d
-111 d44068a8939a25f3
-112 4da08a956eff4c67
-113 27c70e804306160c
-114 81041989c1f0feb4
-115 2b2d66eebd80b694
-116 d0801ba160777324
-117 697350688bab5129
-118 e9f200b9d8fc6be0
-119 0d930749708bc284
-120 c455d7b4d8e74ac6
-121 88038d5521cbdc79
-122 2f2abb0f121fb1f4
-123 d2f2f0c01fa5e9d1
-124 8149803f2eed5a57
-125 b7fb911e0a9c507a
-126 757d0caf25dc9adf
-127 1377e55948544cd4
-128 413d5731b080a289
-129 2041da332c42f0d8
-130 d4453bcd04975ca1
-131 5cf9c3116c7027fa
-132 8907bfa49c65f6a2
-133 339704f9e5702fd5
-134 4e4f52f1e4e6bfa6
-135 f3e392693707c680
-136 dc335946c4e71562
-137 9e3303b69c22ad5d
-138 92fcf513348226a0
-139 c488fb6872abc05b
-140 1c6f5999a8ce65d3
-141 0377ef8a1986512f
-142 69ff049bd2747825
-143 ee5ac76d5e7cc8bf
-144 6613b737edab6aad
-145 aa3678689739d677
-146 c7c1264f3f759ca3
-147 704d48282ca89121
-148 335d204d836c894a
-149 2a4aea9dc029d9f5
-150 3d3ac242f84f8600
-151 a8809a3e67f41b06
-152 a10b295309589676
-153 c8eb3f3272c6c1c6
-154 69f33072f46440a7
-155 ba0cef981ca929f5
-156 343b1ba7e2fabef3
-157 c419b668b06a55bf
-158 dd8e4a48858a73bd
-159 65de691da22a3c51
-160 3568bf0d32997603
-161 c7c51b1c656c575e
-162 07717463c7934288
-163 6ec63552d8ed984c
-164 3cce1c9d1762b54a
-165 355b7f0a68e7f932
-166 2df227796a4f1f30
-167 6d2427876cad1f76
-168 2971a95e7a51888e
-169 3d25b00c1b6f3fc6
-170 0887ec95af9babcd
-171 8c4b217dceeb49fe
-172 105e23e2427a4ec6
-173 da0c9eea3b65f489
-174 18004a0fe6727a24
-175 9f0749b1806bebf9
-176 4aec43b280aafb67
-177 62f1d8538f6d19a8
-178 b65c402ffbf00ce1
-179 009dc6ad8ab4d7b3
-180 0315b2b5eb974e45
-181 212baa3d7d05a29a
-182 e76bea9b6ebc246d
-183 31ee55df0a48d57d
-184 2c4c81c30e012233
-185 9b7c899f723b1676
-186 98a5760864b1b3be
-187 c9c7f05a04503f7b
-188 a5504f7926530fa9
-189 b8f6cc2fec33d7d8
-190 d1b0009ebdd18185
-191 1610b4a21a962fe1
-192 c9e9605f26ce9a60
-193 8a6978740532886a
-194 1bc8b3cceccebb7a
-195 fba76cd6fb947306
-196 08045cc5defc8cc4
-197 19ee66d6f826201c
-198 9555b988e328eb32
-199 04f27e8ac84e3175
-200 b5feb635a2e13c21
-201 9b8803fcc0dc3cd3
-202 9f2c9382b4cf85e1
-203 01c58455776435f1
-204 69fb81149a468ad6
-205 7da327d32db1ac5e
-206 ef2723ba2d536964
-207 ea00bfeb3f0362c4
-208 20d7c97b17778eab
-209 33f298e488371692
-210 5cef6fb45888b2bb
-211 c251e712bd6d6310
-212 9ccd2469268fc65b
-213 533489567018538e
-214 c30b239758f469bc
-215 76afdf031b55d8bf
-216 02c810ce34831765
-217 0f0d19f083104591
-218 ba2ddd3d80f57a90
-219 c713a0e0d3f284c5
-220 c713a0e0d3f284c5
-221 011dbc6dfc36fd1a
-222 061199bfc2d16195
-223 9c4146b30a2f0cea
-224 8d98cb6119e7018f
-225 9a8ef27f669422a9
-226 9a8ef27f669422a9
-227 3f5d88a67d263f41
-228 b976e2b2f36e47f4
-229 cdd28c47afca1ce6
-230 af3e85ed2d4e9ee8
-231 a152f005ff42008c
-232 a152f005ff42008c
-233 4cec7473bf5087e8
-234 4620a757072c1858
-235 a57be692dc484441
-236 ebbeb886b0f11cf9
-237 6d0a4e2aab2c5661
-238 6d0a4e2aab2c5661
-239 e03f1587e92ef7cb
-240 4559b0fff805dd74
-241 bad02231b43d3234
-242 30a713a7da43bee8
-243 00ff66e0503ac823
-244 00ff66e0503ac823
-245 a70ce0b8fd21546f
-246 cdf7cc287bf7c259
-247 7f92cd22933a6e95
-248 5030d42cc1565a7b
-249 c36e982cd612b5f2
-250 c36e982cd612b5f2
-251 0bc07a966a7f5654
-252 4199e3d3597c19de
-253 9cefdfe90434188a
-254 adc54d47ee2a6c27
-255 1e6f319e946b672e
-256 1e6f319e946b672e
-257 e462f458f3e3fc5d
-258 8660af8e42accba0
-259 ce9147e60327f1b7
-260 a5d414ea7d741af2
-261 a18a256ace8684a1
-262 7466c8932b45ba92
-263 56a9bae0469391b2
-264 447a7eb30efda44b
-265 4ed46a5f661a6e02
-266 eb7e256adaccdd14
-267 8656d7c09736400a
-268 8656d7c09736400a
-269 a24c5906b150f38c
-270 7ba23bf25becf002
-271 f8fb0b6f7cfcd81e
-272 281423066e827706
-273 82983ca4a43099c7
-274 82983ca4a43099c7
-275 a9e2b739f291065b
-276 a12617914ce9e28b
-277 690aad5ce886862b
-278 54d7e5a370e271fe
-279 0416ddfd7ad5b8f7
-280 0416ddfd7ad5b8f7
-281 01ac45bf9e0290a3
-282 5368004278ed75d9
-283 c3614c4ce237a1dc
-284 6f7dfb6a14da78ae
-285 9ef5579adad05655
-286 9ef5579adad05655
-287 b428b549fa850b59
-288 3c76772bb873ee76
-289 6bba08e289667263
-290 b9499c60de6a0007
-291 4b5c1a5199742241
-292 74d876c8d874ae8c
-293 c070da36d160a95e
-294 1d44b479ad07309a
-295 275dd537fc4ceadc
-296 fe2d6f20e3a7234e
-297 c0158c06151c9b0a
-298 c0158c06151c9b0a
-299 304c9fbc532e2603
-300 46f4dd73eff9056d
-301 5b318f350754d527
-302 8e340dccd8512106
-303 0a9e5f6e90fff34c
-304 0a9e5f6e90fff34c
-305 03c81639c0fbfc18
-306 c6ee397d1223a73d
-307 feb008c2b2183861
-308 0bb0ef5d64893c19
-309 c628da0cadf61ea4
-310 c628da0cadf61ea4
-311 4915d9a5eaf50cc2
-312 96871ea6b5025079
-313 7bae7ec163dc7475
-314 2d54d58e46c2c99f
-315 c1c09a16b26fe56d
-316 c1c09a16b26fe56d
-317 9c55b4a3020d3e25
-318 a326b8d32106e3bb
-319 33edee3c87b766e3
-320 aad04e9b49d604a3
-321 30332a29d1f0a5e3
-322 30332a29d1f0a5e3
-323 c3d9912acc0068a3
-324 9b900d2718066660
-325 960ffb8adba97fe6
-326 1d01b2c85cedd968
-327 e4ff5333fe28dbb0
-328 e4ff5333fe28dbb0
-329 a27c09e1c79b6c40
-330 5fce759a88db1c48
-331 12ba6e98f0b4ef36
-332 332346bcfd73360a
-333 47af15b43472ef45
-334 a67c14911a5977e2
-335 4dfb5d12d0f02f29
-336 725626851091b41b
-337 27eeed9ae4616d6b
-338 90ac7c4b992cd0ce
-339 265f0ec059f498db
-340 b5d0e6de658a2aca
-341 b62f6c0bd16287a7
-342 037c4857b60b7f4d
-343 08ace287448e3c30
-344 ff8ea6e8fe7a10ff
-345 56ec12aa5a6bfdeb
-346 8fc6cb52211e39b0
-347 9e9d7f5e63fec0dd
-348 f721ae13f3197a0c
-349 491e22204f0574d2
-350 9eb3d0a9e92ac909
-351 ab582224d8f9fa3b
-352 9a61c709cd43e19f
-353 162f7b94b7126c7f
-354 f8705d8a2f8d9cff
-355 f5e20a1e8a8787e9
-356 be974b7e64948827
-357 5c27152c90827f1d
-358 986fe2fa4d04fb57
-359 3c1ec9e66daed8ce
-360 d2b33bdb88c6a206
-361 01916026de3b1dd1
-362 57cd832a71cde00f
-363 8639000041fb1cde
-364 7c29d2bf3ef56e9e
-365 018e3b7c04ff44d5
-366 e835343e674b3a94
-367 80f39fadb6ce22ae
-368 cf23874aa894f7b3
-369 37e4db97f33a1f33
-370 3f272452efe7bf46
-371 b52a4f2d6f3d544c
-372 2814371f8a5a1ad3
-373 d2869bb36fc98654
-374 9d8cc39e0c68c33e
-375 4a009704eb8a42fb
-376 5f0142f9eb25f528
-377 5f5d667313e26e25
-378 8570157325efb67c
-379 16ca31e891d97ce2
-380 f4aad56fe0f4daa6
-381 d2932aabab73fdf2
-382 c4abc410060f8306
-383 85c2594122057739
-384 570acfe3cf094a05
-385 7798a27f44b46f11
-386 bbdacac2010b3d5f
-387 06f2944da5cd4aae
-388 8b6758e3c5624033
-389 eb242a12a35a889c
-390 6b623a79a6942ca0
-391 c6f2599a174b5f5c
-392 46176c34f6810d90
-393 fab919da4d00490c
-394 cfa496e24fed0ba8
-395 b898969a5eee1e49
-396 02ae21260ce92d53
-397 861c1c4eae4755ad
-398 188f33123cd4c88d
-399 cbaafff0fc6699fd
-400 b4132a659dd5eec9
-401 0d03b20faac3c76c
-402 2b1aea1b15e0696b
-403 26cbd0d99c555e7a
-404 5e269389fa10fedf
-405 af9073cbccbe2f4c
-406 ed079dfbaea1eb58
-407 6967164fddf9c85d
-408 fc1d74239b9a6f21
-409 348fc625bdb89328
-410 a3b8d0cddbd97aa2
-411 3979deb3b8e3d37f
-412 fb8136b62ecfe95e
-413 c5a041b82a9a1b50
-414 7a4b550f19a28226
-415 8a788215bd31a8f6
-416 c23e4ee7202f5727
-417 c6622546351ffeee
-418 9fc996ba3fd01d73
-419 62fc2ee1f79fa142
-420 eb7fcf2d5bffc28e
-421 ca2af1d42e3ca06a
-422 4155bedb08668cd6
-423 578352b559c7ba62
-424 7572301e66417d23
-425 3e19d15efb4ab440
-426 f36f46ff851d7949
-427 7a781f88794e53e7
-428 2ac42cdafdcab84e
-429 5301b5f9819c129e
-430 f396fda8bb7d00a0
-431 593fd238bfe491e4
-432 e3ac03db3cc17b6d
-433 963242a1f825bf10
-434 d721bcdd0a7751ae
-435 6edad1f4f52d97c4
-436 c281321b8402bc70
-437 c16d1b808a9cb822
-438 adee441bb1c6e836
-439 7ac221eb16835e47
-440 88ef4aaced8d2376
-441 912144568e64ed2d
-442 3bd14a92fa0a31b1
-443 d5cd6f3ecb7985b2
-444 b4899aad99cc470c
-445 1e40d48a64256481
-446 7127683d9f2682f8
-447 f27ad56b7a926513
-448 9d4ea5343eed93d2
-449 9be6188ec3eaad02
-450 4c231a2a1d8cf43a
-451 37035718e23f6857
-452 ded253f58ec96532
-453 1b598cd9939824c3
-454 36850d0557408b5d
-455 de4ec3f516c9963b
-456 6447391856df0e5b
-457 50bf00850804ec6b
-458 492342a12940b18f
-459 95da792788a19eac
-460 ac6d1c69d141766d
-461 a3cc443fbbb1a012
-462 a7c562f7669ee237
-463 a72d8952622fb400
-464 aad261d6ad0a695e
-465 16eb1121fb49594f
-466 65b420300d1ec3a1
-467 a1f42b1bb1cbfd2e
-468 3b700667f7c569d1
-469 7297107f2bf16ed2
-470 2c2fbfc7079fbbcf
-471 78fe2b2e42281d24
-472 21cd1be32c12b5f3
-473 614f9a5ffa12111a
-474 22eafd60bc044075
-475 6b92d5789d5bfa2d
-476 c6272061aa58f672
-477 f923cc19789a3409
-478 110ac4e2ef0082a8
-479 76ed268952dfc2f8
-480 3e9fe9516c76183c
-481 05560b38b2f697e1
-482 a6815c0304987eef
-483 07341f1160ecc26b
-484 b4b41f72a4c831d3
-485 c82ad57cd09a53a4
-486 1ed92f9bb1763a3c
-487 d245bbb773783c9d
-488 7fe1304fc9c58da1
-489 2f6bd9f9089398be
-490 1b02f2adf1e21fcc
-491 793d0a67ff9385d2
-492 b11ee37afd4c516e
-493 3bf5c889229c2e31
-494 f0ab41e797139199
-495 859708bdc924fbd8
-496 4561b185ae26a9f9
-497 971ad8b6a4f9a674
-498 d2a9020ed484ae91
-499 f802cb959b352a87
-500 69198002a90636a4
-501 bad1b9b5be84cf3b
-502 590ab0f60d691464
-503 e7f0bb076bd68355
-504 e52726e2c457d200
-505 0ffe397c58dce865
-506 c675f099db01dff4
-507 e18484471be5ddfb
-508 b3e76d3e0a61f70d
-509 af52226348223365
-510 6e37c8e6017cd0f9
-511 7af821cf72d33b46
-512 12fb8cdb3c521617
-513 ca7e7f63cf22718b
-514 7c5eb689df961525
-515 e14163d6d5deb7c1
-516 c81f42f405edfca3
-517 8782a302807fd58b
-518 267c0e0a5bbd30bf
-519 2757cd6ef02c7a24
-520 9df07be0e94d400d
-521 c36cd9169baa039c
-522 2796f3773990dcd7
-523 31946d4c121b71e9
-524 04a5edfd1cf5da41
-525 17c53202cb89c8d1
-526 953cd88d6c2e8e38
-527 8194c493dace33ea
-528 aa1bee2682dce743
-529 a4d8fb880ba68982
-530 69ba782ad4b28fcd
-531 e00189d31058f362
-532 6d4f499f814c1441
-533 c6a1fc8ad9b7c2e6
-534 587d8c98f1527ea4
-535 0218fb92a0481eb3
-536 7fc34bb7bea83680
-537 8ae50c73324e107e
-538 72bc311099fdcc7d
-539 3c392e2d769a4c28
-540 e5abfd39bbcb070a
-541 8e9ea43d5c3c543e
-542 c560ac7dc3a94724
-543 a2d77c44aa76d1df
-544 f484019e83c1deca
-545 0c542e3eaad28393
-546 74c34a875222fcad
-547 7e15d1acb5a956c8
-548 ad3467113f423d9e
-549 edebc6b2e4935c41
-550 3808c19d9ab7a3c2
-551 dbc8b461ce016ebe
-552 d5c92d9e18a1fefa
-553 a4189d77817c1d7f
-554 6d8913bb7851973f
-555 d06dd2074a87ae93
-556 4d96587fd28fa9bf
-557 8f182c2e1fbaee91
-558 27f810170704010c
-559 b8602d8478f9ae32
-560 26e60bbefde88b3c
-561 3ca6427e51473572
-562 def5fa876ad329c7
-563 95da5330df0a203e
-564 8779aafaab55f560
-565 e0456699d270db71
-566 305bb01626171e71
-567 9cc3e81e388b01c7
-568 b7556f1193173f8e
-569 32e0e1d56f5a6d4e
-570 c31b21490005d68e
-571 cd7376f33c027f55
-572 9809c0edfcf903b5
-573 eae01ad0253fc11a
-574 3952d97a9470256b
-575 9fdc46e99c828b5a
-576 e3bb753d00aa71f0
-577 716af4e01e811084
-578 b962a402e13c60ea
-579 410ed780d297cad3
-580 4a5984d8fe419f1e
-581 b59a8231e3221d00
-582 b508cc7c0ae41a4b
-583 be9a9daaf57e94b5
-584 20a98e2bfebf6a1f
-585 b1c1ac9621bfde8b
-586 d78975c1bf89f6c1
-587 47dfcb6a76e919ae
-588 b6657826309ed725
-589 27d8cee1ba248efb
-590 0e1748db0828a2e5
-591 28b19f772057fa01
-592 51c1aa83b39eadba
-593 33111981605d7eeb
-594 6a7d7deec21c7116
-595 6bff01770516859d
-596 201a9729ffc2c223
-597 6da6f2480ecebee4
-598 092b1fe17f11c48f
-599 1f5d1c01eab7992f
-600 950ba6309073998f
-601 1063eda958d7faad
-602 0f9a715b8b048876
-603 6424fac7e2100ad1
-604 cb4d7608d820be58
-605 e789cb7dd5cd0d85
-606 2b63ef6d0d7d382a
-607 c64d86f7d767dead
-608 d39255c6a2a15a09
-609 790220dfec08f115
-610 d7b4b221a3826644
-611 3df0248510c12e12
-612 1380e9e613c04990
-613 204d086acc89f794
-614 6f8a8f6a411ad5de
-615 a55978ab7671f819
-616 5c4f51e2a6d2e319
-617 f07e98248f43a2d5
-618 8e9a57ccffc6b912
-619 023e423665a3cc44
-620 c57fe3e3d599ff39
-621 f4a10572562c4374
-622 edaa2d1edb1a32a0
-623 fe55da68225d5cb1
-624 922be4f0d023bdff
-625 45d54da5ae4c0237
-626 0d1a208ba2ea7379
-627 7c58b9265fdc5156
-628 376772809dc82a54
-629 1d78cfe849213f63
-630 d14b3ad1215452db
-631 c75c4c5f02cea907
-632 cb6398edf5983f67
-633 7a49d5f751d73da9
-634 e2777332da098c2e
-635 5a0c13d1bb740f8b
-636 616408ec17f9d3e4
-637 34e2d7acf282575f
-638 65863f4e5db979a7
-639 dd7cd0bd9fd1fa97
-640 4e67482614d4cc10
-641 1da6ab3619f3524e
-642 26f4cdfec9c207c3
-643 21015626f9b4d799
-644 1da4ed612b383500
-645 8a6a06ad59bdecba
-646 b6d565f9746859e1
-647 f085ac5ee46fc12c
-648 e8e3dd2f4c6ab376
-649 f19c94ff58eae970
-650 4eb798c06cd55841
-651 a9a3d7f3de86298a
-652 432406f6fd9e2ae5
-653 a3cb22243d537f60
-654 e29e09ba151952c4
-655 2c23dffab0cdfe35
-656 d86430a4e69fddf8
-657 c081db5b085e1be9
-658 2ad0cad5ea31912a
-659 c0dfe7ee56bf7c3c
-660 1d3f04a04a7f83c2
-661 4c4efbb27ec10ab5
-662 f6ac78227ba8529c
-663 d5be8eaca526df3c
-664 79af1a0ff9c37f77
-665 06e5d74c141716c6
-666 e3eec9b8115e1933
-667 2311f738ce196b83
-668 9ea033606fbeaf1c
-669 34a272dd5a4b84fa
-670 bfa7e16efd2ec8e2
-671 443b1b6f33dc4f26
-672 728ef2c952497c71
-673 ec23990a3a62cf0e
-674 15ac0ff0154b016b
-675 c0ac468f566d8a7c
-676 a6384062f6d43f1a
-677 ce8247c18b859c53
-678 de6f46a22abbb999
-679 0aa2606d33f4d1ab
-680 ad9d52ec9b34c1e3
-681 08eb27e6385a911c
-682 0a03653a8790ab30
-683 6a176115a4c96abc
-684 dbd9e5041f9ba630
-685 1120a6152b60e982
-686 18530094ba7bfe99
-687 d1864da619e2e4ca
-688 fe92178c078f8e5e
-689 6e10b6532076aec7
-690 ddf7fbcd0bbe58b3
-691 0cd67470d3696c35
-692 cb64a62891c09e99
-693 63897f74b082cd2f
-694 60cd212f22006aa2
-695 2e371fdda3f1e878
-696 d0e31fa42325c2a5
-697 0cc5b8bc0bea07a4
-698 cfca79c5d80479d2
-699 b2ff73b35827aee6
-700 0f3c561d10bde5ff
-701 2bb1d49ced16f98b
-702 74ae1d0e33d104ee
-703 9e5848d0d79c658a
-704 c1c4c5dcb2e466d2
-705 3d52c55ede085be8
-706 fd66f2cca4fadc01
-707 9ad897cc34f4ce73
-708 7dcae7e31c8c3e8b
-709 0e4c9d34761ec433
-710 613ab39abd215fbe
-711 a60e5ee9d669b20e
-712 1127d978713d1ff2
-713 9a44dbc251ea83cd
-714 1de517ec06ff4a37
-715 1eae7c0288fa709a
-716 fe76effd346f4566
-717 504e02ae824bf5fe
-718 ddeb2f75a5f19098
-719 80c88cb80969f695
-720 56f79abc49f502bb
-721 ef1960660893eadd
-722 30392f1f85ab4112
-723 ef2e63f277607143
-724 3d56bd7b4e5d90dd
-725 ccdd956d03dfb8db
-726 d7b70193530d5447
-727 c8288d6588b55812
-728 a6fbf905943d7bae
-729 015bff7ef9b2033f
-730 491c9242dbfc5967
-731 42afbf34669e5a6c
-732 8ffcd2a25ef7b935
-733 8d056db8eaf3373f
-734 df97ae74ce34ce73
-735 e9bb5ae8b1e99aec
-736 a4ce479e357ed3d2
-737 9f3cc5dd352552b0
diff --git a/rdb/bench/ref/ugc-rgba.txt b/rdb/bench/ref/ugc-rgba.txt
deleted file mode 100644
index 998619aa..00000000
--- a/rdb/bench/ref/ugc-rgba.txt
+++ /dev/null
@@ -1,738 +0,0 @@
-0 f666d564fd8a1459
-1 6c7abc459c6cebd6
-2 e4f1c04ca46b4fbf
-3 5a878deef3c49e90
-4 df7ff438f03211c3
-5 db8c9ecffaf2f1b2
-6 bdf5c73d4c00471f
-7 818fe162bdb4cae7
-8 91b6836ac10a1a1a
-9 0bd4bc0c122cf5ac
-10 d34ccdea6b91abd4
-11 bf388a027a907856
-12 6c6f4580308855e3
-13 35df83b3daf68a3c
-14 a3fd96e4ec7edfb0
-15 5d0a2f5b7ec2b7a3
-16 b73b6f82cd766749
-17 c012f4411df73ec8
-18 f312b28709d428ca
-19 0b6e67687430f4c3
-20 e725b7c6378c66fb
-21 e44c79364799516f
-22 2e31f15f4f6ca543
-23 bff7f2e284b91119
-24 f195e2a1074a1c47
-25 deaaa6bc0ce53ceb
-26 70b5b371320c3acc
-27 2a8a5adca9bb1a93
-28 fc16b4da5bbe713d
-29 d6aeea5fde4e0699
-30 c9be4c597e470795
-31 2e9388803a4e5f20
-32 59ffbca1181e12f5
-33 6939c82e1af2af8c
-34 199a61fba7f40fed
-35 512187bdc63e7860
-36 20817401ce3c1f06
-37 307c68865ff3d15f
-38 6f342ef0c82d00b3
-39 7bb0c29dd94bc237
-40 1418c2584221784e
-41 13d00cba3a66fe4a
-42 61d74878450a02f5
-43 5fe3cb41374e70dc
-44 c497451e6180772e
-45 712a2df850bc9339
-46 7080e0f039fa3e5a
-47 df1c31e107ea8e69
-48 cd8fefb4b68205c5
-49 dc2b9813a36f2b86
-50 3eebdfd96ef72204
-51 e3011a275429533c
-52 d6692f76feb40e18
-53 49ba0d9b9292db97
-54 ff64b39c19682452
-55 63ff84b755a9aa1a
-56 f198ac15cc637d4b
-57 16cf223a7a4fdb32
-58 50dc4571b8984b82
-59 02add44f51871e28
-60 8db83456fe276440
-61 9b2d5789470a7cae
-62 828777113a9404bc
-63 07ad2023e3c4c921
-64 b2c80ca3d7d4c82b
-65 03aae25a752de9b5
-66 a22cb808c7d2e8da
-67 54a9675a36ceb802
-68 81bc64aa3a041a7e
-69 b9abdd777ddbec46
-70 65309f2feace838f
-71 f9db5c491339fe6f
-72 8f244212b98b413b
-73 609a9dadaac71694
-74 c199a018a65054f3
-75 db3e1db9031532ed
-76 283682405078d61a
-77 b83cd604aac379cf
-78 0e73db9283f029a8
-79 bfbbab2378caf44b
-80 9510786234bea6f1
-81 a0c0ced6396b166c
-82 4c970e09c1ac12c0
-83 d13c80d26352e1f1
-84 883ca4f53c928675
-85 4052d9869ca3c621
-86 46fc254b6c7f4e6a
-87 533c52c59eb7fefc
-88 e6b1f715462015c5
-89 ba62da4b7f7a7ad7
-90 2dc3cda25aad9d1c
-91 49c04546380f5894
-92 92f62eb6f71859bc
-93 49406c8bb9d319a4
-94 61b6c84d7924ef1d
-95 8682e473ac72ea43
-96 64150d4ea76a5da4
-97 2d06c0585f614964
-98 f75ad03c55071c73
-99 cf94f4fcfd892363
-100 260fd1155aa9c1ed
-101 aacd7dc4f89a9a3d
-102 90eb5fd0f550c118
-103 e3ce9d440a972323
-104 e3ae82e1fec269d1
-105 1669cfcee883a50d
-106 174817cbe6047b58
-107 40e658f73245d4d7
-108 518b459c1b6748a5
-109 c9bb625ac69775a6
-110 b6414e1dd6b38cca
-111 6abf8f0ce96d72ab
-112 bbd50fdae5f02f9a
-113 f5ede215aa44a15d
-114 2002e813d876f5a5
-115 2ffe120cacfcece4
-116 6c6922a2fdd9e4e8
-117 921cfb9578bd30b8
-118 a67d5b350fbc96bc
-119 a36404673b169f3a
-120 ecea81c943caeb6a
-121 4bb3d81a38fbdd60
-122 d805e5a03225a649
-123 b7cdc4c2fc043619
-124 f3d8edfe5f72e083
-125 cac719b64091db1f
-126 883e6d3f9d2d439a
-127 fc3552a2d88c0f50
-128 c0fcdbdf7ea7c330
-129 f9ed0d18d16579b1
-130 bbaba96ce39369c1
-131 ce69e4ca9bdf7f7d
-132 83d718e6abe6f21a
-133 7cd904e378bb76a9
-134 b555446dfc6925be
-135 464939c258a12aef
-136 a29031ea6ca39089
-137 1b8b11975fc74755
-138 03a0e6a55acf39e5
-139 c586bd4234c66760
-140 0ebe7b53fdaf66f7
-141 47e4343b1b6fbe44
-142 51ff6a789e076f25
-143 772ad4ef64676155
-144 8e781d99cc2a8a9a
-145 c832cd53372acd83
-146 ed4b867149918544
-147 ae332071af0c7d1b
-148 d4470bf8a128cc3f
-149 3e3af149fe1848bf
-150 e33740c71d8b6612
-151 8afbafd39d2ddb18
-152 1ff3b707515437aa
-153 0f61c304d9d6a905
-154 30bf6d9c3f38b9a0
-155 74c12db485c37fe0
-156 85940be2fd7e32b2
-157 290666bc86801c8e
-158 6e19597bcbc36ab8
-159 83b44563db768e9b
-160 31cfe4e232e85bb7
-161 186c928010d19151
-162 6a8edab89721d065
-163 a64dc317eb52d7d6
-164 dfcac1a381a20e46
-165 95a55d147dfc76fa
-166 5cd4070fa95c3c0d
-167 e3281a367bef1220
-168 3d848163e2d3576d
-169 d86a5362e28574a1
-170 c1afbb17114c7a60
-171 ac181df8d63d5da6
-172 f112b43e621de45c
-173 6933908571d2eaeb
-174 8c58153cb87a4429
-175 702c1f4c5a2fff84
-176 dc5688b71a41c6cc
-177 d19d8e03157a413c
-178 7c6c0807f30c8a61
-179 d9eaac70f4787f64
-180 e3825c1d4fe0b391
-181 d73a7b12508c22d6
-182 13ae0d3336b3ba9b
-183 0cb92a24dfb88336
-184 92e92dabe643d5e8
-185 357f3034fb08e400
-186 70607e67a023df75
-187 56361427439ea093
-188 0ba6524f89eaacf5
-189 66e66cb2d8955862
-190 2d7f36f604ff944a
-191 d485dde848cc2ea9
-192 f81f0f79a4b3201d
-193 ec1f25e68ccb73f0
-194 8e5d333301653490
-195 7128db300f12be2b
-196 d098c8053ad0b5e8
-197 a90a5aee6505724c
-198 2dbb1b3ea9f1b45a
-199 a699101ce332870b
-200 08b8658c8f834478
-201 de0807b3109c7806
-202 c1b7eaae7ba34a3b
-203 28d4a1445ed82da6
-204 c825b1fc9880fc90
-205 02be4883544e53c3
-206 b82fad18710e86ec
-207 1a0e00f44e433a87
-208 af9f84fc5f9d054c
-209 c194fd1388cec445
-210 5c3f67891ff0fce0
-211 360f661100dad7cb
-212 0706e5d5040afaad
-213 e41db984b52637e9
-214 0c71d8a42452a816
-215 9a1515f488df7433
-216 edad55f05c5bef97
-217 d99944193102ef2f
-218 4c9003ceac1453e9
-219 d82890800cccc5d5
-220 d82890800cccc5d5
-221 c5ade26373b8b839
-222 9d3e3853e10b6b11
-223 98c790dc79ad008c
-224 8423eefd022bf14b
-225 eea7838073cb4ddd
-226 eea7838073cb4ddd
-227 be4f6a7158e48ef1
-228 4890c5ef6e2010d3
-229 3d26dc54aa7d8d49
-230 56b4f8a19ca85e8b
-231 df037de5bd72c648
-232 df037de5bd72c648
-233 4c7854b779adb262
-234 e46b7531349ba558
-235 3bed17d8764b1558
-236 cab782f657b2c271
-237 14e1948d6101a12a
-238 14e1948d6101a12a
-239 72c784523e15b018
-240 1c4b9d49aac95603
-241 5fbaf268bbce9f1b
-242 96bb02a1537c2c77
-243 f9202013836bc854
-244 f9202013836bc854
-245 2fcbf1fc7ca936e0
-246 1379eae7db1ab4ad
-247 dd6a59f5d52e9471
-248 9609372901fc6744
-249 256f0161cb656f77
-250 256f0161cb656f77
-251 7bd9db3a24bb629e
-252 9e4ee585893ff446
-253 f7875b4b325bb46e
-254 2c7f4311cd3adb4f
-255 306e0893a70db0e5
-256 306e0893a70db0e5
-257 299ac451a2b9f9ff
-258 a130c6e58fd3d084
-259 d73350569ff7c486
-260 23d1a0e264d1e828
-261 bda72da9dba4ff95
-262 abd6a5d2be0bfc68
-263 93cceefe4b9d5a4e
-264 b823b89c2881390a
-265 25bc961e965f5f8b
-266 40d19d1575487192
-267 9be6a5b887a24bad
-268 9be6a5b887a24bad
-269 56ba411a97f67fad
-270 cc59e9dc8f42f5ec
-271 3cd877c2312e4189
-272 ead8f66dd53aa522
-273 ede2e7529868ce23
-274 ede2e7529868ce23
-275 f7fc69919babb777
-276 aa83ef9a80c14165
-277 12166fdcfd2fbe57
-278 8d6577016e0cb89b
-279 c93c6b7c637eabbe
-280 c93c6b7c637eabbe
-281 946a8119810d2f15
-282 f522331c4cf84e9b
-283 e47a1a14644292d2
-284 b3a29322e29691ae
-285 3813b1ea9a3bdffd
-286 3813b1ea9a3bdffd
-287 415b35ed7b251f76
-288 21c4ab7a863c8719
-289 a37677e99240bae6
-290 458f8a6a8f1e63b7
-291 60b62603b2d406e3
-292 26e1b08c6cea45e3
-293 76a74ed0b0ff59eb
-294 1380ef72a32b067b
-295 d7d0b4da23109f25
-296 7b1cad1e74b80732
-297 28cd5a503cad9260
-298 28cd5a503cad9260
-299 5097ff087562f533
-300 e4e987b1cd4e20b3
-301 6b3ef3c5c2030e2f
-302 b5d1f0f884ed2329
-303 7fbb4cd58cfb9ef5
-304 7fbb4cd58cfb9ef5
-305 df83d8308e12bb23
-306 7c2cf1e7ef23f136
-307 3e58f4e57b4281b3
-308 03a6598b3c589890
-309 6f4550f60acbf3bb
-310 6f4550f60acbf3bb
-311 e234de894b6b27ef
-312 e4e05a08f59c6a80
-313 697eaec15c0d3ccf
-314 2c969b47461cf30d
-315 2f4ca78b3d6ec653
-316 2f4ca78b3d6ec653
-317 092ed7e205edd4e9
-318 040a672a83d9862b
-319 6c0bda469793869e
-320 8e8117e0957b70e7
-321 deed101e17c37edd
-322 deed101e17c37edd
-323 a271548badf9cfc8
-324 5f82bcb162b39348
-325 5390f4c86941e2c2
-326 f5df1d57d4a5cce2
-327 6a810d61271390ca
-328 6a810d61271390ca
-329 8e55e06b41877487
-330 5d4ca82f6423d399
-331 e02a802c8d98126a
-332 86a6728017d811dc
-333 e72c3f1a336b25f3
-334 7e83d3fcdbe5c9bc
-335 e85273f9d4cef20f
-336 a6b35a3ee61f2390
-337 64a049b4f4f4302d
-338 8dcc2dff508d0e30
-339 d2048a3c12ff18a9
-340 6107edaa09511a3a
-341 28e028296bd614ff
-342 8890632e16e00bc7
-343 ec259aa5781680c3
-344 df684ea8573076fe
-345 405e5fca33c0ed98
-346 7dd129d1195b01e2
-347 a0f28ae53b88d2de
-348 07ad9a01f830b510
-349 405f3a338746c222
-350 e98dfc8b90f0e9be
-351 de732beb4c43e986
-352 11097216814d4571
-353 eea7ca15789bcc2a
-354 64705d4872bdd6ef
-355 6560880733301329
-356 cdf618e7468bcca5
-357 158ab34405aa2abc
-358 7a16c5140d502ab4
-359 e50d7491d27d9350
-360 db769669ec76822d
-361 76f6b896d4f2732b
-362 ef09c9e80c5b2dc9
-363 bbc3ad8eabe1763e
-364 9af8c17c8be174ef
-365 41e1b9e9dbd4748f
-366 0ea03962ca59018d
-367 f35f8681044ba593
-368 73275bc4852832ff
-369 44e6166c151d8b9c
-370 dcb68c40f7311089
-371 d0eba2f38f53d3b0
-372 203e57c5cc74de33
-373 3a9469dd11c426c5
-374 9a327898a7cb5d99
-375 2299db9291c6bd48
-376 d55313dbb8b00101
-377 058d954d276da312
-378 8d44148de8cea3af
-379 337263ecf02d71d1
-380 d3ebc2e782684895
-381 a6c471e43363ccf6
-382 b2d3c3f48b369d42
-383 dff1803eef59ea58
-384 6e8ee65d363d76b7
-385 314f59b37a4d4a95
-386 5c584ce5143dbccc
-387 40bdb1f6f47ec1e0
-388 ea7db2e9b3a4a9bc
-389 9b4a416ddc2c2f15
-390 d50fe6a584901865
-391 d49236d472a5ef58
-392 b144a32145d5b8fc
-393 87020a0c0a754180
-394 cd1a4f6de23c3b10
-395 cac1e3f7d5bb5064
-396 cae36b534002aac6
-397 1edee291455c567b
-398 a0d1c2810ced3076
-399 0be08d57d455551d
-400 45a50aa3ec38d844
-401 ff9b587df275c38d
-402 395cc5f2239d0db8
-403 c8e7ec7e089babf9
-404 38bae20ac36179f9
-405 f221eaab65c94dcd
-406 8a6ec4fea73cc322
-407 4c9a738ad0e4d541
-408 05a56f1eccbd55e1
-409 880324955260352d
-410 07fc0b8c47a77ef6
-411 d3e47181728f3c51
-412 6a0bcfe206a70e84
-413 3f1c7b2cb46e8cd7
-414 c643e25ee5d5c80f
-415 b4f7a181cebaa4af
-416 4d80129fb5c2226d
-417 cebb2747346aca15
-418 3d37c9804e4bebf4
-419 e1b423d1a42caa57
-420 a1ef6614e23cea7b
-421 d5ad0518b918cb6d
-422 deeeb1dcf8ab6c39
-423 fa83f63f7522f280
-424 d6b6f628ffa067c2
-425 1641d85614f89126
-426 da653006a4c172ff
-427 f1bc34764efc09d9
-428 66eebfc4ecb75195
-429 181cf9e09e2be31c
-430 9a1eb5981389f404
-431 0eaac3c7c6906835
-432 6d224837c8b37657
-433 dd824a9e76ef5f7b
-434 ce301dd741909908
-435 fb7f9cdfec3270de
-436 0f0c0b8a20193c77
-437 f6e2e77902687e75
-438 89b9feffb00d6d87
-439 6a684d804b6924eb
-440 b5aa54d76b785195
-441 816d0218142e7ccc
-442 2ded9f463402311b
-443 d7b11dab28cdb115
-444 696751af85993fbb
-445 a8fc3cba82c343f6
-446 d37e42063b4cbd72
-447 69d85fd6c3167f0f
-448 6f131914a548055b
-449 93c56d799387fefe
-450 f2b23b398eb14031
-451 42465323c42109d4
-452 c1c8891a6dd7f560
-453 bf592748e73dc1bc
-454 dca0b7b50f777374
-455 a94f4f5ea6ddaf5f
-456 3a44240e9a837ddd
-457 a6e742ded4116043
-458 c7ce0476013f8dee
-459 59483c60b1ab2e22
-460 d37fb4abf833e96d
-461 4a5bf3ddc61f9263
-462 67d6dfa589211880
-463 55f2a8c1e54bab5a
-464 1d5b94c111eb0ef9
-465 e7605480234f0d98
-466 13f3ed65dc1181f6
-467 bf4084c9716c6b19
-468 bb6219620465644c
-469 1fe1276ab5f5d187
-470 989d4205ce005767
-471 7054ec938ed549f3
-472 f6e5431f0beaf57c
-473 308b1b4ff0752048
-474 209fe71c22983de3
-475 85a7088d978e4cdb
-476 365cec8a254bb583
-477 3cd00620dfeef546
-478 d2fb071bc59aa077
-479 1feecabe114b76ed
-480 72d0ba303ebb62e0
-481 5e34df03a6c3b0c1
-482 86615288b43c99c7
-483 67c076b67e10ee99
-484 7b3207bee28dd9f5
-485 5f4d933de67dcc37
-486 c46d55309d8a6497
-487 2a6dab09ab75e454
-488 bfb674ded2775479
-489 8a874d5e4ab34283
-490 218e5109622990ce
-491 3f132fccefe422a6
-492 847ab969ec252852
-493 c75cf014db5c59d1
-494 fc87465c983edcf7
-495 5e727bdf1248d253
-496 0379672f49f101e5
-497 f439c02b0ebd0c67
-498 c00b97ed5335961e
-499 0204223c5116d078
-500 2ca2621b59d4b745
-501 56dd6bef18a2453b
-502 65a658c223740ad6
-503 03d6e08e17075409
-504 cda838956d95b090
-505 777bf2931cfc88ad
-506 9c7d43da21fd4f9c
-507 6877a749ec4db62b
-508 217ba9e6cd6b618e
-509 c11f2cdad6f3089d
-510 b405fcd3f8aeed21
-511 37d65aaf33908932
-512 246b1b0651721820
-513 b728c6224e70d002
-514 0dc6ab15db4c7d94
-515 fd226ef79257e2f8
-516 fe5702ba39acad78
-517 191bf06588425ed7
-518 ae011f22ea74e764
-519 a81163dc9f7d0d07
-520 9b1812b72810e689
-521 21aa21cd6a143fa9
-522 bf5fa3717fc9de56
-523 086dda83b3accd9c
-524 97e8cf2ff073b7ad
-525 eec31231d1ad2fc0
-526 fee8ba38d01146c3
-527 61f8ce9125e4612c
-528 8af88c50ddd1b216
-529 1b4dd1c37bfb0656
-530 7ca03b16e7a88b7f
-531 97800c4560e09638
-532 f9a70ba2e3bd5129
-533 c9e68630f4bbb117
-534 9c327141e7baccf8
-535 b9b30d15d5dd06c3
-536 4027ec1978b2ee9f
-537 ff418af374665e42
-538 e7ced8a17db28406
-539 ed97bee156389419
-540 60f8416f2698a98e
-541 c5eb815500afdda8
-542 e0f9eca308cfc9bc
-543 c9b2addfcfa9deb0
-544 4117c3e4ab4609a3
-545 5bde0ba6ddd2c4e3
-546 79137da7fd5abd0f
-547 223234438522ec4e
-548 30d576a931f54f9a
-549 593677676cd5a601
-550 a0597336d9350a1b
-551 e06b50aa1bd9a98c
-552 4944d824546d9050
-553 d60aff0c40712550
-554 6ca0a5d4efd80d8c
-555 846de6be29fbfd4a
-556 1f3f8bc401a3e825
-557 b060c58d91fbc8c0
-558 131ce13cfe6f0edb
-559 580903f6c5f9a8b7
-560 230c1110af492d77
-561 9ddb7c16b148aa99
-562 a18771600cbc37f1
-563 557aecc1545cebc5
-564 581987fa324d5c89
-565 671eab1694ef3081
-566 1a703d1c35bf53ae
-567 c12d33475aa27c2b
-568 5b2ec57231fba8af
-569 2e0f9c2ea5a4cdc3
-570 d3727ea792a8eb55
-571 a6e1145ecb1b31e4
-572 55e33b6d977eca8e
-573 8187629c447291d6
-574 8b15179ebf662793
-575 9ec0a4283ce0e585
-576 6ce775f78f9546d9
-577 50bd8f6e1c5973d1
-578 b0516ce7a3ff2cc4
-579 26f2c7fa8744880f
-580 56e62c0b33b6e3f0
-581 7e7aa1d630e3e471
-582 311864cc0c315d89
-583 e8994cf71fcad8ef
-584 9da063a676d0d2e3
-585 3348159558a6d851
-586 61029a52dcb70eaa
-587 10d08213201ce599
-588 c867eedf2eaf1b14
-589 f53f479d3fef3ccb
-590 0c6d9c6762d5f928
-591 e0f1361cbc3ef978
-592 ab71417b2f7d8e4b
-593 33111981605d7eeb
-594 6a7d7deec21c7116
-595 6bff01770516859d
-596 201a9729ffc2c223
-597 6da6f2480ecebee4
-598 092b1fe17f11c48f
-599 1f5d1c01eab7992f
-600 950ba6309073998f
-601 1063eda958d7faad
-602 0f9a715b8b048876
-603 6424fac7e2100ad1
-604 cb4d7608d820be58
-605 e789cb7dd5cd0d85
-606 2b63ef6d0d7d382a
-607 c64d86f7d767dead
-608 d39255c6a2a15a09
-609 790220dfec08f115
-610 d7b4b221a3826644
-611 3df0248510c12e12
-612 1380e9e613c04990
-613 204d086acc89f794
-614 6f8a8f6a411ad5de
-615 a55978ab7671f819
-616 5c4f51e2a6d2e319
-617 f07e98248f43a2d5
-618 8e9a57ccffc6b912
-619 023e423665a3cc44
-620 c57fe3e3d599ff39
-621 f4a10572562c4374
-622 edaa2d1edb1a32a0
-623 fe55da68225d5cb1
-624 922be4f0d023bdff
-625 45d54da5ae4c0237
-626 0d1a208ba2ea7379
-627 7c58b9265fdc5156
-628 376772809dc82a54
-629 1d78cfe849213f63
-630 d14b3ad1215452db
-631 c75c4c5f02cea907
-632 cb6398edf5983f67
-633 7a49d5f751d73da9
-634 e2777332da098c2e
-635 5a0c13d1bb740f8b
-636 616408ec17f9d3e4
-637 34e2d7acf282575f
-638 65863f4e5db979a7
-639 dd7cd0bd9fd1fa97
-640 4e67482614d4cc10
-641 1da6ab3619f3524e
-642 26f4cdfec9c207c3
-643 21015626f9b4d799
-644 1da4ed612b383500
-645 8a6a06ad59bdecba
-646 b6d565f9746859e1
-647 f085ac5ee46fc12c
-648 e8e3dd2f4c6ab376
-649 f19c94ff58eae970
-650 4eb798c06cd55841
-651 a9a3d7f3de86298a
-652 432406f6fd9e2ae5
-653 a3cb22243d537f60
-654 e29e09ba151952c4
-655 2c23dffab0cdfe35
-656 d86430a4e69fddf8
-657 c081db5b085e1be9
-658 2ad0cad5ea31912a
-659 c0dfe7ee56bf7c3c
-660 1d3f04a04a7f83c2
-661 4c4efbb27ec10ab5
-662 f6ac78227ba8529c
-663 d5be8eaca526df3c
-664 79af1a0ff9c37f77
-665 06e5d74c141716c6
-666 e3eec9b8115e1933
-667 2311f738ce196b83
-668 9ea033606fbeaf1c
-669 34a272dd5a4b84fa
-670 bfa7e16efd2ec8e2
-671 443b1b6f33dc4f26
-672 728ef2c952497c71
-673 ec23990a3a62cf0e
-674 15ac0ff0154b016b
-675 c0ac468f566d8a7c
-676 a6384062f6d43f1a
-677 ce8247c18b859c53
-678 de6f46a22abbb999
-679 0aa2606d33f4d1ab
-680 ad9d52ec9b34c1e3
-681 08eb27e6385a911c
-682 0a03653a8790ab30
-683 6a176115a4c96abc
-684 dbd9e5041f9ba630
-685 1120a6152b60e982
-686 18530094ba7bfe99
-687 d1864da619e2e4ca
-688 fe92178c078f8e5e
-689 6e10b6532076aec7
-690 ddf7fbcd0bbe58b3
-691 0cd67470d3696c35
-692 cb64a62891c09e99
-693 63897f74b082cd2f
-694 60cd212f22006aa2
-695 2e371fdda3f1e878
-696 d0e31fa42325c2a5
-697 0cc5b8bc0bea07a4
-698 cfca79c5d80479d2
-699 b2ff73b35827aee6
-700 0f3c561d10bde5ff
-701 2bb1d49ced16f98b
-702 74ae1d0e33d104ee
-703 9e5848d0d79c658a
-704 c1c4c5dcb2e466d2
-705 3d52c55ede085be8
-706 fd66f2cca4fadc01
-707 9ad897cc34f4ce73
-708 7dcae7e31c8c3e8b
-709 0e4c9d34761ec433
-710 613ab39abd215fbe
-711 a60e5ee9d669b20e
-712 1127d978713d1ff2
-713 9a44dbc251ea83cd
-714 1de517ec06ff4a37
-715 1eae7c0288fa709a
-716 fe76effd346f4566
-717 504e02ae824bf5fe
-718 ddeb2f75a5f19098
-719 80c88cb80969f695
-720 56f79abc49f502bb
-721 ef1960660893eadd
-722 30392f1f85ab4112
-723 ef2e63f277607143
-724 3d56bd7b4e5d90dd
-725 ccdd956d03dfb8db
-726 d7b70193530d5447
-727 c8288d6588b55812
-728 a6fbf905943d7bae
-729 015bff7ef9b2033f
-730 491c9242dbfc5967
-731 42afbf34669e5a6c
-732 8ffcd2a25ef7b935
-733 8d056db8eaf3373f
-734 df97ae74ce34ce73
-735 e9bb5ae8b1e99aec
-736 a4ce479e357ed3d2
-737 9f3cc5dd352552b0
diff --git a/rdb/bench/score.jsonl b/rdb/bench/score.jsonl
deleted file mode 100644
index 0e8e58bf..00000000
--- a/rdb/bench/score.jsonl
+++ /dev/null
@@ -1,2 +0,0 @@
-{"at": "2026-10-14T21:35", "commit": "82b1eca+", "html_gpu_s": 4.86, "html_gpu_mb": 351, "html_fps": 142.6, "ugc_direct_s": 3.95, "ugc_direct_mb": 490, "hook_3d_s": 1.25, "hook_3d_mb": 419, "rules_10k_us": 253.9, "timeline_ugc_ms": 2.84}
-{"at": "2026-10-14T23:39", "commit": "f7fda3b+", "html_gpu_s": 3.83, "html_gpu_mb": 886, "html_fps": 180.9, "ugc_direct_s": 3.98, "ugc_direct_mb": 494, "hook_3d_s": 1.3, "hook_3d_mb": 392, "rules_10k_us": 153.3, "timeline_ugc_ms": 2.04}
diff --git a/rdb/bench/score.sh b/rdb/bench/score.sh
deleted file mode 100755
index 5ef43f2c..00000000
--- a/rdb/bench/score.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/bash
-# raea's scoreboard: the same measures every time, appended to bench/score.jsonl with the commit, and the change since
-# the last line printed. Every performance change is judged against it (the founder's standing goal, 2026-10-14).
-# bench/score.sh build (lane), measure, record
-# bench/score.sh --no-build measure the binaries as they are
-set -u
-cd "$(dirname "$0")/.."
-B=$PWD/target/release/rdb
-[ "${1:-}" = "--no-build" ] || lane --batch rdb-release build -- cargo build --release --bin rdb --example kernel_bench --example timeline_bench 2>&1 | grep -E "^error" -A6
-W=$(mktemp -d)
-export RAEA_MEDIA=apple RUST_LOG=error
-# wall seconds and peak MB of one command
-timed() { /usr/bin/time -l "$@" > $W/out.txt 2> $W/time.txt; local s=$(awk '/ real /{print $1}' $W/time.txt); local m=$(awk '/maximum resident/{printf "%.0f", $1/1048576}' $W/time.txt); echo "$s $m"; }
-read html_s html_mb <<< "$(cd examples && timed $B render html/ugc.w.html -o $W/h.mp4)"
-html_frames=$(ffprobe -v error -count_frames -select_streams v:0 -show_entries stream=nb_read_frames -of csv=p=0 $W/h.mp4)
-read ugc_s ugc_mb <<< "$(cd examples/ugc && RAEA_DIRECT=1 timed $B render ugc.sql -o $W/u.mp4)"
-read hook_s hook_mb <<< "$(cd examples/hook && timed $B render hook.sql -o $W/k.mp4)"
-k10=$(./target/release/examples/kernel_bench 10000 | python3 -c "import sys,json; print(round(json.loads(sys.stdin.read())['kernel_us_per_frame'],1))")
-tl=$(./target/release/examples/timeline_bench examples/ugc/ugc.sql | python3 -c "import sys,json; print(round(json.loads(sys.stdin.read())['timeline_ms'],2))")
-line=$(python3 - "$html_s" "$html_mb" "$html_frames" "$ugc_s" "$ugc_mb" "$hook_s" "$hook_mb" "$k10" "$tl" <<'PY'
-import json, sys, subprocess, time
-a = sys.argv[1:]
-sha = subprocess.run(["git", "rev-parse", "--short", "HEAD"], capture_output=True, text=True).stdout.strip()
-dirty = bool(subprocess.run(["git", "status", "--porcelain", "--", "."], capture_output=True, text=True).stdout.strip())
-print(json.dumps({"at": time.strftime("%Y-%m-%dT%H:%M"), "commit": sha + ("+" if dirty else ""),
- "html_gpu_s": float(a[0]), "html_gpu_mb": int(a[1]), "html_fps": round(int(a[2]) / float(a[0]), 1),
- "ugc_direct_s": float(a[3]), "ugc_direct_mb": int(a[4]), "hook_3d_s": float(a[5]), "hook_3d_mb": int(a[6]),
- "rules_10k_us": float(a[7]), "timeline_ugc_ms": float(a[8])}))
-PY
-)
-prev=$(tail -1 bench/score.jsonl 2>/dev/null)
-echo "$line" >> bench/score.jsonl
-python3 - "$prev" "$line" <<'PY'
-import json, sys
-prev = json.loads(sys.argv[1]) if sys.argv[1] else {}
-now = json.loads(sys.argv[2])
-lower_better = lambda k: not k.endswith("fps")
-for k, v in now.items():
- if k in ("at", "commit"):
- continue
- p = prev.get(k)
- if isinstance(p, (int, float)) and p:
- d = (v - p) / p * 100
- good = (d < -2) if lower_better(k) else (d > 2)
- bad = (d > 2) if lower_better(k) else (d < -2)
- mark = "better" if good else "WORSE" if bad else ""
- print(f"{k:16s} {v:>10} was {p:<10} {d:+6.1f}% {mark}")
- else:
- print(f"{k:16s} {v:>10}")
-print(f"commit {now['commit']} (bench/score.jsonl)")
-PY
-rm -rf "$W"
diff --git a/rdb/bench/step0.sh b/rdb/bench/step0.sh
deleted file mode 100755
index f23c4775..00000000
--- a/rdb/bench/step0.sh
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/bash
-# G8 step 0 on the current UGC edit, through the step 0 path (RGBA readback): reference hashes, the stage baseline,
-# the four encodes, playback, and the decode rows for the rotated b-roll. Every render is guarded.
-set -u
-cd "$(dirname "$0")/../examples/ugc"
-B=../../target/release/rdb
-G=../../bench/guarded.sh
-R=../out/ref
-M=~/raea/media
-mkdir -p $R
-export RAEA_READBACK=rgba
-SH=$(python3 -c "import random;l=list(range(738));random.Random(7).shuffle(l);print(','.join(map(str,l)))")
-echo "== decode rows, broll-rot"
-[ -f $M/fixtures/broll-rot.av1.mp4 ] || ffmpeg -v error -y -i $M/fixtures/broll-rot.mov -an -c:v libsvtav1 -crf 28 -g 30 -preset 8 -pix_fmt yuv420p $M/fixtures/broll-rot.av1.mp4 2>/dev/null
-for spec in "ffmpeg broll-rot.mov" "apple broll-rot.mov" "soft broll-rot.mov" "av1 broll-rot.av1.mp4"; do
- set -- $spec
- s=$($M/target/release/raea-media seek $1 $M/fixtures/$2 --ref $M/fixtures/$2 2>/dev/null | tail -1)
- d=$($M/target/release/raea-media decode $1 $M/fixtures/$2 --n 300 2>/dev/null | tail -1)
- echo "$1 $2 $s $d"
-done
-echo "== reference hashes"
-for m in apple soft; do
- for run in a b shuffled; do
- at=""; [ $run = shuffled ] && at="--at $SH"
- RAEA_MEDIA=$m $G $B render ugc.sql -o $R/hash-$m-$run.txt $at 2>&1 | grep guarded
- done
- sort -n $R/hash-$m-shuffled.txt > $R/s && mv $R/s $R/hash-$m-shuffled.txt
- echo "$m: a==b $(cmp -s $R/hash-$m-a.txt $R/hash-$m-b.txt && echo yes || echo NO), a==shuffled $(cmp -s $R/hash-$m-a.txt $R/hash-$m-shuffled.txt && echo yes || echo NO), frames $(wc -l < $R/hash-$m-a.txt | tr -d ' ')"
-done
-echo "== baseline stages"
-for mode in pipelined serial; do
- if [ $mode = serial ]; then export RAEA_SERIAL=1; else unset RAEA_SERIAL; fi
- RAEA_MEDIA=apple $G $B render ugc.sql -o ../out/base-$mode.mp4 --codec apple --kbps 8000 2>&1 | grep -E "^\{" > ../../bench/baseline-$mode.json
-done
-unset RAEA_SERIAL
-echo "== encodes"
-rm -f ../out/encode-table.jsonl
-for combo in "apple apple" "soft soft" "ffmpeg ffmpeg" "soft av1"; do
- set -- $combo
- RAEA_MEDIA=$1 $G $B render ugc.sql -o ../out/ugc-$2.mp4 --codec $2 --kbps 8000 --ssim > ../out/enc-$2.log 2>&1
- grep -E "^\{" ../out/enc-$2.log | sed "s/^/{\"decode\":\"$1\",\"enc\":\"$2\",\"r\":/; s/$/}/" >> ../out/encode-table.jsonl
- grep "guarded:" ../out/enc-$2.log
-done
-cp ../out/encode-table.jsonl ../../bench/encode-table.jsonl
-echo "== playback"
-$M/target/release/raea-media playable ../out/ugc-{apple,soft,ffmpeg,av1}.mp4 2>/dev/null > ../../bench/playback.jsonl
-for f in apple soft ffmpeg av1; do echo "$f $(ffprobe -v error -count_frames -show_entries stream=codec_name,nb_read_frames -of csv=p=0 ../out/ugc-$f.mp4 | tr '\n' ' ')"; done
-echo "== done"
diff --git a/rdb/bench/substrate-gate.sh b/rdb/bench/substrate-gate.sh
deleted file mode 100755
index 89843245..00000000
--- a/rdb/bench/substrate-gate.sh
+++ /dev/null
@@ -1,91 +0,0 @@
-#!/bin/bash
-# The substrate gate (docs/substrate.feature): every phase must leave all of this unchanged against today's references
-# (bench/ref/, recorded 2026-10-14 before the substrate work, and examples/out/ref/).
-# bench/substrate-gate.sh [--record] --record writes the references instead of comparing
-# Builds through the lane (release), renders guarded. Prints one PASS/FAIL line per check and exits non-zero on a FAIL.
-set -u
-cd "$(dirname "$0")/.."
-REF=bench/ref
-mkdir -p "$REF"
-RECORD=0; [ "${1:-}" = "--record" ] && RECORD=1
-B=$PWD/target/release/rdb
-W=$(mktemp -d)
-fails=0
-# the byte-exact checks paint pages with vello_cpu: the GPU compositor (engine/src/quads, 515c8cf) matches it to within a
-# few levels, not to the byte, so with it every UGC reference failed though nothing else changed (with RAEA_PAINT=cpu,
-# HEAD gives G8's references exactly, soft and Apple decode). The GPU paint is checked against the CPU's at the end.
-export RAEA_PAINT=cpu
-# phase 4: nothing may start a duckdb process (a stand-in on PATH fails loudly and leaves a mark)
-mkdir -p $W/nodb && printf '#!/bin/sh\necho "duckdb was called: $*" >&2\ntouch %s/duckdb-called\nexit 99\n' "$W" > $W/nodb/duckdb && chmod +x $W/nodb/duckdb
-export PATH=$W/nodb:$PATH
-lane --batch build "substrate-gate-$(date +%s)" -- cargo build --release --bin rdb --example states_digest 2>&1 | grep -E "^error" -A8
-gate() { # name, file produced in $W
- local name=$1 got=$W/$2
- if [ $RECORD = 1 ]; then cp "$got" "$REF/$2"; echo "RECORD $name"; return; fi
- if cmp -s "$got" "$REF/$2"; then echo "PASS $name"; else echo "FAIL $name"; diff "$REF/$2" "$got" | head -5; fails=$((fails+1)); fi
-}
-
-# 1. every evaluated value of every frame of every example edit (no GPU)
-EDITS="examples/hook/hook.sql examples/ugc/ugc.sql examples/ugc/v-empty.sql examples/ugc/v-noclips.sql examples/ugc/v-noclip2d.sql"
-./target/release/examples/states_digest $EDITS > $W/states.txt 2>&1; gate "frame states, every frame of every example edit" states.txt
-
-# 2. the live edit: the hook built from its snippets, its moves, save/load, every frame, then undo all the way
-E=$W/live.rdb
-$B new $E > /dev/null
-python3 - "$B" "$E" > $W/live.txt <<'EOF'
-import subprocess, sys
-B, E = sys.argv[1], sys.argv[2]
-blocks = [b.strip() for b in open("examples/hook/snippets.sql").read().split("\n--\n")]
-for b in blocks:
- if b and not all(l.strip().startswith("--") for l in b.splitlines()):
- r = subprocess.run([B, "apply", E, b], capture_output=True, text=True, cwd="examples/hook")
- print("apply", r.returncode, r.stdout.strip().splitlines()[-1:] if r.stdout.strip() else "", r.stderr.strip()[:120])
-EOF
-$B moves $E >> $W/live.txt 2>&1
-./target/release/examples/states_digest $E | sed "s|$E|live.rdb|" >> $W/live.txt
-for i in $(seq 1 40); do $B undo $E > /dev/null 2>&1 || break; done
-$B moves $E >> $W/live.txt 2>&1
-gate "live edit: snippets applied, moves, every frame from the saved file, undo to empty" live.txt
-
-# 2b. the agent's queries on our columns, against DuckDB's recorded answers
-rm -f $W/q.rdb; $B new $W/q.rdb > /dev/null
-python3 bench/queries.py $B $W/q.rdb > $W/queries.txt 2>&1
-grep -q "^26/26 " $W/queries.txt && echo "PASS queries: 26/26 answer as DuckDB did" || { echo "FAIL queries"; tail -5 $W/queries.txt; fails=$((fails+1)); }
-
-# 3. G1's pass test (G2 and the brief checks below it were rrl's, deleted with rrl on 2026-10-17)
-(cd examples/hook && $B g1 . 2>&1 | grep -v "WARN" | grep -v "ERROR" | sed -E "s/ in [0-9.]+s,/ in Ns,/" > $W/g1.txt; echo "exit ${PIPESTATUS[0]}" >> $W/g1.txt); gate "G1 (live edit, frames identical, undo)" g1.txt
-
-# 5. rendered frames (hash-only, nothing on disk): the engine's GPU path, the step 0 path, the direct path
-(cd examples/hook && RAEA_MEDIA=apple ../../bench/guarded.sh $B render hook.sql -o $W/hook-gpu.txt > /dev/null 2>&1); gate "render: hook, engine GPU path" hook-gpu.txt
-(cd examples/hook && RAEA_READBACK=rgba RAEA_COMPOSITE=ui RAEA_MEDIA=apple ../../bench/guarded.sh $B render hook.sql -o $W/hook-rgba.txt > /dev/null 2>&1); gate "render: hook, step 0 path" hook-rgba.txt
-(cd examples/ugc && RAEA_MEDIA=apple ../../bench/guarded.sh $B render ugc.sql -o $W/ugc-gpu.txt > /dev/null 2>&1); gate "render: UGC, engine GPU path" ugc-gpu.txt
-(cd examples/ugc && RAEA_DIRECT=1 RAEA_MEDIA=apple ../../bench/guarded.sh $B render ugc.sql -o $W/ugc-direct.txt > /dev/null 2>&1); gate "render: UGC, direct" ugc-direct.txt
-# the step 0 path decodes clips to BGRA in VideoToolbox, so its frames follow Apple's YUV->RGB conversion, which macOS 27
-# changed (frames 0-592, the video ones, differ; the end card and every path that converts NV12 itself are unchanged;
-# no decode code changed): each later macOS major has its own reference beside the original (ugc-rgba-macosNN.txt)
-OSV=$(sw_vers -productVersion 2>/dev/null | cut -d. -f1)
-RGBA=ugc-rgba.txt; [ -f "$REF/ugc-rgba-macos$OSV.txt" ] && RGBA=ugc-rgba-macos$OSV.txt
-(cd examples/ugc && RAEA_READBACK=rgba RAEA_COMPOSITE=ui RAEA_MEDIA=apple ../../bench/guarded.sh $B render ugc.sql -o $W/$RGBA > /dev/null 2>&1); gate "render: UGC, step 0 path ($RGBA)" $RGBA
-[ -e $W/duckdb-called ] && { echo "FAIL a duckdb process was started"; fails=$((fails+1)); } || echo "PASS no duckdb process"
-if [ $RECORD = 0 ]; then
- cmp -s $W/ugc-gpu.txt examples/out/ref/gpu-apple-a.txt && echo "PASS UGC GPU path = G8's reference (examples/out/ref/gpu-apple-a.txt)" || { echo "FAIL UGC GPU path vs G8's reference"; fails=$((fails+1)); }
- G7=examples/out/ref/hash-apple-a.txt; [ -f "examples/out/ref/hash-apple-a-macos$OSV.txt" ] && G7=examples/out/ref/hash-apple-a-macos$OSV.txt
- cmp -s $W/$RGBA $G7 && echo "PASS UGC step 0 path = G7's reference ($G7)" || { echo "FAIL UGC step 0 path vs G7's reference ($G7)"; fails=$((fails+1)); }
- # the CPU render (docs/cpu.feature C1): no GPU, the same frames as the GPU's
- (cd examples/ugc && RAEA_CPU=1 RAEA_MEDIA=apple ../../bench/guarded.sh $B render ugc.sql -o $W/ugc-cpu.txt > /dev/null 2>&1)
- cmp -s $W/ugc-cpu.txt examples/out/ref/gpu-apple-a.txt && echo "PASS UGC CPU render = G8's GPU reference" || { echo "FAIL UGC CPU render vs G8's GPU reference"; fails=$((fails+1)); }
-fi
-# the GPU paint against the CPU's: UGC frames across the edit read back as RGB both ways (not through an encoder,
-# whose noise on two near-identical inputs alone took mp4s to SSIM 0.985), every one SSIM >= 0.999
-AT=10,49,200,400,700
-for p in gpu cpu; do (cd examples/ugc && RAEA_PAINT=$p RAEA_READBACK=rgba RAEA_MEDIA=apple ../../bench/guarded.sh $B render ugc.sql -o $W/paint-$p --at $AT > /dev/null 2>&1); done
-worst=1
-for f in $(echo $AT | tr , ' '); do
- n=$(printf "%05d" $f)
- v=$(ffmpeg -i $W/paint-gpu/frame-$n.png -i $W/paint-cpu/frame-$n.png -lavfi ssim -f null - 2>&1 | grep -o 'All:[0-9.]*' | cut -d: -f2)
- worst=$(python3 -c "print(min($worst, ${v:-0}))")
-done
-python3 -c "import sys; sys.exit(0 if $worst >= 0.999 else 1)" && echo "PASS UGC GPU paint = CPU paint (frames $AT, worst SSIM $worst)" || { echo "FAIL UGC GPU paint vs CPU paint (frames $AT, worst SSIM $worst)"; fails=$((fails+1)); }
-rm -rf "$W"
-echo "gate: $fails failing"
-exit $fails
diff --git a/rdb/bench/substrate-spikes.txt b/rdb/bench/substrate-spikes.txt
deleted file mode 100644
index 1ff0fd76..00000000
--- a/rdb/bench/substrate-spikes.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-Substrate spikes, 2026-10-14, M4 (the spike_* examples were deleted 2026-10-15, docs/consolidation.feature D7; these lines are their record)
-== spike_eval (today's cost)
-{"all_frames_ms":3.42975,"edit":"examples/hook/hook.sql","frames":150,"keys":4,"of_which_copy_and_keys_ms":0.745459,"of_which_rules_ms":2.7750410000000003,"of_which_transitions_ms":-0.09075000000000033,"per_frame_us":22.865,"rows":22,"systems":6,"transitions":0,"values":122}
-{"all_frames_ms":144.16975000000002,"edit":"examples/ugc/ugc.sql","frames":738,"keys":0,"of_which_copy_and_keys_ms":11.743165999999999,"of_which_rules_ms":1.5581680000000002,"of_which_transitions_ms":130.86841600000002,"per_frame_us":195.35196476964774,"rows":40,"systems":2,"transitions":1,"values":350}
-== spike_columns (columns + timeline, same evaluator)
-{"columns_raw_per_frame_ms":3.572375,"columns_timeline_ms":3.5553749999999997,"edit":"examples/hook/hook.sql","first_differing":null,"frames":150,"frames_differing":0,"speedup":1.0734099778504378,"today_all_frames_ms":3.816375}
-{"columns_raw_per_frame_ms":6.639542,"columns_timeline_ms":27.054667000000002,"edit":"examples/ugc/ugc.sql","first_differing":null,"frames":738,"frames_differing":0,"speedup":5.165809285325892,"today_all_frames_ms":139.75925}
-== spike_world (Bevy World store + overlay)
-{"build_ms":1.0485,"columns":20,"edit":"examples/hook/hook.sql","frames":150,"frames_differing":0,"rows":22,"tables":10,"today_raw_all_frames_ms":4.811042,"transitions_set_aside":false,"world_overlay_all_frames_ms":3.7075419999999997}
-{"build_ms":0.09575,"columns":34,"edit":"examples/ugc/ugc.sql","frames":738,"frames_differing":0,"rows":40,"tables":12,"today_raw_all_frames_ms":9.369499999999999,"transitions_set_aside":true,"world_overlay_all_frames_ms":1.6075830000000002}
-== spike_scale (typed columns at game scale)
-{"speedup":37.39417687996551,"spheres":1000,"today_fps_budget_60":"fits","today_us_per_frame":971.4708,"typed_equals_today":true,"typed_us_per_frame":25.979200000000002}
-{"speedup":81.48410090467483,"spheres":10000,"today_fps_budget_60":"fits","today_us_per_frame":10566.1167,"typed_equals_today":true,"typed_us_per_frame":129.67090000000002}
-{"speedup":98.11681953280531,"spheres":100000,"today_fps_budget_60":"misses","today_us_per_frame":120450.25830000002,"typed_equals_today":true,"typed_us_per_frame":1227.6209}
-
-phase 3 (rules compile to K), 2026-10-14, M4, kernel_bench (hook ring rules over N spheres, 10 frames):
- rows interpreter kernel frame kernel tick in place equal
- 1,000 1.17 ms 0.031 ms 0.018 ms yes
- 10,000 6.27 ms 0.175 ms 0.125 ms yes (bar: <= 0.2 ms a frame)
- 100,000 63.3 ms 1.56 ms 1.29 ms yes
- What paid: column-at-a-time verbs; the op matched once per verb (a fn pointer per element cost more than sin/cos);
- slots instead of names; invariant leaves and WHERE cached; keys indexed once per row order.
- What didn't: splitting one kernel across cores (slower at 10k and 100k; the timeline already runs frames on every core).
diff --git a/rdb/bench/zerocopy.txt b/rdb/bench/zerocopy.txt
deleted file mode 100644
index aad0de9d..00000000
--- a/rdb/bench/zerocopy.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Zero-copy (RAEA_ZEROCOPY=1) vs copy + upload, the UGC edit's direct render, Apple decode, M4, 2026-10-14, load ~6.
-Exact: hash-only, in order and shuffled: 738/738 = examples/out/ref/gpu-apple-a.txt (also under RAEA_GPU_TIMES).
-
-to mp4 (VideoToolbox), ms per frame:
-rep zerocopy fps decode+upload cpu/upload sink(encoder push)
-1 0 191.4 2.31 0.523 1.74
-1 1 197.4 0.65 0.039* 3.36
-2 0 197.8 2.05 0.466 2.02
-2 1 190.3 0.75 0.070* 3.20
-3 0 192.7 2.44 0.519 1.56
-3 1 145.3 2.54 0.062* 2.59 (load spike)
-* overlay uploads only: no frame is copied
-
-GPU (RAEA_GPU_TIMES, one frame at a time), ms per frame:
-rep zerocopy composite copy nv12 upload total
-1 0 1.999 0.016 0.414 0.248 2.676
-1 1 2.445 0.210 0.450 0.028 3.133
-2 0 2.091 0.013 0.419 0.269 2.793
-2 1 2.261 0.186 0.417 0.027 2.890
diff --git a/rdb/docs/cpu.feature b/rdb/docs/cpu.feature
deleted file mode 100644
index 2ca0ae7e..00000000
--- a/rdb/docs/cpu.feature
+++ /dev/null
@@ -1,71 +0,0 @@
-Feature: raea renders headless on a CPU, in a sandbox with no GPU
- The GPU stays the main path (the founder's devices). A second deliverable runs the same edits with no GPU: a Linux
- sandbox or container, headless, slower but byte-for-byte the same frames where it can be. Asked for by the user on
- 2026-10-15 ("a CPU and GPU friendly deliverable"); this is the plan and what was measured that day.
-
- Background: what the GPU does today, and what already has a CPU twin
- # Measured 2026-10-15 on the M4 (10 s CJ concept, 1080x1920, 300 frames)
- # GPU direct path (gpuview: composite.k -> nv12buf.k -> VideoToolbox): 197 fps
- # composite.k on the GPU: 15 ms of compute a frame; composite_reference (native Rust, one thread): 665 ms a frame
- # nv12: nv12_reference exists and is bit-equal to the GPU kernel
- # H.264 encode, 120 frames: VideoToolbox 185 fps (SSIM 0.965), openh264 ("soft") 64 fps (SSIM 0.952)
- # decode: openh264 random seeks are slow (60 seeks in 26 s); a render decodes in order, which is cheap
- # 2D overlays (captions, titles, HTML pages): Blitz paints them; vello_cpu is always built; the CJ page took
- # 38.7 s on the CPU vs 7.8 s on the GPU path (the page painted every frame; rows repaint only when they change:
- # 39 of 300 frames for a CJ concept)
- # Every kgpu kernel has three runs checked equal: GPU, native Rust, and the K interpreter
-
- Scenario: C1. A CPU direct render, the same bytes as the GPU's
- Given an edit without 3D
- When rdb renders it with RAEA_CPU=1 (or when no GPU adapter is found)
- Then gpuview's composite and nv12 steps run as composite_reference and nv12_reference over row bands on every core
- And the overlay is painted by Blitz on vello_cpu, only on frames where it changes (as now)
- And the sound is mixed and mastered as now (already CPU)
- And decode and encode go through raea-media's soft backend (openh264) or ffmpeg where the sandbox has it
- And the frame hashes equal the GPU direct path's (the gate gains "render: UGC, CPU" against gpu-apple-a.txt)
- # Done 2026-10-15 (rdb cpuview.rs; kgpu composite_cpu and nv12_cpu): the UGC example's 738 frames equal G8's GPU
- # reference, and the gate checks it. On the M4 with no GPU used (10 cores), UGC 1080x1920, 24.6 s:
- # hashes only: 35 fps (composite 11.5, nv12 6.9, decode 2.4, overlay 0.8 ms/frame; overlay painted 34 times)
- # .mp4, Apple decode + VideoToolbox encode: 54 fps
- # .mp4, all software (openh264 decode + encode, RAEA_MEDIA=soft): 23 fps, 33 s wall; decode 31 ms/frame leads
- # .mp4, ffmpeg backend (libx264): 18 fps
- # Next: decode on more threads (openh264 is one), and the copies around nv12 (2.7 ms alone, 6.9 in the loop)
-
- Scenario: C2. The CPU composite is fast enough to matter
- # composite_reference is written for checking, not speed: one thread, per-pixel bilinear in i32
- Given the native composite at 665 ms a frame on one thread
- When it runs on row bands across cores with the source map hoisted out of the pixel loop, and the inner loop
- written for autovectorising (or std::simd)
- Then a 1080x1920 frame composites in 30 ms or less on 8 cores
- # Done 2026-10-15 (kgpu composite_cpu, f28422e): bit-equal to the reference and the GPU, 10.5 ms on 10 cores,
- # 66 ms on one thread; the reference measured 141 ms that run (665 ms earlier, under memory pressure)
- And a 10 s concept renders in about 10-20 s on 8 cores, bounded by openh264's 64 fps encode
- And the K interpreter stays the referee: CPU = native = GPU, bit for bit
-
- Scenario: C3. Or the GPU kernels on a software GPU, unchanged
- # wgpu on Mesa's lavapipe (Vulkan on llvmpipe) runs the same WGSL on CPU threads, JIT-compiled with SIMD
- Given a Linux sandbox with Mesa's lavapipe and no GPU
- When rdb renders with wgpu's adapter on lavapipe
- Then the gpuview kernels and the Bevy engine (3D included) run with no code change
- And it is measured against C1 on the CUDA box's WSL Ubuntu (Docker, headless): whichever is faster for 2D becomes
- the default there; lavapipe stays the only CPU route for 3D
-
- Scenario: C4. Perception on a CPU: what moves, what stays
- # Portable today: SigLIP 2 (ONNX, CPU, about 60 ms a frame on 4 threads), TransNetV2 (ONNX through ort),
- # DeepFilterNet3 (tract, pure Rust), MediaPipe face landmarks (performance.json)
- # Apple-only today (Vision): faces, attention saliency, OCR, person segmentation, aesthetics, feature print
- Given an ingest in a Linux sandbox
- Then the portable models run on the CPU as they are
- And Apple-only steps get open, commercial-licence replacements: faces from MediaPipe's detector, text from an
- Apache-licensed OCR, person masks from MediaPipe's segmenter, saliency from SigLIP patch attention or a small
- open saliency model (each checked against the Vision output on our takes before it replaces it)
- And anything too slow on a CPU runs as a cloud GPU call instead (Modal), keyed by the source's hash like the
- ingest store, so a sandbox only ever reads results
- And embeddinggemma-2 is a cloud call or a 1 fps sample on CPU: on MPS it took 1.2 s a frame (2026-10-15),
- 20x SigLIP on CPU, and its licence is unsettled
-
- Scenario: C5. Agent tools in the sandbox
- Given the agent's ugc rdb tools
- Then look and stills run on C1 (one frame each, CPU cost about one composite plus one overlay paint)
- And energy and compare are already CPU work (kgpu kernels have native twins), K on the CPU through its native runs
- And the eval host can run in the sandbox with RAEA_CPU=1, so CI and agent runs need no GPU
diff --git a/rdb/docs/energy.feature b/rdb/docs/energy.feature
deleted file mode 100644
index 939700d3..00000000
--- a/rdb/docs/energy.feature
+++ /dev/null
@@ -1,100 +0,0 @@
-Feature: Energy: what it is, measured from the descriptor table, and shaped as curves
- Status 2026-10-14: the definition, from the user (dictated 2026-10-14). Nothing is built yet; the steps are D5 and
- D6 in ../../the roadmap. Everything here is a scan over columns the ingest and the edit already produce, keyed by
- the source map, so the energy layer is the same shape of computation as the low-level temporal checks (cuts,
- flashes, mid-word cuts): windowed scans in K, scheduled in time order.
-
- Rule: Energy is a blend of descriptors that rise and fall together, collapsed into one number per moment
- Scenario: The descriptors
- Given a moment of an edit (a frame, or a short window)
- Then its energy descriptors are
- | descriptor | from |
- | motion magnitude | optical flow, or the sketch's frame-to-frame change (previz) |
- | cut rate | cuts per second around the moment (the edit's rows; TransNetV2 on renders) |
- | luminance and contrast | mean luma and its spread (brighter and higher contrast reads as more) |
- | audio loudness | short-term loudness (EBU R128) |
- | spectral density | spectral flux and how full the spectrum is |
- And the descriptors are bound into one hypervector per moment (HDC role-filler binding, as previz binds rows),
- not weighted by hand
- And energy is that moment vector projected onto an energy direction: a hypervector made from moments labelled
- high against moments labelled low (the graded runs, ad cards, the founder's picks), so the direction is
- measured, not guessed
-
- Rule: The energy curve, and its salient nodes
- Scenario: From a line to the turns that matter
- Given energy at every moment of the edit, plotted over its length
- When the curve is smoothed to remove the jitter a viewer doesn't feel
- Then its salient nodes are the smoothed curve's local maxima (payoffs), local minima (breaths) and inflection
- points (where the direction turns); the stretches between are the slopes
- And the edit's strategy is the arrangement of those nodes, which is what an agent adjusts
-
- Rule: Energy is relative: what is felt is local contrast, not level
- Scenario: The flatline failure
- Given a motion graphics reel that lives at 0.8-1.0 and a calm piece at 0.1-0.3
- Then both need rise and fall within their own band; constant high energy reads as none (the viewer
- habituates)
- And the measure is the curve's local contrast: its variance in a sliding window relative to its own recent
- average
- And a stretch pinned at its level with near-zero local contrast is reported as a flatline, however loud
-
- Rule: Two curves to shape: intensity (up and down) and aperture (in and out)
- Scenario: Aperture
- Then aperture is the concentration of the frame: one dominant focal point is in, many competing elements is
- out (G1's saliency focus and the focal-point measure in the roadmap's catalogue)
- And a piece breathes on both: tight and intense, then wide and overwhelming, then tight again
-
- Rule: The music is one energy curve among several, not the master clock
- Scenario: Relating the picture to the music
- Given the music's energy curve from loudness and spectral flux, its beats as salient nodes on it
- Then the measure is the windowed correlation between the visual energy curve and the music's
- And each section has a target for it: locked (cuts land on the beat at the big moments) or deliberately offset
- (cutting against the beat for tension); cutting on every beat is the over-indexing failure
- And sound effects count toward energy too: the depth of layers (how many instruments or sources at once), and
- whether diegetic and non-diegetic sound are mixed on purpose
- And generated sound effects (the user: Fish Audio is available; to be tested, licence and terms checked) must
- fit their moment: a tail that drags past its picture is a dangling tail (the catalogue's check)
-
- Rule: Every operation is a scan over the descriptor table
- Scenario: The scan family
- Then these are scans over columns, written as K kernels (meaning/src/k.rs on the CPU, kgpu on the GPU)
- | operation | scan |
- | smoothing | windowed mean or filter over one column |
- | salient nodes | turning points of the smoothed column |
- | local contrast | windowed variance over its windowed mean |
- | picture-music relation | windowed correlation over two columns |
- | flatline | a threshold on local contrast, as spans |
- And the same sequential scheduling seam runs these and the temporal checks (flash safety, mid-word cuts,
- dangling tails), so they are built once
-
- Rule: Built (D5a, an agent session): the scan family as kgpu kernels
- Scenario: The scans, 2026-10-15
- Given kgpu/kernels/energy_{smooth,nodes,contrast,flat,cov}.k on Q16 columns (Q8 inside the squares), with
- native references in raea_kgpu (energy_*_reference) and the CPU interpreter of the same K
- When kgpu's energytest runs them on a synthetic two-sine curve (600 rows) and on a real column (the UGC take's
- CV delta norms, 205 rows at 8 rows/s, from its ingest)
- Then every scan is GPU = native = interpreter, bit for bit, on both
- And on the synthetic curve: 11 peaks, 11 troughs, 61 inflections, 209 flat rows (contrast under 40)
- And on the take: 38 peaks, 38 troughs, 68 inflections, 55 flat rows
- And the picture-music relation is energy_cov.k's per-row (cov, va, vb); the host takes r = cov / sqrt(va vb)
- And next: the descriptor columns from an edit through its source map (motion from the CV deltas or the look's
- Hamming steps, cut rate from the rows, luma and contrast from the sketch, loudness from the mix), the HDC
- moment vector, and the energy direction once labelled high and low moments exist
-
- Scenario: rdb energy on the UGC example, 2026-10-15
- Given descriptors per frame from rdb itself: motion (the look's Hamming step), luma and contrast (the look grid's
- cells), cuts per second (the rows), loudness (the mix's RMS); each normalised over its own 5th-95th percentile
- And the blend is their mean, marked provisional until labelled moments give a measured direction
- And the curve is smoothed twice over about a second, then the scans run on the GPU; peaks and troughs whose
- swing is under 0.06 are merged (a zigzag filter: only rises and falls a viewer feels)
- When `rdb energy examples/ugc/ugc.sql` runs
- Then payoffs at 4.2, 11.6, 17.0 and 20.0 s, breaths at 9.6, 15.9 and 18.5 s, one flatline 23.0-24.6 s (the end
- card), picture-music r about 0 (the bed is ducked under speech), in 2.2 s
-
- Scenario: Aperture and the eye across cuts (G1's attention through the source map), 2026-10-15
- Given each frame's focus from previz::attention (1 - the saliency map's normalised entropy at the top clip's
- mapped source moment), normalised, smoothed twice and turned like the energy curve
- When `rdb energy examples/ugc/ugc.sql` runs
- Then aperture tightens ("in") at 1.8, 16.5 and 21.0 s and opens ("out") at 9.2 and 18.2 s (the b-roll), focus
- median 0.126 (raea-23's G1 measured the same), eye jumps at cuts 0.01 within the take and 0.03 into b-roll
- And motion is read from the sources' CV deltas through the source map (motion_from says which)
-
diff --git a/rdb/docs/g8.feature b/rdb/docs/g8.feature
deleted file mode 100644
index 03f4aca4..00000000
--- a/rdb/docs/g8.feature
+++ /dev/null
@@ -1,202 +0,0 @@
-Feature: G8, K on the GPU: the frame path stays on the GPU from decoded clip to encoder
- The UGC edit (738 frames, 1080x1920, 30 fps: Buddy's take cut on sentences, captions, two b-rolls, a ducked music
- bed) rendered, previewed and scrubbed through K kernels on GPU-resident data. M4 Mac, 2026-10-14. Raw numbers in
- bench/; the kernels are raea-kgpu/kernels/*.k (K, compiled to WGSL by raea-kgpu, generated by kernels/gen.py).
-
- Background:
- Given step 0 finished G7 first: the bake-off report is ../media/docs/bakeoff.feature, the licence record
- ../media/docs/licences.feature, the Linux container run ../media/bench/linux-container.txt, the
- playback checks bench/playback.jsonl, the reference hashes examples/out/ref/hash-*.txt
- And step 0 is the reference: RAEA_READBACK=rgba renders through it unchanged (clips and the overlay as Bevy UI
- nodes, an RGBA readback), and still reproduces its 738 hashes
-
- Scenario: Step 0's G7 report, restated (the full record is ../media/docs/bakeoff.feature)
- Then every backend on every source of the edit decodes in any order with SSIM vs ffmpeg >= 0.99 (the full table):
- | backend | source | any order | SSIM mean | SSIM min | decode fps |
- | ffmpeg | take-h264.mp4 | 24/24 | 1.0000 | 1.0000 | 95.6 |
- | apple | take-h264.mp4 | 24/24 | 0.9984 | 0.9983 | 98.5 |
- | soft | take-h264.mp4 | 24/24 | 0.9985 | 0.9984 | 37.3 |
- | av1 | take-av1.mp4 | 24/24 | 0.9985 | 0.9983 | 61.3 |
- | ffmpeg | broll-screen.mov | 24/24 | 1.0000 | 1.0000 | 92.2 |
- | apple | broll-screen.mov | 24/24 | 0.9922 | 0.9913 | 94.9 |
- | soft | broll-screen.mezz.mp4 | 24/24 | 0.9995 | 0.9994 | 67.4 |
- | av1 | broll-screen.av1.mp4 | 24/24 | 0.9997 | 0.9996 | 60.2 |
- | ffmpeg | broll-rot.mov | 24/24 | 1.0000 | 1.0000 | 95.1 |
- | apple | broll-rot.mov | 24/24 | 0.9983 | 0.9981 | 100.2 |
- | soft | broll-rot.mov | 24/24 | 0.9985 | 0.9983 | 35.1 |
- | av1 | broll-rot.av1.mp4 | 24/24 | 0.9985 | 0.9983 | 63.0 |
- And every backend encodes the whole edit, plays (ffprobe 738 frames, AVFoundation, bench/playback-recheck.txt) and
- is licensed for shipping (no GPL; ../media/docs/licences.feature):
- | decode + encode | render incl. encode (step 0) | encode ms/frame | SSIM | size | audio |
- | apple + VideoToolbox | 70.7 fps | 0.75 | 0.9790 | 25.1 MB | AAC |
- | ffmpeg + libx264 | 23.9 fps | 5.00 | 0.9709 | 25.4 MB | AAC |
- | soft + openh264 | 20.2 fps | 14.12 | 0.9690 | 24.8 MB | Opus |
- | soft + rav1e (speed 10) | 1.7 fps | 547.27 | 0.9764 | 24.9 MB | Opus |
- And the soft backend runs end to end in Linux containers on aarch64 and x86_64 with the same decoded frames as the
- Mac (bench/linux-container*.txt in raea-media)
- And the recommendation: Mac and iPhone on the apple backend; Linux servers on soft (H.264 mezzanines) or av1
-
- Scenario: Every stage, before and after (ms per frame, M4, the UGC edit)
- Then CPU and GPU per stage, step 0 against the GPU path (the direct render; the engine's GPU path adds Bevy's frame):
- | stage | step 0 CPU | step 0 GPU | GPU path CPU | GPU path GPU |
- | decode | 1.21 (VideoToolbox) | 0 (trace: no GPU intervals) | 1.2-1.9 incl. upload | 0 (trace: no GPU intervals) |
- | YUV -> RGBA | 0.98 | none: on the CPU | 0 | inside composite.k |
- | upload | 0.14 | inside the UI pass | 0.41-0.47 per upload | 0.20-0.27 |
- | composite | Bevy UI nodes | 2.38 (the UI pass) | 0.03 (submit) | 1.72-2.09 (composite.k) |
- | overlay | 0.24 (memoised raster) | inside the UI pass | 0.21 (memoised raster) | 0.01-0.07 blend + 0.04 upload |
- | readback | 5.01 (8.4 MB copy) | in Bevy's 1.73 rest | 0.22 (3.1 MB copy) | 0.30-0.37 nv12buf.k + 0.01-0.03 copy |
- | encode | 0.71 (0.52 RGBA->NV12) | 0 (trace: no GPU intervals) | 1.8 (waits: the encoder's 212 fps) | 0 (trace: no GPU intervals) |
- | GPU in all | | 6.25 (Metal System Trace) | | 2.4-2.8 (timestamps) |
- And the media engine's own time shows only as the CPU's wait on it: decode about 1 ms a frame (1,050 fps alone),
- encode 4.7 ms a frame at its 212 fps ceiling
- And decode and encode take 0 ms of GPU, measured: a Metal System Trace of a render that decodes and encodes through
- VideoToolbox (frames 200-259 to mp4) holds no GPU intervals from VideoToolbox's decoder or encoder services, only
- rdb's own passes and other apps' drawing; the media engine isn't the GPU
- And per stage, each alone under Metal System Trace (raea-media decode apple, 300 frames; raea-media encode apple
- --nv12, 300 frames from memory): GPU 0.000 ms a frame for decode and for encode, from our process and VideoToolbox's
- services together (the traces' only GPU work came from other apps); CPU 0.81-0.95 ms a frame for decode (1,050-1,236
- fps) and 4.7 ms for encode (212 fps)
-
- Scenario: What moved to the GPU, and what stayed
- Then on the GPU, as K kernels over GPU-resident buffers:
- | stage | kernel | before (step 0) |
- | YUV to RGB | composite.k | VideoToolbox BGRA + a CPU swizzle (0.97 ms) |
- | cover, zoom, pan, opacity, z | composite.k (16.16 maps) | Bevy UI image nodes |
- | compositing the overlay | composite.k (premultiplied) | Bevy UI over an un-premultiplied copy |
- | RGBA to NV12 before the one readback | nv12buf.k (nv12.k untextured)| none: 8.4 MB of RGBA read back, copied (5 ms) |
- | the proxy sketch of the whole edit | sketch.k (one dispatch) | CPU previz |
- | look hypervectors, distances, deltas | look_grid/proj/ham/pair.k | CPU (raea-meaning k.rs) |
- And on the CPU, on purpose:
- | stage | why |
- | the rules (SQL) | a frame's rows are a few hundred values: 0.2 ms; a dispatch would cost more |
- | decoding | VideoToolbox (hardware) hands NV12 over as it is (1,050 fps); openh264 and rav1d are CPU codecs |
- | the Blitz overlay | a CPU raster, memoised by its rows' digest: 34 draws for 738 frames |
- | encoding | VideoToolbox takes the NV12 readback directly (0.1 ms plane copy) |
- | audio | the columns mix in 0.3 s for the whole edit |
- And the optional Apple IOSurface zero-copy is built (RAEA_ZEROCOPY=1, direct render, Apple): the decoder hands
- over its IOSurface-backed NV12 buffer untouched, CoreVideo's Metal texture cache wraps its planes as R8 and RG8
- textures inside wgpu, and composite_tex.k (composite.k reading planes as textures, generated by gen.py) composites
- them. Exact: composite_tex.k on the GPU = composite.k on the GPU = its interpreter on every pixel (comptest), and
- the zero-copy render's 738 frames = the engine's, in order and shuffled
- And measured against upload (bench/zerocopy.txt), per frame of the UGC edit:
- | stage | copy + upload | zero-copy |
- | decode + upload on the CPU | 2.05-2.44 ms | 0.65-0.75 ms |
- | CPU per upload | 0.47-0.52 ms | none (overlays only) |
- | GPU upload | 0.25-0.27 ms | 0.03 ms (overlays) |
- | GPU composite | 2.00-2.09 ms | 2.26-2.45 ms |
- | GPU in all | 2.68-2.79 ms | 2.89-3.13 ms |
- | render incl. encode | 191-198 fps | 190-198 fps |
- And on the iPhone 13 Pro Max (the orchestrator's runs): frames identical, CPU decode+upload 2.5-2.7 -> 0.62-0.64 ms a
- frame, 173-174 fps vs 169-172 (the encoder's ceiling there too), but about 85 MB more peak whatever the texture cache
- flush or pool size: likely the reader keeping more IOSurface-backed buffers alive
- And so zero-copy frees about 1.5 ms of CPU per frame and costs the GPU about 0.2-0.4 ms (sampling the decoder's
- linear IOSurface planes is slower than the GPU's own buffers); the render stays at VideoToolbox's encoder ceiling
- (about 200 fps), so it's left off by default: it pays where the CPU is the limit (the phone, first-visit scrubs)
-
- Scenario: Every kernel is exact
- Then GPU = the CPU interpreter of the same K = native Rust, bit for bit, for nv12.k (a real frame through an sRGB
- texture's Unorm view), composite.k (every pixel of a real two-clip frame with an overlay), nv12buf.k, sketch.k's
- parts, and the look kernels on all 738 frames of the take and both b-rolls: grid, projection, all-pairs
- Hamming and a shuffled look_pair (../kgpu/bench/looktest-738.json; the interpreter in 60 s)
- And the K runtime on GPU arrays passes its 38-expression corpus and CPU = GPU on 18 programs x 9 sizes to 1M
- And the dialect gained what the path needed: texture inputs, several outputs, when-blocks (the composite does a
- clip's work only where it covers the pixel: 6.3 -> 3.0 ms), rebinding, integer maths throughout
-
- Scenario: The new path's frames are exact and close to step 0's
- Then the GPU path's 738 frames are byte-identical across two runs and a shuffled run, with Apple and with soft
- decoders (examples/out/ref/gpu-*.txt), and stayed identical through every later change (guarded slots, the
- frame-index pool)
- And the in-engine NV12 equals the native reference on 62 sampled frames, and the RGBA path still = step 0's hashes
- And against step 0's frames, where the algorithm changed (stated per stage):
- | stage | luma SSIM (18 frames) | why it differs |
- | clips (decode, sample, YUV to RGB) | mean 0.9967, min 0.9908 | fixed-point BT.709 and bilinear in sRGB vs VideoToolbox and Bevy's linear-light sampler |
- | the full frame (clips + overlay) | mean 0.9960, min 0.9905 | the overlay blends premultiplied in sRGB, as CSS composites (Bevy blended in linear light) |
-
- Scenario: Fast
- Then the render, the edit with VideoToolbox, same conditions alternating (bench/g8-speed.txt):
- | ms per frame | step 0 | GPU path |
- | wall incl. encode | 13.8-14.3 | 5.3-6.4 |
- | fps incl. encode | 70-72 | 156-190 |
- | CPU YUV to RGB | 0.97 | 0 |
- | main world | 2.8 | 1.3-1.5 |
- | render world | 4.7-4.8 | 2.8-3.8 |
- | readback copy | 5.0-5.2 | 0.2 |
- | readback bytes | 8,360,192 | 3,110,404 |
- | encode (conversion) | 0.7 (0.5) | 0.4 (0.1) |
- And that is 2.2x to 2.7x, >= 2x; the final render (examples/out/ugc-g8.mp4) ran at 188 fps
- And per stage, CPU and GPU ms per frame (bench/direct.txt; GPU from timestamp queries, RAEA_GPU_TIMES, one frame
- at a time; decode and encode run on the media engine, not the GPU's cores, so their time is the CPU's wait):
- | stage | step 0 CPU | step 0 GPU | GPU path (direct) CPU | GPU path (direct) GPU |
- | decode | 1.21 (VideoToolbox) | media engine | 1.2-1.9 incl. upload | media engine |
- | YUV -> RGBA | 0.98 | - | 0 | in composite |
- | upload | 0.14 | not separable | in decode | 0.20 |
- | composite (clips) | Bevy UI nodes | not separable | 0.03 (submit) | 1.78 (composite.k, clips + overlay + YUV) |
- | overlay | 0.24 (memoised) | in composite | 0.21 (memoised) | in composite |
- | RGBA -> NV12 | 0.52 (CPU, encoder) | - | 0 | 0.36-0.37 (nv12buf.k) |
- | readback | 5.01 (8.4 MB copy) | in the total | 0.22 (3.1 MB copy) | 0.01-0.03 (copy) |
- | encode | 0.71 | media engine | 1.8 (the push waits: VideoToolbox's ceiling, 212 fps) | media engine |
- | GPU total, un-overlapped | - | 4.81 (RAEA_SERIAL) | - | 2.36 (the stages' sum); the engine's GPU path 4.13 |
- And measured directly with Metal System Trace (xctrace, headless; bench/metal-trace.txt), GPU ms per update:
- | pass | step 0 path | engine GPU path |
- | the clips and overlay as Bevy UI | 2.38 | 0.04 (empty) |
- | composite.k + nv12buf.k | - | 2.21 |
- | light clustering (no lights in the edit) | 1.52 | 0.30 |
- | camera pass (a clear) and upscaling | 0.62 | 0.42 |
- | readback copy and wgpu's own work | 1.73 | 1.00 |
- | in all | 6.25 | 3.96 |
- And decode and encode take no GPU time: they run on the media engine (their CPU waits are in the table above)
- And the overlay's GPU time, the UGC edit against itself without 2D rows (v-noclip2d.sql; direct render, timestamps,
- two runs): blending it inside composite.k 0.01-0.07 ms a frame (1.74-1.79 vs 1.72-1.73 ms), uploading it 0.04 ms
- a frame averaged over the edit (34 rasters); its raster is CPU work (Blitz, 0.2 ms a frame averaged)
- And the ablation below came first (Bevy 0.19's render diagnostics don't time its UI and 3D passes):
- the same edit without clips, without 2D rows, and without both (examples/ugc/v-*.sql, generated from ugc.sql),
- GPU ms per frame un-overlapped (RAEA_SERIAL, bench/ablation.txt):
- | edit | step 0 GPU | engine GPU path | the difference it makes |
- | neither (Bevy's frame) | 3.52 | 3.18 | camera clear, UI, the target's readback copy: Bevy's floor |
- | 2D rows only | 3.48 | 3.02 | the overlay: within noise (memoised, one texture) |
- | clips only | 4.84 | 4.51 | clips: +1.32 step 0 (RGBA uploads, UI image draws), +1.33 GPU path |
- | the UGC edit | 4.93 | 4.62 | |
- And inside the engine's GPU path, timestamps (RAEA_GPU_TIMES with RAEA_SERIAL, 739 frames, two runs): clip
- uploads 0.16-0.17, the overlay's upload 0.03 (34 of 738 frames), composite.k 1.58-1.66, nv12buf.k 0.30 ms; the
- rest of its 4.4-4.6 ms is Bevy's frame, which the direct render doesn't run (2.36 ms in all)
- And the direct render (RAEA_DIRECT=1, edits without 3D: the same kernels without Bevy's schedules) gives the
- engine's 738 frames byte for byte at 208-212 fps incl. encode, the VideoToolbox encoder's own ceiling (212 fps)
- And preview (gpuview, raea-kgpu on its own wgpu device):
- | what | measured | target |
- | scrub a visited frame, full size | p50 3.1 ms, p95 4.7 ms, max 4.8 ms (150 random) | <= 5 ms |
- | the same with a readback to the CPU | mean 6.1 ms | |
- | a first visit (decode, overlay raster) | mean 30 ms | |
- | the whole edit sketched at 144x256 | 31 ms warm (15 ms GPU); ingest once 2 s | <= 50 ms |
- | a snippet's changed frames re-previewed | zoom on s4 (153 frames) 59 ms; a caption recolour (34 frames) 71 ms | <= 100 ms |
- | look hypervectors + all-pairs distances | 23 ms + 1.4 ms for 738 frames; storyboard 3.4 ms | |
- And re-checked on the final build (after the pool, upload and zero-copy changes): under load 7-9 from other builds
- and browsers, revisit p95 was 6.4 ms; once the Mac was quiet (5-minute load under 3), three runs of 150 random
- revisits gave p50 2.6 ms, p95 3.9 ms, max 4.0-5.1 ms; the whole edit sketched warm in 29-31 ms; the s4 zoom
- snippet re-previewed in 57-60 ms; the render to mp4 peaked at 421 MB
- And the storyboard by look coverage leaves a worst gap of 174 bits against 273 for 12 evenly spaced frames
-
- Scenario: Portable and bounded
- Then cargo check is green for raea-media (soft, soft+av1, soft+av1+apple) and raea-kgpu on aarch64-apple-darwin,
- aarch64-apple-ios, x86_64-unknown-linux-gnu and aarch64-linux-android (bench/g8-crosscheck.txt); the kernels are
- WGSL on wgpu (Metal here, Vulkan and DX12 by construction)
- And the GPU pool holds at most 1 GiB (least recently used out); the render's peak footprint was 1.45 GB
- And later the pool's budget became per use: 32 MiB for a render in frame order (it reuses almost nothing), 1 GiB
- for scrubbing on the Mac, 256 MiB on phones, RAEA_POOL_MB over all: the UGC render to mp4 peaks at 513 MB
- (engine) and 525 MB (direct) at the same speed and with the same 738 frames
-
- And on the iPhone 13 Pro Max with the final build and no settings (the orchestrator's run): the UGC edit to mp4
- 151 fps render, peak 406 MB; its direct render 171 fps incl. encode, peak 540 MB; the 3D hook 161 fps, peak 543 MB
- (the encoder chose real-time for it); the UGC edit's 738 hashes on the phone = the Mac's
-
- Scenario: Known limits and what's next
- Then a first visit costs a decode and, for a new overlay state, a Blitz raster (30 ms mean); a pre-pass or
- background ingest would make scrubbing warm everywhere
- And edits with 3D content preview through the engine (gpuview's background is the camera's clear colour)
- And bandwidth-bound K verbs on big arrays (+/ over 16M ints) are 2-3x slower on the GPU than on 10 CPU cores here
- (unified memory): the GPU wins on the frame path because the data already lives there
- And the HEVC take still needs its H.264 mezzanine for the portable decoders
-
- Scenario: The outputs
- Then the edit rendered on the GPU path is examples/out/ugc-g8.mp4 (738 frames, AAC, plays in AVFoundation,
- no ffmpeg decode errors, SSIM 0.980 vs its uncompressed frames)
- And the scrub demo is examples/out/scrub-demo.mp4 (the 150 scrubbed frames, read back from the GPU)
diff --git a/rdb/docs/previz.feature b/rdb/docs/previz.feature
deleted file mode 100644
index dfbdaaa9..00000000
--- a/rdb/docs/previz.feature
+++ /dev/null
@@ -1,385 +0,0 @@
-Feature: Previz: the edit seen and judged before anything renders
- Status 2026-10-14: what exists, re-run and measured today. There are three previz pieces, built at different times
- for different questions. They don't share inputs yet.
-
- | piece | where | question it answers |
- | timeline previz (CPU) | rdb/src/previz.rs, `rdb previz` | what each frame of this edit shows, which frames to look at, which cuts read as cuts, what a snippet changes |
- | timeline previz (GPU) | rdb/src/gpuview.rs, `rdb gpuview --sketch` | the same sketch and look vectors on the GPU, fast enough to run on every snippet |
- | layout previz | engine/src/previz.rs, `raea previz` | is this shot's layout (labelled boxes) good: safe zones, face, thirds, the creator's wants |
- And the design for previz as a product (shot cards, the camera overlay, attention, the layout reader in Perception) is
- ~/host/docs/previz.feature; the layout previz is its scorer
-
- Rule: A sketch is the rows drawn cheaply, not a render
- The rows already say what every frame shows. A sketch draws that straight from them at 144x256: each visible clip
- sampled from a small proxy of its source, cover-cropped, zoomed and panned exactly as the engine does it, by z then
- id; each text row as a filled box in its colour (no glyphs). Nothing is generated and no model runs.
-
- Scenario: The UGC example, CPU, 2026-10-14
- When `rdb previz rdb/examples/ugc/ugc.sql -o OUT --vs rdb/examples/out/ugc-g8.mp4` runs
- Then OUT holds storyboard.png (12 picks), even.png (12 evenly spaced), vs-NNNNN.png (sketch | real render every
- 120 frames) and previz.json
- And it measured
- | measure | value |
- | frames | 738 |
- | decoding the proxies (929 source frames) | 5.9 s, most of the run |
- | the frames' states | 0.19 s |
- | sketching all 738 frames | 0.10 s (about 7,400 frames a second) |
- | look and row hypervectors | 0.45 s |
- | SSIM, sketch against the real render | mean 0.956, worst 0.924 (every 30th frame) |
- | storyboard by look, worst gap | 308 bits, against 467 for evenly spaced |
- | storyboard by look + rows, worst gap | 975 bits, against 1118 evenly spaced |
- And of the 9 authored cuts, 8 read as cuts (the look moves more than in 95% of within-shot frame steps); the one
- that doesn't is frame 693, where the talking head ends under full-screen b-roll, which a viewer wouldn't see
- either
-
- Scenario: The UGC example, GPU, 2026-10-14
- When `rdb gpuview rdb/examples/ugc/ugc.sql --sketch -o sheet.png` runs
- Then the whole edit sketches in 25 ms of GPU warm (60 ms cold, after a 13 s first ingest of 929 proxies)
- And look hypervectors take 24 ms, all-pairs distances 3.2 ms, the storyboard 6.8 ms
- And the storyboard's worst gap is 174 bits against 273 evenly spaced, the same as g8.feature recorded
-
- Rule: Two hypervectors for each frame, what the edit says and what it shows
- Scenario: The two sides
- Then what the edit says is row_hv: each visible row's identity bound to the bundle of its columns, the frame the
- bundle of its rows, a clip's place in its source a column (so a shot drifts slowly and a cut jumps)
- And what it shows is a look: a 9 x 16 grid of mean colours in opponent space (luma, red-green, yellow-blue),
- signed onto 2048 random hyperplanes
- And the storyboard is farthest-point picks under Hamming distance; "reads as a cut" compares a cut's look step
- with the within-shot steps
-
- Scenario: One look, on the CPU and the GPU (B1, done 2026-10-14)
- Given the look is kgpu's look_grid.k and look_proj.k: 9 x 16 cell sums (luma r+g+b, red-green, (r+g)/2 - blue),
- luma centred on the frame's mean cell, signed onto 2048 integer-hash hyperplanes
- And previz.rs look_words is the same function on the CPU (i32 wrapping as the GPU's)
- When examples/look_parity sketches every frame of the UGC edit on the GPU and computes both looks on its pixels
- Then 738 of 738 frames are bit-equal (worst 0 bits)
- And the storyboards agree: GPU worst gap 371 bits against 592 evenly spaced, CPU 376 against 587 (each on its own
- sketch, which differ slightly)
-
- Scenario: Known gap: the look is colour, not content
- Given the storyboard picks frames 3 and 17, both blurred shots of the same person at the start
- Then the colour grid reacts to blur and colour shifts, not to what is in the frame
- And the fix is already built elsewhere: SigLIP 2 frame columns (meaning/docs/meaning.feature) and Perception's
- tracks and layout (~/host/app/Host/Agent/Perception.swift); previz reads neither yet
-
- Scenario: Content in the look (B2, 2026-10-14)
- Given previz::content: each frame's top clip (by z, then id) read at its place in its source, that source's
- SigLIP 2 row from its ingest (`raea-perceive ingest`; the edit's media ids are the same sha-256 the ingest store
- is keyed by), signed onto 2048 seeded hyperplanes; text and overlays stay the rows' hypervector's job
- And a storyboard by look plus content, each distance over its own median across frame pairs (look 544 bits,
- content 228), written to storyboard-content.png beside previz.json's "content"
- When the UGC edit's three sources are ingested and `rdb previz` runs
- Then all 738 frames have content, and among the 12 picks the near-duplicate pairs (SigLIP 2 cosine 0.9 or more)
- are 45 by look and content, against 51 by look, 53 by rows and look, 55 evenly spaced; the closest pair is
- 0.968, against 0.983, 0.999 and 0.989
- And the gain is modest because the edit is one talking-head take: most of its frames are 0.9 alike whatever is
- picked; the picks now span its framings (wide, leaning in, the waves, the b-roll, the second person)
-
- Scenario: Faces in the sketch and the hard rules on every frame (B3, 2026-10-15)
- Given each source's face track from its ingest (faces.json: Vision's faces and the person mask's box, 4 a
- second), mapped onto the canvas through each clip's cover, zoom and pan (previz::zones), a face under a clip
- drawn above it hidden; each text row as the extent of its words, line by line as the sketch draws them
- And each frame's faces (subject: the person's box grown to hold its face, else a box around the face) and texts
- scored by the layout scorer (engine/src/previz.rs) as a 9:16 layout; storyboard-faces.png outlines the faces
- When `rdb previz` runs on the UGC edit
- Then 628 of 738 frames show a face, the face boxes sit on the faces in the sketch, and the hard rules fail on
- | rule | frames | why, on looking |
- | a subject's face overlaps text | 514 | the captions at 0.70 of the height run across the creator's mouth and chin |
- | text reaches the platform's button bands | 349 | long caption lines reach the right-hand band (940 px) |
- | a subject's face reaches the button bands | 269 | the second person at the right edge, and close framings |
- | a subject's face is cut off by the frame | 92 | the second person leaning out at the edges |
- | text is outside the 4:5 feed crop | 74 | the opening title at the top |
- And the frames and their spans are in previz.json's "rules"; the run adds 7 s of proxies and 1 s of hypervectors
- to previz (the faces and the scoring are milliseconds)
-
- Scenario: Where the eye goes (G1, 2026-10-15)
- Given each source's attention track from its ingest (attention.json: Vision's attention saliency map 4 times a
- second, its weighted centre, its peak, and focus = 1 - its entropy over the largest it can be), and
- previz::attention mapping the top clip's centre and peak onto the canvas through its cover, zoom and pan
- When `rdb previz` runs on the UGC edit
- Then previz.json's "attention" has focus for all 738 frames (median 0.126; it falls to 0.07 while the colour-bar
- b-roll is on screen), the eye's jump at each authored cut (0.010-0.021 of the canvas within the take,
- 0.046-0.060 into and out of b-roll), and the first look of each shot: the attention peak lands on a face at 9 of
- 10 shot starts (the miss is the b-roll, which has none)
- And these are reported, not judged: Track D decides whether a jump or a focus level moves the outcome
-
- Scenario: The mix as a timeline (G3, 2026-10-15)
- Given rdb/src/mixline.rs: the voice stem (the clips' sound) and the music stem (the audio rows) each measured
- before the master (momentary loudness per frame, as `hearing` reads them), and the master: short-term loudness
- (3 s) and the sample peak each second; while someone speaks (voice over -40 LUFS), how far under the voice the
- music sits, against the house duck of 23 dB (editing-quality.feature S1), under 18 dB counted as crowding
- When `rdb previz` runs on the UGC edit (previz.json's "mix")
- Then the master is -14.2 LUFS integrated (S2's -16 to -10) and peaks at -1.5 dBFS (no second over -1; sample
- peak, true peak is still to do)
- And the music sits 16.6 dB under the voice at the median, against the house 23: it crowds the voice on 410 of
- the 656 frames with speech, a finding about the edit's music bed, not the measure
-
- Scenario: Does an authored cut read as one, by TransNetV2 (B4, 2026-10-15)
- Given previz writes its sketches at 48 x 27 RGB (sketch-48x27.rgb), and `raea-perceive transnet-frames` runs
- TransNetV2 on them in Rust (ONNX through ort; against the Python ONNX on 40 renders: same frame counts, cuts at
- 0.5 within a frame on 40 of 40 and identical on 39, mean difference 0.00012, 19 ms a frame)
- When it reads the UGC edit's 9 authored cuts (a cut "reads" when the probability within 2 frames is 0.5 or more)
- Then it reads the 3 cuts into and out of b-roll (0.79-0.99) and none of the 5 jump cuts within the take (0.008-
- 0.404); the 9th (frame 693, the take ending under full-screen b-roll) neither reads, as the look said; it reads
- no cut that isn't authored
- And so TransNetV2 tells a new shot from a jump cut rather than judging whether a cut reads: the colour look reads
- 8 of 9; a jump cut is visible to a viewer, so the look's reading stays, and TransNetV2's becomes the cut's kind
-
- Scenario: Composition and every platform's bands (G2, 2026-10-15)
- Given previz::PLATFORM_BANDS: the house band and six practitioners' measurements at 1080 x 1920 with their sources
- (postplanify.com's TikTok 108/120/320/60, Reels 210/84/310/0, Shorts 120/96/300/0 px top/right/bottom/left;
- daohuy.com's with the description text showing: TikTok 75/110/340, Reels 75/110/275, Shorts 80/100/220); no
- platform publishes these and they disagree, so they are reported side by side and averaged, the house band
- (stricter than all six) staying the hard rule
- When `rdb previz` runs on the UGC edit (previz.json's rules.composition)
- Then the biggest face's eye line sits 0.013 of the frame from the nearest third or golden line at the median, and
- the captions' centres 0.055
- And frames with a face or text in each platform's bands: house 315 / 349, TikTok 288 / 259, Reels 187 / 206, Shorts
- 195 / 206, the described variants 202-223 / 206-259; the six platforms average 220 / 233
-
- Scenario: The light, and its jumps at cuts (G4, 2026-10-15)
- Given each source's light track from its ingest (light.json, twice a second: the frame's mean luma and warmth
- (R - B over R + G + B), and the framing coach's read of the light on the face through the Vision trait), and
- previz::light reading the top clip's sample at its place in its source
- When `rdb previz` runs on the UGC edit (previz.json's "light")
- Then the light on the face is "window behind (backlit)" on 583 of 738 frames (about 2 stops), even front light
- on 45, no face on 110: the creator is lit from behind, which the live coach would have flagged
- And at the cuts: the jump cuts inside the take change nothing (the same continuous footage); into and out of the
- b-roll, luma moves by up to 0.026 and warmth by up to 0.14 (back into the take): the catalogue's brightness and
- colour-temperature continuity, reported; the 2-a-second sampling is coarse for flashes (G's flash safety is
- its own check)
-
- Scenario: Flash safety, the one hard rule (2026-10-15)
- Given rdb/src/flash.rs: WCAG 2.3.1's general flash threshold on the sketches' relative luminance (a flash: a pair
- of opposing changes of 10% or more of the brighter, the darker under 0.80, over a quarter of the frame; more
- than three in any one second fails; the red-flash test and the small-area refinement are not in it)
- Then its unit tests pass (4 of 4): steady footage passes, a strobe at 5 flashes a second fails, exactly 3 a
- second passes, the same strobe over a tenth of the frame passes
- And the UGC edit passes (2 flash-sized transitions, at the colour-bar b-roll), in previz.json's
- rules.flash_safety
-
- Scenario: Do the measures move with outcomes? (G6, 2026-10-15)
- Given rdb::previz_report::run (moved from main.rs, output unchanged) and rrl/examples/previz.rs, which compiles an
- .rrl edit and runs it; tabular/bench/g6_trends.py over the overnight loop's scored runs (read only), comparing
- passing and failing runs of the same scenario
- When it reads 312 final edits in 49 scenarios (299 passed)
- Then only 8 scenarios have runs both ways, and in them the measures almost never differ: text to the power lines
- in 2 (higher when passing), face over text, text outside the feed crop and loudness in 1 each, every median
- difference 0; focus, eye jumps, light, the duck, bands and flashes don't differ at all
- And so this data can't say which measures matter: each overnight scenario changes one thing and nearly always
- passes, so the whole edit's perception doesn't move with its grade; G6 needs edits that vary in quality and a
- quality label (Kelly's picks, ad outcomes, the goal judge's met share on rendered runs)
-
- Scenario: Sound at the cuts: mid-speech and mid-sound (the catalogue, 2026-10-15)
- Given mixline::edges: at each sound lane's start and end inside the edit, the source's level 20 ms inside and
- 20 ms outside; an edge where the next lane carries the same source on at the same moment is continuous sound,
- not an edge; a loud sound (over -35 dBFS both sides) cut there without a fade is cut mid-sound
- And a cut is mid-speech when it cuts the sound (an edge within a frame of it) and the voice stem's level in the
- 60 ms around it is within 10 dB of its median while talking; picture cuts over continuous sound (b-roll over the
- voice, a jump cut on contiguous audio) are counted apart
- When `rdb previz` runs on the UGC edit
- Then no cut is mid-speech, 3 picture cuts sit over speech (the b-roll and a contiguous jump cut), and one edge is
- cut mid-sound: the take's voice at 23.1 s, under the closing b-roll, at -34 dB without a fade
- When s2 starts 0.56 s later in the take instead (inside "We're simulating them")
- Then frames 126 and 155 are mid-speech, and both edges at 126 are cut mid-sound (-18.7 and -20.8 dB, no fade)
-
- Scenario: Repetition, text against its background, text over motion (the catalogue, 2026-10-15)
- Given previz.json's "catalogue": the shots between authored cuts with each one's mean SigLIP 2 row (B2) compared
- with the next, their lengths; each text's colour against the luminance of the sketch drawn without its texts
- (WCAG's contrast ratio; the captions' stroke and shadow, which help, aren't counted); the frame-to-frame change
- of the picture behind the text
- When `rdb previz` runs on the UGC edit
- Then 7 of its 9 back-to-back shot pairs are 0.95 alike or more (the one take; only the colour-bar b-roll breaks
- it, 0.55), the longest shot holds 5.9 s
- And the captions' white against the picture behind is 4.75:1 at the median, under 3:1 on 102 frames (lowest
- 2.18), and 83 frames have a busy picture behind the text (over 8 levels a frame)
-
- Scenario: Orphaned mouths at shot edges (the catalogue, 2026-10-15)
- Given ingest's mesh.json (the face mesh 8 times a second: mouth openness, head turn, gaze, the face's centre) and
- the voice stem's level every 10 ms (mixline::voice_levels); at each shot's start and end, the mouth moving (a
- step over 0.03 between samples in the 0.3 s inside the edge) while the voice is 20 dB under its median there
- When `rdb previz` runs on the UGC edit (previz.json's catalogue.orphaned_mouths)
- Then two edges are flagged: the end of the 0.4 s shot at frames 329-342, in the pause after "...what breaks."
- where the mouth opens for the next sentence (0.05 to 0.097) with no sound before the cut, and the edit's first
- 0.3 s, where the mouth opens about 0.1 s before the first sound of "All right" (a lead-in, borderline)
- And look room waits: the head turn's sign has to be checked on footage with a known turn before a cramped side
- can be told from an open one
-
- Scenario: Glyph cutoff (the catalogue, 2026-10-15)
- Given each text's words' extent (B3's zones) reaching more than 1% past the frame, in spans; spans under a reading
- beat (0.3 s) counted as flickers
- Then the UGC edit has none, and with its first caption moved to x 700 (its centred "All right" past the right
- edge) frames 0-22 are flagged, the caption's whole span
-
- Scenario: Animation principles that can be read off the frames (the catalogue, 2026-10-15)
- Given rdb/src/animation.rs: every numeric column of every overlay row followed through the frames and split into
- moves, each measured for timing (its length), easing (slower at both ends than in the middle), follow-through
- (past its target, then settling) and anticipation (first the other way); a stretch reversing more than twice is
- a loop, set apart; staging, arcs, appeal and silhouette are a viewer's call; unit tests pass (3 of 3: an eased
- move, a linear one, a move with anticipation and overshoot)
- When `rdb previz` runs (previz.json's "animation")
- Then the UGC edit has 2 moves (0.23 s, linear) and the hook 61 moves and 14 loops in 19 rows: median 2.27 s, 5%
- eased, 20% overshooting, 44% with a counter-move, one under 4 frames
- And the hook's counter-moves are mostly its bobbing (part of a sine wave reads as a dip before the rise), so on
- oscillating motion the anticipation share over-reads; it's sound on discrete moves (the tests)
-
- Scenario: True peak, and where the creator looks (G3, G1; 2026-10-15)
- Given the mix's true peak (the master upsampled 4x with raea-media's band-limited resampler, then peaked, as
- BS.1770 measures it) and the gaze from ingest's mesh track (the share of face frames whose gaze is within the
- performance read's cone toward the camera)
- When `rdb previz` runs on the UGC edit
- Then the master's true peak is -0.9 dBTP: over editing-quality.feature S2's -1, though its sample peak is -1.5
- (the master's limiter holds samples to the ceiling, not the peaks between them): a finding about the mastering
- And an agent session made raea_media::audio::master's ceiling a true-peak one (b405bd0, a 4x-oversampled envelope); the
- same run now reads -1.5 dBTP, so S2 passes on the house render
- And the creator looks toward the camera on 92% of the 628 frames with a face
-
- Scenario: The focal point and what competes with it (the catalogue, 2026-10-15)
- Given ingest's attention track now carries a rival per sample (perception/src/ingest.rs › rival): the saliency
- map's mass above its median in a disc of 0.1 of the picture, the strongest disc 0.25 or more from the strongest,
- and its mass over that one's (Vision's maps are smooth blobs: a single cell's maximum put the rival at 0.84-0.95
- on every clip, so mass it is); unit tests pass (3 of 3: one blob has no rival under 0.1, two equal blobs over
- 0.8, a 0.4 blob reads between 0.3 and 0.5); the fixtures were re-ingested (attention only, about 7 s for the take)
- When `rdb previz` runs on the UGC edit (previz.json's attention.focal_point: a rival at 0.8 of the peak or more,
- not on the peak's own face, competes)
- Then the rival's median is 0.905 and two places compete on 562 of 738 frames (0.76): 511 with the peak on one
- face and the rival on another, because the take has a second person standing behind the creator (two faces in
- 97 of its 103 samples), and 51 on the b-roll with both off any face
- And the take's 6 one-face samples read as a single focus (rival as low as 0.10): the measure tells a lone subject
- from a shared frame; whether a second face hurts an ad is Track D's question, so it is reported, not enforced
-
- Scenario: Diegetic continuity at cuts (the catalogue, 2026-10-15)
- Given rdb/src/mixline.rs › diegetic, per authored cut: a shot's own sound (its clip's `sound`, else its `src` when
- it sounds; a muted clip's own is the sound another clip of the same picture source names, through the source
- map); whether the outgoing one still plays its picture's moment 0.2 s after the cut (carries), whether the
- incoming one plays its picture's moment 0.2 s before (leads), and the incoming sound 0.1 s in: in step (within
- 1.5 frames), out of step, silent, or none of its own; out of step and silent are mismatches
- When `rdb previz` runs (previz.json's "diegetic")
- Then the UGC edit's 9 cuts have no mismatch: 5 continuous (punch-ins on one take), 2 L-cuts into the b-roll, 1
- J-cut back to the creator, 1 straight
- And on variants of it (shot s5 muted; s5 muted with its voice laid as an audio row in step; the same row a second
- late) the check reads: silent at 342 (1 mismatch), in step (0), out of step at 342 (1)
- And on the 81 distinct graded overnight edits (377 cuts): 202 continuous, 78 L-cuts, 49 J-cuts, 48 straight; every
- incoming shot with sound is in step and none is a mismatch: the agent never mutes or slips a take, so this
- guards against a mistake the runs don't make yet (it is reported, not enforced)
-
- Scenario: Screen direction, match on action and graphic match at cuts (the catalogue, 2026-10-15)
- Given rdb/src/direction.rs: the way things move in the 0.3 s either side of a cut, in canvas widths a second: the
- largest face's centre (B3's zones) when it is seen at both ends, else the picture's shift from the span's first
- sketch to its last (block matching on luma within 12 px; frame to frame, a slow pan is under a sketch pixel);
- under 0.15 is still (a talking head sways about 0.1); kept, reversed, from or to still; a match on action is
- kept at a half to twice the speed, a graphic match a change of picture source that doesn't read as a cut (the
- look hypervectors, as "cuts" reports); unit tests pass (3 of 3: a 3 px and a -2 px pan found, a flat picture
- still, the four ways across a cut)
- When `rdb previz` runs (previz.json's "screen_direction")
- Then the UGC edit's 9 cuts are all still: a talking head and still b-roll have no direction to keep or break
- And with its first b-roll split at frame 274 into two zoom-2 pans (pan_x -1 to 0, then 0 to 1) the cut reads
- kept, -0.29 then -0.26 widths a second (the crop moving right moves the picture left; 0.27 expected) and a match
- on action; with the second pan reversed (0 to -1) it reads reversed (-0.29 then +0.26)
- And on 79 graded overnight edits (399 cuts; 250 read by the face both sides): 398 still, 1 reversed (a sway at a
- punch-in), no match on action, no graphic match: the bank's edits recut one talking head, so the measure is
- ready for footage with movement and has none to judge yet
-
- Scenario: Cuts on beats or phrases (the catalogue, 2026-10-15)
- Given rdb/src/beats.rs, a model-free beat tracker (Ellis's dynamic programming, 2007): spectral-flux onsets 100
- times a second (46 ms Hann windows, their lead measured on clicks and taken out), the tempo from the onsets'
- autocorrelation between 60 and 180 BPM weighted toward 120, no tempo unless the peak is 3 times the range's mean;
- unit tests pass (3 of 3: click tracks at 120 and 95 BPM found within 2 BPM and every beat within 20 ms of its
- click (all at 0 ms); steady noise has none)
- And mixline::cut_timing: the music lanes' beats with their gain held flat (the duck at every speech edge would
- read as onsets at the cuts), the voice's pauses (150 ms, 20 dB under its talking median) and the edges of the
- edit's speech rows; a cut is on the beat within 50 ms (chance: 0.1 s over the period), on a phrase in or within
- 0.1 s of a pause or a speech row's edge
- When `rdb previz` runs (previz.json's "cut_timing")
- Then the UGC music bed reads 96.0 BPM with pulse strength 3.9 (click tracks 17-37, noise near 1): a weak pulse;
- librosa's onset autocorrelation peaks at the same 0.627 s, but its beat tracker places almost no beats on it
- And of the UGC edit's 9 cuts 4 are on the beat (1.4 by chance) and 7 on a phrase; the other 2 are the b-roll
- inserts over running speech; 3 of its sentence ends dip only 11-18 dB (a word gap mid-sentence dips 29), so the
- speech rows find them and level alone doesn't
- And on 124 graded overnight edits (604 cuts) 238 cuts are on the beat (95 by chance) and 490 on a phrase, but
- the cuts sit at only 30 distinct frames (one take, one bed), 8 of them on a beat (0.27 against 0.16 by chance):
- too few to say the agent cuts to the music; runs pass 99-100% either way, so outcomes can't separate it yet
- And Beat This! (a learned tracker) would read a weak pulse better; it stays the next step if beats start to matter
-
- Scenario: Mouths moving with no voice, anywhere in a shot (the catalogue's diegetic source mismatch, 2026-10-15)
- Given previz_report::silent_mouths: spans of 0.6 s or more where the top clip's mouth moves (a step over 0.03 in
- openness against the mesh sample 1/8 s before) while the voice is 20 dB under its talking median; the voice is
- the clip lanes and any audio row playing a source a clip names as its sound (widened today: a take's voice laid
- as its own row counted as silence before)
- When `rdb previz` runs (previz.json's catalogue.silent_mouths)
- Then the UGC edit has none: its two shorter spans (frames 18-32 and 438-446, 0.3-0.5 s, the mouth opening to
- 0.11-0.14) are breaths before a phrase, which is why the floor is 0.6 s
- And with s5 muted, 170 frames are flagged (340-365 and 374-517, nearly all of the shot); with its voice laid as
- an audio row in step, none; a second late, none here (the diegetic check reads that one as out of step)
- And on 112 graded overnight edits none is flagged (the agent never mutes a take); impacts and instruments wait
- for a sound-event match (Track H's CLAP)
-
- Scenario: Music baked into a clip's own sound (Track H3, 2026-10-15)
- Given mixline's baked_music: where a clip lane's source has ingest stems (perception's stems.json, HTDemucs's
- levels 20 times a second) and its music stem's loud end (90th percentile) is over -45 dB, the music stem against
- the vocals at the source moment each frame plays, with the lane's gain, over the frames someone speaks
- When `rdb previz` runs on a variant of the UGC edit whose only sound is its own finished render (voice and bed
- mixed, as a clip under the takes; no music row)
- Then the baked music sits a median 13.9 dB under the voice and crowds it (under 18 dB) on 495 of 720 speech
- frames, where the original edit's separate lanes read 16.6 dB and 410 of 656 frames: the measure survives the
- music being baked in (speech is found on the whole mix there, so a few music-only frames count as speech)
- And on the original edit it reports nothing: the take's clean voice has stems too, but its music stem's loud end
- is -54 dB (HTDemucs's leakage) against the render's -29 and the bed's -22, under the -45 dB line
-
- Rule: Layout previz scores boxes, deterministically
- Scenario: The scorer, 2026-10-14
- Given a layout: ratio, seconds, zones in canvas fractions (subject with face, product, text with words, motion,
- logo, button, video) and the creator's wants (eye line, room above)
- When `raea previz score layout.json --json` runs
- Then hard rules fail it (safe-zone bands, text over the face or product, marks overlapping, a want not met, a
- face cut by the frame or the 4:5 Reels crop) and soft scores rank the ones that pass (power lines, balance,
- breathing room, reading time)
- And `raea previz html` draws it as labelled boxes for a snapshot
- And `cargo test --release --lib previz` in engine/ passes 10 of 10
-
- Rule: Next, in order
- Scenario: Make previz read what perception already knows
- Then the look gains SigLIP 2 vectors from the meaning plane's columns, projected to the same 2048 bits, so the
- storyboard and "reads as a cut" judge content; measured against today's numbers above
- And the sketch draws Perception's face and person boxes, so the layout scorer's rules (text over a face, a face
- cut by a zoom) run on every frame of a real edit, not only on a planned layout
- And the CPU and GPU looks become one function, checked equal (done 2026-10-14, B1)
-
- Rule: Depth touches, judged before rendering (the roadmap G5, 2026-10-15)
- Scenario: The tracks
- Given perception's ingest step `matte` (ingest.rs matte_track, 4 a second, 18 s for the 25 s fixture take): on a
- grid of 96 rows, the person mask (Vision), Depth Anything 3's inverse depth (0-255 over the sample's nearest)
- and each cell's sharpness (the mean absolute Laplacian of the grey picture), with each sample's face boxes
- Then previz's catalogue gains depth_touches, mapped through the top clip's cover, zoom and pan as attention is
-
- Scenario: Text behind the head
- Given a text row declaring `behind = 'person'`
- Then previz measures the share of the text's box the person matte covers at its worst frame: under 0.03 the touch
- does nothing ("none"), up to 0.25 it reads as a look ("ok"), up to 0.5 it's "borderline", past that it hides
- the words ("fail")
- And on three fixtures (rdb/examples/g5/behind-*.sql: "GLOW" at 300 px over the fixture take at y 50, 200 and 600,
- the heights chosen from a scan of the matte, since the take's second person stands into the top half at times):
- | fixture | worst share | mean share | verdict |
- | ok | 0.212 | 0.015 | ok |
- | borderline | 0.467 | 0.083 | borderline |
- | fail | 0.994 | 0.674 | fail |
-
- Scenario: A focus blur
- Given a clip declaring `focus_blur`, and fixtures made by perception's raea-focus (the take blurred by depth the
- way a portrait mode does: a focus plane at the face, halfway to the background, or at the background; each
- pixel blurred by its depth's distance from the plane, 10 px at most at 540 x 960; then ingested)
- Then previz measures the face's sharpness over the background's (outside the person matte), the median over the
- clip: 2 or more sets the subject apart ("ok"), 1 to 2 is "borderline", under 1 the focus missed the face ("fail")
- And on the fixtures (rdb/examples/g5/focus-*.sql; the blurred takes are made by the command in each file, not
- committed):
- | fixture | face over background | sharpest tenth from the face in depth | verdict |
- | focus at the face, 10 px | 3.60 | 0.007 | ok |
- | the take as shot (reference) | 1.72 | 0.151 | borderline |
- | plane halfway, 10 px | 1.59 | 0.026 | borderline |
- | focus at the background | 0.70 | 0.249 | fail |
- And the bound sits at 2 because the take as shot already reads 1.7: a blur that doesn't beat that sets nothing
- apart (a first bound of 1.5 passed the missed plane, and a 2 px blur at the face read 2.47, still sharp, so it
- was no borderline fixture)
- But rdb renders neither touch yet (text over a clip has no person matte above it, and clips aren't blurred): the
- blurs here are baked into the footage, and the text fixtures are judged from their rows, as previz judges any
- edit before it renders
diff --git a/rdb/docs/substrate.feature b/rdb/docs/substrate.feature
deleted file mode 100644
index 51bef129..00000000
--- a/rdb/docs/substrate.feature
+++ /dev/null
@@ -1,110 +0,0 @@
-Feature: One substrate: the edit as typed columns in Bevy's World, written in SQL, computed in K, checked in Gherkin
- What we read and write today, what the spikes proved, and the direction to build. Criteria (the founder, 2026-10-14):
- more DRY than today, highly performant, every toolchain doing its real job (K, SQL, Gherkin, Bevy, Blitz-dom), for
- video now and games next. Spikes: examples/spike_*.rs; numbers: bench/substrate-spikes.txt. M4, 2026-10-14.
-
- Background: today there is no one database
- Given an edit lives in six shapes at once:
- | where | shape | role |
- | db::State | rows of maps per kind, keys, rules, moves | the truth while editing (our engine) |
- | the .duckdb file | typed tables, rebuilt by the duckdb CLI | storage; read-only queries |
- | ir::Program + inserted rows | compiled rules over rows of maps | what rendering starts from |
- | eval::frame_state(frame) | a fresh copy of every row, every frame | the evaluated frame |
- | Bevy World (Row, Vals) | one map per entity, overwritten each tick | the current frame for the renderer |
- | raea's Tracks / Resolved | JSON props and raea's own timeline model | the 2D (Blitz) rows: a second time model |
- And "K" means three things: the rule evaluator (K-style set-at-a-time, but Rust over Vec<V> enums), the kgpu
- dialect (real K compiled to WGSL over typed GPU columns), and raea-meaning's k.rs (hypervectors on the CPU)
- And the same logic is written several times:
- | logic | copies |
- | clip cover / zoom / pan maths | 6 (engine x2, gpuview x2, previz, comptest); the f32/f64 bug came from this |
- | callers evaluating frames themselves | 7 (render, scrub, sketch, previz, brief check, audio lanes, overlay) |
- | decoder set-up and caching | 4 |
- | column helpers (num) | 3 |
- | GPU pool LRU | 2 |
- | rows -> Blitz props | 3 |
-
- Scenario: V1-V5, what the spikes proved
- Then the evaluator doesn't care where rows live: it runs through ir::Set, so storage swaps under the same code
- And V2, today's cost: the hook 23 us a frame (80% rules); the UGC edit 177 us a frame, 92% of it one 9-frame
- transition recomputing whole neighbouring frames, and every consumer above pays it again
- And V3, columns + the whole timeline at once, the same evaluator: the UGC edit 119-144 -> 14.8-27 ms for 738 frames (5-8x over two runs; the spike still clones every raw frame),
- the hook 3.3 -> 3.1 ms; 0 of 888 frames differ from today, value for value
- And V4, Bevy's World as the store: agent-defined columns registered at run time (f64 or String components), each
- kind a marker so its rows share tables, base values read in place from table columns (zero copy), each frame's
- writes in an overlay so the base is never mutated: 0 frames differ; raw frames 8.4 -> 1.6 ms (UGC), 3.8 -> 3.3
- ms (hook); building the World 0.06-0.22 ms
- And V5, games: the hook's ring rules over N spheres, typed f64 column loops against today's evaluator, values
- identical:
- | spheres | today per frame | typed per frame | speed-up |
- | 1,000 | 1.0-1.1 ms | 0.013-0.026 ms | 37-86x |
- | 10,000 | 9.5-10.6 ms | 0.12-0.13 ms | 78-81x |
- | 100,000 | 116-120 ms (misses 60 fps) | 1.2-1.3 ms | 92-98x |
-
- Scenario: The direction: one substrate, every toolchain in its place
- Then the truth is the move log: the SQL snippets applied, with snapshots (event sourcing; the move table already)
- And the store is Bevy's World: a row is an entity, a column a typed component registered at run time per
- (kind, column), a kind a marker; one copy of the edit, columnar, shared by everything that reads it
- And one language: .rrl (Datalog, the founder's pick, 2026-10-14; front end by rowlio-44) is what the agent, files and
- briefs use; it lowers into this crate's IR (ir.rs), and rdb's SQL front end becomes legacy. Facts are
- rows, keys are keys, labelled rules are the ordered per-frame updates, recursive rules a bounded fixpoint inside a
- frame (hoisted when frame-invariant), `next` rules the game schedule; queries run on the same columns; storage is
- the log plus a columnar snapshot, so no duckdb CLI anywhere
- And K is the compute: a rule is a K expression over typed columns, run natively on the CPU (typed loops) or on the
- GPU (kgpu's WGSL) from one source; the K interpreter stays the exactness reference
- And Gherkin is the check: a brief lowers to K predicates over the evaluated columns, for every frame at once
- And Blitz-dom draws the 2D rows from the same components: a 2D row's style columns feed its DOM node, Bevy's change
- detection says which nodes to restyle (the overlay memo, generalised); raea's separate Tracks/timeline model
- goes, SQL keys and rules are the one time model
- And Bevy schedules and renders: the same compiled rules run as systems
-
- Scenario: Video and games are two schedules over the same rules
- Then video evaluates the timeline: a frame is a pure function of (base columns, keys, rules, frame), computed for
- all frames at once (frames x rows, transitions as a scan over the series), any order, in parallel, cached by
- digest; render, scrub, sketch, audio and briefs read it instead of re-evaluating
- And games run the same compiled rules per tick: state carries from tick to tick, input arrives as rows (events),
- the rules write the World in place
- And the edit says which: a kind whose rules read their own previous tick is game state; everything else stays a
- function of the frame, so a video can hold a game-like simulation by scanning it once over the timeline
-
- Scenario: Build it in phases, each measured against today's references
- Then phase 1, the store: the World holds the edit (runtime typed components per kind+column), db::State and the
- engine's Vals map go; pass: the hook and UGC hashes unchanged (examples/out/ref), apply/undo/moves identical
- And phase 2, the timeline: one evaluation of all frames shared by render, scrub, sketch, previz, audio and check;
- pass: frames identical, the UGC timeline <= 15 ms, the six callers reduced to one
- And phase 3, compiled K: rules lowered from the IR to typed K kernels (CPU loops, kgpu on the GPU), the Vec<V>
- evaluator kept as the reference; pass: = the reference value for value, 10,000 rows <= 0.2 ms a frame
- And phase 4, storage: the log + a columnar snapshot, the agent's query on our columns; pass: save/load/undo round
- trip exact on every example, no duckdb process, the same answers on the G5 queries
- (the edit is an .rdb, a render database: JSON lines of a header, the state with its rows as columns, then the
- move log; query.rs answers one SELECT per table; bench/queries.sql against DuckDB's recorded answers)
- And phase 5, Blitz on the same entities: 2D rows' columns feed DOM nodes via change detection, raea's Tracks go;
- pass: overlay pixels identical, redraws only on changed rows
- (done: raea's install_hosted; the engine and gpuview write each 2D row's frame values into its node's Resolved
- through one props_2d, only when they differ; UGC's full render patched 91 rows in 34 syncs, not 612; .row edits
- keep Tracks, which rdb no longer uses)
- And phase 6, the agent bridge on top (edit, query, check, look, undo, render), then the CJ variations eval
- (done 2026-10-14: `ugc rdb new|media|apply|query|look|render|check|undo|moves` in ugc-agent's shell, run by the
- app's host (ugc-eval's runs rdb). Seven rounds of the private CJ scenario (cj-variations-rdb) taught the engine:
- UPDATE edit, media by (id, path) with project paths, IN/BETWEEN/LIKE in rules, clips that name a sound play it,
- sound = '' mutes, settings checked, render warns of picture and sound gaps. Round 7: 8/9 checks, three Reels
- rendered at 30, 30 and 60 s with word captions; the miss is a deliberate 2 s end card on black)
- And each phase deletes what it replaces: the duplicated cover maths, decoder caches, pool and num helpers become
- one module each as the store and timeline land
-
- Scenario: Risks the spikes didn't cover yet
- Then CTEs weren't in the spikes (both edits lacked them); they become temporary columns in the overlay
- And a column holding numbers in one kind and text in another collides when components are named by column: name
- them by (kind, column)
- And strings and absent values need a typed representation (an interned string column, a presence mask)
- And parallel frames need the World read-only while frames evaluate; Bevy's World is Sync for reads
- And raea's 2D timeline (Tracks) carries animation the SQL keys may not express yet; phase 5 measures that
-
- Rule: Decided: page paint stays on CPU workers while wgpu is split (2026-10-15)
- Scenario: vello_gpu for the page
- Given anyrender_vello_hybrid 0.11 (vello_gpu 0.3) matches engine's anyrender 0.14 and vello_common 0.3 but needs
- wgpu 30, and Bevy 0.19 pins wgpu 29 for rdb and kgpu
- Then the page would paint on a second GPU device and come back through the CPU to kgpu's: about 5 ms a frame on
- one core (estimate), against html::PagePool's 2.9 ms a frame on eight cores (measured, kinetic-type)
- And so the page stays on vello_cpu workers until the stack moves to one wgpu, when the paint can land in kgpu's
- texture with no copy
-
diff --git a/rdb/examples/hook/hook.feature b/rdb/examples/hook/hook.feature
index b50d2b28..5a317f51 100644
--- a/rdb/examples/hook/hook.feature
+++ b/rdb/examples/hook/hook.feature
@@ -1,6 +1,6 @@
Feature: The hook's brief
What the hook must do, checked against the live edit. The edit itself is the SQL tables; this brief never changes
- them. The retired rrl checked edits against it (deleted 2026-10-17); the scenarios remain as the brief.
+ them.
Background:
When the edit is playing
diff --git a/react/README.md b/react/README.md
new file mode 100644
index 00000000..72cd2b4a
--- /dev/null
+++ b/react/README.md
@@ -0,0 +1,22 @@
+# react
+
+`raea-react` and its CLI, `raea-motion`: the engine that runs [`@raea/motion`](../motion) compositions. React runs on
+JavaScriptCore inside Bevy; each frame's tree is read back and lowered to [`rdb`](../rdb) rows, which Bevy draws.
+
+ raea-motion render EDIT.tsx -o OUT.mp4 | OUT.png | DIR [--frame N | --at A,B]
+ raea-motion play EDIT.tsx play live in a window (games take keyboard and pointer input)
+ raea-motion run SCRIPT.ts run a script's default export inside the engine
+ raea-motion test FILE... run bun:test-style files inside the engine
+ raea-motion types -o FILE.ts write the native calls' TypeScript types
+ raea-motion shell ROOT -c CMD run a command in the agent's shell
+
+- `src/`: the engine (`motion.rs`, `live.rs`, `play.rs`, `audio.rs`, ...) and `bin/raea-motion.rs`.
+- `js/`: the bundler (`bundle.ts`, run with bun on the Mac) and the JavaScript side of the bridge.
+- `ios/`: the same engine on the iPhone, as a library a probe app links.
+- `bench/`: example games (`games/`), a render-vs-play corpus (`corpus/`), timeline checks and a playtest prototype.
+
+Build with `cargo build --release --bin raea-motion` in this folder. Depends on [`engine/`](../engine),
+[`rdb/`](../rdb), [`media/`](../media), [`native/`](../native), [`modules/`](../modules), and optionally
+[`browser/`](../browser) and the sandbox's `wsx`.
+
+Status: in use; the main way to render with raea.
diff --git a/react/bench/corpus/findings.md b/react/bench/corpus/findings.md
deleted file mode 100644
index 18824bc6..00000000
--- a/react/bench/corpus/findings.md
+++ /dev/null
@@ -1,160 +0,0 @@
-# Corpus findings (2026-10-18)
-
-`react/bench/corpus/run.sh` runs the edits in `list.txt` through raea-motion's main paths:
-- the render to MP4;
-- render vs baked play, by SSIM at four frames;
-- for games, a live play with random keys, then the same frames rendered from its input log.
-
-The corpus holds 40 edits:
-- 28 real agent-written compositions: 11 of score's ad edits on real footage, 17 of void's own TSX (11 ads, 6 games);
-- 10 fixtures from git;
-- 2 synthetic edits: a deck and a 3D shot.
-
-The first pass failed 18 of 40. After the fixes below, 35 pass and the 5 that fail are all 3D, from two open causes (findings 5 and 6). Some of the first pass's failures were the harness's own: render didn't get the words and perception that play reads by itself (finding 7).
-
-## Results (final pass, binary with every fix below)
-
-| result | kind | edit | render ms/frame | detail |
-|---|---|---|---|---|
-| PASS | timeline | timelines/titles | 18.2 | worst SSIM 1.000; 3294 CPU stretches |
-| PASS | game | games/pong | 5.3 | worst SSIM 1.000 |
-| PASS | game | games/platformer | 3.8 | worst SSIM 1.000 |
-| PASS | timeline | games/tones | 1.3 | worst SSIM 1.000 |
-| PASS | timeline | golden/01-card-fade | 5.7 | worst SSIM 1.000 |
-| PASS | timeline | golden/02-sequence-timing | 5.6 | worst SSIM 1.000 |
-| PASS | timeline | golden/03-video-take | 6.9 | worst SSIM 1.000 |
-| FAIL | 3d | golden/04-mesh-sign | 5.9 | render vs baked play: worst SSIM 0.000236 |
-| FAIL | 3d | golden/05-world-solid | 6.7 | render vs baked play: worst SSIM 0.000236 |
-| FAIL | 3d | golden/06-world-entities | 8.0 | render vs baked play: worst SSIM 0.0004 |
-| PASS | timeline | fixtures/deck | 4.0 | worst SSIM 1.000 |
-| FAIL | 3d | fixtures/box3d | 9.0 | render vs baked play: worst SSIM 0.709593 |
-| PASS | timeline | c8_brief_full/client-a | 6.3 | worst SSIM 1.000 |
-| PASS | timeline | c8_brief_full/client-a | 8.0 | worst SSIM 1.000 |
-| PASS* | timeline | c8_brief_full/client-b | 5.1 | worst SSIM 1.000 |
-| PASS | timeline | c8_brief_full/client-e | 8.3 | worst SSIM 1.000 |
-| PASS | timeline | c8_brief_full/client-e | 9.2 | worst SSIM 1.000 |
-| PASS | timeline | c8_brief_full/client-1 | 7.4 | worst SSIM 1.000 |
-| PASS | timeline | c8_brief_full/client-2 | 7.5 | worst SSIM 1.000 |
-| PASS | timeline | c8_brief_full/client-c | 6.2 | worst SSIM 1.000 |
-| PASS | timeline | c8_brief_full/client-d | 8.5 | worst SSIM 1.000 |
-| PASS | timeline | i7_ink_loop/client-3 | 5.0 | worst SSIM 1.000 |
-| PASS | timeline | c3_xsheet/client-b.9x16 | 4.9 | worst SSIM 1.000 |
-| PASS | timeline | 20261017-ts-nemotron/a-15-second-arock-promo | 16.1 | worst SSIM 1.000 |
-| PASS | timeline | 20261017-ts-nemotron/a-30-second-jetflow-explainer | 9.2 | worst SSIM 1.000 |
-| PASS | timeline | 20261017-ts-nemotron/client-a | 5.5 | worst SSIM 1.000 |
-| PASS | timeline | 20261017-ts-nemotron/best-delivery-across-takes | 4.0 | worst SSIM 1.000 |
-| PASS | timeline | 20261017-ts-nemotron/every-agency-is-a-state-machine | 4.4 | worst SSIM 1.000 |
-| PASS | timeline | 20261017-ts-nemotron/automate-vs-simulate-as-a-designed-moment | 4.0 | worst SSIM 1.000 |
-| PASS | timeline | 20261017-ts-smoke/client-a | 5.2 | worst SSIM 1.000 |
-| PASS | timeline | 20261017-project/a-ugc-ad-that-needs-the-person-s-call | 9.9 | worst SSIM 1.000 |
-| PASS | timeline | 20261017-project-glm2/a-ugc-ad-that-needs-the-person-s-call | 8.4 | worst SSIM 1.000 |
-| PASS | timeline | 20261017-project-glm3/a-ugc-ad-that-needs-the-person-s-call | 8.6 | worst SSIM 1.000 |
-| PASS | timeline | 20261017-project-glm3/an-ad-and-a-game-in-one-project-switching-between-them | 8.4 | worst SSIM 1.000 |
-| PASS | game | 20261017-project/pong-a-change-and-back-to-the-first-version/pong | 10.2 | worst SSIM 1.000; 370 CPU stretches |
-| PASS | game | 20261017-project-glm/an-ad-and-a-game-in-one-project-switching-between-them/pong | 4.3 | worst SSIM 1.000 |
-| PASS | game | 20261017-project-glm2/an-ad-and-a-game-in-one-project-switching-between-them/pong | 11.5 | worst SSIM 1.000; 148 CPU stretches |
-| PASS | game | 20261017-project-glm3/an-ad-and-a-game-in-one-project-switching-between-them/pong | 4.4 | worst SSIM 1.000; 79 CPU stretches |
-| PASS | timeline | 20261017-project-glm/pong-a-change-and-back-to-the-first-version/pong | 2.3 | worst SSIM 1.000; 1390 CPU stretches |
-| PASS | timeline | 20261017-project-glm3/pong-a-change-and-back-to-the-first-version/pong | 5.5 | worst SSIM 1.000; 47523 CPU stretches |
-
-PASS* (client-b) passed on a re-run. In the final pass, one frame render was refused with "didn't commit frame 625 in 20 s" while the load average was about 41. See finding 9.
-
-The render ms/frame figures are wall times on a shared, loaded machine, not measurements.
-
-## Fixed
-
-### 1. Play ignored score's `export const config` (all 11 ad edits)
-Score's SDK backend writes `export const config = {width, height, fps, durationInFrames}` and registers no `<Composition>`. The engine never read it. A render got the right size and length only because score passes `--w --h --fps --frames`. A baked or live play has no such flags, so it played the CLI's default: 60 frames at 1080x1920. Every s2sdk edit played two seconds, and 16:9 and 1:1 edits played at the wrong shape.
-
-Void's agents write the same form. `20261017-project/a-ugc-ad-that-needs-the-person-s-call` has `export const config = { width, height, fps, durationInFrames: total }`, built from variables.
-
-Fix (6652c2e): the bundle entry (`react/src/motion.rs`, `entry()`) takes positive numbers from `M.config` when no Composition is registered.
-
-### 2. Logged game input lost its `live` mark (3 of 3 void games)
-Agents write games that play their own script unless a person is playing: `const inp = input.live ? input : scriptAt(frame)`. Live play marks each frame's input `live: true`. The play's `--input-log` wrote only `{keys, pointer}`, so a render of the log played the script, a different match.
-
-Before the fix, replay SSIM was 0.976 to 0.992. The player's paddle sat at the bottom in the render and at the top in the play.
-
-Affected edits, all void spaces: `20261017-project/pong-a-change-and-back-to-the-first-version`, `20261017-project-glm2/an-ad-and-a-game-...`, `20261017-project-glm3/an-ad-and-a-game-...`.
-
-Fix (2503a23): `react/src/play.rs` logs `"live": true` with each frame. All three now replay at 1.000, and `react/bench/games/replay.sh` still passes.
-
-### 3. Open-GOP HEVC failed to seek (client-e, and iPhone takes)
-The render was refused with `VideoToolbox couldn't decode a frame (status -17694)`. The failing clips are HEVC takes (`7.1.mov` and `7.3.mov`, on a client drive) whose CRA keyframes are followed by leading RASL pictures (NAL types 9 and 8). `media/src/vtseek.rs` `frame_at` started a fresh seek at the CRA and decoded every sample up to the target, leading pictures included. Those reference the GOP before, which was never decoded, so VideoToolbox failed them ("reference missing"), and the error failed the whole seek.
-
-`media/examples/vtseek_check` reproduces it on an ordinary iPhone take too: 40 random seeks into `media/real/cj.mov` panicked before the fix.
-
-Fix (ea9a3a1): a seek that starts at its keyframe skips the samples shown before that keyframe. HEVC forbids trailing pictures from referencing RASL pictures, and a target that is itself a leading picture already starts from the keyframe before.
-
-After the fix, vtseek_check gives worst diff 0 against AVAssetReader on take04, cj.mov and the H.264 fixture; the H.264 result is unchanged. client-e renders and matches play at 1.000.
-
-### 4. A throw showed only JSC's stack, not the message (void's ugc ad)
-`20261017-project/a-ugc-ad-that-needs-the-person-s-call` rendered without its words was refused with `the composition threw at frame 0: [email protected]:13725:16 ...`, with no reason given. The entry formatted errors as `e.stack || e.message`. V8's stack starts with the message, but JSC's doesn't.
-
-Fix (a99e43b): the error is now `name: message` followed by the stack. The refusal reads `Error: word("automating"): the phrase is never said on the timeline`, which an agent can act on.
-
-## Open (not fixed)
-
-### 5. Baked play can't show 3D the way a render does (golden 04, 05, 06; fixtures/box3d)
-Repro: run `raea-motion play motion/conformance/golden/04-mesh-sign/edit.tsx --baked --offscreen --3d --seconds 2 --snapshot 0.66 P.png` and `RAEA_READBACK=rgba raea-motion render motion/conformance/golden/04-mesh-sign/edit.tsx --frame 20 -o R.png`, then compare. SSIM is 0.0002, and P.png is all 00000000.
-
-There are three causes:
-- **Opt-in flag.** Play draws a scene only with `--3d` (`play.rs`, `live.scene_3d()`). Without it, the play shows the page and no 3D at all.
-- **The 3D arrives late.** `Live::scene_3d` builds the scene's rows on a thread by stepping React through every frame. Until they arrive, frames are presented without the 3D and with the holders' backgrounds still on. A frame-0 snapshot came out either way between two runs (SSIM 0.908, then 0.0002).
-- **Snapshots skip the 3D.** `Live::snapshot` (`live.rs`) paints only the DOM page (`paint_transparent`) and never composites the scene texture that `present` draws underneath. Once the scene is in, the holders are transparent and the snapshot is empty.
-
-So no play snapshot of a 3D edit can match its render, and gate 5 has no automated check against play.
-
-Suggested fix: read the snapshot back from the presented stage (page over scene), and let `--baked` with a 3D scene wait for its rows before frame 0, as the render does.
-
-### 6. A gradient behind Canvas3D renders black (fixtures/box3d)
-Repro: `react/bench/corpus/fixtures/box3d/edit.tsx` holds its `<Canvas3D>` in an `<AbsoluteFill style={{background: "linear-gradient(...)"}}>`. Rendering it with `RAEA_READBACK=rgba raea-motion render react/bench/corpus/fixtures/box3d/edit.tsx --frame 40 -o R.png` draws the 3D on black.
-
-A render clears the holders' backgrounds so the 3D shows through, and takes the nearest holder's background as the scene's clear colour (`motion.rs` `clear_of`; `program`: `hex_of(clear)`, else `#000000`). A gradient isn't a hex colour, so it becomes black.
-
-There is no authoring workaround. A sibling div behind the Canvas3D is page content, and the page draws over the 3D, so the div hides the scene. Agents use gradients constantly; the void and score kits put them on most cards.
-
-Suggested fix: draw a holder's non-solid background as a page layer beneath the scene, rather than reducing it to a clear colour.
-
-### 7. Render and play read an edit's words and perception differently
-A baked play loads `words.json` and `perception.json` from beside the edit by itself (`live.rs` `open_baked`). A render uses them only with `--words` and `--perception`.
-
-Without those flags, 10 of 11 score edits failed render vs play at SSIM 0.856 to 0.978: captions were missing, and perception-placed cards sat about 150 px off. Score and the harness pass the flags, so both pass.
-
-Anyone running `raea-motion render EDIT.tsx` by hand still gets the edit without its captions. Suggested fix: have the render default to the files beside the edit, as play does.
-
-### 8. CPU paint in play
-The play report's cpu_paint is not zero for these edits:
-- `timelines/titles`: 3294 stretches, all `layer` (its blurred glow);
-- three void games: 79 to 370 stretches, `path_fill` or `layer`;
-- two scripted void pongs: 1390 and 47523 stretches with every `why` counter at zero.
-
-The last two mean some vello_cpu stretch is counted (`engine/src/quads/mod.rs`, `stats.fallbacks`) on a path that records no reason. Every `begin_capture` in `record.rs` calls `why()` first, so a reused recording may be counted again. Not chased further.
-
-### 9. Smaller things seen
-- **A frame render timed out once under load.** In the final pass, one frame render of `c8_brief_full/client-b` was refused with "didn't commit frame 625 in 20 s" while the load average was about 41. The edit passed in the three other runs, so the 20 s commit limit can fail a correct edit on a busy machine.
-- **Generated sounds are silent in the harness.** Six edits use `sao(...)` or `lyria(...)`. The harness turns generation off (`RAEA_GEN_PAID=0`, no local SAO), so uncached sounds drop out with a note. Pixels are unaffected.
-- **`useInput` games render their whole length.** platformer is 36000 frames (5 min at 120 fps) and takes about 137 s; pong is 4668 frames.
-- **No panics, crashes or hangs.** No panic or crash file in any session, and no hang. No edit hit the lite runtime's insert_nodes_before panic that was fixed in be09791. No failure involved video cuts or the new VideoFrames prefetch; finding 3 is in the decoder below it.
-
-## Corpus
-
-| kind | count | edits |
-|---|---|---|
-| ad timelines on real footage, with captions and parts | 11 | score `s2sdk` (c8_brief_full x9, i7_ink_loop, c3_xsheet 9x16) |
-| void agent ads and promos (FaceFrame, ScreenFit, slides, words) | 11 | `~/.raea-void/evals/runs/20261017-*` |
-| games (`useInput`) | 6 | bench pong and platformer; void pong x4 |
-| scripted matches (no input) | 2 | void glm and glm3 pong |
-| motion graphics, no footage | 4 | titles, tones, golden 01 and 02 |
-| deck | 1 | fixtures/deck (synthetic) |
-| 3D | 4 | golden 04, 05, 06; fixtures/box3d (synthetic) |
-| video under a title | 1 | golden 03 |
-
-Of these, 28 are agent-written (11 score, 17 void), 10 are fixtures from git and 2 are synthetic. Void and score wrote no 3D scenes and no decks in TSX: void's deck scenarios predate the TSX switch and are rrl. The 3D coverage is therefore the conformance goldens plus the synthetic fixture.
-
-Footage stays local and uncommitted:
-- The score edits read `media/` links: `void/evals/fixtures/real/media` leads to `media/real`, which links into `~/.raea-void/media`, `~/Downloads` and eval runs.
-- colitt and kelly read a client drive, read-only.
-- Void's spaces read their own `media/` folders.
-
-`list.txt` lists the edits by path only, and `run.sh` prints SKIP for any that aren't on the Mac it runs on.
diff --git a/react/bench/games/replay.sh b/react/bench/games/replay.sh
index 208393e2..07fa0961 100755
--- a/react/bench/games/replay.sh
+++ b/react/bench/games/replay.sh
@@ -16,6 +16,9 @@ for g in $GAMES; do
[ "$g" = pong ] && keys="ArrowUp,ArrowDown,,ArrowUp"
snaps=""
for s in $SECS; do snaps="$snaps --snapshot $s $OUT/$g-play-$s.png"; done
+ # last run's snapshots go first: a frame the play doesn't reach (it falls behind under load) must fail as unreached,
+ # not be compared from the run before
+ find "$OUT" -maxdepth 1 -name "$g-play-*.png" -delete
w=$(python3 -c "import re,sys;t=open('bench/games/$g/edit.tsx').read();cw=re.search(r'const (?:CW|VW) = (\d+)',t);print(cw.group(1) if cw else 1920)")
h=$(python3 -c "import re,sys;t=open('bench/games/$g/edit.tsx').read();ch=re.search(r'const (?:CH|VH) = (\d+)',t);print(ch.group(1) if ch else 1080)")
RAEA_INPUT_KEYS="$keys" RAEA_AUDIO_MUTE=1 target/release/raea-motion play "bench/games/$g/edit.tsx" --input --offscreen --size ${w}x${h} \
@@ -24,6 +27,7 @@ for g in $GAMES; do
worst=1
for s in $SECS; do
f=$(python3 -c "print(round($s * $fps))")
+ if [ ! -f "$OUT/$g-play-$s.png" ]; then line="$line $f:unreached"; worst=0; continue; fi
RAEA_READBACK=rgba target/release/raea-motion render "bench/games/$g/edit.tsx" --frame "$f" --input "$OUT/$g-input.json" -o "$OUT/$g-render-$s.png" > "$OUT/$g-render.log" 2>&1 \
|| { echo "$g: the render of frame $f failed (see $OUT/$g-render.log)"; status=1; continue 2; }
v=$(ffmpeg -i "$OUT/$g-play-$s.png" -i "$OUT/$g-render-$s.png" -lavfi ssim -f null - 2>&1 | grep -o 'All:[0-9.]*' | cut -d: -f2)
diff --git a/react/bench/timelines/check.sh b/react/bench/timelines/check.sh
index 7c3972d7..22e95367 100755
--- a/react/bench/timelines/check.sh
+++ b/react/bench/timelines/check.sh
@@ -26,10 +26,21 @@ for t in ${*:-titles}; do
line="$line $f:$s"
worst=$(python3 -c "print(min($worst, ${s:-0}))")
done
+ # seeks: the same frames reached by jumping (the keyframe before each, then the frames after it), last frame first so
+ # every jump goes backwards or far, compared with the same renders
+ seeks=""
+ for f in $(echo $frames | tr ' ' '\n' | sort -rn); do seeks="$seeks --seek $f $OUT/$t-seek-$f.png"; done
+ RAEA_AUDIO_MUTE=1 target/release/raea-motion play "$edit" --baked --offscreen $seeks > "$OUT/$t-seek.log" 2>&1 || { echo "$t: the seeks failed (see $OUT/$t-seek.log)"; status=1; continue; }
+ sline=""
+ for f in $frames; do
+ s=$(ffmpeg -v error -i "$OUT/$t-render-$f.png" -i "$OUT/$t-seek-$f.png" -filter_complex "[0]format=rgb24[a];[1]format=rgb24[b];[a][b]ssim=stats_file=-" -f null - 2>&1 | grep -o 'All:[0-9.]*' | tail -1 | cut -d: -f2)
+ sline="$sline $f:$s"
+ worst=$(python3 -c "print(min($worst, ${s:-0}))")
+ done
bake=$(python3 -c "import json; print(round(json.load(open('$OUT/$t.json')).get('open_ms', 0)))")
ok=$(python3 -c "print('PASS' if $worst >= 0.999 else 'FAIL')")
[ "$ok" = PASS ] || status=1
- echo "$t: $ok render vs baked play, SSIM by frame:$line (worst $worst); opened and baked in $bake ms"
+ echo "$t: $ok render vs baked play, SSIM by frame:$line; seeks:$sline (worst $worst); opened and baked in $bake ms"
# an edit baked from the bake before it (bake_incremental): the fixture's last spring (its cards) retuned in a copy, the copy
# baked from the original (only the frames where the changed component renders are stepped), played, and compared
# with renders of the copy; a scrub of the incremental bake (seeks across its re-stepped runs) must play through
diff --git a/react/docs/playtest.md b/react/docs/playtest.md
deleted file mode 100644
index b2541083..00000000
--- a/react/docs/playtest.md
+++ /dev/null
@@ -1,483 +0,0 @@
-# Playtests and the creative judge
-
-Two jobs share one machine. A playtest finds out whether a game an agent built works: whether it can be finished,
-whether it softlocks, and where players die or get stuck. A judge finds out whether a piece is decent or good, in any
-medium, with verdicts that hold steady from run to run. Both reduce to the same three steps:
-
-1. Run the piece deterministically and keep everything that happened as facts.
-2. Prepare exactly the media a question needs. That is a view: its modality, its frames and its layer.
-3. Ask each question of the cheapest eye that can answer it. A rule answers from the facts with no model call.
- clef-omni answers from the prepared media.
-
-Only two models are used (the founder's rule, 2026-10-18). **clef-omni decides**: every playtest move and every judgement
-goes to it. **GLM 5.3 Flash** (`z-ai/glm-5.3-flash` on OpenRouter) writes free text where a design needs some, such as
-an issue's description or the fix an agent reads, and never decides. No MiniMax, Anthropic or Gemini models are used.
-checks.rs's `vote` eye calls a Gemma writer and void's reviewer calls Gemini, so neither is reused as it stands; game
-packs use rules and clef only.
-
-The prototype is in `react/bench/playtest/`; the results it found are listed at the end of this document.
-
-## What games give us
-
-A game in @raea/motion is a pure fold, `step(state, input, frame) -> state` (motion/src/games.ts). Three properties
-follow, and the whole design leans on them:
-
-- **A bot can step a game headlessly.** No renderer is involved: a bot calls the same `step` that `useGameState` is
- given. In Bun on JavaScriptCore the platformer steps about 4 million frames a second.
-- **States are values, so any state can be restored.** Search (Go-Explore, beam, MCTS) can go back to any state it has
- seen without replaying from frame 0.
-- **Every session replays exactly.** A run is an input timeline, `{"0": {"keys": [...]}, ...}`, which is the format
- `raea-motion render --input` takes and the format `play --input-log` writes. Any moment of any bot's session renders
- as stills or a clip, and the pixels are the play's (react/bench/games/replay.sh).
-
-### The optional `playtest` export
-
-A game author exports what a playtester needs beside the view. The type is in motion/src/games.ts and is exported as
-`Playtest` from `@raea/motion`:
-
-```ts
-import type { Playtest } from "@raea/motion";
-export const playtest: Playtest<Game> = {
- initial: INITIAL,
- step: fold, // the same fold useGameState is given
- actions: [["ArrowRight"], ["ArrowRight", "ArrowUp"], ["ArrowUp"], [], ["ArrowLeft"], ["ArrowLeft", "ArrowUp"]],
- observe: (s, frame) => ({ x, y, onGround, lives, groundEndsIn, gapWidth, walkerDx, ... }), // plain JSON a model reads
- progress: (s) => s.x / GOAL_X, // 0..1: search follows it; "stuck" means it stopped rising
- outcome: (s) => (s.x >= GOAL_X ? "won" : null),
- events: { died: (a, b) => ..., coin: (a, b) => b.score > a.score }, // named moments, as useGameEvents takes them
-};
-```
-
-The import is type-only, so the export adds no runtime dependency, and the engine's bundle is unchanged apart from
-one unused object. `observe` is the cleanest observation there is: it is typed and written by the one who knows the
-game, and it costs nothing to compute. `progress` and `outcome` are what turn "the bot played" into "the level can be
-finished". The author is the only one who knows what the goal is. The platformer had no goal of its own, which is
-itself a finding.
-
-**Fallback when a game has no export.** The bot still has `step` if the module exports its fold. If it does not, the
-fold can be pulled out of the bundle by wrapping `useGameState`, because the hook receives `(initial, step)`. Progress
-then comes from pixels and events: novelty measured on downscaled frames (a perceptual hash of each render as the
-Go-Explore cell), `useGameEvents` frames as events, and clef asked "did the player win, lose, or neither?" only at the
-end of a session. This fallback is designed but not built yet. It is much slower, because each cell costs a render,
-and it is the reason the export is worth asking every game agent to write.
-
-## Playtest tiers
-
-### Tier (i): search bots with no model (CI)
-
-These bots are deterministic, given a seeded RNG, and cheap: seconds on one core. They report:
-
-- **Finished or not, and in how many frames.** A beam search runs over macro-actions (each action held 6 or 14
- frames), scored by `progress` minus a penalty per death and deduplicated by cell. It stops once 2400 frames of play
- go by without new ground.
-- **The reachable set and the ceiling.** Go-Explore keeps the first arrival at every cell (x and y in 48-px buckets,
- plus whether the player is on the ground). It returns to rarely chosen cells, explores randomly from them, and gives
- the highest progress any state reached.
-- **Death spots.** Every bot's `died` events are bucketed by position.
-- **Stuck spots.** These are cells the explorer chose at least 8 times without finding anything new from them.
-- **Softlocks.** From a spread of 24 reachable states, a small beam tries to get back to 98% of the ceiling. A state
- that can't is a softlock: it is reachable, and the game can't be continued from it.
-- **A random bot.** It is the floor any search has to beat, and it shows where careless play dies.
-
-The output is `report.json`, `run.input.json` (the winning run, or the furthest one), `trace.jsonl` (each frame's keys,
-observation, progress and events) and `moments.json` (the run's events, plus the stuck spots, each with its own input
-log). That output is everything the later tiers need.
-
-MCTS is the next search to add, for games whose progress signal is deceptive (keys and doors, backtracking). Beam with
-novelty covers platformers and pong. MCTS also slots into `search.ts` without any change to the interface.
-
-### Tier (ii): a model in the loop
-
-A few times a second of game time, the model gets the frame the run has reached and the game's observation, and it
-picks the next move. The bot steps the fold with that move for `hold` frames, and then the loop repeats. Each frame is
-rendered by the engine from the input so far, so the model sees what a player would see.
-
-This tier is for what search can't do: playing as a person would, noticing that a goal is unclear, and judging whether
-a game is fun to try rather than whether it can be finished. It is not for proving that a game can be finished. Search
-is far better at that, and free. The spike results are below.
-
-### Tier (iii): a judge pass
-
-A check pack runs on the run. Its rules read the report and the trace. clef looks at the views, which are the run's
-interesting moments rendered from its input log, clean or with debug overlays. The pack, the views and the manifest
-format are described next.
-
-## The action interface: not free JSON mode
-
-My recommendation is to use **a closed menu of actions**, not free-form JSON. clef-omni is not a chat model. It answers
-typed questions about media: `noul` is a probability of yes, and `choice` is a distribution over named options, with a
-confidence. The natural action interface is therefore one `choice` question whose options are the game's
-`playtest.actions`, with names such as `run_right` and `jump_right`. The reasons:
-
-- **It can't be malformed.** A JSON-mode reply can be unparseable, invent keys that don't exist, give a hold of 900
- frames, or wrap itself in prose. A choice is always one of the options.
-- **It returns a distribution, not one sample.** A probability for every move is free, so a tester can take the argmax,
- sample from it, or treat a low `confidence` as "the model is unsure here". An unsure model at a spot is itself a
- playtest finding (a goal or hazard that doesn't read). A `why` field in JSON mode is prose, which can't be measured.
-- **The action space is the game's.** `actions` already lists the key chords worth trying, and the search bots use the
- same list. Hold time is better fixed per tester (0.25 s worked for the platformer) or offered as a second choice
- (`short`, `long`) than left as a free number.
-- **It matches how checks.rs already asks clef**, so one client (judge.ts `clef()`) serves the player and the judge.
-
-Free JSON has no job in the loop. Under the two-model rule, GLM 5.3 Flash writes only prose about a session (an
-issue's description, the fix an agent reads), from the facts and clef's answers, after the session is over. The
-decisions stay with clef. If a JSON-writing model were ever put in the loop, it would need a schema with an enum for
-`keys` and an enum for `hold`, which is the same closed menu with more failure modes.
-
-## clef-omni: what it can do (verified 2026-10-18)
-
-The DSL is written in clef-omni's own terms, so its surface comes first. These limits come from Cloudflare's model
-page and its JSON schemas
-([model page](https://developers.cloudflare.com/workers-ai/models/clef-omni/),
-[input schema](https://developers.cloudflare.com/workers-ai/models/clef-omni/schema-input.json),
-[output schema](https://developers.cloudflare.com/workers-ai/models/clef-omni/schema-output.json)). Each one marked
-"probed" was confirmed by a call. The probe run made 31 calls (8 of them refused before billing) and cost $0.0022.
-
-**Question types.** There are exactly three, and clef refuses any other `type` (probed). It returns no free text.
-
-| clef type | Parameters | Answer | Limits |
-|---|---|---|---|
-| `noul` | `instructions` (a string, or an object or array holding the question and referenced data), and optionally `criteria: {true, false}` describing what yes and no mean | `{type, noul}`: the probability of yes. There is no confidence field (probed). | none beyond the shared ones |
-| `choice` | `instructions`, and `criteria`: a map from option id to a description (a string, object, array, or null) | `{type, choice, probabilities, confidence}`: the top option, a probability for each option summing to 1, and a confidence | 2 to 255 options (1 and 256 refused, probed) |
-| `score` | `instructions`, and `criteria`: an ordered array of level descriptions, lowest first | `{type, score, legend, probabilities, confidence}`: the probability-weighted level (it can fall between levels, with 0 the lowest), the levels by index, a probability per level, and a confidence | 2 to 10 levels (1 and 11 refused, probed) |
-
-**The request.**
-
-| Field | What it takes | Limits |
-|---|---|---|
-| `model` | `"clef-omni"` | required |
-| `state` | text, or JSON (an object or array). An empty string is accepted (probed). | required (a call without it is refused, probed). It is truncated to fit the context. |
-| `questions` | a map from id to question; all are answered in one call | 1 to 64 per call (65 refused, probed). Ids match `^[A-Za-z0-9_.-]{1,100}$` (a space is refused, probed). |
-| `images` | data URLs or `{content_type, base64}` (both forms probed); PNG, JPEG or WebP | at most 4 (5 refused, probed). 4 MiB and 16 megapixels each, 8 MiB in all. 64 to 1,024 tokens each: one token per 32x32 patch after resizing to between 256x256 and about 1 megapixel, plus 3. |
-| `videos` | `video/*` data URLs (mp4 and webm both probed), sampled at 2 frames a second. The soundtrack is heard when every video in the request has one. | at most 2 (3 refused, probed). 60 s each (62 s refused, probed), 16 MiB each. Up to 256 tokens a second (144 at 480p). |
-| `audio` | `audio/*` data URLs (wav and mpeg both probed) | at most 4. 8 MiB and 300 s each, and audio and video together at most 16 MiB (documented, not probed). About 780 tokens a minute. |
-| other fields | none: an extra field such as `temperature` is refused (probed) | |
-
-The model has a 64,000-token context; media plus questions over that fails the request. Input costs $0.15 per million
-tokens, and output is free. Behaviour, from the probes:
-
-- Image, audio and video can all go in one call (probed).
-- Audio is really heard: "Is the clip silent?" gave p=0.95 on silence and 0.06 on a tone.
-- The same request gives the same answer: a repeated call matched to four decimal places, and so did three judge runs.
-- clef has no sampling parameters, so it can't be made to vary.
-
-## Views: preparing exactly what the model sees
-
-A check gets the right modality and the right frames because a view prepares them, and the check names the view. The
-design has three layers.
-
-### 1. Views, in TypeScript beside the game (`edit.playtest.ts`)
-
-```ts
-import { clean, debug } from "@raea/motion/playtest";
-const death = clean("death", { when: (m) => m.name === "died", window: [-90, 30], as: "clip", stride: 4, limit: 1 });
-const deathDebug = debug("death.debug", ["hitboxes", "state"], { when: (m) => m.name === "died", window: [-90, 30], as: "clip", stride: 4 });
-const stuck = debug("stuck", ["hitboxes", "state"], { when: (m) => m.name === "stuck", window: [0, 0], as: "stills" });
-const finish = clean("finish", { when: (m) => m.name === "finish", window: [-120, 30], as: "clip" });
-const text = clean("session.text", { when: "session", as: "text", stride: 30 });
-const look = clean("session.look", { when: "session", as: "sheet", stride: 120 });
-```
-
-- **`when`** says when to capture. It is a moment predicate (a game event such as `died` or `coin`, or a moment the
- bots found: `stuck`, `furthest`, `finish`), a state predicate over trace rows (`{ frame: (row) => row.lives === 1 }`,
- which picks the first frame of each stretch where it holds), or `"session"` for the whole run.
-- **`window`** gives the frames before and after the moment. Markers are therefore timed by the run itself: a death at
- frame 380 gives frames 290 to 410, whichever run produced it.
-- **The layer is the constructor.** `clean(...)` gives a `View<"clean">`. `debug(name, overlays, ...)` gives a
- `View<"debug">` and needs at least one named overlay.
-- **`as`** says what the view makes, and so which clef input it becomes:
- - `text`: the trace rows as JSON, sent as `state` only.
- - `stills`: up to three images (the window's ends and the moment).
- - `sheet`: frames tiled into one image.
- - `clip`: a video, x264 at 480 wide and crf 30 as clef was calibrated in checks.rs, at most 60 s. `playtest()` checks
- a moment clip's window, and `views.ts` checks a session clip when it renders.
- - `audio`: the window's mix alone, at most 300 s. This is designed but not built, because LEDGE has no sound.
-
-Views are evaluated over the run deterministically. `views.ts` writes the media and a manifest, `views.json`. Each
-entry gives the view, the instance, the moment, the frame span, the modality, the layer and overlays, the media paths,
-and the facts at the span's ends.
-
-### 2. Debug overlays as a separate layer
-
-A game draws its overlays in the view, inside `<Overlay name="hitboxes">…</Overlay>` (motion/src/overlay.tsx). They
-render only in a render that asks for them by name. They are absent from the clean render and from live play. The same
-frame of the same run therefore renders clean for a taste question and annotated for a diagnosis, and the two differ
-only by the overlays. **A taste or quality question must name a clean view**, and the types enforce it: a question marked
-`taste: true` accepts only a `View<"clean">`, so passing it a debug view doesn't compile.
-
-The engine side needs no change today. The render asks for overlays by setting `globalThis.__RAEA_OVERLAYS__` before
-the game runs. `views.ts` writes a two-line wrapper module beside the edit, `_playtest-<pid>-<hash>.tsx`, which imports
-a module that sets the global and then imports `./edit.tsx`. It renders the wrapper with `render --at a,b,c` (one engine
-process per input log and overlay set) and deletes it afterwards. The smallest engine change that would make this
-first-class is a `--overlay NAME` flag (repeatable) on `render` and `bundle`, which would add
-`globalThis.__RAEA_OVERLAYS__=[...]` to the start of `bundle.js` in `bundle_composition` (react/src/motion.rs). That is
-about 6 lines, and it removes the temporary file. I did not make the change, because it needs a rebuild of raea-motion
-while react/src/motion.rs holds other sessions' uncommitted work.
-
-A `path` overlay (the bot's trail, or where other bots died) needs data from the run, not just the state. It would go
-in through the same mechanism as a second global, `__RAEA_PLAYTEST__ = { trail, deaths }`, read by an
-`<Overlay name="path">` the game or SDK draws.
-
-### 3. Facts as rows in rdb
-
-Each frame's state fields, input and events (`trace.jsonl`), the moments, and the report are rows. rdb already holds a
-render's facts (`raea-motion render -o OUT.sql`), so the playtest's rows go beside them as a `playtest_frame` table
-(frame, keys, the observation's columns, progress, events) and a `playtest_moment` table, and they are queried with
-rdb's SQL. Rules are SQL over those rows: "finished" is `SELECT max(progress) >= 1`, and "death loop" is a GROUP BY on
-the death x. A check's `context` keys pick the rows that go into clef's state paragraph. There is no second query
-language. Datalog would add a language to learn and buy nothing that SQL over one run's rows lacks. The prototype keeps
-the rows as JSONL. Loading them into rdb is the next step.
-
-### Why not YAML, Datalog or a vitest-style runner
-
-- **YAML views** can't hold predicates (`when: m => m.name === "died" && m.at.x > 5000`) without becoming a weak
- expression language. Views are code because moments are code, and they sit next to the game in the same language as
- the game.
-- **Datalog for facts:** as above, rdb's SQL already exists, and one run's trace is small.
-- **A vitest-style runner:** plain assertions ("it finishes", "no softlock") are rule checks in the pack. They give the
- same pass and fail, plus a fix the agent reads, plus calibration. A test runner would duplicate the pack format and
- would have no place for model checks with thresholds.
-
-## Questions: a DSL in clef's own types, compiled to void's check packs
-
-Questions are written in TypeScript beside the views (motion/src/playtest.ts, imported as `@raea/motion/playtest`).
-Each primitive is one clef question type, so nothing is translated from a free-form design:
-
-| clef type | DSL primitive | Reads as | Faults when |
-|---|---|---|---|
-| `noul` | `yes(id, ask, { view, fault: "yes" \| "no", threshold?, means?: {yes, no} })` | the probability of yes; `means` becomes noul's `criteria` | the probability of the `fault` answer reaches `threshold` (0.5 by default) |
-| `choice` | `choose(id, ask, options, { view, fault: [option, ...], threshold?, describe? })` | the probability on each option | the probability on the `fault` options together reaches `threshold` |
-| `choice` over ordered levels | `grade(id, ask, levels, { view, below })` | the expected level | it falls below the level `below` names. Over `LEVELS` (poor to excellent) this is exactly checks.rs's `score` check. |
-| `score` | `rate(id, ask, levels, { view, below })` | clef's own probability-weighted level | it falls below `below` |
-| `choice` over the game's actions | `decide(id, ask, actions, { sees: "frame" \| "state", hold })` | the bot holds the top action for `hold` frames | (a bot's move, not a check) |
-| none | `rule(id, measure, { scope, status, fix })` | a measurement from the trace or report | the measurement finds a fault |
-
-Every question also takes `scope` (render, hook, sheet, session, moment, page or turntable), `fix`, `context` (the
-fact keys that go into clef's `state`), `status`, and a calibration slot. A `playtest({ pack, version, about, fps,
-views, checks, decisions })` default export ties a game's views, checks and decisions together.
-
-**The types enforce clef's limits**, so an invalid question doesn't compile. `react/bench/playtest/dsl.typetest.ts`
-holds one of each, and `typecheck.sh` confirms that every one fails:
-
-- An id with a character clef refuses, such as a space, has the type `never`; so does an empty id. Ids are checked
- character by character with template-literal types.
-- A choice needs at least two options (`readonly [string, string, ...string[]]`), and `fault` must name some of those
- options.
-- A score has 2 to 10 levels (a union of tuple lengths), and `below` must be one of them.
-- A `taste: true` question takes only a clean view.
-- A model check may have `status: "warn"` only with a `calibration` filled in. Rules may warn without one, because they
- are exact.
-- `fault` on a yes question is `"yes"` or `"no"`, scopes come from the list above, a debug view names at least one
- overlay, and a view's media kind is one clef has an input for.
-
-Limits a type can't hold are checked when the playtest is built: at most 255 options, ids of at most 100 characters,
-at most 64 questions per view (one call), and clips of at most 60 s.
-
-The principles:
-
-- **Anything the trace can answer is a rule, with no model call.** Examples are "it finishes", "no softlock", "a death
- loop", and "the game has an end".
-- **clef gets only the questions that need eyes, on the input they need.** "Is it clear why the player died?" goes to
- a clean clip. "Does the death look unfair against the hitboxes?" goes to a debug clip. "Does it look polished?" goes
- to a clean sheet. Audio questions get audio alone.
-- **Judgement is clef's too.** Under the two-model rule, checks.rs's `vote` eye (clef plus a writer model) is left out.
- GLM writes each finding's prose fix from the check's `fix` template and the facts, and never changes a verdict.
-
-**Compiled to void's check pack.** `bun react/bench/playtest/compile.ts EDIT.playtest.ts -o PACK.json` writes the
-Pack and Check JSON checks.rs reads: `pack`, `version`, `about`, and per check `id`, `scope`, `eye`, `rule`, `type`,
-`ask`, `context`, `threshold`, `below`, `invert`, `status`, `calibration`, `label_words` and `fix`. It adds `view`,
-`layer` and `input` (state, images, videos or audio), plus `clef`, the native question sent verbatim.
-
-- `yes` compiles to `type: "yes"` (with `invert` when a no is the fault), and a grade over `LEVELS` compiles to
- `type: "score"`. Both run in void's checks.rs unchanged. checks.rs ignores the added fields, since it has no
- `deny_unknown_fields`.
-- `choose` compiles to `type: "choice"` with `fault_options`. `rate` and a grade over other levels compile to
- `type: "rate"` and `"grade"` with `levels`.
-
-void/src/checks.rs runs all of these (on top of d91f1e6). Check gained three fields: `clef`, sent verbatim as the
-question, plus `fault_options` and `levels`. A new `value()` reads the answers the way the DSL's `read()` does:
-
-- **choice:** the summed probability on `fault_options`.
-- **grade:** the expected index over `levels`.
-- **rate:** clef's `score`.
-
-`finding()` shows a score as "of N levels", where it always used to say "of 4". A unit test parses the compiled game
-pack and reads one answer of each type. Nothing changed for existing packs: a check without `clef` is asked as before.
-
-**Native `score` works.** One agent reported that clef refused `score`. It does if `criteria` is sent as a map, as
-choice takes it (clef replies "Input should be a valid list"). It needs an array of levels, lowest first. This body
-works:
-
-```json
-{"model": "clef-omni", "state": "A support ticket: checkout has failed for every customer for an hour.",
- "questions": {"severity": {"type": "score", "instructions": "How severe is the customer impact?",
- "criteria": ["No impact", "Minor", "Major", "Critical"]}}}
-```
-
-It returned `{"type": "score", "score": 2.6902, "legend": {"0": "No impact", ...}, "probabilities": {"0": 0.0107,
-"1": 0.0096, "2": 0.2585, "3": 0.7212}, "confidence": 0.4495}`. The design judge and review tool in void/src/eval.rs
-ask `choice` over levels and compute a probability-weighted index themselves. They could ask native `score` instead,
-which returns that index (and a confidence) directly. That is not changed here, and switching means calibrating
-again, because the two forms are different questions to the model.
-
-The compiled game
-pack is react/bench/playtest/packs/game.json, generated from react/bench/games/platformer/edit.playtest.ts. Compared
-with the hand-written pack it replaced, every field checks.rs reads is identical.
-
-### Across media
-
-The same pipeline (run, facts, views, pack) covers each medium. Only the run and the view kinds change.
-
-| Medium | The run | Facts (rdb rows) | Views (scope) | Rule checks | clef checks |
-|---|---|---|---|---|---|
-| Video | the render | perception: cuts, faces, words, text boxes, loudness | `render`, `hook`, a window around a cut or a word (`moment`) | cuts clean, text readable, captions present, loudness | framing, text over face, hook stops the scroll (clef score) |
-| Game | a bot's session (tier i or ii) | trace, moments, report | `session`, `moment` (death, stuck, finish, first coin) | finishes, softlocks, death loop, has an end | death readable (clean), death fair (debug), look (clean sheet), fun (clef score on a clean session clip) |
-| Deck | a render of each page, plus the deck's transitions | each page's layout boxes, text runs, contrast, the overflows it measured | `page` (one still per page), plus `session` (a sheet of every page) | text overflows, contrast, font count, words per page | hierarchy reads, page on brand, deck tells a story (clef score on the sheet) |
-| 3D | a turntable render: the camera orbits in N frames, with fixed lights | the scene's bounds, triangle counts, materials, frames where the object leaves the frame | `turntable` (a clip, or a sheet of 8 angles), `moment` (a closeup) | in frame at every angle, ground contact, no NaN or black frames | silhouette reads from every side, materials look physical, model on brief |
-
-Debug layers carry across media too. A deck's debug layer draws its layout boxes and safe area. 3D's draws its
-wireframe and bounds. Video's draws perception's face and text boxes. Each is drawn only for diagnosis questions and
-never for taste.
-
-## Calibration: consistent verdicts
-
-A model check is advisory, and only recorded, until calibration shows it separates good from bad on judged examples.
-This is checks.rs `calibrate()`: area under the ROC curve, and a cut chosen on labelled pairs. Then it may warn. For
-consistency:
-
-- **Fixed questions.** The questions, the media preparation (frame size, crf, stride) and the pack version are part of
- the cache key, as in checks.rs. Changing any of them means calibrating again.
-- **Deterministic media.** The same run gives the same views pixel for pixel, so a verdict moves only when the piece
- moves.
-- **Read distributions, not samples.** Use a choice's probabilities as an expected level from 0 to 4, and noul as a
- probability. clef returns no sampled text, so the same media gives the same verdict.
-- **Measure repeatability.** Re-judge each reference several times, including small perturbations (another run seed,
- the next instance of a moment). A check whose verdict flips on equivalent views is not consistent, and stays advisory.
-
-**Golden references.** Verdicts are checked against references the user approves. For video, references are real ad
-concepts on real footage, with video and audio, approved only after the user has watched them (the standing rule).
-Their footage never goes to a cloud model unless it is synthetic or committed. Calibration that needs clef on
-creators' footage stays on whatever local path the user approves for it. For games, a reference is a game plus a
-judged run: the user plays it, or watches the bot's run, and labels it (finishable, fun, fair deaths). The repaired
-LEDGE and the broken LEDGE are the first pair. The broken one is a labelled bad example for `play.finishes` and
-`play.death_loop`, with no taste labels until the user has watched both. Decks and 3D follow the same rule: real decks
-and real models, approved by the user after viewing, before any check built on them may warn.
-
-## The prototype
-
-```
-react/bench/playtest/
- load.ts bundles an edit with Bun (JavaScriptCore), @raea/motion pointed at the SDK source; returns `playtest`
- search.ts Game (advance, events, cells), random, novelty (Go-Explore), beam; timeline() writes input logs
- run.ts tier (i): bots, ceiling, death and stuck spots, softlocks -> report.json, run.input.json, trace.jsonl, moments.json
- views.ts EDIT.playtest.ts's views over the run, rendered by the engine (clean or overlays) -> views/, views.json
- judge.ts tier (iii): the playtest's rules, plus one clef call per view instance (native questions) -> judge.json
- drive.ts tier (ii) spike: the playtest's decide() played by clef from the engine's frame and the observation
- compile.ts EDIT.playtest.ts -> the check-pack JSON void reads
- dsl.typetest.ts, typecheck.sh, tsconfig.json the DSL's types against clef's limits (every invalid question fails)
- packs/game.json compiled from the platformer's edit.playtest.ts
- fixtures/ledge-fixed/ LEDGE with a jump that clears its ledges and a ledge over every gap (finishable)
-react/bench/games/platformer/edit.tsx + the playtest export and the hitboxes and state overlays
-react/bench/games/platformer/edit.playtest.ts its views, checks and decision, in the DSL
-motion/src/games.ts (Playtest), overlay.tsx (Overlay), playtest.ts (the DSL: clean, debug, yes, choose, grade, rate,
- decide, rule, playtest, compile, read; CLEF's limits; @raea/motion/playtest)
-```
-
-Usage:
-
-```sh
-bun react/bench/playtest/run.ts react/bench/games/platformer/edit.tsx OUT # about 5 s
-bun react/bench/playtest/views.ts react/bench/games/platformer/edit.tsx OUT # renders at utility QoS
-bun react/bench/playtest/judge.ts OUT # rules, plus clef: cost printed
-bun react/bench/playtest/drive.ts react/bench/playtest/fixtures/ledge-fixed/edit.tsx OUT2 --decisions 36
-bun react/bench/playtest/compile.ts react/bench/games/platformer/edit.playtest.ts -o react/bench/playtest/packs/game.json
-react/bench/playtest/typecheck.sh [path/to/tsc]
-```
-
-## Findings (2026-10-18)
-
-### LEDGE, the gate's platformer, can't be finished
-
-The tier (i) run took 4.5 s, about 17 million steps in all. Random, novelty (509 cells) and beam bots all stop at
-progress 0.175, at x = 2081 of 11943. That is the first no-ground stretch (k = 3, level x 1650 to 2502, 852 px wide).
-The level's geometry explains it:
-
-- A jump rises 232 px (`JUMP = -21`, `GRAV = 0.95`), and every raised ledge is 315 to 400 px above the floor. No ledge
- can be reached from the ground, so no coin on a ledge can be taken.
-- A jump from the floor carries the player about 400 px, and the gap stretches are 852 px (k = 3, with an unreachable
- ledge over it) and 955 px (k = 8, with no ledge at all). Even from a ledge, k = 8 can't be crossed.
-- A death respawns the player 600 px back, in the air, and lives wrap from 1 back to 3. So the game has no game over
- and no win. It loops at the first gap forever, which is what the autopilot and the gate's key script do too.
-
-There are no softlocks: 24 probed states all got back to the frontier. Death spots: 87% of 1906 search deaths happen
-at x 1600 to 2000. Stuck spots are the cells in the gap the explorer returns to. The engine renders the bot's run
-identically: the debug layer's state panel at frame 290 reads x 1640, y 674, vy -6.8, exactly the bot's trace row.
-
-### The repaired fixture can be finished
-
-With `JUMP = -28` and a ledge over every gap (fixtures/ledge-fixed), the beam finishes in **1315 frames (10.96 s)**.
-That is the minimum at run speed, with no deaths and 13 coins, and 0 softlocks were found. The engine's render of
-the winning run ends with the player at the level's right wall, score 130, and three lives. The replay is the
-`session.run` view (`views/session.run-0.mp4`).
-
-### Views and the judge
-
-`views.ts` rendered the broken level's views in 20 s (201 frames, in four engine processes) and the repaired level's
-in 33 s (397 frames). The views were the death clip clean and with hitboxes and state, a debug death sheet, a stuck
-still, the furthest sheet, the session as text, the session clip and the look sheet. The judge on the broken level:
-
-| Check | Answer |
-|---|---|
-| play.finishes (rule) | WARN: stops at progress 0.175 |
-| play.no_softlock (rule) | ok: 0 of 24 |
-| play.ends (rule) | advisory fault: no win, no game over |
-| play.death_loop (rule) | WARN: 87% of deaths in two spots |
-| moment.death_readable (clef, clean clip) | p(yes) = 0.30: the cause doesn't read |
-| moment.death_fair (clef, debug clip) | p(unfair) = 0.20 |
-| session.looks (clef, clean sheet) | 1.35 of 4 (repaired level: 1.51) |
-
-That took 3 clef calls for $0.00034. Three runs of the judge on the same views gave the same numbers to the reported
-precision, so a verdict moves only when the media moves. On the repaired level all four rules pass, and the death
-checks report that there is no death view to look at.
-
-### The model in the loop (tier ii spike)
-
-There were 36 decisions on the repaired level, each holding its move for 30 frames (4 decisions a second of game
-time):
-
-| Mode | Progress | Deaths | Calls | Cost |
-|---|---|---|---|---|
-| clef, frame plus observation | 0.103 | 4 | 36 | $0.0031 |
-| clef, observation alone (text) | 0.100 | 1 | 36 | $0.0019 |
-| beam search (tier i) | 1.0 in 1315 frames | 0 | 0 | 0 |
-
-clef runs the easy stretch confidently (`run_right` at p = 0.84 to 0.88). At each gap its distribution flattens
-(`run_right` 0.39, `jump_right` 0.29, `jump_up` 0.24), it chooses badly, and after a respawn it repeats `jump_up` in
-place. A 0.25 s hold is too coarse to time a jump at an edge, and clef has no memory between decisions. What this
-shows:
-
-- **clef should not be the controller for timing-sensitive play.** Search is far better at that, and free.
-- **clef's uncertainty is a signal.** The flat distribution appears exactly where a player has to make a decision,
- which is useful for "does the hazard read?" tests.
-- **If a model is to play, offer it macro options** ("jump at the next edge", "wait for the walker", "take the
- ledge"), carried out by a scripted controller over the fold. Each choice then spans seconds and the menu stays
- closed. That is the next spike.
-
-The spend for the whole prototype was about 80 clef calls, roughly $0.007. GLM wasn't needed: nothing here wrote free
-text.
-
-### The port to the DSL changed nothing
-
-After the port, the platformer's playtest, judge and drives ran through the DSL. Each was compared with its earlier
-run:
-
-- **Bots:** `report.json` and the run's input log were byte-identical on both levels, apart from the run time.
-- **Judge:** every finding had the same value and fault, with the same 3 calls and $0.00034 on the broken level, and
- 1 call and $0.00018 on the repaired one.
-- **Text drive:** the same 36 moves with the same probabilities, for $0.00189.
-
-### The engine and QoS (2026-10-18)
-
-`taskpolicy -b raea-motion render` never commits a frame under load. Background QoS throttles the GPU, so the engine
-hits its 20 s commit timeout. The playtest scripts render at `taskpolicy -c utility`, which took 1.7 s for a frame
-that took 1.0 s at normal priority.
diff --git a/react/js/lite/index.ts b/react/js/lite/index.ts
index f390d246..340a77e3 100644
--- a/react/js/lite/index.ts
+++ b/react/js/lite/index.ts
@@ -104,10 +104,10 @@ interface Instance {
hooks: any[];
effects: (() => void)[];
cleanups: Map<number, () => void>;
- /** the component instances under it, by place: `key or index:type` */
- kids: Map<string, Instance>;
+ /** the component instances under it, by place */
+ kids: Map<Slot, Instance>;
seen: boolean;
- id: string;
+ id: Slot | string;
}
let current: Instance | null = null;
@@ -239,11 +239,64 @@ interface Host {
value?: string;
kids: Host[];
/** the place it was matched by */
- slot: string;
+ slot: Slot;
}
/** What a render yields: host elements and texts, in order, under one host parent. */
-type Out = { slot: string; type: string; props: any; text?: string; kids: Out[]; inText: boolean };
+type Out = { slot: Slot; type: string; props: any; text?: string; kids: Out[]; inText: boolean };
+
+// A place in the tree: the path of keys, indices, component names and host boundaries from the root, interned as one
+// object per place, kept from frame to frame. Places were strings built by concatenation each frame ("r/.0:Clock:Pong
+// ..."), ~57 characters, flattened for each Map lookup: of a finished pong's ~490 KB of garbage a frame, those were
+// the largest part. A place is compared by identity; its sub-places are found by a key, an index or a component's
+// name without building anything.
+interface Slot {
+ /** sub-places by an element's key (string) or its index (number) among an array's items */
+ items: Map<string | number, Slot> | null;
+ /** sub-places by component name (a function component rendered here) */
+ named: Map<string, Slot> | null;
+ /** the place of a host element's children */
+ inner: Slot | null;
+ /** the render pass that last reached it; places unreached for PRUNE_EVERY passes are let go */
+ used: number;
+}
+const newSlot = (): Slot => ({ items: null, named: null, inner: null, used: pass });
+let pass = 0;
+const PRUNE_EVERY = 256;
+function item(s: Slot, k: string | number): Slot {
+ const m = s.items ?? (s.items = new Map());
+ let c = m.get(k);
+ if (c === undefined) m.set(k, (c = newSlot()));
+ c.used = pass;
+ return c;
+}
+function named(s: Slot, name: string): Slot {
+ const m = s.named ?? (s.named = new Map());
+ let c = m.get(name);
+ if (c === undefined) m.set(name, (c = newSlot()));
+ c.used = pass;
+ return c;
+}
+function inner(s: Slot): Slot {
+ const c = s.inner ?? (s.inner = newSlot());
+ c.used = pass;
+ return c;
+}
+/** Places no render reached in the last PRUNE_EVERY passes, let go (a game's keyed sprites come and go). */
+function prune(s: Slot, before: number) {
+ for (const m of [s.items, s.named]) {
+ if (!m) continue;
+ for (const [k, c] of m) {
+ if (c.used < before) m.delete(k);
+ else prune(c, before);
+ }
+ }
+ if (s.inner) {
+ if (s.inner.used < before) s.inner = null;
+ else prune(s.inner, before);
+ }
+}
+const ROOT_SLOT: Slot = newSlot();
// Each component rendered this frame, by its code (FNV-1a over the UTF-16 of its source, as Function.prototype.toString
// gives it; bake.rs hashes the bundle's functions the same way): a baked timeline re-steps, after an edit, only the
@@ -268,10 +321,13 @@ export function takeRendered(): string {
return s;
}
-function render(node: any, parent: Instance, slot: string, out: Out[], inText: boolean) {
+function render(node: any, parent: Instance, slot: Slot, out: Out[], inText: boolean) {
if (node === undefined || node === null || typeof node === "boolean") return;
if (Array.isArray(node)) {
- node.forEach((c, i) => render(c, parent, `${slot}.${isValidElement(c) && c.key !== null ? "k" + c.key : i}`, out, inText));
+ for (let i = 0; i < node.length; i++) {
+ const c = node[i];
+ render(c, parent, item(slot, isValidElement(c) && c.key !== null ? c.key : i), out, inText);
+ }
return;
}
if (typeof node === "string" || typeof node === "number") {
@@ -296,8 +352,7 @@ function render(node: any, parent: Instance, slot: string, out: Out[], inText: b
}
if (typeof t === "function") {
renderedCodes.add(codeOf(t));
- const name = t.name || "c";
- const k = `${slot}:${name}`;
+ const k = named(slot, t.name || "c");
let inst = parent.kids.get(k);
if (!inst || inst.fn !== t) {
if (inst) unmountInstance(inst);
@@ -305,21 +360,27 @@ function render(node: any, parent: Instance, slot: string, out: Out[], inText: b
parent.kids.set(k, inst);
}
inst.seen = true;
- const saved = [current, hookIndex] as const;
+ const savedCurrent = current;
+ const savedIndex = hookIndex;
current = inst;
hookIndex = 0;
let rendered;
try {
rendered = t.prototype && t.prototype.render ? new t(node.props).render() : t(node.props);
} finally {
- [current, hookIndex] = saved;
+ current = savedCurrent;
+ hookIndex = savedIndex;
}
- for (const kid of inst.kids.values()) kid.seen = false;
+ // (the loops skipped for a leaf: each for-of over a Map makes an iterator, for hundreds of components a frame)
+ const had = inst.kids.size > 0;
+ if (had) for (const kid of inst.kids.values()) kid.seen = false;
render(rendered, inst, k, out, inText);
- for (const [kk, kid] of inst.kids) {
- if (!kid.seen) {
- unmountInstance(kid);
- inst.kids.delete(kk);
+ if (had || inst.kids.size > 0) {
+ for (const [kk, kid] of inst.kids) {
+ if (!kid.seen) {
+ unmountInstance(kid);
+ inst.kids.delete(kk);
+ }
}
}
effectsQueue.push(inst);
@@ -330,7 +391,7 @@ function render(node: any, parent: Instance, slot: string, out: Out[], inText: b
const childText = t === "text";
const c = node.props.children;
const inline = t === "text" && (typeof c === "string" || typeof c === "number");
- if (!inline) render(c, parent, `${slot}/`, kids, inText || childText);
+ if (!inline) render(c, parent, inner(slot), kids, inText || childText);
out.push({ slot, type: t, props: node.props, kids, inText, text: inline ? String(c) : undefined });
}
}
@@ -394,7 +455,23 @@ function patch(h: Host, o: Out) {
/** A host parent's children matched to what the render yields: same place and type kept (patched), the rest made or
* removed, and moved where their order changed. */
function children(parent: number, old: Host[], next: Out[]): Host[] {
- const bySlot = new Map<string, Host>();
+ // the usual frame: the same places in the same order, each patched where it is (no maps, nothing moves)
+ if (old.length === next.length) {
+ let same = true;
+ for (let i = 0; i < old.length; i++) {
+ const h = old[i];
+ const o = next[i];
+ if (h.slot !== o.slot || h.type !== o.type || !(h.text || h.kind === kindOf(o.type, o.inText))) {
+ same = false;
+ break;
+ }
+ }
+ if (same) {
+ for (let i = 0; i < old.length; i++) patch(old[i], next[i]);
+ return old;
+ }
+ }
+ const bySlot = new Map<Slot, Host>();
for (const h of old) bySlot.set(h.slot, h);
const kept = new Set<Host>();
const out: Host[] = next.map((o) => {
@@ -431,7 +508,7 @@ function children(parent: number, old: Host[], next: Out[]): Host[] {
// ---- the root
-const rootInstance: Instance = { fn: null, hooks: [], effects: [], cleanups: new Map(), kids: new Map(), seen: true, id: "root" };
+const rootInstance: Instance = { fn: null, hooks: [], effects: [], cleanups: new Map(), kids: new Map(), seen: true, id: ROOT_SLOT };
let rootHosts: Host[] = [];
let rootElement: any = null;
@@ -443,8 +520,10 @@ export function renderRoot(element: any): void {
dirty = false;
contexts = new Map();
const out: Out[] = [];
+ pass++;
+ if (pass % PRUNE_EVERY === 0) prune(ROOT_SLOT, pass - PRUNE_EVERY);
for (const kid of rootInstance.kids.values()) kid.seen = false;
- render(element, rootInstance, "r", out, false);
+ render(element, rootInstance, ROOT_SLOT, out, false);
for (const [k, kid] of rootInstance.kids) {
if (!kid.seen) {
unmountInstance(kid);
@@ -455,7 +534,10 @@ export function renderRoot(element: any): void {
flush();
const queue = effectsQueue.splice(0);
for (const inst of queue) {
- const fx = inst.effects.splice(0);
+ // most components set off no effect this frame: nothing taken (splice made an empty array for each, every frame)
+ if (inst.effects.length === 0) continue;
+ const fx = inst.effects;
+ inst.effects = [];
for (const f of fx) {
try {
f();
diff --git a/react/src/audio.rs b/react/src/audio.rs
index 533991a1..52461544 100644
--- a/react/src/audio.rs
+++ b/react/src/audio.rs
@@ -257,6 +257,11 @@ impl Mixer {
/// A source's sound, once it's open: opening (its rate from a first short window, its length from the container)
/// reads the file, ~80 ms cold, so it happens on a thread and the voice starts at the sync after (placed where it
/// should be by then), not holding the frame.
+ /// `file` loading on a worker now, nothing started: a timeline's first sounds ready before its clock starts.
+ pub fn preload(&mut self, file: &Path) {
+ let _ = self.pcm(file);
+ }
+
fn pcm(&mut self, file: &Path) -> Option<Arc<Pcm>> {
if let Some(p) = self.pcm.get(file) {
return p.clone();
diff --git a/react/src/bake.rs b/react/src/bake.rs
index 2820948d..5e6cfb1e 100644
--- a/react/src/bake.rs
+++ b/react/src/bake.rs
@@ -33,6 +33,9 @@ pub struct Baked {
pub comps: Vec<Vec<u32>>,
/// the bundle's functions and the code outside them (`code_of`)
pub code: Code,
+ /// some frame shows 3D (a data-3d element): play opens the scene's rows and draws it under the page, as the
+ /// render does
+ pub has_3d: bool,
}
/// A batch that clears the page first: what's under the root goes, then the batches after it build the tree again
@@ -127,17 +130,20 @@ pub fn bake(js: &Path) -> R<Baked> {
let mut keys = vec![(-1, crate::snapshot_ops(app.world()))];
let mut frame_ops = Vec::with_capacity(frames as usize);
let mut comps = Vec::with_capacity(frames as usize);
+ let mut has_3d = init.iter().any(|j| j.contains("data-3d"));
for f in 0..frames {
// the render's own step: the frame number (not live play's {frame, input}), so the commits are a render's
app.world().resource::<ReactOutbox>().send(json!({"t": "event", "name": "raea-frame", "value": f}));
crate::motion::settle_frame(&mut app, Some(f), 20.0)?;
comps.push(comps_of(app.world_mut()));
- frame_ops.push(take(&mut app));
+ let ops = take(&mut app);
+ has_3d |= ops.iter().any(|j| j.contains("data-3d"));
+ frame_ops.push(ops);
if f % KEY == KEY - 1 {
keys.push((f, crate::snapshot_ops(app.world())));
}
}
- Ok(Baked { conf, fps, frames, w, h, init, frame_ops, keys, comps, code: code_of(js)? })
+ Ok(Baked { conf, fps, frames, w, h, init, frame_ops, keys, comps, code: code_of(js)?, has_3d })
}
/// `old` baked again for the bundle at `js` (the edit changed), re-stepping only the frames it must: when every function
@@ -187,7 +193,7 @@ pub fn bake_incremental(old: &Baked, js: &Path) -> R<(Baked, i64)> {
}
let take = |app: &mut App| std::mem::take(&mut app.world_mut().resource_mut::<CommitTap>().0);
take(&mut app);
- let mut b = Baked { conf: old.conf.clone(), fps: old.fps, frames, w: old.w, h: old.h, init: old.init.clone(), frame_ops: old.frame_ops.clone(), keys: old.keys.clone(), comps: old.comps.clone(), code };
+ let mut b = Baked { conf: old.conf.clone(), fps: old.fps, frames, w: old.w, h: old.h, init: old.init.clone(), frame_ops: old.frame_ops.clone(), keys: old.keys.clone(), comps: old.comps.clone(), code, has_3d: old.has_3d };
let mut stepped = 0;
let mut f = 0;
while f < frames {
@@ -215,6 +221,7 @@ pub fn bake_incremental(old: &Baked, js: &Path) -> R<(Baked, i64)> {
crate::motion::settle_frame(&mut app, Some(g), 20.0)?;
b.comps[g as usize] = comps_of(app.world_mut());
let ops = take(&mut app);
+ b.has_3d |= ops.iter().any(|j| j.contains("data-3d"));
stepped += 1;
b.frame_ops[g as usize] = if g == a { vec![RESET.to_string(), Value::Array(crate::snapshot_ops(app.world())).to_string()] } else { ops };
if g % KEY == KEY - 1 && (g < k || k == frames - 1) {
diff --git a/react/src/lib.rs b/react/src/lib.rs
index 47245fae..1b1924e8 100644
--- a/react/src/lib.rs
+++ b/react/src/lib.rs
@@ -297,7 +297,11 @@ fn js_thread_jsc(bundle: PathBuf, tx: Sender<Batch>, events: Receiver<String>) {
error!("raea-react: bundle.js: {e}");
return;
}
- let eden = std::env::var("RAEA_JSC_EDEN").as_deref() == Ok("1");
+ // RAEA_JSC_EDEN=N: a young collection after every Nth event's commit (1: each), at the frame's boundary, where the
+ // JS thread waits for the next frame anyway, so the collections JavaScriptCore would start on allocation, inside a
+ // frame's render, don't come
+ let eden_every: u64 = std::env::var("RAEA_JSC_EDEN").ok().and_then(|v| v.parse().ok()).unwrap_or(0);
+ let mut delivered: u64 = 0;
let release_every: f64 = std::env::var("RAEA_JSC_RELEASE_S").ok().and_then(|v| v.parse().ok()).unwrap_or(5.0);
let mut released = Instant::now();
loop {
@@ -330,10 +334,13 @@ fn js_thread_jsc(bundle: PathBuf, tx: Sender<Batch>, events: Receiver<String>) {
Some(Ok(_)) => {}
}
JS_NS.fetch_add(busy.elapsed().as_nanos() as u64, std::sync::atomic::Ordering::Relaxed);
- // a young collection after the frame when RAEA_JSC_EDEN=1 (it cost ~0.5 ms a frame and held memory no flatter in
- // pong), then JavaScriptCore's GC timers, after
- // the frame's commit is out (Bevy applies and presents it meanwhile)
- if eden {
+ // a young collection after the frame when RAEA_JSC_EDEN is set (off: each cost ~0.5 ms and held memory no
+ // flatter in pong; every 16th frame left 1 collection of 360 started by allocation inside a frame, where 71
+ // were, at 2.4 ms of the JS thread each), then JavaScriptCore's GC timers, after the frame's commit is out (Bevy
+ // applies and presents it meanwhile): the timers start most collections, on the collector thread, while the
+ // JS thread waits for the next frame
+ delivered += 1;
+ if eden_every > 0 && delivered % eden_every == 0 {
let t = Instant::now();
ctx.collect_young();
EDEN_NS.fetch_add(t.elapsed().as_nanos() as u64, std::sync::atomic::Ordering::Relaxed);
@@ -400,6 +407,12 @@ fn apply_commits(
let t_apply = Instant::now();
let _count = ApplyTimer(t_apply);
let batches: Vec<Batch> = inbox.0.lock().unwrap().try_iter().collect();
+ // props and text of entities spawned in this pass: commands are deferred, so an entity created here doesn't exist
+ // for the queries until the pass ends, and an update to it in a later batch of the same pass was lost. A baked
+ // seek feeds the keyframe (every node created) and the frames after it at once, and its videos came out a frame
+ // behind (they read their source time from these props); the page mirror, applied directly, was right
+ let mut fresh_props: HashMap<Entity, ReactProps> = HashMap::new();
+ let mut fresh_text: HashMap<Entity, ReactText> = HashMap::new();
for Batch(json) in batches {
if let Some(t) = tap.as_mut() {
t.0.push(json.clone());
@@ -435,15 +448,17 @@ fn apply_commits(
"create" => {
let mut p = ReactProps::default();
merge(&mut p.0, &op["props"], None);
- let mut e = commands.spawn((ReactNode(id("id").unwrap_or(0)), ReactKind(op["kind"].as_str().unwrap_or("").into()), p));
+ let e = commands.spawn((ReactNode(id("id").unwrap_or(0)), ReactKind(op["kind"].as_str().unwrap_or("").into()))).id();
+ fresh_props.insert(e, p);
if let Some(t) = op["text"].as_str() {
- e.insert(ReactText(t.into()));
+ fresh_text.insert(e, ReactText(t.into()));
}
- ents.by_id.insert(id("id").unwrap_or(0), e.id());
+ ents.by_id.insert(id("id").unwrap_or(0), e);
}
"createText" | "createTextSpan" => {
let kind = if op["op"] == "createText" { "#text" } else { "#span" };
- let e = commands.spawn((ReactNode(id("id").unwrap_or(0)), ReactKind(kind.into()), ReactText(op["text"].as_str().unwrap_or("").into()))).id();
+ let e = commands.spawn((ReactNode(id("id").unwrap_or(0)), ReactKind(kind.into()))).id();
+ fresh_text.insert(e, ReactText(op["text"].as_str().unwrap_or("").into()));
ents.by_id.insert(id("id").unwrap_or(0), e);
}
"append" => {
@@ -493,7 +508,7 @@ fn apply_commits(
}
"update" => {
if let Some(&e) = id("id").and_then(|i| ents.by_id.get(&i)) {
- if let Ok(mut p) = props.get_mut(e) {
+ let mut apply = |p: &mut ReactProps| {
merge(&mut p.0, &op["props"], op.get("unset"));
// style keys React dropped (a transform going to nothing), as the DOM mirror does
if let (Some(style), Some(gone)) = (p.0.get_mut("style").and_then(|s| s.as_object_mut()), op["styleUnset"].as_array()) {
@@ -501,13 +516,21 @@ fn apply_commits(
style.remove(k);
}
}
+ };
+ if let Some(p) = fresh_props.get_mut(&e) {
+ apply(p);
+ } else if let Ok(mut p) = props.get_mut(e) {
+ apply(&mut p);
}
}
}
"updateText" => {
if let Some(&e) = id("id").and_then(|i| ents.by_id.get(&i)) {
- if let Ok(mut t) = texts.get_mut(e) {
- t.0 = op["text"].as_str().unwrap_or("").into();
+ let text = op["text"].as_str().unwrap_or("").to_string();
+ if let Some(t) = fresh_text.get_mut(&e) {
+ t.0 = text;
+ } else if let Ok(mut t) = texts.get_mut(e) {
+ t.0 = text;
}
}
}
@@ -515,6 +538,14 @@ fn apply_commits(
}
}
}
+ // this pass's new entities get their props and text as the last ops left them (an entity removed again in the same
+ // pass is gone: try_insert skips it)
+ for (e, p) in fresh_props {
+ commands.entity(e).try_insert(p);
+ }
+ for (e, t) in fresh_text {
+ commands.entity(e).try_insert(t);
+ }
}
/// The tree under the React root as indented lines (kind, text, a few props): for tests and debugging.
diff --git a/react/src/live.rs b/react/src/live.rs
index b0247e2b..a33749c7 100644
--- a/react/src/live.rs
+++ b/react/src/live.rs
@@ -178,9 +178,22 @@ impl Live {
live.app.world().resource::<crate::ReplayFeed>().feed(b.clone());
}
live.app.update();
+ // 3D: its rows (the scene_program a 3D render uses) and rdb's live engine opened now, so the first frame draws
+ // its scene under the page as the render does (it came from a thread a few frames late, and only with --3d)
+ if baked.has_3d {
+ if let Some(prog) = crate::motion::scene_program(&live.js, &dir)? {
+ live.scene = Some(rdb::engine::Engine::new_live(&prog, &rdb::inserted_of(&prog), &dir).map_err(|e| format!("the 3D didn't open: {e}"))?);
+ }
+ }
live.baked = Some(baked);
// the first frames' clips opened while the page gets ready
live.prefetch_ahead(-1);
+ // and frame 0 made ready before the clock starts, as a player loads before it plays: its commits applied, its
+ // videos in place (the prefetched decoders taken), the mixer opened and its sounds loading, none started. The
+ // first frame waited ~195 ms for these (a 4K clip's open, the device and the first sound's load)
+ live.replay(0);
+ crate::motion::place_videos(live.app.world_mut(), &live.dir, &mut live.videos)?;
+ live.warm_sound();
Ok(live)
}
@@ -209,6 +222,7 @@ impl Live {
// what's fed so far applied, then what's under the root removed (frames re-stepped after an edit come
// with a tree of their own: bake_incremental)
self.app.update();
+ self.videos.forget_shown();
let world = self.app.world();
let root = world.resource::<crate::ReactEntities>().by_id.get(&crate::ROOT_ID).copied();
let ops: Vec<Value> = root.and_then(|r| world.get::<Children>(r)).map(|c| c.iter().filter_map(|e| world.get::<crate::ReactNode>(e)).map(|n| json!({"op": "remove", "parent": crate::ROOT_ID, "child": n.0})).collect()).unwrap_or_default();
@@ -418,6 +432,36 @@ impl Live {
}
/// The frame's sounds to the mixer (opened the first time there are any).
+ /// The mixer opened and the current frame's sound sources loading, nothing started (open_baked's frame 0).
+ fn warm_sound(&mut self) {
+ let world = self.app.world_mut();
+ let mut q = world.query::<(&crate::ReactKind, Option<&crate::ReactProps>, Option<&crate::ReactNode>)>();
+ let items: Vec<(String, serde_json::Map<String, Value>, Option<u64>)> = q.iter(world).filter(|(k, _, _)| k.0 == "audio" || k.0 == "video").map(|(k, p, n)| (k.0.clone(), p.map(|p| p.0.clone()).unwrap_or_default(), n.map(|n| n.0))).collect();
+ let sounds = crate::audio::sounds_of(&items, &self.dir, crate::motion::media_path, &mut self.made);
+ if sounds.is_empty() {
+ return;
+ }
+ if self.mixer.is_none() && !self.mixer_failed {
+ match crate::audio::Mixer::open() {
+ Ok(mut m) => {
+ if let Some((gain, ceiling)) = self.game_gain {
+ m.master(gain, ceiling);
+ }
+ self.mixer = Some(m)
+ }
+ Err(e) => {
+ eprintln!("raea live: no sound: {e}");
+ self.mixer_failed = true;
+ }
+ }
+ }
+ if let Some(m) = self.mixer.as_mut() {
+ for s in &sounds {
+ m.preload(&s.file);
+ }
+ }
+ }
+
fn sound(&mut self, f: i64) {
if let Some(rx) = &self.master {
match rx.try_recv() {
@@ -446,6 +490,10 @@ impl Live {
crate::audio::sounds_of(&items, &self.dir, crate::motion::media_path, &mut self.made)
}
};
+ // a baked timeline past its last frame holds that frame's picture, not its sound: the held <Video> said the same
+ // source time every frame and the mixer put its voice back each one (the 80 ms "drift" past a 4K edit's end).
+ // Played unbaked, the composition past its end shows no <Video> either, so both fall silent there.
+ let sounds = if self.baked.as_ref().is_some_and(|b| f >= b.frames) { Vec::new() } else { sounds };
if std::env::var_os("RAEA_SOUND_TRACE").is_some() && f % 30 == 0 {
eprintln!("raea live: frame {f} sounds {:?}", sounds.iter().map(|s| (s.key.clone(), s.file.file_name().map(|n| n.to_string_lossy().into_owned()), (s.at * 100.0).round() / 100.0, s.volume)).collect::<Vec<_>>());
}
@@ -494,6 +542,15 @@ impl Live {
/// The page as it stands, read back as premultiplied RGBA (the playtest's --snapshot): what the stage shows.
pub fn snapshot(&mut self) -> R<(u32, u32, Vec<u8>)> {
+ // with a 3D scene: the page painted over this frame's scene on the GPU and read back, as presented and rendered
+ if self.scene.is_some() {
+ let under = self.prepare()?;
+ let buf = raea::quads::page_buffer(self.w, self.h)?;
+ let mut m = self.app.world_mut().non_send_resource_mut::<DomMirror>();
+ m.dom.paint_buffer(true, under, &buf)?;
+ drop(m);
+ return Ok((self.w, self.h, raea::quads::read_buffer(&buf)?));
+ }
let mut m = self.app.world_mut().non_send_resource_mut::<DomMirror>();
if m.fonts_dirty {
let _ = m.dom.load_fonts();
diff --git a/react/src/motion.rs b/react/src/motion.rs
index eb756136..8ebc8a74 100644
--- a/react/src/motion.rs
+++ b/react/src/motion.rs
@@ -595,6 +595,12 @@ impl VideoFrames {
#[cfg(not(target_vendor = "apple"))]
pub(crate) fn prefetch(&mut self, _file: &Path, _at: f64) {}
+ /// The page was rebuilt (a baked seek's keyframe): every video element is new, so none shows its texture yet. The
+ /// cache of what each node shows went stale, and a node shown before the seek came back with no picture.
+ pub(crate) fn forget_shown(&mut self) {
+ self.shown.clear();
+ }
+
/// Whether this process paints videos as textures.
pub(crate) fn on() -> bool {
cfg!(target_vendor = "apple") && raea::quads::enabled() && std::env::var("RAEA_VIDEO_TEXTURES").as_deref() != Ok("0")
@@ -1534,7 +1540,15 @@ fn run(args: &[String]) -> R<String> {
let out = PathBuf::from(flag(args, "-o").ok_or("-o OUT.mp4|OUT.png|DIR|OUT.sql")?);
let dir = tsx.parent().unwrap().to_path_buf();
let js = std::env::temp_dir().join(format!("raea-motion-{}.js", std::process::id()));
- bundle_composition(&tsx, &js, &comp_opts(args)?, None)?;
+ // the edit's words.json and perception.json beside it, as play loads them (a render without the flags lost the
+ // captions its words drive; the corpus found 10 edits so); a flag still wins
+ let mut o = comp_opts(args)?;
+ for (slot, file) in [(&mut o.words, "words.json"), (&mut o.perception, "perception.json")] {
+ if slot.is_none() && dir.join(file).exists() {
+ *slot = Some(json_file(&dir.join(file).display().to_string())?);
+ }
+ }
+ bundle_composition(&tsx, &js, &o, None)?;
let wanted = match (flag(args, "--frame"), flag(args, "--at")) {
(Some(f), _) => Some(vec![f.parse().map_err(|_| "--frame takes a frame number")?]),
(_, Some(at)) => Some(at.split(',').map(|f| f.trim().parse::<i64>().map_err(|_| "--at takes frame numbers".to_string())).collect::<R<_>>()?),
@@ -1866,12 +1880,27 @@ pub(crate) fn settle_frame(app: &mut App, want: Option<i64>, secs: f64) -> R<Opt
/// page painted into one page buffer on the paint device, and rdb composites it as it is and encodes it (no page
/// file, no page read back; gate 5 of no-V8). The sound is the frames' sound rows, mixed once the last frame is made.
#[allow(clippy::too_many_arguments)]
-fn render_fed(app: &mut App, w: u32, h: u32, fps: f64, total: i64, retained: bool, cx: &mut Ctx, out: &Path, work: &Path) -> R<String> {
+fn render_fed(app: &mut App, w: u32, h: u32, fps: f64, total: i64, retained: bool, cx: &mut Ctx, out: &Path, work: &Path, wanted: &[i64]) -> R<String> {
if !retained {
return Err(FED_3D.into());
}
let page = raea::quads::page_buffer(w, h)?;
cx.fed = Some(page.clone());
+ // a still of a 3D scene (render --frame N -o F.png): the page painted over the scene's frame on the GPU and read
+ // back as RGB, as the video render and play make it (the page-file still blended the page over the 3D in Bevy:
+ // SSIM 0.958 against the video's frame, 0.995 for play)
+ if out.extension().is_some_and(|x| x.eq_ignore_ascii_case("png")) {
+ for &f in wanted {
+ app.world().resource::<ReactOutbox>().send(json!({"t": "event", "name": "raea-frame", "value": f}));
+ settle(app, Some(f), 20.0)?;
+ cx.now = f;
+ snapshot_retained(app.world_mut(), w, h, cx)?.ok_or(FED_3D)?;
+ }
+ let px = raea::quads::read_buffer(&page)?;
+ cx.fed = None;
+ image::save_buffer(out, &px, w, h, image::ColorType::Rgba8).map_err(|e| format!("{}: {e}", out.display()))?;
+ return Ok(format!("APPLIED frame {} rendered to {} (the page over its 3D on the GPU)", wanted.last().copied().unwrap_or(0), out.display()));
+ }
let frames: std::cell::RefCell<Vec<(i64, Frame)>> = std::cell::RefCell::new(Vec::with_capacity(total.max(0) as usize));
let t0 = std::time::Instant::now();
let pic = rdb::ir::Program { fps, width: w, height: h, frames: total, ..Default::default() };
@@ -1916,6 +1945,12 @@ pub fn render_bundle(js: &Path, dir: &Path, out: &Path, wanted: Option<Vec<i64>>
let ext = out.extension().and_then(|e| e.to_str()).unwrap_or("").to_lowercase();
let fed = wanted.is_none() && matches!(ext.as_str(), "mp4" | "mov" | "txt") && std::env::var("RAEA_MOTION_PAGES").as_deref() != Ok("png")
&& std::env::var("RAEA_MOTION_RETAINED").as_deref() != Ok("0") && rdb::gpuview::paint_device().is_some();
+ // a still of a 3D scene: through the fed path too, so it blends as the video and play do (2D stills already match)
+ if ext == "png" && wanted.as_ref().is_some_and(|w| w.len() == 1) && std::env::var("RAEA_MOTION_3D").as_deref() != Ok("files") && rdb::gpuview::paint_device().is_some() {
+ if let Some(scene) = scene_program(js, dir)? {
+ return render_bundle_with(js, dir, out, wanted, true, Some(scene));
+ }
+ }
if fed {
match render_bundle_with(js, dir, out, None, true, None) {
Err(e) if e == FED_3D => {}
@@ -1981,7 +2016,7 @@ fn render_bundle_with(js: &Path, dir: &Path, out: &Path, wanted: Option<Vec<i64>
if let Some(p) = scene {
cx.scene3d = Some(rdb::engine::Engine::new_live(&p, &rdb::inserted_of(&p), dir)?);
}
- return render_fed(&mut app, w, h, fps, total, retained, &mut cx, out, &work);
+ return render_fed(&mut app, w, h, fps, total, retained, &mut cx, out, &work, &wanted);
}
let mut frames = Vec::new();
let t0 = std::time::Instant::now();
diff --git a/react/src/play.rs b/react/src/play.rs
index 7d314e6b..affabb5e 100644
--- a/react/src/play.rs
+++ b/react/src/play.rs
@@ -3,7 +3,9 @@
//! When it ends (the window closes, or --seconds pass) it reports what it measured: frames stepped and presented, frame
//! times (p50, p99, worst), frames missed against the display, and resident memory over the run.
//!
-//! raea-motion play EDIT.tsx [--size WxH] [--seconds S] [--autoplay] [--no-vsync] [--json OUT]
+//! raea-motion play EDIT.tsx [--size WxH] [--seconds S|end] [--autoplay] [--no-vsync] [--json OUT]
+//!
+//! --seconds end plays to the composition's last frame (its frames and fps as it opened, however its length is written).
//!
//! --autoplay holds ArrowLeft and ArrowRight in turn (a run nobody plays); --no-vsync presents as fast as frames come,
//! to measure what a frame costs past the display's rate; --offscreen runs with no window (nothing shown, the same
@@ -363,6 +365,18 @@ fn offscreen(mut run: Run, json: Option<String>, flat_out: bool, snaps: Vec<(f64
}
// --scrub N: N seeks to frames spread over the timeline in a shuffled order, each stepped and presented: what a
// scrub costs (the decoder's restart included); the report is that alone
+ // --seek F OUT.png (repeatable): straight to frame F (a baked timeline's jump: its keyframe, then the frames after),
+ // the page snapshotted, then the next; the report is that alone. render equals play holds for a seek too
+ // (bench/timelines/check.sh compares these with renders)
+ let seeks: Vec<(i64, String)> = std::env::args().collect::<Vec<_>>().windows(3).filter(|w| w[0] == "--seek").filter_map(|w| Some((w[1].parse().ok()?, w[2].clone()))).collect();
+ if !seeks.is_empty() {
+ for (f, out) in &seeks {
+ live.step(*f, &[], None)?;
+ live.save_snapshot(std::path::Path::new(out))?;
+ eprintln!("seek to {f} -> {out}");
+ }
+ return Ok(format!("SEEKED {} frames", seeks.len()));
+ }
if let Some(n) = std::env::args().skip_while(|a| a != "--scrub").nth(1).and_then(|v| v.parse::<usize>().ok()) {
let total = live.frames.max(1);
let mut order: Vec<i64> = (0..n as i64).map(|k| k * total / n.max(1) as i64).collect();
@@ -394,7 +408,10 @@ fn offscreen(mut run: Run, json: Option<String>, flat_out: bool, snaps: Vec<(f64
return Ok(format!("SCRUBBED {}", serde_json::to_string_pretty(&serde_json::json!({"seeks": v.len(), "first_frame_ms": first_ms, "scrub_ms": {"p50": pct(0.5), "p99": pct(0.99), "max": pct(1.0)}, "slowest": worst, "rss_mb": rss_kb() / 1024})).unwrap()));
}
let fps = live.fps;
- let seconds = run.seconds.unwrap_or(10.0);
+ // --seconds end: to the last frame, as the composition says its length (a gate's guess from the source missed a
+ // computed durationInFrames, and played a baked edit 1.3 s past its end)
+ let to_end = std::env::args().skip_while(|a| a != "--seconds").nth(1).as_deref() == Some("end");
+ let seconds = if to_end { live.frames as f64 / fps.max(1.0) } else { run.seconds.unwrap_or(10.0) };
// the per-frame lists sized for the whole run and their pages touched now: grown as it went, they were the
// harness's own memory growing in the RSS it judges (36,000 frames x 7 lists x 8 bytes in a 5-minute run at 120 fps)
let cap = (seconds * fps.max(1.0) * 1.05) as usize + 64;
diff --git a/sandbox/README.md b/sandbox/README.md
new file mode 100644
index 00000000..017e32f3
--- /dev/null
+++ b/sandbox/README.md
@@ -0,0 +1,15 @@
+# sandbox
+
+A WASI sandbox for the agent's command-line tools, built to run on the iPhone, which allows no JIT.
+
+- `wsx/`: runs WASI modules compiled ahead of time for Pulley on Wasmtime's interpreter, with only the project folder
+ visible, a fuel limit and a memory cap, and logs every call as an action row. `wsxc` compiles modules; `wsx-suite`
+ runs the test suite.
+- `rtools/`: the everyday file and text commands (`ls`, `cat`, `grep`, `sed`, `find`, ...) in one small WASI module.
+- `probe/`: an iOS app that measures the sandbox's size and checks it on a device.
+- `build.sh`: builds the tools and modules, and with `phone`, the iPhone library and probe apps.
+
+[`react/`](../react) links `wsx` behind an optional feature. The agent's shell ([`shell/`](../shell)) runs WASI tools
+through it only for commands it doesn't provide itself.
+
+Status: experimental.
diff --git a/score/README.md b/score/README.md
new file mode 100644
index 00000000..9aa00575
--- /dev/null
+++ b/score/README.md
@@ -0,0 +1,17 @@
+# score
+
+The compiler from a `.brief` to an `@raea/motion` composition, in Python. `raea-brief compile` runs it after parsing
+the brief.
+
+- `scorec.py`: the entry point. It reads the brief's intent graph, places it on the project's takes, times the script
+ against them, and writes the composition and an exposure sheet (what is timed where, which checks hold, what would
+ bring the piece to length).
+- `compiler/`: the stages: `front.py` (graph to script), `ir.py` (the target-free script and timeline),
+ `moments.py` (open beats bound to footage by perception's facts and SigLIP scores), `sheet.py`, and `sdk.py` (the
+ `@raea/motion` backend).
+- `cover.py`: checks that the beats several pieces share are each covered by one of them.
+- `score.py`: an older entry point kept for existing callers; it runs `scorec.py`.
+
+Run with `uv run python score/scorec.py SPACE [NAME.brief]`. The format is [`brief/format.md`](../brief/format.md).
+
+Status: in use by void's agent.
diff --git a/shell/README.md b/shell/README.md
new file mode 100644
index 00000000..b2ec19a7
--- /dev/null
+++ b/shell/README.md
@@ -0,0 +1,17 @@
+# shell
+
+`@raea/shell`: the agent's shell. [just-bash](https://github.com/vercel-labs/just-bash) (Apache-2.0, pinned, used
+unmodified) interprets the bash: pipes, redirections, functions, loops and about 80 text tools, in TypeScript on
+JavaScriptCore. Under it, the filesystem is the project folder and nothing else, and raea's own tools (`rdb`,
+`raea-motion`, `sqlite3`, `js-exec`, media verbs) are commands that call the engine natively, in process.
+
+Every command line is one row in `.raea/actions.jsonl`, with the files it read and wrote and their contents kept by
+hash, so any command can be undone and redone.
+
+- `src/`: the shell (`index.ts`), its filesystem (`fs.ts`), raea's commands (`commands.ts`) and the JSON-lines server
+ void talks to (`serve.ts`, run by `raea-motion shell-serve`).
+- [`shell.feature`](shell.feature): the behaviour spec.
+- `conformance/` and `probe/`: tests whose answers must match on the Mac and the iPhone; `tools/upstream.sh` runs
+ just-bash's own suite.
+
+Status: in use by void's agent.
diff --git a/shell/shell.feature b/shell/shell.feature
index 7e1ddc4b..2f79690b 100644
--- a/shell/shell.feature
+++ b/shell/shell.feature
@@ -1,10 +1,9 @@
@spec
Feature: @raea/shell, the agent's shell
just-bash (vercel-labs, Apache-2.0, pinned at 3.6.0 and used unmodified as a dependency) runs the bash: parsing,
- pipes, redirections, functions, loops and its ~80 text tools, in TypeScript on raea's V8 (raea-native's runtime, the
+ pipes, redirections, functions, loops and its ~80 text tools, in TypeScript on JavaScriptCore (raea-native's runtime, the
same on the Mac and the iPhone). Under it the filesystem is the project folder through raea-native, and raea's own
- tools are commands that call the engine natively. The shell is the agent's hands in a space; docs/media.feature's
- "sandbox boundary and the action rows" is the rule it keeps.
+ tools are commands that call the engine natively. The shell is the agent's hands in a space.
Rule: The project folder is the filesystem, and nothing else
Scenario: Paths
@@ -53,7 +52,7 @@ Feature: @raea/shell, the agent's shell
And an error ends the script with exit 1 and "Error: ..." on stderr
And (rdb's own SQL is for edits: `rdb query EDIT.rdb`; sqlite3 is for the databases people bring)
Scenario: js-exec
- Then `js-exec -c CODE | FILE [ARGS]` runs JavaScript or TypeScript as an ES module in a fresh V8 isolate on its own
+ Then `js-exec -c CODE | FILE [ARGS]` runs JavaScript or TypeScript as an ES module in a fresh JavaScriptCore context on its own
thread (transpiled in process by raea-modules, deno_ast: no bun, so the same on the iPhone), with console to
stdout and stderr, process.argv, env, exit and stdin.text, and timers
And imports resolve only to files in the project; native calls are limited to the web shims' (no filesystem, no
@@ -67,7 +66,7 @@ Feature: @raea/shell, the agent's shell
Scenario: python
Then there is no python (raea ships none): `python3` is "command not found", exit 127
- Rule: One terminal per space, for hosts outside V8
+ Rule: One terminal per space, for hosts outside JavaScript
Scenario: Kept between commands
Then a Shell is one terminal: a `cd` or an `export` carries over to the next command (just-bash resets them per
exec; the Shell passes the last folder and exported variables back in), and /dev/null, /dev/stdin, /dev/stdout,
@@ -83,7 +82,7 @@ Feature: @raea/shell, the agent's shell
Rule: just-bash and wsx split the work
Scenario: Who runs what
Then just-bash is the shell and its text tools (ls, cat, grep, sed, awk, jq, sort, find, ...): one implementation
- of each, in TypeScript on V8, on RaeaFs
+ of each, in TypeScript on JavaScriptCore, on RaeaFs
And wsx keeps anything compiled to WASI (Wasmtime, Pulley on the iPhone): each of its tools the shell lacks (jaq)
is a command run with only the project folder visible, under its fuel and memory limits; a WASI tool never
shadows a just-bash or raea command of the same name
@@ -95,6 +94,6 @@ Feature: @raea/shell, the agent's shell
every command's stdout and exit equal probe-golden.json (recorded on the Mac) on both machines
(react/ios/test.sh runs it on the iPhone)
Scenario: just-bash's own suite
- Then shell/tools/upstream.sh runs just-bash's tests at the pinned tag on raea's V8, bundled as upstream bundles its
+ Then shell/tools/upstream.sh runs just-bash's tests at the pinned tag on raea's JavaScriptCore runtime, bundled as upstream bundles its
browser build; the parts that need Node by design (python3, sqlite3 and js-exec's workers, the real-disk
filesystems, the CLI, curl's mocked transport) are listed, not run
diff --git a/skills/README.md b/skills/README.md
new file mode 100644
index 00000000..fa4a9dc1
--- /dev/null
+++ b/skills/README.md
@@ -0,0 +1,11 @@
+# skills
+
+Agent skills for working with raea, in the `SKILL.md` format agents such as Claude Code load.
+
+- [`raea/`](raea/SKILL.md): write, render and check `@raea/motion` compositions, cut footage by its words, build
+ small games, and drive void through its MCP server.
+- [`raea-bevy/`](raea-bevy/SKILL.md): 3D scenes and games in `@raea/motion/3d`, drawn by Bevy, and how to extend
+ that SDK.
+
+The repository's Claude Code plugin (`.claude-plugin/`) installs them. void's agent learns from a longer library of
+the same material in [`void/prompts/craft/`](../void/prompts/craft).
diff --git a/skills/raea-bevy/SKILL.md b/skills/raea-bevy/SKILL.md
index 1c4e9143..3c6f1929 100644
--- a/skills/raea-bevy/SKILL.md
+++ b/skills/raea-bevy/SKILL.md
@@ -36,7 +36,8 @@ the topic files here are links to those.
4. Name parts that come and go (`<Mesh name="...">`); parts are matched by name, else kind and shape in tree order.
5. A part's shape is fixed; animate position, rotation, scale, colour, opacity, glow, roughness, metalness.
6. One camera (the first), one set of effects (the first frame's).
-7. Render and look: `raea-motion render EDIT.tsx --frame N -o F.png`.
+7. Import every component you use from `@raea/motion/3d` (hooks, `Sequence`, `staticFile` from `@raea/motion`).
+8. Render and look: `raea-motion render EDIT.tsx --frame N -o F.png`.
## Checks in the raea repo
diff --git a/skills/raea/SKILL.md b/skills/raea/SKILL.md
index dbd0b854..b7bd683c 100644
--- a/skills/raea/SKILL.md
+++ b/skills/raea/SKILL.md
@@ -69,7 +69,7 @@ where the transcript says. Fix the composition and render again.
- Writing guides (pacing, captions, layout, sound, games, 3D): `void/prompts/craft/motion.md` and
`void/prompts/craft/motion/*.md`.
-- The SDK's behaviour: `motion/spec/motion.feature`; the APIs agents use most: `motion/spec/surface.md`.
+- The SDK's behaviour: `motion/spec/motion.feature`; what 3D reaches: `motion/docs/bevy-coverage.md`.
- void, the Mac app: talk to it, or let an agent drive it. With void running, add its MCP server:
`claude mcp add --transport http void http://127.0.0.1:7457/mcp` (tools: state, screenshot, send, act, wait, logs,
hear, say).
diff --git a/tabular/.gitignore b/tabular/.gitignore
deleted file mode 100644
index a230a78a..00000000
--- a/tabular/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-.venv/
-__pycache__/
diff --git a/tabular/docs/tabular.feature b/tabular/docs/tabular.feature
deleted file mode 100644
index 129c4e90..00000000
--- a/tabular/docs/tabular.feature
+++ /dev/null
@@ -1,374 +0,0 @@
-Feature: The tabular plane: tabular dreaming, a tabular in-context model scoring futures from rows of the past
- raea keeps everything as rows: the edit's tables and its move log (rdb, rrl), the agent's runs and their grades,
- the facts lifted from finished edits, the columns ingest computes per source frame. A tabular foundation model
- (TabICL v2) learns a task from labelled rows in context, with no training loop, and predicts the label of new
- rows. This plane is where raea does that. M4 Mac, 2026-10-14. Backlog: ../../the roadmap, Rule "Track C: tabular
- dreaming" (C1 is this doc), with Track D's predictive edit as its main customer.
-
- Background:
- Given the venv: tabular/.venv, Python 3.12, built from tabular/requirements.txt (tabicl 2.0.2, torch 2.14.1,
- scikit-learn 1.9.1, numpy 2.5.4, every package pinned); 719 MB on disk, git-ignored
- And TabICL v2's classifier checkpoint, tabicl-classifier-v2-20260212.ckpt (105 MB), in the Hugging Face cache
- (~/.cache/huggingface/hub/models--jingang--TabICL); TabICL downloads it on first use
- And every script prints its numbers to stdout; nothing here writes into the edit
-
- Rule: What "tabular dreaming" means here
- The phrase is the founder's (2026-10-14: "tabular dreaming with a tabicl or similar type model", and the roadmap:
- "work specifically on tabular dreaming and previz and the predictive edit"). No file, memory or transcript defines
- it further; this definition is proposed from the evidence and needs the founder's yes:
- - the roadmap, Track D3: "predict a move's effect ... used to rank the agent's candidate moves before rendering
- (tabular dreaming's natural use)"
- - Tablua (~/tablua/README.md): a tabular model "learns from those rows which moves make progress" and scores every
- candidate move before one is taken
- "scores states and candidate actions or forks", TabICLv2 or TabDPT as the in-context option, not TabPFN
- - the G6 scripts below, which already predict an outcome (a pass, a cut, Kelly's style) from rows before paying
- for the thing itself
-
- Scenario: The definition (proposed)
- Given rows of what happened: a state, the move or edit made, and how it turned out
- When a tabular model is given those rows as context and a new row whose outcome isn't known yet
- Then it imagines the outcome: will this run pass, will this move make the edit better, is this frame a cut,
- does this edit look like Kelly's; that is the dream
- And the dream is cheap (one forward pass, no render, no model call, no agent turn) and is only used where the
- real outcome is expensive: rendering, judging, a full agent run
- And a dream ranks or prunes; the real check (the brief, the render, the judge) still decides
- And it is not generating synthetic rows; that reading of "dreaming" (Dreamer-style rollouts in a learned world
- model) is a later step, listed under what's next
-
- Rule: Where it lives, and why
- Scenario: tabular/ is its own plane, beside engine/, rdb/, rrl/, meaning/, kgpu/ and media/
- Then tabular/ is a folder, not a crate: today it is Python benches over rows the other planes produce, the way
- meaning/bench/ holds meaning's Python benches
- And it doesn't go in rdb or rrl, because its rows come from everywhere (eval runs in ~/host, rdb's lifted
- facts, meaning's per-frame columns, rrl's move log), and it must not pull torch into a Rust crate's build
- And it doesn't go in meaning, because meaning computes columns from footage; this plane learns from columns
- And when a dream runs inside the agent's loop, the model is ported (the Candle port in
- ~/.cache/moonsplice/plugins/workspace/tabicl, MIT, parity-checked against tabicl 2.0.2, is the starting point)
- and tabular/ becomes a crate; until then it stays Python
- And the layout:
- | path | what |
- | tabular/requirements.txt | the venv's pins |
- | tabular/bench/ | the plane's own scripts (eval_outcomes.py, moved here from meaning/bench) |
- | tabular/docs/tabular.feature | this file |
- | tabular/.venv | the venv every TabICL script in raea uses (git-ignored) |
- And scripts elsewhere use this venv and stay where their data is:
- | script | plane | why it stays there |
- | meaning/bench/cuts_fusion.py | meaning | per-frame signals from meaning's columns; documented in meaning/docs/meaning.feature |
- | meaning/bench/cuts_eval.py | meaning | the detector it fuses against (no tabular model) |
- | rdb/examples/lift/style_models.py | rdb | the lifted facts and style.py's split (G3/G6) |
-
- Rule: Models and licences (checked 2026-10-14)
- Scenario: Which tabular models may be used
- Given the candidates
- | model | code licence | weights licence | status |
- | TabICL v2 | BSD-3-Clause (LICENSE in the tabicl 2.0.2 wheel, Soda team @ Inria) | BSD-3-Clause (model card, jingang/TabICL) | used |
- | TabDPT | Apache-2.0 (layer6ai-labs/TabDPT-inference) | not yet checked (Layer6/TabDPT on Hugging Face) | the alternative; check the weights first |
- | gradient boosting (scikit-learn HistGradientBoosting) | BSD-3-Clause | none | the baseline every result is measured against |
- | TabPFN 2.5 and later | Prior Labs' licence | commercial use needs a licence | not used: the founder's preference (2026-10-12) and the licence |
- Then TabICL v2 is the in-context model, and every result here is reported next to gradient boosting on the same
- split; a tabular model that doesn't beat it isn't used for that task
-
- Rule: What's measured (2026-10-14, M4, TabICL v2 on CPU, 8 estimators, random_state 0)
- Scenario: Dream a run's outcome from its first five tool calls (tabular/bench/eval_outcomes.py)
- Given every graded run under ~/host/agent/evals/runs with result.json and events.json, infra failures
- excluded: 2,705 rows; the oldest 70% (1,893) as context, the newest 812 to score; 68% pass in both
- And per row: the scenario's family, severity and length, how many Thens and Givens, and the run up to its 5th
- tool call (which tools, errors, spend so far)
- Then held-out AUC, and a replay that stops a run at its 5th call when P(pass) is under a threshold chosen
- out-of-fold on the older runs (at most 5% of passes lost there):
- | model | AUC | replay threshold | runs stopped | spend saved | passes lost |
- | gbm | 0.614 | 0.20 | 93 | $1.91 of $16.30 (12%) | 39 of 555 |
- | TabICL v2 | 0.589 | 0.46 | 204 | $2.72 of $16.30 (17%) | 114 of 555 |
- | family pass rate (no model) | 0.546 | | | | |
- And so the first calls carry a little signal over the scenario alone, gradient boosting beats TabICL here, and
- neither is good enough to stop runs: the threshold chosen on older runs loses 7% (gbm) and 21% (TabICL) of the
- newer passes, not 5%; the runs drift over time (prompts and tools change), which a time split exposes
- And it took 5 min 14 s in all (TabICL's three out-of-fold fits included)
-
- Scenario: Dream whether an edit is Kelly's (rdb/examples/lift/style_models.py)
- Given style.py's cards (2,309: 1,500 of Kelly's finished edits, 809 from the corpus), 11 lifted facts, half to
- fit and half to score (a seeded shuffle, not grouped by source)
- Then held-out AUC:
- | model | all 11 facts | without duration |
- | gbm | 0.911 | 0.875 |
- | TabICL v2 | 0.930 | 0.890 |
- | the brief (3 readable scenarios, style.py) | 0.73 | |
- And TabICL beats gradient boosting by 0.015-0.019 here; duration alone carries 0.244 of TabICL's AUC (shuffled),
- then the longest caption's word count (0.042) and the share of time with text (0.031)
- And it took 3 min 3 s
-
- Scenario: Dream which frames are cuts (meaning/bench/cuts_fusion.py, documented in meaning's doc)
- Given the 20 newest of Buddy's renders with a timeline (58 visible cuts), half to fit and half to score (a
- seeded shuffle of renders), per-frame rows of ffmpeg's scene score, the luma change and the SigLIP 2
- neighbour distance with their local context; a frame is a cut if it's the nearest frame to a timeline cut
- Then held-out precision, recall and F1 within 0.1 s, thresholds chosen out-of-fold on the fitting renders:
- | model | P | R | F1 | threshold | out-of-fold F1 |
- | the current detector, re-tuned | 0.533 | 0.783 | 0.634 | | |
- | gbm | 0.645 | 0.783 | 0.707 | 0.05 | 0.697 |
- | TabICL v2 (context capped at 6,000 rows) | 0.562 | 0.783 | 0.655 | 0.35 | 0.801 |
- And both models beat the detector at the same recall; gradient boosting beats TabICL by 0.052 F1, and TabICL's
- out-of-fold F1 (0.801) didn't hold on the scored renders (0.655): its threshold doesn't transfer
- And the first run (signals computed for 20 renders) passed the lane's 15 minutes and was stopped by its own
- 14-minute cap before printing; with signals cached, gbm took 1 min 32 s and TabICL 4 min 56 s, run apart
- And 10 renders per side is small: one render more or less moves F1 by several hundredths
-
- Rule: Every result keeps to the source map
- Every split groups by source, as ../../the roadmap's Rule "The source map is the join key" sets out (that Rule
- is the canon; this one only says what it means for this plane).
-
- Scenario: What the source map changes here
- Then an edit's row takes its features from its sources' ingest columns at the mapped source time, and
- provenance (which take, where in it, reuse, the source-time jump at each cut) is a column
- And the splits above don't group by source yet: eval_outcomes.py splits by time, style_models.py and
- cuts_fusion.py by a seeded shuffle of cards or renders, and Buddy's renders reuse the same takes, so their
- held-out numbers may be optimistic; regrouping them by source hash is step C2
-
- Rule: Planned: a tabular vision model for video (CV in ../../the roadmap's Track C)
- Scenario: Columns from what the vision and audio models saw, tasks learned in context (not built)
- Given rows that are frame windows, shots or clips, joined to their sources through the source map
- And columns at a width a tabular model handles: SigLIP 2 scores against a label table (ad-card.feature's) and
- YAMNet's class scores as readable columns, a fixed 32-64-dim projection (PCA or random) of each SigLIP 2 / CLIP-
- like embedding, Perception's numbers, and the edit's own rows
- And the columns built by kgpu as fused K kernels (projection, label gram, per-shot means and deltas, HDC
- transitions), each checked equal to its CPU interpreter as composite.k is; the tabular model itself runs on
- ONNX or Core ML, not in K
- When a task is given as a few labelled rows (good hooks, a creator's taste, cuts)
- Then the model learns it in context and labels the rest
- And the cautions hold: splits by source (GroupKFold over source hash), every column carries the embedding model's
- id and is rebuilt when the model changes, every projection is measured against the raw embedding with a plain
- classifier, every task against gradient boosting on the same columns, and each model's weights licence is
- checked before use
- And the first task is cuts (cuts_fusion.py's rows plus TransNetV2's probability), then good-vs-bad hooks from the
- graded eval runs
-
- Scenario: The CV column kernels: the spec kgpu builds to (2026-10-14; built)
- Given a clip's ingest folder (perception/perception.feature, `raea-perceive ingest`): siglip.f32 is n x 768 f32
- rows at 8 a second, L2-normalised, with siglip.json (source, model id, fps, n, dim); facts.json's shots give the
- spans (start, end in seconds; row = floor(t * fps))
- And a label table T, L x 768 f32, L2-normalised (SigLIP 2's text side over ad-card.feature's labels;
- knowledge/labels/*.table.json), and a fixed projection P, 768 x 64 f32, N(0, 1/64) from a recorded seed
- Then the kernels are
- | kernel | in | out | note |
- | project | X n x 768, P 768 x 64 | n x 64 f32 | X·P |
- | label gram | X n x 768, T L x 768 | n x L f32 | X·Tᵀ (cosines: both sides are normalised) |
- | span means | X n x d, spans k | k x d f32 | the rows of each shot averaged |
- | deltas | X n x d | n x d f32, and n f32 norms | row i minus row i-1 (row 0: zeros), and its length |
- | hdc transitions | X n x 768 | w x 128 u64 (8192 bits) | sign of 8192 seeded hyperplanes per row, then each 16-row window (2 s) every 8 rows bundled with position permutation, as meaning/bench/temporal's best method |
- And K is 32-bit integer (agreed with an agent session, 2026-10-14): siglip.f32 is quantised once to i32 at 2^15 and
- written beside the floats; P to 2^12 (project's output n x 64 at 2^27, with a float copy), the label gram at 2^30;
- span means and deltas are integer; the HDC hyperplanes are seeded integer-hash ±1 planes (as look_proj.k), not
- Gaussian, with a Rust CPU reference (raea_kgpu::cv_*_reference) that the benches call instead of numpy
- And each kernel is bit-exact against its CPU interpreter; the two float-valued kernels report their error
- against the exact f32 product (about 1e-4 relative, accepted: these are features measured against the raw
- embedding anyway); the outputs go to <ingest>/cv/<kernel>.{i32,f32,u64} with a JSON header (model id, seed,
- shape, scale), so a model change rebuilds them
- And meaning/bench/temporal's HDC result is re-measured once on the Rust reference's hash hyperplanes
- And YAMNet's per-patch scores (n x 521, 0.48 s hop) and embeddings (n x 1024) are a later input: ingest writes
- only the sound spans today
-
- Rule: C2, every split grouped by source
- Scenario: A run's outcome from its first five tool calls, grouped by footage (2026-10-15)
- Given eval_outcomes.py's 2,705 rows, each keyed by the footage its scenario edits (the take ids and asset files in
- its Givens: one name is one recording), 70 groups; GROUPED=1 scores 5-fold GroupKFold over them
- Then AUC: gradient boosting 0.561, TabICL 0.583, the family's pass rate 0.552 (on the time split: 0.614, 0.589,
- 0.546)
- And so part of gradient boosting's edge on the time split was recognising footage it had seen; TabICL holds;
- neither is far above the family alone
-
- Scenario: Kelly's style, grouped by client (tabular/bench/style_grouped.py, 2026-10-15)
- Given the 2,309 cards grouped by where they come from (Kelly's by client, the corpus's by folder; hashed in memory,
- only counts printed): 28 groups, 24 of them Kelly's clients; 5-fold GroupKFold
- Then AUC: gradient boosting 0.578, TabICL 0.586, against 0.911 and 0.930 on the shuffled split
- And so most of what looked like Kelly's style was recognising her clients' edits; the corpus has only 4 folders,
- so some folds hold no corpus at all, which makes pooled out-of-fold AUC rough; a corpus grouped finer is the fix
-
- Scenario: Cut fusion, grouped by source (meaning/bench/cuts_fusion.py GROUPED=1, 2026-10-15)
- Given 20 renders split so whole source groups (D1's table) go to one side: 14 groups, 10 renders a side
- Then held-out P/R/F1: the current detector 1.000/0.667/0.800, gradient boosting 0.867/0.542/0.667, TabICL
- 0.634/0.958/0.763; on the shuffled split fusion won (0.707 vs 0.634), grouped it loses
- And so the fused signals' edge came from footage seen on both sides; the current detector (now in Rust, A4) stays
-
- Scenario: CV's first task: cuts with TransNetV2's probability as a column (2026-10-15)
- Given cuts_fusion.py with TRANSNET=1: the per-frame shot-end probability (Python ONNX cache, else Rust through
- raea-perceive), here, its max over 2 frames either side, and whether it's a local peak, beside the other signals;
- the same grouped split (14 source groups, 10 renders a side)
- Then held-out F1: gradient boosting 0.595 (0.667 without it), TabICL 0.703 (0.763 without), the current detector
- 0.800
- And so on this split the column doesn't help the fusion models (10 training renders is little to learn from); the
- current detector stays the cut finder, and TransNetV2 stays the cut's kind (previz B4)
-
- Rule: D1, the table of edits with outcomes (the roadmap Track D)
- Scenario: What a row holds (tabular/bench/edits_table.py, 2026-10-15)
- Given every graded eval run that left an export (~/host/agent/evals/runs; infra failures out)
- Then one row per run, in ~/.cache/raea-tabular/edits.jsonl
- | columns | from |
- | run, scenario, family, when | the run folder and result.json |
- | export (sha-256), sources (sha-256s), source_group | the export, and the videos its .w.html plays, hashed: the source map's key; the group is one id per set of sources, for splits by source |
- | passed, checks_passed, checks_total, problems, rubric_lines | result.json |
- | goals_met, goals_partly, goals_unmet, judge_confidence | result.json's goal_judge |
- | tool_calls, tool_errors, seconds_spent, tokens | result.json |
- | seconds, shots, cuts_per_second, moving_share, brightness, face_share, closeup_share, words_per_second, speech_share, music_share | `raea-perceive analyze` on the export (all Rust), cached by its hash |
- And the build stops at --budget seconds and continues from its caches on the next run (lane jobs end at 15 min)
- And the overnight loop's runs (rrl/examples/overnight) join later: their scoring differs (hidden expects)
- And the export features stand in for what previz can compute before rendering (the rows and the sources'
- ingest give the same shots, faces, words and sound); D2 measures whether they predict the grade
-
- Scenario: The table built (2026-10-15)
- Then 659 rows (413 passed, 62.7%), all with export features (the Rust analyze took 5.4 s an export, over five
- 13-minute lane passes), 67 sets of sources by exact hash (232 groups once runs without a resolvable source fall
- back to themselves), 274 rows with the goal judge's verdicts
-
- Rule: D2, does what an edit shows predict its grade?
- Scenario: The export's features against `passed` (tabular/bench/edit_outcomes.py, 2026-10-15)
- Given D1's 659 rows: the ten export features and the scenario's family
- Then AUC on the newer 30% (time split): the family's pass rate 0.629; gradient boosting 0.615 with the family,
- 0.594 without; TabICL 0.649 with, 0.598 without
- And grouped by source (5-fold): family 0.636, gradient boosting 0.620, TabICL 0.645
- And the features that carry it most: the family, then cuts a second and the moving share
- And so what the edit shows adds 0.01-0.02 over the scenario alone, and only for TabICL: `passed` grades whether
- Buddy did what was asked (the checks), not how good the edit is; D2's next is a label of quality (the judge's
- met share, Kelly's picks, ad outcomes) rather than pass/fail
-
- Rule: D3, does a move help? (tabular dreaming's natural use)
- Scenario: Every overnight move, labelled by replay (tabular/bench/move_effects.py, 2026-10-15)
- Given the overnight loop's scored runs (rrl/examples/overnight/runs, read only; each state checked in a copy of the
- run's project) and their move logs (the edit before each move): each move labelled by the scenario's hidden
- expects (the bank's, never shown to the agent) on the edit before and after it: 804 moves in 47 scenarios, 326
- help, 27 hurt, 451 change nothing; rows in ~/.cache/raea-tabular/moves.jsonl
- Then grouped by scenario (5-fold), predicting "helps": gradient boosting 0.855, TabICL 0.874 on what the agent
- could know, 0.917 and 0.931 adding the share of hidden expects already holding (which only the scorer knows);
- the move kind's rate 0.539
- And the features say what carries it: the move's place in its run alone gives 0.869 (n alone 0.753: 66% of first
- moves help, 18% of fourth), but how many moves the run makes is the future, and the move's own content (its
- kind and size) gives 0.565
- And so, today, "will this move help" is mostly "is it the first real move": ranking candidate moves before
- applying them (D5's dreaming) needs features of what the move changes against what was asked
-
- Scenario: The move against what was asked (2026-10-15)
- Given features the agent can see, without the move's position: its words' overlap with the founder's request (and
- that over the move's words), whether the row or rule it names is in the request, whether it existed before, how
- many numbers it sets, whether it's an expect, its kind and size
- When the replay is rebuilt (615 moves in the same 47 scenarios: the build's lane budget ends before the last runs)
- Then grouped by scenario: gradient boosting 0.658, TabICL 0.682, against 0.565 for kind and size alone
- And so a move's fit to the request is a real, modest signal for ranking candidates before applying them; the
- next step is the move's effect on the brief's own expects (agent-visible), which `rrl check` gives per move
-
- Rule: C4, the dream used offline: what skipping low-scored moves would do (2026-10-15)
- Scenario: A replay over the overnight moves
- Given move_effects.py on 942 moves (the overnight loop kept adding runs; 313 help), TabICL's out-of-fold scores
- from the move-against-request features (grouped by scenario: AUC 0.720, gradient boosting 0.678)
- When every move scored under a threshold is skipped
- Then at 0.2: 460 skipped, 380 of the 629 moves that didn't help (60%) and 80 of the 313 that did (26%); at 0.5:
- 629 skipped, 489 not helping and 140 helping
- And so it isn't a gate (a quarter of the helpful moves lost at the loosest threshold); it's a ranking hint for
- choosing among candidates, which is how D5 would use it; wiring it into the overnight loop (D4) is rowlio-44's
- call, offered with these numbers
- And rowlio-44 took D4 deterministically (2026-10-15, "c10 candidate"): when a move is the fourth single
- `row.col = value` move in a row on one column, apply's reply suggests one set rule; cycle 10 measures it. The
- model score isn't wired (it would put the tabular venv in rrl's process); a softer score hint can be tested
- later from rrl's move log
-
- Rule: Layouts judged before they render (the roadmap K3, 2026-10-15)
- Scenario: The graded runs have almost nothing to learn from
- Given tabular/bench/textfit_table.py: `raea lint --layout` at six frames of each graded the host app composition
- When it runs over 641 of 659 (after three kinds of false alarm found there and fixed in the lint)
- Then one is flagged, and it's real (fx-08-zoom-shake throws its text up to 48 px off the frame; its judge passed
- it); no judge complained about text fit; one positive is nothing to train on
-
- Scenario: Generated plans, labelled by the lint, predicted from the plan alone
- Given tabular/bench/layout_plans.py: 240 card rows like the founder's screenshot (3-8 cards of 120-260 px, titles
- 16-24 px over spaced monospace labels 12-17 px, words drawn from a list), each linted at one frame: 87 spill, 85
- have a crowded row, 112 either; features only what a plan knows before rendering (counts, widths, sizes,
- spacing, the estimated widths of the widest title, label and word against the card's inner width)
- When a model is scored split by plan family (GroupKFold, 30 families of 8)
- Then spills: the plain estimate (widest label over inner width) AUC 0.946, gradient boosting 0.997, TabICL 0.993
- And crowded rows: the estimate 0.883, gradient boosting 0.951, TabICL 0.956
- And either: 0.969, 0.972, 0.974
- And so a layout can be scored before any render, and the model earns its keep over the estimate on crowding (the
- interaction of width, size and words); the caveat: one font family and one layout shape, so the next set is the
- agent's real decks and cards varied the same way
-
- Rule: The base is gradient-boosted trees, in Rust (the founder, 2026-10-15: "run it in rust", "no sidecars, no python")
- Scenario: Why not TabICL as the base
- Given every grouped comparison so far: TabICL and gradient boosting within a few hundredths of each other (C2, D3,
- K3), TabICL's memory growing with its training rows (it attends over all of them), PyTorch only, and no saved
- model to ship
- Then trees are the base and TabICL a small-table cross-check; LightGBM was tried first and set aside: its Rust
- crate builds LightGBM's C++, a sidecar, and in Python its OpenMP clashed with PyTorch's (a segfault when torch
- loaded first)
-
- Scenario: raea-gbm (tabular/gbm), 2026-10-15
- Given Perpetual 3.0.0-rc.2 (pure Rust, Apache-2.0; boosting that sets its own learning rate and stopping from one
- budget, 0.5 here; the 2.x releases need nightly Rust), sklearn's GroupKFold done in Rust (groups largest first to
- the lightest fold), AUC by rank, the models saved as JSON and reloaded; unit tests pass (3 of 3: AUC by rank,
- groups never split, a threshold learned)
- When `raea-gbm cv` runs over the tables the benches built
- Then the layout plans' spills: AUC 0.997 (the plain width estimate 0.946; sklearn's gradient boosting 0.997)
- And their crowded rows: 0.946 (estimate 0.883; TabICL 0.956, sklearn's 0.951)
- And the agent's moves, does one help: 0.712 (TabICL 0.720)
- And each cross-validation takes 0.1-0.25 s on one thread, and every saved model reloads and predicts the same
- And so C5 (a winning model out of Python) is done: the scorer and its training both run in raea's Rust, ready for
- rdb, the overnight loop or the phone; ranking candidates (dreaming proper) is Perpetual's ranking objective next
-
- Scenario: Dreaming proper: rank a content's layouts before rendering any (raea-gbm rank, 2026-10-15)
- Given 40 contents (a row of 3-8 cards, titles over spaced labels) each laid out 8 ways (card width 120-260 px,
- title 16-24 px, label 12-17 px, spacing 0-3 px), every layout linted by raea's engine (135 clean, 58 a crowded row
- only, 127 spilling), all generated and labelled from Rust; the best layout is the clean one with the largest
- type (a spill 0, crowded 1, clean 2 plus up to 4 for title and label size)
- When Perpetual's list-wise ranking (ListNet) learns from the plans' numbers alone, contents held out by fold
- Then its top pick is clean for 85% of the held-out contents, never spills, and scores 0.858 of the best layout's
- score; picking the roomiest layout is always clean but scores 0.714 (small type), the largest type 0.433 (it
- spills 43% of the time), a random pick 0.365
- And scored only clean or not, the roomiest layout wins (40 of 40 against the model's 39): the model earns its
- place on the trade-off, how big the type can go before the row breaks
- And so the dreaming loop exists in Rust end to end: candidates generated, labelled by the engine, ranked before
- rendering; what it needs next is candidates and labels from real edits (the agent's own proposals, your picks)
-
- Scenario: Decks and dashboards ranked before rendering (raea-gbm decks, the roadmap K3, 2026-10-15)
- Given four slide shapes an agent builds (tabular/gbm/src/deck.rs): KPI tiles (a number, its label, a change pill),
- fixed-width pills, dashboard cards (a title over a two-line note, fixed height) and an agenda (numbered steps with
- an owner, the founder's screenshot); 80 contents (20 per shape) each laid out 8 ways (columns, component width and
- height, three text sizes, letter spacing, padding, one of four fonts: Inter, Avenir Next, Georgia, Menlo), every
- layout linted by raea's engine at 1920x1080: 360 clean, 77 a crowded row only, 203 spilling (KPI tiles spill
- most, 75 of 160; dashboard cards least, 25 of 160); the best layout the clean one with the largest type
- When rank.rs's ListNet (now `score_ranking`, shared) learns from the plan's numbers alone (each text kind's
- estimated width over the inner width, the estimated height over the room), contents held out by fold
- Then its top pick scores 0.821 of the best layout; the roomiest layout 0.621, the largest type 0.315 (it spills
- 61%), a random pick 0.448; 40 contents gave the same order (0.843, 0.638, 0.347, 0.458)
- But its pick spills on 7.5% of contents against the roomiest's 3.8%: it leans to bigger type, and where the
- spill is a few pixels it loses; a gate that keeps its pick only when the lint passes (or the estimate is under
- 1) closes that, at the cost of one lint per pick
- And so K3's ranking holds across shapes and fonts, not only one row of cards
-
-
- Rule: What's next
- Scenario: The steps after C1, in order
- Then C2: regroup every split above by source hash and re-measure (the numbers above are the before)
- And C3: D1's table of edits with outcomes becomes this plane's main context: rows are an edit and a move from
- rrl's move log, the label is whether the outcome improved (brief held, judge score, pass); TabICL vs gbm,
- split by source and time
- And C4 (replayed offline 2026-10-15, above): the dream used: rank the agent's candidate moves before rendering
- (D3), and report in the overnight loop (rrl/examples/overnight) whether it would have picked better moves or
- stopped doomed runs
- And C5: if a tabular model wins a task, port it out of Python for the loop (the Candle port of TabICL v2, or
- ONNX / Core ML), and tabular/ becomes a crate
- And later, and only if asked: dreaming as generation (synthetic rows or imagined rollouts in a learned world
- model over the move log)
-
- Rule: How to re-run
- Scenario: From a clean checkout
- Given uv and Homebrew's python3.12
- When the venv is built:
- """
- cd ~/raea/tabular
- uv venv --python /opt/homebrew/bin/python3.12 .venv
- LANE_FOR=raea-23 lane quick -- uv pip install --python .venv/bin/python -r requirements.txt
- """
- And the benches run through the eval lane, each under 15 minutes:
- """
- cd ~/raea/tabular/bench && LANE_FOR=raea-23 lane eval -- ../.venv/bin/python eval_outcomes.py --k 5
- cd ~/raea/rdb/examples/lift && LANE_FOR=raea-23 lane eval -- ~/raea/tabular/.venv/bin/python style_models.py
- cd ~/raea/meaning/bench && LANE_FOR=raea-23 lane eval -- ~/raea/tabular/.venv/bin/python cuts_fusion.py --renders 20 --models gbm (then --models tabicl: each under 15 minutes)
- """
- Then MODELS=gbm (or tabicl) runs one model in eval_outcomes.py, DROP=duration drops a fact in style_models.py,
- and cuts_fusion.py's first run computes its signals into ~/.cache/raea-meaning/signals (later runs reuse them)
diff --git a/tabular/gbm/Cargo.lock b/tabular/gbm/Cargo.lock
deleted file mode 100644
index 4d4e0d1c..00000000
--- a/tabular/gbm/Cargo.lock
+++ /dev/null
@@ -1,1347 +0,0 @@
-# This file is automatically @generated by Cargo.
-# It is not intended for manual editing.
-version = 4
-
-[[package]]
-name = "adler2"
-version = "2.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
-
-[[package]]
-name = "anstream"
-version = "1.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d"
-dependencies = [
- "anstyle",
- "anstyle-parse",
- "anstyle-query",
- "anstyle-wincon",
- "colorchoice",
- "is_terminal_polyfill",
- "utf8parse",
-]
-
-[[package]]
-name = "anstyle"
-version = "1.0.14"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000"
-
-[[package]]
-name = "anstyle-parse"
-version = "1.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e"
-dependencies = [
- "utf8parse",
-]
-
-[[package]]
-name = "anstyle-query"
-version = "1.1.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
-dependencies = [
- "windows-sys 0.61.2",
-]
-
-[[package]]
-name = "anstyle-wincon"
-version = "3.0.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
-dependencies = [
- "anstyle",
- "once_cell_polyfill",
- "windows-sys 0.61.2",
-]
-
-[[package]]
-name = "anyhow"
-version = "1.0.104"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470"
-
-[[package]]
-name = "approx"
-version = "0.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6"
-dependencies = [
- "num-traits",
-]
-
-[[package]]
-name = "autocfg"
-version = "1.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
-
-[[package]]
-name = "bitflags"
-version = "2.13.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
-
-[[package]]
-name = "block2"
-version = "0.6.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5"
-dependencies = [
- "objc2",
-]
-
-[[package]]
-name = "bumpalo"
-version = "3.20.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
-
-[[package]]
-name = "bytemuck"
-version = "1.25.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "95832e849adfb21180ccb6826a99da14e5d266ae5c2e668e1602cf234f153797"
-
-[[package]]
-name = "byteorder"
-version = "1.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
-
-[[package]]
-name = "byteorder-lite"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495"
-
-[[package]]
-name = "bytes"
-version = "1.12.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
-
-[[package]]
-name = "cfg-if"
-version = "1.0.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
-
-[[package]]
-name = "chacha20"
-version = "0.10.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06"
-dependencies = [
- "cfg-if",
- "cpufeatures",
- "rand_core",
-]
-
-[[package]]
-name = "clap"
-version = "4.6.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946"
-dependencies = [
- "clap_builder",
- "clap_derive",
-]
-
-[[package]]
-name = "clap_builder"
-version = "4.6.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d"
-dependencies = [
- "anstream",
- "anstyle",
- "clap_lex",
- "strsim",
-]
-
-[[package]]
-name = "clap_derive"
-version = "4.6.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f9c751b79415d4e559e3d1fcf128e09e720eb673a06d26cf6f392d37d75b66e0"
-dependencies = [
- "heck",
- "proc-macro2",
- "quote",
- "syn 3.0.9",
-]
-
-[[package]]
-name = "clap_lex"
-version = "1.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486"
-
-[[package]]
-name = "colorchoice"
-version = "1.0.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
-
-[[package]]
-name = "console"
-version = "0.15.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "054ccb5b10f9f2cbf51eb355ca1d05c2d279ce1804688d0db74b4733a5aeafd8"
-dependencies = [
- "encode_unicode",
- "libc",
- "once_cell",
- "unicode-width",
- "windows-sys 0.59.0",
-]
-
-[[package]]
-name = "cpufeatures"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566"
-dependencies = [
- "libc",
-]
-
-[[package]]
-name = "crc32fast"
-version = "1.5.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "01a7799fd6b852db0e61728dde9a204c423b44d689dbd432522543614b490e78"
-dependencies = [
- "cfg-if",
-]
-
-[[package]]
-name = "crossbeam-deque"
-version = "0.8.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "622f3fc73690be383c7214310406f28a90e6edeadc3cea882f9d71e495b9711a"
-dependencies = [
- "crossbeam-epoch",
- "crossbeam-utils",
-]
-
-[[package]]
-name = "crossbeam-epoch"
-version = "0.9.21"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d"
-dependencies = [
- "crossbeam-utils",
-]
-
-[[package]]
-name = "crossbeam-utils"
-version = "0.8.23"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6"
-
-[[package]]
-name = "dispatch2"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e0e367e4e7da84520dedcac1901e4da967309406d1e51017ae1abfb97adbd38"
-dependencies = [
- "bitflags",
- "block2",
- "objc2",
-]
-
-[[package]]
-name = "either"
-version = "1.19.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
-
-[[package]]
-name = "encode_unicode"
-version = "1.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0"
-
-[[package]]
-name = "fdeflate"
-version = "0.3.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e6853b52649d4ac5c0bd02320cddc5ba956bdb407c4b75a2c6b75bf51500f8c"
-dependencies = [
- "simd-adler32",
-]
-
-[[package]]
-name = "flate2"
-version = "1.1.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e634e2e0ebac1ee034020da1ca582e17ffe4e0f5e985823721e168928136dcb"
-dependencies = [
- "crc32fast",
- "miniz_oxide 0.9.1",
- "zlib-rs",
-]
-
-[[package]]
-name = "futures-core"
-version = "0.3.34"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
-
-[[package]]
-name = "futures-task"
-version = "0.3.34"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
-
-[[package]]
-name = "futures-util"
-version = "0.3.34"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
-dependencies = [
- "futures-core",
- "futures-task",
- "pin-project-lite",
- "slab",
-]
-
-[[package]]
-name = "getrandom"
-version = "0.4.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
-dependencies = [
- "cfg-if",
- "libc",
- "r-efi",
- "rand_core",
-]
-
-[[package]]
-name = "heck"
-version = "0.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
-
-[[package]]
-name = "image"
-version = "0.25.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "85ab80394333c02fe689eaf900ab500fbd0c2213da414687ebf995a65d5a6104"
-dependencies = [
- "bytemuck",
- "byteorder-lite",
- "moxcms",
- "num-traits",
- "png",
-]
-
-[[package]]
-name = "indicatif"
-version = "0.17.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "183b3088984b400f4cfac3620d5e076c84da5364016b4f49473de574b2586235"
-dependencies = [
- "console",
- "number_prefix",
- "portable-atomic",
- "unicode-width",
- "web-time",
-]
-
-[[package]]
-name = "is_terminal_polyfill"
-version = "1.70.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
-
-[[package]]
-name = "itoa"
-version = "1.0.18"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
-
-[[package]]
-name = "js-sys"
-version = "0.3.106"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5"
-dependencies = [
- "cfg-if",
- "futures-util",
- "wasm-bindgen",
-]
-
-[[package]]
-name = "libc"
-version = "0.2.190"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78"
-
-[[package]]
-name = "log"
-version = "0.4.34"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
-
-[[package]]
-name = "memchr"
-version = "2.8.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
-
-[[package]]
-name = "miniz_oxide"
-version = "0.8.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
-dependencies = [
- "adler2",
- "simd-adler32",
-]
-
-[[package]]
-name = "miniz_oxide"
-version = "0.9.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b63fbc4a50860e98e7b2aa7804ded1db5cbc3aff9193adaff57a6931bf7c4b4c"
-dependencies = [
- "adler2",
- "simd-adler32",
-]
-
-[[package]]
-name = "moxcms"
-version = "0.8.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bb85c154ba489f01b25c0d36ae69a87e4a1c73a72631fc6c0eb6dde34a73e44b"
-dependencies = [
- "num-traits",
- "pxfm",
-]
-
-[[package]]
-name = "muxide"
-version = "0.2.5"
-dependencies = [
- "anyhow",
- "clap",
- "indicatif",
- "serde",
- "serde_json",
- "thiserror 1.0.69",
-]
-
-[[package]]
-name = "ntapi"
-version = "0.4.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c3b335231dfd352ffb0f8017f3b6027a4917f7df785ea2143d8af2adc66980ae"
-dependencies = [
- "winapi",
-]
-
-[[package]]
-name = "num-bigint"
-version = "0.4.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367"
-dependencies = [
- "num-integer",
- "num-traits",
-]
-
-[[package]]
-name = "num-integer"
-version = "0.1.47"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b"
-dependencies = [
- "num-traits",
-]
-
-[[package]]
-name = "num-rational"
-version = "0.4.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824"
-dependencies = [
- "num-bigint",
- "num-integer",
- "num-traits",
- "serde",
-]
-
-[[package]]
-name = "num-traits"
-version = "0.2.19"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
-dependencies = [
- "autocfg",
-]
-
-[[package]]
-name = "number_prefix"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3"
-
-[[package]]
-name = "objc2"
-version = "0.6.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "08849bbd4767dfae9457696856ae1c84fe4e0281bbe4a7abff2d0e06fb7981f8"
-dependencies = [
- "objc2-encode",
-]
-
-[[package]]
-name = "objc2-audio-toolbox"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6948501a91121d6399b79abaa33a8aa4ea7857fe019f341b8c23ad6e81b79b08"
-dependencies = [
- "bitflags",
- "block2",
- "objc2",
- "objc2-foundation",
-]
-
-[[package]]
-name = "objc2-av-foundation"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "478ae33fcac9df0a18db8302387c666b8ef08a3e2d62b510ca4fc278a384b6c0"
-dependencies = [
- "bitflags",
- "block2",
- "dispatch2",
- "objc2",
- "objc2-avf-audio",
- "objc2-core-audio-types",
- "objc2-core-foundation",
- "objc2-core-graphics",
- "objc2-core-image",
- "objc2-core-media",
- "objc2-core-video",
- "objc2-foundation",
- "objc2-image-io",
- "objc2-media-toolbox",
- "objc2-quartz-core",
-]
-
-[[package]]
-name = "objc2-avf-audio"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "13a380031deed8e99db00065c45937da434ca987c034e13b87e4441f9e4090be"
-dependencies = [
- "bitflags",
- "block2",
- "objc2",
- "objc2-audio-toolbox",
- "objc2-core-audio-types",
- "objc2-foundation",
-]
-
-[[package]]
-name = "objc2-core-audio"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1eebcea8b0dbff5f7c8504f3107c68fc061a3eb44932051c8cf8a68d969c3b2"
-dependencies = [
- "dispatch2",
- "objc2",
- "objc2-core-audio-types",
- "objc2-core-foundation",
-]
-
-[[package]]
-name = "objc2-core-audio-types"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a89f2ec274a0cf4a32642b2991e8b351a404d290da87bb6a9a9d8632490bd1c"
-dependencies = [
- "bitflags",
- "objc2",
-]
-
-[[package]]
-name = "objc2-core-foundation"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536"
-dependencies = [
- "bitflags",
- "block2",
- "dispatch2",
- "libc",
- "objc2",
-]
-
-[[package]]
-name = "objc2-core-graphics"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e022c9d066895efa1345f8e33e584b9f958da2fd4cd116792e15e07e4720a807"
-dependencies = [
- "bitflags",
- "dispatch2",
- "objc2",
- "objc2-core-foundation",
- "objc2-io-surface",
-]
-
-[[package]]
-name = "objc2-core-image"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5d563b38d2b97209f8e861173de434bd0214cf020e3423a52624cd1d989f006"
-dependencies = [
- "objc2",
- "objc2-foundation",
-]
-
-[[package]]
-name = "objc2-core-media"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "05ec576860167a15dd9fce7fbee7512beb4e31f532159d3482d1f9c6caedf31d"
-dependencies = [
- "bitflags",
- "block2",
- "dispatch2",
- "objc2",
- "objc2-core-audio",
- "objc2-core-audio-types",
- "objc2-core-foundation",
- "objc2-core-video",
-]
-
-[[package]]
-name = "objc2-core-video"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d425caf1df73233f29fd8a5c3e5edbc30d2d4307870f802d18f00d83dc5141a6"
-dependencies = [
- "bitflags",
- "block2",
- "objc2",
- "objc2-core-foundation",
- "objc2-core-graphics",
- "objc2-io-surface",
- "objc2-metal",
-]
-
-[[package]]
-name = "objc2-encode"
-version = "4.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33"
-
-[[package]]
-name = "objc2-foundation"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272"
-dependencies = [
- "bitflags",
- "block2",
- "libc",
- "objc2",
- "objc2-core-foundation",
-]
-
-[[package]]
-name = "objc2-image-io"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32b0446e98cf4a784cc7a0177715ff317eeaa8463841c616cfc78aa4f953c4ea"
-dependencies = [
- "objc2",
- "objc2-core-foundation",
- "objc2-core-graphics",
-]
-
-[[package]]
-name = "objc2-io-kit"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "33fafba39597d6dc1fb709123dfa8289d39406734be322956a69f0931c73bb15"
-dependencies = [
- "libc",
- "objc2-core-foundation",
-]
-
-[[package]]
-name = "objc2-io-surface"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "180788110936d59bab6bd83b6060ffdfffb3b922ba1396b312ae795e1de9d81d"
-dependencies = [
- "bitflags",
- "objc2",
- "objc2-core-foundation",
-]
-
-[[package]]
-name = "objc2-media-toolbox"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "edd9fdde720df3da7046bb9097811000c1e7ab5cd579fa89d96b27d56781fb30"
-dependencies = [
- "objc2",
- "objc2-core-audio-types",
- "objc2-core-foundation",
- "objc2-core-media",
-]
-
-[[package]]
-name = "objc2-metal"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a0125f776a10d00af4152d74616409f0d4a2053a6f57fa5b7d6aa2854ac04794"
-dependencies = [
- "bitflags",
- "objc2",
- "objc2-foundation",
-]
-
-[[package]]
-name = "objc2-quartz-core"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "96c1358452b371bf9f104e21ec536d37a650eb10f7ee379fff67d2e08d537f1f"
-dependencies = [
- "bitflags",
- "objc2",
- "objc2-foundation",
-]
-
-[[package]]
-name = "objc2-video-toolbox"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "05bf9a3c14831a7d9641b0d81d87dd913ee238a012b2fde27db5a84b56f5df3e"
-dependencies = [
- "bitflags",
- "block2",
- "objc2",
- "objc2-core-foundation",
- "objc2-core-graphics",
- "objc2-core-media",
- "objc2-core-video",
- "objc2-foundation",
- "objc2-metal",
-]
-
-[[package]]
-name = "once_cell"
-version = "1.21.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
-
-[[package]]
-name = "once_cell_polyfill"
-version = "1.70.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
-
-[[package]]
-name = "perpetual"
-version = "3.0.0-rc.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f2379fd3a7fba412e037e8ec2f3814ea8d5a86be4445f3bcc3750c1d76edd41c"
-dependencies = [
- "approx",
- "log",
- "rand",
- "rayon",
- "serde",
- "serde_json",
- "sysinfo",
- "thiserror 2.0.21",
-]
-
-[[package]]
-name = "pin-project-lite"
-version = "0.2.17"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
-
-[[package]]
-name = "png"
-version = "0.18.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "60769b8b31b2a9f263dae2776c37b1b28ae246943cf719eb6946a1db05128a61"
-dependencies = [
- "bitflags",
- "crc32fast",
- "fdeflate",
- "flate2",
- "miniz_oxide 0.8.9",
-]
-
-[[package]]
-name = "portable-atomic"
-version = "1.15.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
-
-[[package]]
-name = "proc-macro2"
-version = "1.0.107"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
-dependencies = [
- "unicode-ident",
-]
-
-[[package]]
-name = "pxfm"
-version = "0.1.30"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d55d956fa96f5ec02be2e13af0e20391a5aa83d6a074e3ad368959d0fab299ea"
-
-[[package]]
-name = "quote"
-version = "1.0.47"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
-dependencies = [
- "proc-macro2",
-]
-
-[[package]]
-name = "r-efi"
-version = "6.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
-
-[[package]]
-name = "raea-gbm"
-version = "0.1.0"
-dependencies = [
- "perpetual",
- "raea-media",
- "serde_json",
-]
-
-[[package]]
-name = "raea-media"
-version = "0.1.0"
-dependencies = [
- "block2",
- "image",
- "muxide",
- "objc2",
- "objc2-av-foundation",
- "objc2-avf-audio",
- "objc2-core-foundation",
- "objc2-core-media",
- "objc2-core-video",
- "objc2-foundation",
- "objc2-video-toolbox",
- "re_mp4",
- "serde",
- "serde_json",
-]
-
-[[package]]
-name = "rand"
-version = "0.10.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af"
-dependencies = [
- "chacha20",
- "getrandom",
- "rand_core",
-]
-
-[[package]]
-name = "rand_core"
-version = "0.10.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69"
-
-[[package]]
-name = "rayon"
-version = "1.12.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d"
-dependencies = [
- "either",
- "rayon-core",
-]
-
-[[package]]
-name = "rayon-core"
-version = "1.13.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
-dependencies = [
- "crossbeam-deque",
- "crossbeam-utils",
-]
-
-[[package]]
-name = "re_mp4"
-version = "0.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "63d71dca1bc07c053ed67ccfd0b52df652192a6541fbdf85cc3d46142e20d709"
-dependencies = [
- "byteorder",
- "bytes",
- "num-rational",
- "serde",
- "serde_json",
- "thiserror 2.0.21",
-]
-
-[[package]]
-name = "rustversion"
-version = "1.0.23"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
-
-[[package]]
-name = "serde"
-version = "1.0.229"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
-dependencies = [
- "serde_core",
- "serde_derive",
-]
-
-[[package]]
-name = "serde_core"
-version = "1.0.229"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
-dependencies = [
- "serde_derive",
-]
-
-[[package]]
-name = "serde_derive"
-version = "1.0.229"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 3.0.9",
-]
-
-[[package]]
-name = "serde_json"
-version = "1.0.154"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
-dependencies = [
- "itoa",
- "memchr",
- "serde",
- "serde_core",
- "zmij",
-]
-
-[[package]]
-name = "simd-adler32"
-version = "0.3.10"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea"
-
-[[package]]
-name = "slab"
-version = "0.4.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
-
-[[package]]
-name = "strsim"
-version = "0.11.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
-
-[[package]]
-name = "syn"
-version = "2.0.119"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
-dependencies = [
- "proc-macro2",
- "quote",
- "unicode-ident",
-]
-
-[[package]]
-name = "syn"
-version = "3.0.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b"
-dependencies = [
- "proc-macro2",
- "quote",
- "unicode-ident",
-]
-
-[[package]]
-name = "sysinfo"
-version = "0.38.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92ab6a2f8bfe508deb3c6406578252e491d299cbbf3bc0529ecc3313aee4a52f"
-dependencies = [
- "libc",
- "memchr",
- "ntapi",
- "objc2-core-foundation",
- "objc2-io-kit",
- "windows",
-]
-
-[[package]]
-name = "thiserror"
-version = "1.0.69"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
-dependencies = [
- "thiserror-impl 1.0.69",
-]
-
-[[package]]
-name = "thiserror"
-version = "2.0.21"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e"
-dependencies = [
- "thiserror-impl 2.0.21",
-]
-
-[[package]]
-name = "thiserror-impl"
-version = "1.0.69"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "thiserror-impl"
-version = "2.0.21"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 3.0.9",
-]
-
-[[package]]
-name = "unicode-ident"
-version = "1.0.27"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
-
-[[package]]
-name = "unicode-width"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254"
-
-[[package]]
-name = "utf8parse"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
-
-[[package]]
-name = "wasm-bindgen"
-version = "0.2.129"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409"
-dependencies = [
- "cfg-if",
- "once_cell",
- "rustversion",
- "wasm-bindgen-macro",
- "wasm-bindgen-shared",
-]
-
-[[package]]
-name = "wasm-bindgen-macro"
-version = "0.2.129"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535"
-dependencies = [
- "quote",
- "wasm-bindgen-macro-support",
-]
-
-[[package]]
-name = "wasm-bindgen-macro-support"
-version = "0.2.129"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7"
-dependencies = [
- "bumpalo",
- "proc-macro2",
- "quote",
- "syn 3.0.9",
- "wasm-bindgen-shared",
-]
-
-[[package]]
-name = "wasm-bindgen-shared"
-version = "0.2.129"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6"
-dependencies = [
- "unicode-ident",
-]
-
-[[package]]
-name = "web-time"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb"
-dependencies = [
- "js-sys",
- "wasm-bindgen",
-]
-
-[[package]]
-name = "winapi"
-version = "0.3.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
-dependencies = [
- "winapi-i686-pc-windows-gnu",
- "winapi-x86_64-pc-windows-gnu",
-]
-
-[[package]]
-name = "winapi-i686-pc-windows-gnu"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
-
-[[package]]
-name = "winapi-x86_64-pc-windows-gnu"
-version = "0.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
-
-[[package]]
-name = "windows"
-version = "0.62.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580"
-dependencies = [
- "windows-collections",
- "windows-core",
- "windows-future",
- "windows-numerics",
-]
-
-[[package]]
-name = "windows-collections"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610"
-dependencies = [
- "windows-core",
-]
-
-[[package]]
-name = "windows-core"
-version = "0.62.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb"
-dependencies = [
- "windows-implement",
- "windows-interface",
- "windows-link",
- "windows-result",
- "windows-strings",
-]
-
-[[package]]
-name = "windows-future"
-version = "0.3.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb"
-dependencies = [
- "windows-core",
- "windows-link",
- "windows-threading",
-]
-
-[[package]]
-name = "windows-implement"
-version = "0.60.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "windows-interface"
-version = "0.59.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358"
-dependencies = [
- "proc-macro2",
- "quote",
- "syn 2.0.119",
-]
-
-[[package]]
-name = "windows-link"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
-
-[[package]]
-name = "windows-numerics"
-version = "0.3.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26"
-dependencies = [
- "windows-core",
- "windows-link",
-]
-
-[[package]]
-name = "windows-result"
-version = "0.4.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5"
-dependencies = [
- "windows-link",
-]
-
-[[package]]
-name = "windows-strings"
-version = "0.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091"
-dependencies = [
- "windows-link",
-]
-
-[[package]]
-name = "windows-sys"
-version = "0.59.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
-dependencies = [
- "windows-targets",
-]
-
-[[package]]
-name = "windows-sys"
-version = "0.61.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
-dependencies = [
- "windows-link",
-]
-
-[[package]]
-name = "windows-targets"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
-dependencies = [
- "windows_aarch64_gnullvm",
- "windows_aarch64_msvc",
- "windows_i686_gnu",
- "windows_i686_gnullvm",
- "windows_i686_msvc",
- "windows_x86_64_gnu",
- "windows_x86_64_gnullvm",
- "windows_x86_64_msvc",
-]
-
-[[package]]
-name = "windows-threading"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37"
-dependencies = [
- "windows-link",
-]
-
-[[package]]
-name = "windows_aarch64_gnullvm"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
-
-[[package]]
-name = "windows_aarch64_msvc"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
-
-[[package]]
-name = "windows_i686_gnu"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
-
-[[package]]
-name = "windows_i686_gnullvm"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
-
-[[package]]
-name = "windows_i686_msvc"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
-
-[[package]]
-name = "windows_x86_64_gnu"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
-
-[[package]]
-name = "windows_x86_64_gnullvm"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
-
-[[package]]
-name = "windows_x86_64_msvc"
-version = "0.52.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
-
-[[package]]
-name = "zlib-rs"
-version = "0.6.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b268e58e7c693d7c271f93ffc4ba3b380412554231c85bf61ca7af91042a4112"
-
-[[package]]
-name = "zmij"
-version = "1.0.23"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
diff --git a/tabular/gbm/Cargo.toml b/tabular/gbm/Cargo.toml
deleted file mode 100644
index c7afdad8..00000000
--- a/tabular/gbm/Cargo.toml
+++ /dev/null
@@ -1,19 +0,0 @@
-[package]
-name = "raea-gbm"
-version = "0.1.0"
-edition = "2021"
-license = "Apache-2.0"
-description = "Tabular dreaming's base, all Rust: gradient-boosted trees (Perpetual, pure Rust), grouped cross-validation and AUC over raea's tables"
-
-[dependencies]
-perpetual = "=3.0.0-rc.2" # the only release that builds on stable Rust (2.x use #![feature])
-serde_json = "1"
-# frames for J2b's layer patches: Apple's decoder in-process (VideoToolbox), no ffmpeg or software codecs
-raea-media = { path = "../../media", default-features = false, features = ["apple"] }
-
-[profile.release]
-debug = false
-
-# raea-media's vendored muxide: patches only apply at a workspace root, so repeated here
-[patch.crates-io]
-muxide = { path = "../../media/vendor/muxide" }
diff --git a/tabular/gbm/src/deck.rs b/tabular/gbm/src/deck.rs
deleted file mode 100644
index 3c7f329f..00000000
--- a/tabular/gbm/src/deck.rs
+++ /dev/null
@@ -1,161 +0,0 @@
-//! K3 on decks and dashboards (the roadmap K3): the slides an agent builds for explainers and ads, in four shapes,
-//! each a grid of fixed-size components holding up to three kinds of text (a: the big line, b: the small line or body,
-//! c: a tag or pill): KPI tiles (a number, its label, a change pill), pills (tags in fixed-width pills), dashboard
-//! cards (a title over a two-line note, fixed height), and an agenda (numbered steps with an owner, like the founder's
-//! 2026-10-15 screenshot). Each content is laid out VARIANTS ways (columns, component size, the three text sizes,
-//! letter spacing, padding and one of four fonts), labelled by `raea lint --layout`, and ranked by rank.rs's ListNet
-//! the same way the card rows were: the best layout is the clean one with the largest type.
-
-use crate::rank::{lint, score_ranking};
-use std::path::PathBuf;
-
-struct Rng(u64);
-impl Rng {
- fn next(&mut self) -> u64 {
- self.0 = self.0.wrapping_mul(6364136223846793005).wrapping_add(1442695040888963407);
- self.0 >> 33
- }
- fn pick<'a, T>(&mut self, v: &'a [T]) -> &'a T {
- &v[(self.next() as usize) % v.len()]
- }
-}
-
-const SHAPES: [&str; 4] = ["kpi", "pills", "cards", "agenda"];
-/// (CSS family, average glyph width over the font size: the plain estimate's width per character)
-const FONTS: [(&str, f64); 4] = [("Inter,Helvetica,sans-serif", 0.55), ("Avenir Next,sans-serif", 0.58), ("Georgia,serif", 0.52), ("Menlo,monospace", 0.6)];
-
-const KPI_A: [&str; 10] = ["$48.2k", "12,480", "3.4x", "92%", "$1.27M", "4.8", "18 min", "640k", "$0.42", "2,104,377"];
-const KPI_B: [&str; 10] = ["MONTHLY RECURRING REVENUE", "VIEWS", "RETURN ON AD SPEND", "COMPLETION RATE", "PIPELINE", "AVG RATING",
- "WATCH TIME", "IMPRESSIONS", "COST PER CLICK", "TOTAL REACH THIS QUARTER"];
-const KPI_C: [&str; 6] = ["+12.4% vs last month", "-3%", "+0.8 pts", "flat", "+128% YoY", "best week yet"];
-const PILLS: [&str; 12] = ["Brand safe", "Creator approved", "Needs legal review", "Hook A", "UGC", "Paid social", "Organic only",
- "Whitelisted", "Spark Ads ready", "Under 30 s", "Captions burned in", "Music licensed"];
-const CARD_A: [&str; 8] = ["Hook retention", "Spend", "Top creative", "What changed", "Audience", "Next test", "Blockers", "Wins this week"];
-const CARD_B: [&str; 8] = ["Average watch time rose after the hook moved to the first second",
- "On pace", "The talking-head cut beat the b-roll cut on every placement we ran it in",
- "Captions now sit above the platform's UI band on all three networks", "25-34, mostly iPhone",
- "Try the problem-first hook against the product-first one", "Waiting on the client's approval of the second script",
- "Two creators renewed"];
-const AGENDA_A: [&str; 10] = ["Write the brief", "Find a creator", "Film", "Check the footage", "Edit the cuts", "Client review",
- "Approve", "Post", "Measure the results", "Review the rough cut"];
-const AGENDA_C: [&str; 8] = ["STRATEGY", "CREATOR", "PRODUCTION", "QA", "EDITORS", "CLIENT", "SOCIAL", "FULFILLMENT"];
-
-struct Layout {
- cols: usize,
- w: f64,
- h: f64,
- a: f64,
- b: f64,
- c: f64,
- spacing: f64,
- pad: f64,
- font: usize,
-}
-
-/// One component's texts (a, b, c; empty when the shape has none).
-type Item = (&'static str, &'static str, &'static str);
-
-fn content(rng: &mut Rng, shape: &str) -> Vec<Item> {
- let n = match shape { "pills" => 4 + (rng.next() % 6) as usize, "kpi" => 2 + (rng.next() % 5) as usize, _ => 3 + (rng.next() % 4) as usize };
- (0..n).map(|_| match shape {
- "kpi" => (*rng.pick(&KPI_A), *rng.pick(&KPI_B), *rng.pick(&KPI_C)),
- "pills" => (*rng.pick(&PILLS), "", ""),
- "cards" => (*rng.pick(&CARD_A), *rng.pick(&CARD_B), ""),
- _ => (*rng.pick(&AGENDA_A), "", *rng.pick(&AGENDA_C)),
- }).collect()
-}
-
-fn layout(rng: &mut Rng, shape: &str, n: usize) -> Layout {
- let cols = (*rng.pick(&[2usize, 3, 4, 6])).min(n);
- match shape {
- "kpi" => Layout { cols, w: *rng.pick(&[180.0, 220.0, 260.0, 320.0, 400.0]), h: *rng.pick(&[150.0, 180.0, 220.0]), a: *rng.pick(&[40.0, 52.0, 64.0, 80.0]),
- b: *rng.pick(&[12.0, 14.0, 16.0]), c: *rng.pick(&[12.0, 14.0, 16.0]), spacing: *rng.pick(&[0.0, 1.0, 2.0]), pad: *rng.pick(&[16.0, 24.0, 32.0]), font: (rng.next() % 4) as usize },
- "pills" => Layout { cols, w: *rng.pick(&[120.0, 150.0, 180.0, 240.0]), h: *rng.pick(&[44.0, 56.0]), a: *rng.pick(&[16.0, 18.0, 22.0, 26.0]),
- b: 0.0, c: 0.0, spacing: *rng.pick(&[0.0, 1.0, 2.0]), pad: *rng.pick(&[12.0, 18.0, 24.0]), font: (rng.next() % 4) as usize },
- "cards" => Layout { cols, w: *rng.pick(&[220.0, 280.0, 340.0, 420.0]), h: *rng.pick(&[130.0, 160.0, 200.0]), a: *rng.pick(&[18.0, 22.0, 28.0]),
- b: *rng.pick(&[14.0, 16.0, 18.0, 20.0]), c: 0.0, spacing: *rng.pick(&[0.0, 0.5, 1.0]), pad: *rng.pick(&[16.0, 20.0, 28.0]), font: (rng.next() % 4) as usize },
- _ => Layout { cols, w: *rng.pick(&[140.0, 180.0, 220.0, 280.0]), h: *rng.pick(&[110.0, 140.0]), a: *rng.pick(&[16.0, 20.0, 24.0]),
- b: 0.0, c: *rng.pick(&[11.0, 13.0, 15.0]), spacing: *rng.pick(&[0.0, 1.0, 2.0, 3.0]), pad: *rng.pick(&[14.0, 20.0, 28.0]), font: (rng.next() % 4) as usize },
- }
-}
-
-fn html(shape: &str, items: &[Item], l: &Layout) -> String {
- let comps: String = items.iter().enumerate().map(|(i, (a, b, c))| {
- let num = if shape == "agenda" { format!(r#"<div class="n">{}</div>"#, i + 1) } else { String::new() };
- let b = if b.is_empty() { String::new() } else { format!(r#"<div class="b">{b}</div>"#) };
- let c = if c.is_empty() { String::new() } else { format!(r#"<div class="c">{c}</div>"#) };
- format!(r#"<div class="k" id="k{i}">{num}<div class="a">{a}</div>{b}{c}</div>"#)
- }).collect();
- let (fam, _) = FONTS[l.font];
- let pill = if shape == "pills" { "border-radius:999px;display:flex;align-items:center;justify-content:center;text-align:center;" } else { "border-radius:10px;" };
- let c_style = if shape == "kpi" { "display:inline-block;margin-top:8px;padding:2px 8px;border-radius:999px;background:#e6f6ee;color:#137a43" } else { "font-family:Menlo,monospace;color:#666;margin-top:6px" };
- format!(r#"<!doctype html><html><head><style>
-html,body{{margin:0;width:1920px;height:1080px;background:#f6f6f4;font-family:{fam};color:#111}}
-#root{{position:relative;width:1920px;height:1080px;overflow:hidden}}
-.grid{{position:absolute;left:60px;top:80px;display:grid;grid-template-columns:repeat({cols},{w}px);gap:20px}}
-.k{{width:{w}px;height:{h}px;box-sizing:border-box;padding:{pad}px;background:#fff;border:1px solid #ddd;{pill}overflow:visible;letter-spacing:{sp}px}}
-.n{{font-size:{c}px;color:#999;margin-bottom:4px}}
-.a{{font-size:{a}px;font-weight:700;line-height:1.2}}
-.b{{font-size:{b}px;line-height:1.35;color:#444;margin-top:6px}}
-.c{{font-size:{c}px;{c_style}}}
-</style></head><body><div id="root" data-composition-id="main" data-start="0" data-duration="1" data-width="1920" data-height="1080">
-<div class="grid">{comps}</div></div>
-<script>window.__timelines = {{ main: {{ duration: function () {{ return 1; }}, seek: function () {{}}, pause: function () {{}}, time: function () {{ return 0; }} }} }};</script>
-</body></html>"#, cols = l.cols, w = l.w, h = l.h, pad = l.pad, sp = l.spacing, a = l.a, b = l.b, c = l.c)
-}
-
-/// What a plan knows before rendering: its numbers and each text kind's estimated width against the inner width, and
-/// the body's estimated lines against the room left under the big line.
-fn features(shape: usize, items: &[Item], l: &Layout) -> Vec<f64> {
- let k = FONTS[l.font].1;
- let inner = l.w - 2.0 * l.pad - 2.0;
- let wid = |s: &str, px: f64, mono: bool| s.len() as f64 * (px * if mono { 0.6 } else { k } + l.spacing);
- let wa = items.iter().map(|i| wid(i.0, l.a, false)).fold(0.0, f64::max);
- let wb = items.iter().map(|i| wid(i.1, l.b, false)).fold(0.0, f64::max);
- let wc = items.iter().map(|i| wid(i.2, l.c, shape == 3) + if shape == 0 { 16.0 } else { 0.0 }).fold(0.0, f64::max);
- let word = items.iter().flat_map(|i| i.0.split(' ')).map(|w| wid(w, l.a, false)).fold(0.0, f64::max);
- let lines_a = (wa / inner).ceil().max(1.0);
- let lines_b = (wb / inner).ceil();
- let used = lines_a * l.a * 1.2 + lines_b * l.b * 1.35 + if l.c > 0.0 { l.c * 1.4 + 8.0 } else { 0.0 } + if shape == 3 { l.c * 1.4 } else { 0.0 };
- let room = l.h - 2.0 * l.pad - 2.0;
- vec![shape as f64, items.len() as f64, l.cols as f64, l.w, l.h, inner, l.a, l.b, l.c, l.spacing, l.pad, l.font as f64, k,
- wa / inner, wb / inner, wc / inner, word / inner, used / room]
-}
-
-/// The plain estimate: the tightest of the widest unbreakable word and the tag over the inner width, and the text's
-/// height over the room (lower is roomier).
-fn estimate(f: &[f64]) -> f64 {
- f[15].max(f[16]).max(f[17])
-}
-
-pub fn run(contents: usize, variants: usize, budget: f32) -> Result<serde_json::Value, String> {
- let raea = PathBuf::from(std::env::var("HOME").unwrap_or_default()).join("raea/engine/target/release/raea");
- let dir = std::env::temp_dir().join(format!("raea-gbm-deck-{}", std::process::id()));
- std::fs::create_dir_all(&dir).map_err(|e| e.to_string())?;
- let mut rng = Rng(23);
- let mut rows: Vec<(usize, Vec<f64>, f64)> = Vec::new();
- let mut by_shape = vec![[0usize; 3]; SHAPES.len()];
- for c in 0..contents {
- let s = c % SHAPES.len();
- let items = content(&mut rng, SHAPES[s]);
- for v in 0..variants {
- let l = layout(&mut rng, SHAPES[s], items.len());
- let path = dir.join(format!("c{c}-v{v}.html"));
- std::fs::write(&path, html(SHAPES[s], &items, &l)).map_err(|e| e.to_string())?;
- if let Some(fit) = lint(raea.to_str().unwrap_or("raea"), &path) {
- by_shape[s][fit as usize] += 1;
- let (amin, amax) = match SHAPES[s] { "kpi" => (40.0, 80.0), "pills" => (16.0, 26.0), "cards" => (18.0, 28.0), _ => (16.0, 24.0) };
- let small = if l.b > 0.0 { (l.b - 14.0) / 6.0 } else { (l.c - 11.0) / 5.0 };
- let rel = if fit == 2.0 { 2.0 + (l.a - amin) / (amax - amin) * 3.0 + small.clamp(0.0, 1.0) } else { fit };
- rows.push((c, features(s, &items, &l), rel));
- }
- }
- }
- if std::env::var_os("RAEA_DECK_KEEP").is_none() {
- let _ = std::fs::remove_dir_all(&dir);
- }
- let mut out = score_ranking(&rows, budget, estimate, |f| f[6] * 100.0 + f[7] + f[8])?;
- out["contents"] = serde_json::json!(contents);
- out["by_shape"] = serde_json::json!(SHAPES.iter().zip(&by_shape).map(|(s, n)| (s.to_string(), serde_json::json!({"spill": n[0], "crowded_only": n[1], "clean": n[2]}))).collect::<serde_json::Map<_, _>>());
- Ok(out)
-}
diff --git a/tabular/gbm/src/gen.rs b/tabular/gbm/src/gen.rs
deleted file mode 100644
index 4d5dd52c..00000000
--- a/tabular/gbm/src/gen.rs
+++ /dev/null
@@ -1,161 +0,0 @@
-//! J2b's training renders: short edits over raea's fixture footage or a rendered 3D scene (a third of them), each with random overlays (boxes and badges, images
-//! as stickers, titles on pills, stroked captions; still, sliding or fading, sometimes rotated), rendered by rdb twice:
-//! as written, and with every overlay at opacity 0. Each pair is a perfect overlay mask for every frame.
-
-use std::path::{Path, PathBuf};
-
-struct Rng(u64);
-impl Rng {
- fn u(&mut self) -> u64 {
- self.0 = self.0.wrapping_mul(6364136223846793005).wrapping_add(1442695040888963407);
- self.0 >> 33
- }
- fn f(&mut self, a: f64, b: f64) -> f64 {
- a + (b - a) * (self.u() % 10_000) as f64 / 10_000.0
- }
- fn pick<'a, T>(&mut self, v: &'a [T]) -> &'a T {
- &v[(self.u() as usize) % v.len()]
- }
-}
-
-const WORDS: [&str; 16] = ["New drop", "50% off", "Link in bio", "Day 14", "Before", "After", "Try it", "Why it works", "Step 2", "Real results",
- "No filter", "My routine", "Shop now", "Wait for it", "Part 3", "Honest review"];
-const COLOURS: [&str; 10] = ["#ffffff", "#111111", "#ffd84d", "#ff5a5f", "#2ec4b6", "#3a86ff", "#8338ec", "#fb5607", "#06d6a0", "rgba(0,0,0,0.55)"];
-
-/// The footage under the overlays: raea's fixtures and the host app's takes (21 on this Mac), each with its length.
-fn sources(raea: &Path) -> Vec<(PathBuf, f64)> {
- let f = raea.join("media/fixtures");
- let mut v = vec![(f.join("take-h264.mp4"), 25.0), (f.join("broll-rot.mov"), 7.5), (f.join("broll-screen.mov"), 3.5)];
- // the host app's takes made the real renders' scores worse (busier backgrounds, 2026-10-15): only with RAEA_GEN_TAKES
- if std::env::var_os("RAEA_GEN_TAKES").is_none() {
- return v;
- }
- let takes = raea.parent().map(|h| h.join("host/takes")).unwrap_or_default();
- let mut paths: Vec<PathBuf> = std::fs::read_dir(&takes).map(|rd| rd.flatten().map(|e| e.path().join("video.mov")).filter(|p| p.exists()).collect()).unwrap_or_default();
- paths.sort();
- if let Ok(be) = raea_media::backend("apple") {
- for p in paths {
- if let Ok(d) = be.open_video(&p) {
- let len = d.info().duration;
- if len > 3.0 {
- v.push((p, len - 0.5));
- }
- }
- }
- }
- v
-}
-
-fn stickers(raea: &Path) -> Vec<PathBuf> {
- let mut v: Vec<PathBuf> = std::fs::read_dir(raea.join("engine/react/probe")).map(|rd| rd.flatten().map(|e| e.path()).filter(|p| p.extension().is_some_and(|x| x == "png")).collect()).unwrap_or_default();
- v.sort();
- v
-}
-
-/// One edit's SQL: a clip of footage and 1-4 overlays; `bare` turns every overlay kind's opacity to 0.
-fn edit_sql(rng: &mut Rng, raea: &Path, srcs: &[(PathBuf, f64)], frames: usize) -> (String, String) {
- let mut sql = format!("INSERT INTO edit VALUES (30, 1080, 1920, {frames});\n");
- if rng.u() % 3 == 0 {
- // a rendered 3D scene behind (the hook's kind: a flat backdrop, a floor, moving shapes), its colours varied
- let bgs = ["#1b1f3a", "#f4efe6", "#0d0d0d", "#2b4c7e", "#f7d6e0"];
- sql += &format!("INSERT INTO camera (id, x, y, z, look_y, bg) VALUES ('cam', {:.1}, 2.2, {:.1}, 1, '{}');\nINSERT INTO light (id, dir_x, dir_y, dir_z, lux) VALUES ('sun', -0.5, -1, -0.4, 9000);\n\
- INSERT INTO plane (id, size, color) VALUES ('floor', 30, '{}');\nINSERT INTO cube (id, size, color, y, rough) VALUES ('hero', {:.1}, '{}', 1.4, 0.3);\n\
- INSERT INTO sphere (id, class, size, color, y, rough, metal) SELECT 'ring' || i, 'ring', 0.38, '{}', 0.6, 0.2, 0.3 FROM range(10) t(i);\n\
- UPDATE cube SET rot_y = frame * 2 * pi() / 180 WHERE id = 'hero';\n\
- UPDATE sphere SET x = 2.4 * cos(2 * pi() * (row_number() OVER () / count(*) OVER () + frame * 0.004)), z = 2.4 * sin(2 * pi() * (row_number() OVER () / count(*) OVER () + frame * 0.004)) WHERE class = 'ring';\n",
- rng.f(-1.0, 1.0), rng.f(7.0, 11.0), rng.pick(&bgs), rng.pick(&bgs), rng.f(1.0, 2.2), rng.pick(&COLOURS[2..9]), rng.pick(&COLOURS[..3]));
- } else {
- let (src, len) = rng.pick(srcs).clone();
- let start = rng.f(0.0, (len - frames as f64 / 30.0).max(0.0));
- sql += &format!("INSERT INTO clip (id, src, src_in, \"from\", \"to\", zoom) VALUES ('bg', '{}', {start:.2}, 0, {frames}, {:.2});\n", src.display(), rng.f(1.0, 1.3));
- }
- let stick = stickers(raea);
- let n = 1 + (rng.u() % 4) as usize;
- let mut kinds = Vec::new();
- for i in 0..n {
- let kind = *rng.pick(&["box", "image", "title", "caption"]);
- let (x, y) = (rng.f(40.0, 760.0), rng.f(120.0, 1650.0));
- let id = format!("o{i}");
- let (from, to) = (if rng.u() % 3 == 0 { (rng.u() % 30) as usize } else { 0 }, frames);
- match kind {
- "box" => {
- let (w, h) = (rng.f(80.0, 420.0), rng.f(40.0, 260.0));
- let border = if rng.u() % 2 == 0 { format!(", '{}px solid {}'", (rng.u() % 6) + 1, rng.pick(&COLOURS)) } else { ", ''".into() };
- sql += &format!("INSERT INTO box (id, x, y, w, h, bg, radius, border, \"from\", \"to\") VALUES ('{id}', {x:.0}, {y:.0}, {w:.0}, {h:.0}, '{}', {:.0}{border}, {from}, {to});\n",
- rng.pick(&COLOURS), rng.f(0.0, 60.0));
- }
- "image" if !stick.is_empty() => {
- let s = rng.f(120.0, 380.0);
- sql += &format!("INSERT INTO image (id, src, x, y, width, height, radius, \"from\", \"to\") VALUES ('{id}', '{}', {x:.0}, {y:.0}, {s:.0}, {:.0}, {:.0}, {from}, {to});\n",
- rng.pick(&stick).display(), s * rng.f(0.6, 1.4), rng.f(0.0, 40.0));
- }
- "title" => {
- // mostly where editors put them: the top band
- let y = if rng.u() % 4 != 0 { rng.f(160.0, 420.0) } else { y };
- sql += &format!("INSERT INTO title (id, text, font, weight, size, color, bg, padding, radius, x, y, w, align, \"from\", \"to\") VALUES ('{id}', '{}', 'Avenir Next', 800, {:.0}, '{}', '{}', {:.0}, {:.0}, {x:.0}, {y:.0}, {:.0}, 'center', {from}, {to});\n",
- rng.pick(&WORDS), rng.f(40.0, 96.0), rng.pick(&COLOURS), rng.pick(&COLOURS), rng.f(8.0, 30.0), rng.f(0.0, 30.0), rng.f(300.0, 900.0));
- }
- _ => {
- // as editors caption: 2-4 short chunks one after another, 0.5-1.3 s each, centred in the lower third,
- // stroked and usually shadowed
- let shadow = if rng.u() % 4 != 0 { format!("0 {:.0}px {:.0}px rgba(0,0,0,{:.2})", rng.f(2.0, 6.0), rng.f(8.0, 24.0), rng.f(0.3, 0.7)) } else { String::new() };
- let (cy, size, colour, stroke) = (rng.f(1200.0, 1500.0), rng.f(56.0, 84.0), *rng.pick(&["#ffffff", "#ffd84d", "#ffffff"]), rng.u() % 4);
- let mut at = from;
- let mut c = 0;
- while at < to && c < 4 {
- let len = rng.f(15.0, 40.0) as usize;
- sql += &format!("INSERT INTO caption (id, text, font, weight, size, color, x, y, w, align, stroke, text_shadow, \"from\", \"to\") VALUES ('{id}c{c}', '{}', 'Avenir Next', 800, {size:.0}, '{colour}', 60, {cy:.0}, 960, 'center', '{stroke}px #000', '{shadow}', {at}, {});\n",
- rng.pick(&WORDS), (at + len).min(to));
- at += len;
- c += 1;
- }
- kinds.push("caption");
- continue;
- }
- }
- let k = match kind { "image" if stick.is_empty() => continue, k => k };
- kinds.push(k);
- // motion: still, a slide in, a fade in, a rotation
- match rng.u() % 4 {
- 1 => sql += &format!("INSERT INTO keys VALUES ('{id}', 'x', {from}, {:.0}, '{}'), ('{id}', 'x', {}, {x:.0}, '{}');\n", x - rng.f(150.0, 500.0), rng.pick(&["out", "inout", "linear"]), from + 12, rng.pick(&["out", "inout"])),
- 2 => sql += &format!("INSERT INTO keys VALUES ('{id}', 'opacity', {from}, 0, 'linear'), ('{id}', 'opacity', {}, 1, 'linear');\n", from + 10),
- 3 => sql += &format!("UPDATE {k} SET rotate = {:.0} WHERE id = '{id}';\n", rng.f(-12.0, 12.0)),
- _ => {}
- }
- }
- kinds.sort();
- kinds.dedup();
- let bare = format!("{sql}{}", kinds.iter().map(|k| format!("UPDATE {k} SET opacity = 0;\n")).collect::<String>());
- (sql, bare)
-}
-
-/// `n` render pairs in `dir` (rendered by rdb), as (full, bare) paths; pairs already rendered are kept.
-pub fn generate(n: usize, frames: usize, dir: &Path) -> Result<Vec<(String, String)>, String> {
- let home = PathBuf::from(std::env::var("HOME").unwrap_or_default());
- let raea = home.join("raea");
- let rdb = raea.join("rdb/target/release/rdb");
- std::fs::create_dir_all(dir).map_err(|e| e.to_string())?;
- let mut rng = Rng(11);
- let srcs = sources(&raea);
- eprintln!("{} footage sources", srcs.len());
- let mut out = Vec::new();
- for i in 0..n {
- let (sql, bare) = edit_sql(&mut rng, &raea, &srcs, frames);
- let (fs, bs) = (dir.join(format!("e{i:03}.sql")), dir.join(format!("e{i:03}-bare.sql")));
- let (fm, bm) = (dir.join(format!("e{i:03}.mp4")), dir.join(format!("e{i:03}-bare.mp4")));
- if !(fm.exists() && bm.exists()) {
- std::fs::write(&fs, &sql).map_err(|e| e.to_string())?;
- std::fs::write(&bs, &bare).map_err(|e| e.to_string())?;
- for (s, m) in [(&fs, &fm), (&bs, &bm)] {
- let r = std::process::Command::new(&rdb).arg("render").arg(s).arg("-o").arg(m).output().map_err(|e| e.to_string())?;
- if !r.status.success() {
- eprintln!("e{i:03}: {}", String::from_utf8_lossy(&r.stderr).lines().last().unwrap_or(""));
- }
- }
- }
- if fm.exists() && bm.exists() {
- out.push((fm.display().to_string(), bm.display().to_string()));
- }
- }
- Ok(out)
-}
diff --git a/tabular/gbm/src/layers.rs b/tabular/gbm/src/layers.rs
deleted file mode 100644
index 6ee7591b..00000000
--- a/tabular/gbm/src/layers.rs
+++ /dev/null
@@ -1,283 +0,0 @@
-//! J2b, a first learned try: is a patch of a rendered frame one of the edit's overlays or the footage? The truth comes
-//! free from rdb: the edit rendered again with its titles, captions, boxes and images at opacity 0, and a patch is
-//! overlay when over half its pixels differ (more than 40 levels). Each 24 px patch of every 2nd frame (at half size)
-//! gets what the frame alone can tell: its brightness and spread, its colour and saturation, how uniform it is, its edge
-//! density, how much it changed since the frame before and since 8 frames before, and where it sits. Perpetual learns
-//! overlay or not on one render and is scored on another (never the same edit on both sides).
-
-use perpetual::objective::Objective;
-use perpetual::{Matrix, PerpetualBooster};
-
-const P: usize = 24;
-
-fn gray(rgba: &[u8], w: usize, h: usize) -> (Vec<f32>, Vec<[f32; 3]>, usize, usize) {
- // half size
- let (hw, hh) = (w / 2, h / 2);
- let mut g = vec![0f32; hw * hh];
- let mut c = vec![[0f32; 3]; hw * hh];
- for y in 0..hh {
- for x in 0..hw {
- let i = ((y * 2) * w + x * 2) * 4;
- let (r, gg, b) = (rgba[i] as f32, rgba[i + 1] as f32, rgba[i + 2] as f32);
- g[y * hw + x] = 0.299 * r + 0.587 * gg + 0.114 * b;
- c[y * hw + x] = [r, gg, b];
- }
- }
- (g, c, hw, hh)
-}
-
-/// Patches' features and labels for one render pair, every `step`th frame.
-pub fn patches(full: &str, bare: &str, step: usize) -> Result<(Vec<Vec<f64>>, Vec<f64>), String> {
- let be = raea_media::backend("apple")?;
- let (mut a, mut b) = (be.open_video(std::path::Path::new(full))?, be.open_video(std::path::Path::new(bare))?);
- let info = a.info().clone();
- let n = (info.duration * info.fps).round() as usize;
- let (mut x, mut y) = (Vec::new(), Vec::new());
- let mut history: Vec<Vec<f32>> = Vec::new();
- for f in 0..n {
- let t = (f as f64 + 0.5) / info.fps;
- let fa = a.frame_at(t)?;
- let (g, c, hw, hh) = gray(&fa.rgba, fa.width as usize, fa.height as usize);
- history.push(g.clone());
- if history.len() > 9 {
- history.remove(0);
- }
- if f % step != 0 || history.len() < 9 {
- continue;
- }
- let fb = b.frame_at(t)?;
- let (gb, _, _, _) = gray(&fb.rgba, fb.width as usize, fb.height as usize);
- let prev = &history[history.len() - 2];
- let back8 = &history[0];
- for py in 0..hh / P {
- for px in 0..hw / P {
- let mut v = Vec::with_capacity(P * P);
- let (mut sr, mut sg, mut sb, mut sat, mut edges, mut d1, mut d8, mut diff) = (0f64, 0f64, 0f64, 0f64, 0f64, 0f64, 0f64, 0usize);
- for yy in 0..P {
- for xx in 0..P {
- let (gx, gy) = (px * P + xx, py * P + yy);
- let i = gy * hw + gx;
- v.push(g[i] as f64);
- let [r, gg, bb] = c[i];
- sr += r as f64;
- sg += gg as f64;
- sb += bb as f64;
- let (mx, mn) = (r.max(gg).max(bb), r.min(gg).min(bb));
- sat += if mx > 0.0 { ((mx - mn) / mx) as f64 } else { 0.0 };
- if gx + 1 < hw && gy + 1 < hh {
- let e = (g[i + 1] - g[i]).abs() + (g[i + hw] - g[i]).abs();
- edges += (e > 40.0) as u8 as f64;
- }
- d1 += (g[i] - prev[i]).abs() as f64;
- d8 += (g[i] - back8[i]).abs() as f64;
- diff += ((g[i] - gb[i]).abs() > 40.0) as usize;
- }
- }
- let k = (P * P) as f64;
- let mean = v.iter().sum::<f64>() / k;
- let var = v.iter().map(|q| (q - mean).powi(2)).sum::<f64>() / k;
- // uniformity: the share of pixels within 12 levels of the patch's most common brightness band
- let mut hist = [0usize; 22];
- for q in &v {
- hist[(*q / 12.0).min(21.0) as usize] += 1;
- }
- let mode = *hist.iter().max().unwrap() as f64 / k;
- x.push(vec![mean, var.sqrt(), sr / k, sg / k, sb / k, sat / k, mode, edges / k, d1 / k, d8 / k,
- (px as f64 + 0.5) / (hw / P) as f64, (py as f64 + 0.5) / (hh / P) as f64]);
- y.push((diff as f64 / k > 0.5) as u8 as f64);
- }
- }
- }
- Ok((x, y))
-}
-
-fn auc(y: &[f64], p: &[f64]) -> f64 {
- let mut idx: Vec<usize> = (0..y.len()).collect();
- idx.sort_by(|&a, &b| p[a].total_cmp(&p[b]));
- let mut rank = vec![0.0; y.len()];
- let mut i = 0;
- while i < idx.len() {
- let mut j = i;
- while j + 1 < idx.len() && p[idx[j + 1]] == p[idx[i]] {
- j += 1;
- }
- for t in i..=j {
- rank[idx[t]] = (i + j) as f64 / 2.0 + 1.0;
- }
- i = j + 1;
- }
- let pos = y.iter().filter(|v| **v > 0.5).count() as f64;
- let neg = y.len() as f64 - pos;
- ((0..y.len()).filter(|&i| y[i] > 0.5).map(|i| rank[i]).sum::<f64>() - pos * (pos + 1.0) / 2.0) / (pos * neg)
-}
-
-fn train(x: &[Vec<f64>], y: &[f64], budget: f32) -> Result<(PerpetualBooster, f64), String> {
- let cols = x[0].len();
- let flat: Vec<f64> = (0..cols).flat_map(|c| x.iter().map(move |r| r[c])).collect();
- let mut b = PerpetualBooster::default().set_objective(Objective::LogLoss).set_budget(budget).set_seed(0).set_num_threads(Some(2));
- b.fit(&Matrix::new(&flat, x.len(), cols), y, None, None).map_err(|e| format!("{e:?}"))?;
- // overlays are a few percent of patches: the threshold with the best F on the training rows (never the test)
- let ptr = b.predict_proba(&Matrix::new(&flat, x.len(), cols), false, false);
- // the threshold as if every footage patch were there: training keeps one in four (`thin`), so each counts 4 times
- let wf = |th: f64| {
- let (tp, fp, fnn) = (0..y.len()).fold((0.0f64, 0.0f64, 0.0f64), |(a, b, c), k| { let (pr, tr) = (ptr[k] > th, y[k] > 0.5); (a + (pr && tr) as u8 as f64, b + 4.0 * (pr && !tr) as u8 as f64, c + (!pr && tr) as u8 as f64) });
- 2.0 * tp / (2.0 * tp + fp + fnn).max(1e-9)
- };
- let th = (1..100).map(|k| k as f64 / 100.0).max_by(|a, c| wf(*a).total_cmp(&wf(*c))).unwrap_or(0.5);
- Ok((b, th))
-}
-
-/// (F, precision, recall) at a threshold.
-fn f_at(th: f64, p: &[f64], y: &[f64]) -> (f64, f64, f64) {
- let (tp, fp, fnn) = (0..y.len()).fold((0usize, 0usize, 0usize), |(a, b, c), k| { let (pr, tr) = (p[k] > th, y[k] > 0.5); (a + (pr && tr) as usize, b + (pr && !tr) as usize, c + (!pr && tr) as usize) });
- let (prec, rec) = (tp as f64 / (tp + fp).max(1) as f64, tp as f64 / (tp + fnn).max(1) as f64);
- (2.0 * prec * rec / (prec + rec).max(1e-9), prec, rec)
-}
-
-fn score(b: &PerpetualBooster, th: f64, x: &[Vec<f64>], y: &[f64]) -> serde_json::Value {
- let cols = x[0].len();
- let flat: Vec<f64> = (0..cols).flat_map(|c| x.iter().map(move |r| r[c])).collect();
- let p = b.predict_proba(&Matrix::new(&flat, x.len(), cols), false, false);
- let (f, prec, rec) = f_at(th, &p, y);
- let r3 = |v: f64| (v * 1000.0).round() / 1000.0;
- // cuts set per edit from its own scores, no truth: Otsu's split of the score histogram, and the cut that flags as
- // many patches as the probabilities add up to; the best cut (with truth) is the ceiling either can reach
- let per = |t: f64| { let (f, pr, rc) = f_at(t, &p, y); serde_json::json!({"threshold": r3(t), "f": r3(f), "precision": r3(pr), "recall": r3(rc)}) };
- let best = (1..100).map(|k| k as f64 / 100.0).max_by(|a, c| f_at(*a, &p, y).0.total_cmp(&f_at(*c, &p, y).0)).unwrap_or(0.5);
- serde_json::json!({"patches": y.len(), "overlay_patches": y.iter().filter(|v| **v > 0.5).count(), "threshold": th, "auc": r3(auc(y, &p)),
- "precision": r3(prec), "recall": r3(rec), "f": r3(f), "otsu": per(otsu(&p)), "expected_count": per(expected_count(&p)), "best": per(best)})
-}
-
-/// Otsu's threshold over 100 bins of the scores: the split with the largest between-class variance.
-fn otsu(p: &[f64]) -> f64 {
- let mut h = [0f64; 100];
- for v in p {
- h[((v * 100.0) as usize).min(99)] += 1.0;
- }
- let n = p.len().max(1) as f64;
- let total: f64 = (0..100).map(|i| i as f64 * h[i]).sum();
- let (mut w0, mut s0, mut best, mut at) = (0.0, 0.0, -1.0, 50usize);
- for i in 0..99 {
- w0 += h[i];
- s0 += i as f64 * h[i];
- let w1 = n - w0;
- if w0 == 0.0 || w1 == 0.0 {
- continue;
- }
- let d = s0 / w0 - (total - s0) / w1;
- let v = w0 * w1 * d * d;
- if v > best {
- best = v;
- at = i;
- }
- }
- (at + 1) as f64 / 100.0
-}
-
-/// The cut that flags as many patches as the scores sum to (the model's own estimate of how much is overlay).
-fn expected_count(p: &[f64]) -> f64 {
- let k = p.iter().sum::<f64>().round() as usize;
- let mut s = p.to_vec();
- s.sort_by(|a, b| b.total_cmp(a));
- s.get(k.min(s.len().saturating_sub(1))).copied().unwrap_or(0.5)
-}
-
-/// Generated pairs in 5 folds by pair (a pair's patches on one side only), then a model on all of them scored on each of
-/// `extra` (renders of real edits, never generated).
-/// A pair's patches, cached beside its render (decoding 240 videos again would take most of lane's 15 minutes).
-fn cached_patches(full: &str, bare: &str, step: usize) -> Result<(Vec<Vec<f64>>, Vec<f64>), String> {
- let cache = std::path::PathBuf::from(format!("{full}.patches-{step}.json"));
- if let Some(v) = std::fs::read_to_string(&cache).ok().and_then(|t| serde_json::from_str::<(Vec<Vec<f64>>, Vec<f64>)>(&t).ok()) {
- return Ok(v);
- }
- let v = patches(full, bare, step)?;
- let _ = std::fs::write(&cache, serde_json::to_string(&v).unwrap_or_default());
- Ok(v)
-}
-
-/// Training rows: every overlay patch and every 4th footage patch (overlays are a few percent; scoring keeps all).
-fn thin(x: Vec<Vec<f64>>, y: Vec<f64>) -> (Vec<Vec<f64>>, Vec<f64>) {
- let mut n = 0usize;
- x.into_iter().zip(y).filter(|(_, l)| { n += 1; *l > 0.5 || n % 4 == 0 }).unzip()
-}
-
-pub fn run_generated(pairs: &[(String, String)], extra: &[(String, String)], budget: f32) -> Result<serde_json::Value, String> {
- let data: Vec<(Vec<Vec<f64>>, Vec<f64>)> = pairs.iter().map(|(f, b)| cached_patches(f, b, 3)).collect::<Result<_, _>>()?;
- let mut folds = Vec::new();
- let (mut all_p, mut all_y) = (Vec::new(), Vec::new());
- for f in 0..5 {
- let (mut x, mut y) = (Vec::new(), Vec::new());
- for (i, (xx, yy)) in data.iter().enumerate() {
- if i % 5 != f {
- x.extend(xx.iter().cloned());
- y.extend(yy.iter().cloned());
- }
- }
- let (x, y) = thin(x, y);
- let (b, th) = train(&x, &y, budget)?;
- let (mut tx, mut ty) = (Vec::new(), Vec::new());
- for (i, (xx, yy)) in data.iter().enumerate() {
- if i % 5 == f {
- tx.extend(xx.iter().cloned());
- ty.extend(yy.iter().cloned());
- }
- }
- folds.push(score(&b, th, &tx, &ty));
- let cols = tx[0].len();
- let flat: Vec<f64> = (0..cols).flat_map(|c| tx.iter().map(move |r| r[c])).collect();
- all_p.extend(b.predict_proba(&Matrix::new(&flat, tx.len(), cols), false, false).into_iter().map(|p| (p > th) as u8 as f64));
- all_y.extend(ty);
- }
- let (x, y): (Vec<Vec<f64>>, Vec<f64>) = data.iter().fold((Vec::new(), Vec::new()), |(mut a, mut b), (xx, yy)| { a.extend(xx.iter().cloned()); b.extend(yy.iter().cloned()); (a, b) });
- let (x, y) = thin(x, y);
- let (b, th) = train(&x, &y, budget)?;
- let mut real = serde_json::Map::new();
- for (f, bare) in extra {
- let (ex, ey) = patches(f, bare, 2)?;
- real.insert(std::path::Path::new(f).file_name().unwrap().to_string_lossy().into(), score(&b, th, &ex, &ey));
- }
- let (f, prec, rec) = f_at(0.5, &all_p, &all_y);
- let r3 = |v: f64| (v * 1000.0).round() / 1000.0;
- Ok(serde_json::json!({"generated_pairs": pairs.len(), "patches": y.len(), "held_out_by_pair": {"f": r3(f), "precision": r3(prec), "recall": r3(rec), "folds": folds},
- "trained_on_all_generated_scored_on_real_renders": real}))
-}
-
-/// Train on one pair, score on the other, both ways.
-pub fn run(pairs: &[(String, String)], budget: f32) -> Result<serde_json::Value, String> {
- let data: Vec<(Vec<Vec<f64>>, Vec<f64>)> = pairs.iter().map(|(f, b)| patches(f, b, 2)).collect::<Result<_, _>>()?;
- let mut out = serde_json::Map::new();
- for (i, (f, _)) in pairs.iter().enumerate() {
- let (xt, yt) = &data[i];
- // train on every other pair
- let (mut x, mut y) = (Vec::new(), Vec::new());
- for (j, (xx, yy)) in data.iter().enumerate() {
- if j != i {
- x.extend(xx.iter().cloned());
- y.extend(yy.iter().cloned());
- }
- }
- let cols = x[0].len();
- let flat: Vec<f64> = (0..cols).flat_map(|c| x.iter().map(move |r| r[c])).collect();
- let mut b = PerpetualBooster::default().set_objective(Objective::LogLoss).set_budget(budget).set_seed(0).set_num_threads(Some(2));
- b.fit(&Matrix::new(&flat, x.len(), cols), &y, None, None).map_err(|e| format!("{e:?}"))?;
- // overlays are 1-2% of patches: the threshold is the one with the best F on the training renders (never the test)
- let ptr = b.predict_proba(&Matrix::new(&flat, x.len(), cols), false, false);
- let f_at = |th: f64, pp: &[f64], yy: &[f64]| {
- let (tp, fp, fnn) = (0..yy.len()).fold((0usize, 0usize, 0usize), |(a, b2, c), k| { let (pr, tr) = (pp[k] > th, yy[k] > 0.5); (a + (pr && tr) as usize, b2 + (pr && !tr) as usize, c + (!pr && tr) as usize) });
- 2.0 * tp as f64 / (2 * tp + fp + fnn).max(1) as f64
- };
- let th = (1..100).map(|k| k as f64 / 100.0).max_by(|a, c| f_at(*a, &ptr, &y).total_cmp(&f_at(*c, &ptr, &y))).unwrap_or(0.5);
- let tflat: Vec<f64> = (0..cols).flat_map(|c| xt.iter().map(move |r| r[c])).collect();
- let p = b.predict_proba(&Matrix::new(&tflat, xt.len(), cols), false, false);
- let (tp, fp, fnn) = (0..yt.len()).fold((0, 0, 0), |(a, b2, c), k| {
- let (pred, truth) = (p[k] > th, yt[k] > 0.5);
- (a + (pred && truth) as usize, b2 + (pred && !truth) as usize, c + (!pred && truth) as usize)
- });
- let (prec, rec) = (tp as f64 / (tp + fp).max(1) as f64, tp as f64 / (tp + fnn).max(1) as f64);
- let r3 = |v: f64| (v * 1000.0).round() / 1000.0;
- out.insert(std::path::Path::new(f).file_name().unwrap().to_string_lossy().into(), serde_json::json!({
- "test_patches": yt.len(), "overlay_patches": yt.iter().filter(|v| **v > 0.5).count(), "trained_on_patches": y.len(),
- "threshold_from_training": th, "auc": r3(auc(yt, &p)), "precision": r3(prec), "recall": r3(rec), "f": r3(2.0 * prec * rec / (prec + rec).max(1e-9))}));
- }
- Ok(serde_json::Value::Object(out))
-}
diff --git a/tabular/gbm/src/main.rs b/tabular/gbm/src/main.rs
deleted file mode 100644
index c57382f2..00000000
--- a/tabular/gbm/src/main.rs
+++ /dev/null
@@ -1,286 +0,0 @@
-//! raea-gbm: tabular dreaming's base, all Rust (the founder, 2026-10-15: "no sidecars, no python"): gradient-boosted trees
-//! from Perpetual (pure Rust, Apache-2.0; it sets its own learning rate and stopping from one "budget"), grouped
-//! cross-validation (no plan family, scenario or composition on both sides, as sklearn's GroupKFold) and AUC, over the
-//! tables raea's benches built in ~/.cache/raea-tabular. Each table's model, trained on every row, is saved as JSON
-//! (~/.cache/raea-tabular/gbm/NAME.json) and reloaded to check it predicts the same.
-//!
-//! raea-gbm cv [--budget 0.5]
-//! raea-gbm layers-gen [--n 60] [--frames 60] REAL_FULL REAL_BARE ... J2b on generated render pairs, then real ones
-//! raea-gbm layers FULL BARE FULL BARE ... J2b: overlay patches learned on some renders, scored on the others
-//! raea-gbm rank [--contents 40] [--variants 8] [--budget 0.5] dreaming: rank a content's layouts before rendering
-//! raea-gbm decks [--contents 40] [--variants 8] the same over deck and dashboard slides (KPI tiles, pills, cards, agendas)
-
-mod deck;
-mod gen;
-mod layers;
-mod rank;
-
-use perpetual::objective::Objective;
-use perpetual::{Matrix, PerpetualBooster};
-use serde_json::Value;
-use std::collections::HashMap;
-use std::path::PathBuf;
-
-struct Table {
- name: String,
- keys: Vec<String>,
- x: Vec<Vec<f64>>,
- y: Vec<f64>,
- group: Vec<String>,
- /// a plain estimate to beat (one of the features), when the table has one
- estimate: Option<usize>,
-}
-
-fn cache() -> PathBuf {
- PathBuf::from(std::env::var("HOME").unwrap_or_default()).join(".cache/raea-tabular")
-}
-
-fn num(v: &Value) -> f64 {
- match v {
- Value::Bool(b) => *b as u8 as f64,
- Value::Number(n) => n.as_f64().unwrap_or(f64::NAN),
- _ => f64::NAN,
- }
-}
-
-fn tables() -> Vec<Table> {
- let mut out = Vec::new();
- // K3's generated card-row plans: spill and crowded, the plain estimate the widest label (title) over the inner width
- if let Ok(t) = std::fs::read_to_string(cache().join("layout_plans.json")) {
- let rows: Vec<Value> = serde_json::from_str(&t).unwrap_or_default();
- if let Some(first) = rows.first().and_then(Value::as_object) {
- let keys: Vec<String> = first.keys().filter(|k| !["family", "spill", "crowded", "bad"].contains(&k.as_str())).cloned().collect();
- for (target, est) in [("spill", "label_over_inner"), ("crowded", "title_over_inner")] {
- out.push(Table {
- name: format!("plans-{target}"),
- x: rows.iter().map(|r| keys.iter().map(|k| num(&r[k])).collect()).collect(),
- y: rows.iter().map(|r| num(&r[target])).collect(),
- group: rows.iter().map(|r| r["family"].to_string()).collect(),
- estimate: keys.iter().position(|k| k == est),
- keys: keys.clone(),
- });
- }
- }
- }
- // D3's moves: does a move help, from the move against the request (the kind as its index)
- if let Ok(t) = std::fs::read_to_string(cache().join("moves.jsonl")) {
- let rows: Vec<Value> = t.lines().filter_map(|l| serde_json::from_str(l).ok()).collect();
- let mut kinds: Vec<String> = rows.iter().filter_map(|r| r["kind"].as_str().map(String::from)).collect();
- kinds.sort();
- kinds.dedup();
- let keys: Vec<String> = ["input_chars", "input_lines", "has_why", "kind", "req_overlap", "req_overlap_share", "target_in_request", "target_existed", "numbers_changed", "is_expect"]
- .iter().map(|s| s.to_string()).collect();
- out.push(Table {
- name: "moves-helps".into(),
- x: rows.iter().map(|r| keys.iter().map(|k| if k == "kind" { kinds.iter().position(|x| Some(x.as_str()) == r["kind"].as_str()).unwrap_or(0) as f64 } else { num(&r[k]) }).collect()).collect(),
- y: rows.iter().map(|r| (r["effect"].as_str() == Some("helps")) as u8 as f64).collect(),
- group: rows.iter().map(|r| r["scenario"].to_string()).collect(),
- estimate: None,
- keys,
- });
- }
- // K3's what-if on real compositions, when it has signal
- if let Ok(t) = std::fs::read_to_string(cache().join("layout_whatif.json")) {
- let rows: Vec<Value> = serde_json::from_str(&t).unwrap_or_default();
- let keys: Vec<String> = ["spacing", "chars", "words", "lines", "text_w", "comp_w", "room", "estimate"].iter().map(|s| s.to_string()).collect();
- out.push(Table {
- name: "whatif-spill".into(),
- x: rows.iter().map(|r| keys.iter().map(|k| num(&r[k])).collect()).collect(),
- y: rows.iter().map(|r| num(&r["spills"])).collect(),
- group: rows.iter().map(|r| r["comp"].to_string()).collect(),
- estimate: Some(7),
- keys,
- });
- }
- out
-}
-
-/// sklearn's GroupKFold: groups, largest first, each to the fold with the fewest rows so far.
-fn group_folds(group: &[String], k: usize) -> Vec<usize> {
- let mut sizes: HashMap<&str, usize> = HashMap::new();
- for g in group {
- *sizes.entry(g.as_str()).or_default() += 1;
- }
- let mut order: Vec<(&str, usize)> = sizes.into_iter().collect();
- order.sort_by(|a, b| b.1.cmp(&a.1).then(a.0.cmp(b.0)));
- let mut load = vec![0usize; k];
- let mut fold_of: HashMap<&str, usize> = HashMap::new();
- for (g, n) in order {
- let f = (0..k).min_by_key(|&f| (load[f], f)).unwrap();
- load[f] += n;
- fold_of.insert(g, f);
- }
- group.iter().map(|g| fold_of[g.as_str()]).collect()
-}
-
-/// The area under the ROC curve: the chance a positive outranks a negative (ties count half).
-fn auc(y: &[f64], p: &[f64]) -> f64 {
- let mut idx: Vec<usize> = (0..y.len()).collect();
- idx.sort_by(|&a, &b| p[a].total_cmp(&p[b]));
- // average ranks over ties
- let mut rank = vec![0.0; y.len()];
- let mut i = 0;
- while i < idx.len() {
- let mut j = i;
- while j + 1 < idx.len() && p[idx[j + 1]] == p[idx[i]] {
- j += 1;
- }
- let r = (i + j) as f64 / 2.0 + 1.0;
- for t in i..=j {
- rank[idx[t]] = r;
- }
- i = j + 1;
- }
- let pos = y.iter().filter(|v| **v > 0.5).count() as f64;
- let neg = y.len() as f64 - pos;
- let sum: f64 = (0..y.len()).filter(|&i| y[i] > 0.5).map(|i| rank[i]).sum();
- (sum - pos * (pos + 1.0) / 2.0) / (pos * neg)
-}
-
-/// Column-major data for Perpetual's Matrix.
-fn columns(x: &[Vec<f64>], rows: &[usize]) -> Vec<f64> {
- let cols = x.first().map(Vec::len).unwrap_or(0);
- (0..cols).flat_map(|c| rows.iter().map(move |&r| x[r][c])).collect()
-}
-
-fn fit(x: &[Vec<f64>], y: &[f64], rows: &[usize], budget: f32) -> Result<PerpetualBooster, String> {
- let data = columns(x, rows);
- let m = Matrix::new(&data, rows.len(), x[0].len());
- let yy: Vec<f64> = rows.iter().map(|&r| y[r]).collect();
- let mut b = PerpetualBooster::default().set_objective(Objective::LogLoss).set_budget(budget).set_seed(0).set_num_threads(Some(1));
- b.fit(&m, &yy, None, None).map_err(|e| format!("{e:?}"))?;
- Ok(b)
-}
-
-fn predict(b: &PerpetualBooster, x: &[Vec<f64>], rows: &[usize]) -> Vec<f64> {
- let data = columns(x, rows);
- b.predict_proba(&Matrix::new(&data, rows.len(), x[0].len()), false, false)
-}
-
-fn main() {
- let args: Vec<String> = std::env::args().skip(1).collect();
- let budget: f32 = args.iter().position(|a| a == "--budget").and_then(|i| args.get(i + 1)).and_then(|v| v.parse().ok()).unwrap_or(0.5);
- let flag = |k: &str, d: usize| args.iter().position(|a| a == k).and_then(|i| args.get(i + 1)).and_then(|v| v.parse().ok()).unwrap_or(d);
- if args.first().map(String::as_str) == Some("layers-gen") {
- // raea-gbm layers-gen [--n 60] [--frames 60] REAL_FULL REAL_BARE ...: J2b on generated render pairs, then real renders
- let dir = cache().join("layers-gen");
- let real: Vec<String> = args[1..].iter().filter(|a| a.ends_with(".mp4")).cloned().collect();
- let extra: Vec<(String, String)> = real.chunks(2).filter(|c| c.len() == 2).map(|c| (c[0].clone(), c[1].clone())).collect();
- match gen::generate(flag("--n", 60), flag("--frames", 60), &dir).and_then(|pairs| layers::run_generated(&pairs, &extra, budget)) {
- Ok(v) => println!("{}", serde_json::to_string_pretty(&v).unwrap()),
- Err(e) => eprintln!("raea-gbm layers-gen: {e}"),
- }
- return;
- }
- if args.first().map(String::as_str) == Some("layers") {
- // raea-gbm layers FULL BARE FULL BARE ...: overlay patches learned on some renders, scored on the others
- let files: Vec<String> = args[1..].iter().filter(|a| !a.starts_with("--")).cloned().collect();
- let pairs: Vec<(String, String)> = files.chunks(2).filter(|c| c.len() == 2).map(|c| (c[0].clone(), c[1].clone())).collect();
- match layers::run(&pairs, budget) {
- Ok(v) => println!("{}", serde_json::to_string_pretty(&v).unwrap()),
- Err(e) => eprintln!("raea-gbm layers: {e}"),
- }
- return;
- }
- if args.first().map(String::as_str) == Some("decks") {
- match deck::run(flag("--contents", 40), flag("--variants", 8), budget) {
- Ok(v) => println!("{}", serde_json::to_string_pretty(&v).unwrap()),
- Err(e) => eprintln!("raea-gbm decks: {e}"),
- }
- return;
- }
- if args.first().map(String::as_str) == Some("rank") {
- match rank::run(flag("--contents", 40), flag("--variants", 8), budget) {
- Ok(v) => println!("{}", serde_json::to_string_pretty(&v).unwrap()),
- Err(e) => eprintln!("raea-gbm rank: {e}"),
- }
- return;
- }
- let out_dir = cache().join("gbm");
- let _ = std::fs::create_dir_all(&out_dir);
- let mut report = serde_json::Map::new();
- for t in tables() {
- let pos = t.y.iter().filter(|v| **v > 0.5).count();
- let pos_groups = { let mut g: Vec<&String> = (0..t.y.len()).filter(|&i| t.y[i] > 0.5).map(|i| &t.group[i]).collect(); g.sort(); g.dedup(); g.len() };
- if pos < 5 || t.y.len() - pos < 5 || pos_groups < 5 {
- report.insert(t.name.clone(), Value::String(format!("too little signal: {pos} positives in {pos_groups} groups")));
- continue;
- }
- let folds = group_folds(&t.group, 5);
- let mut p = vec![0.0; t.y.len()];
- let started = std::time::Instant::now();
- for f in 0..5 {
- let tr: Vec<usize> = (0..t.y.len()).filter(|&i| folds[i] != f).collect();
- let te: Vec<usize> = (0..t.y.len()).filter(|&i| folds[i] == f).collect();
- let one_class = tr.iter().all(|&i| t.y[i] == t.y[tr[0]]);
- let preds = if one_class { vec![t.y[tr[0]]; te.len()] } else {
- match fit(&t.x, &t.y, &tr, budget) {
- Ok(b) => predict(&b, &t.x, &te),
- Err(e) => { eprintln!("{}: {e}", t.name); vec![0.5; te.len()] }
- }
- };
- for (k, &i) in te.iter().enumerate() {
- p[i] = preds[k];
- }
- }
- let mut res = serde_json::Map::new();
- res.insert("rows".into(), t.y.len().into());
- res.insert("positives".into(), pos.into());
- res.insert("gbm_auc".into(), ((auc(&t.y, &p) * 1000.0).round() / 1000.0).into());
- if let Some(e) = t.estimate {
- let est: Vec<f64> = t.x.iter().map(|r| r[e]).collect();
- res.insert("estimate_auc".into(), ((auc(&t.y, &est) * 1000.0).round() / 1000.0).into());
- }
- res.insert("cv_seconds".into(), ((started.elapsed().as_secs_f64() * 100.0).round() / 100.0).into());
- // the model on every row, saved and reloaded: the same predictions
- let all: Vec<usize> = (0..t.y.len()).collect();
- if let Ok(b) = fit(&t.x, &t.y, &all, budget) {
- let path = out_dir.join(format!("{}.json", t.name));
- let json = serde_json::to_string(&b).unwrap_or_default();
- let _ = std::fs::write(&path, &json);
- let back: Option<PerpetualBooster> = serde_json::from_str(&json).ok();
- let same = back.map(|r| predict(&r, &t.x, &all).iter().zip(predict(&b, &t.x, &all)).all(|(a, b)| (a - b).abs() < 1e-12));
- res.insert("model".into(), path.display().to_string().into());
- res.insert("reloaded_predicts_the_same".into(), same.into());
- res.insert("trees".into(), b.get_prediction_trees().len().into());
- }
- res.insert("features".into(), t.keys.clone().into());
- report.insert(t.name.clone(), Value::Object(res));
- }
- println!("{}", serde_json::to_string_pretty(&Value::Object(report)).unwrap());
-}
-
-#[cfg(test)]
-mod tests {
- use super::*;
-
- #[test]
- fn auc_counts_rank_order() {
- assert_eq!(auc(&[0.0, 0.0, 1.0, 1.0], &[0.1, 0.2, 0.3, 0.4]), 1.0);
- assert_eq!(auc(&[1.0, 1.0, 0.0, 0.0], &[0.1, 0.2, 0.3, 0.4]), 0.0);
- assert_eq!(auc(&[0.0, 1.0], &[0.5, 0.5]), 0.5);
- }
-
- #[test]
- fn groups_never_split() {
- let g: Vec<String> = ["a", "a", "b", "c", "c", "c", "d", "e"].iter().map(|s| s.to_string()).collect();
- let f = group_folds(&g, 3);
- for i in 0..g.len() {
- for j in 0..g.len() {
- if g[i] == g[j] {
- assert_eq!(f[i], f[j]);
- }
- }
- }
- }
-
- #[test]
- fn learns_a_threshold() {
- let x: Vec<Vec<f64>> = (0..200).map(|i| vec![i as f64, (i * 7 % 13) as f64]).collect();
- let y: Vec<f64> = (0..200).map(|i| (i >= 100) as u8 as f64).collect();
- let all: Vec<usize> = (0..200).collect();
- let b = fit(&x, &y, &all, 0.5).unwrap();
- let p = predict(&b, &x, &all);
- assert!(auc(&y, &p) > 0.99);
- }
-}
diff --git a/tabular/gbm/src/rank.rs b/tabular/gbm/src/rank.rs
deleted file mode 100644
index c2a6f87b..00000000
--- a/tabular/gbm/src/rank.rs
+++ /dev/null
@@ -1,164 +0,0 @@
-//! Dreaming proper: given one content, rank the ways to lay it out before rendering any (the roadmap K3 and Track D).
-//! Each content is a row of cards (titles over spaced monospace labels, like the founder's 2026-10-15 screenshot) laid out
-//! VARIANTS ways (card width, title and label size, letter spacing); `raea lint --layout` labels each layout, and the
-//! best layout is the clean one with the largest type (readable on a phone), so the score is a trade-off: a spill 0, a
-//! crowded row 1, clean 2 plus up to 3 for the title's size and 1 for the label's. (Scored only clean or not, the plain
-//! estimate wins: pick the roomiest layout, 40 of 40 clean against the model's 39; the trade-off is the real choice.) Perpetual's list-wise ranking (ListNet) learns from the plan's
-//! numbers alone, grouped by content; contents are held out by fold. Scored by how often the top pick is clean, against
-//! the plain estimate's pick (the narrowest margin of the widest title and label over the card's inner width) and the
-//! clean share (a random pick). Everything here runs in Rust; the labels come from raea's own engine binary.
-
-use perpetual::objective::Objective;
-use perpetual::{Matrix, PerpetualBooster};
-use std::path::PathBuf;
-
-const TITLES: [&str; 15] = ["Hire", "Film", "Check the footage", "Edit the cuts", "Check the edit", "Client review", "Plan", "Ship it",
- "Write the brief", "Find a creator", "Approve", "Post", "Measure the results", "Pay", "Review the rough cut"];
-const LABELS: [&str; 12] = ["FULFILLMENT", "CREATOR", "QA", "EDITORS", "CLIENT", "OPS", "STRATEGY", "PRODUCTION", "FINANCE", "BRAND", "LEGAL", "SOCIAL"];
-
-struct Rng(u64);
-impl Rng {
- fn next(&mut self) -> u64 {
- self.0 = self.0.wrapping_mul(6364136223846793005).wrapping_add(1442695040888963407);
- self.0 >> 33
- }
- fn pick<'a, T>(&mut self, v: &'a [T]) -> &'a T {
- &v[(self.next() as usize) % v.len()]
- }
-}
-
-struct Layout {
- card_w: f64,
- title_px: f64,
- label_px: f64,
- spacing: f64,
-}
-
-fn html(words: &[(&str, &str)], l: &Layout) -> String {
- let cards: String = words.iter().enumerate().map(|(i, (t, lab))| format!(r#"<div class="card" id="c{i}"><div class="t">{t}</div><div class="l">{lab}</div></div>"#)).collect();
- format!(r#"<!doctype html><html><head><style>
-html,body{{margin:0;width:1920px;height:400px;background:#fff;font-family:Inter,Helvetica,sans-serif;color:#111}}
-#root{{position:relative;width:1920px;height:400px;overflow:hidden}}
-.row{{position:absolute;left:40px;top:100px;display:flex;gap:16px}}
-.card{{width:{}px;height:105px;box-sizing:border-box;padding:20px 16px 0 50px;border:1px solid #ddd;border-radius:6px}}
-.t{{font-size:{}px;font-weight:700;line-height:1.3}}
-.l{{font-family:Menlo,monospace;font-size:{}px;letter-spacing:{}px;color:#666}}
-</style></head><body><div id="root" data-composition-id="main" data-start="0" data-duration="1" data-width="1920" data-height="400">
-<div class="row">{cards}</div></div>
-<script>window.__timelines = {{ main: {{ duration: function () {{ return 1; }}, seek: function () {{}}, pause: function () {{}}, time: function () {{ return 0; }} }} }};</script>
-</body></html>"#, l.card_w, l.title_px, l.label_px, l.spacing)
-}
-
-/// What a plan knows before rendering: its numbers and the estimated widths against the card's inner width.
-fn features(words: &[(&str, &str)], l: &Layout) -> Vec<f64> {
- let inner = l.card_w - 2.0 - 16.0 - 50.0;
- let tw = words.iter().map(|(t, _)| t.len() as f64 * l.title_px * 0.55).fold(0.0, f64::max);
- let lw = words.iter().map(|(_, lab)| lab.len() as f64 * (l.label_px * 0.6 + l.spacing)).fold(0.0, f64::max);
- let word = words.iter().flat_map(|(t, _)| t.split(' ')).map(|w| w.len() as f64 * l.title_px * 0.55).fold(0.0, f64::max);
- let wpt = words.iter().map(|(t, _)| t.split(' ').count() as f64).sum::<f64>() / words.len() as f64;
- vec![words.len() as f64, l.card_w, inner, l.title_px, l.label_px, l.spacing, tw, lw, word, tw / inner, lw / inner, word / inner, wpt]
-}
-
-/// The plain estimate's score for a layout: the tighter of the widest title and label against the inner width (lower
-/// is better).
-fn estimate(f: &[f64]) -> f64 {
- f[9].max(f[10])
-}
-
-pub fn lint(raea: &str, path: &std::path::Path) -> Option<f64> {
- let out = std::process::Command::new(raea).arg("lint").arg(path).args(["--layout", "--json", "--at", "0.5", "-o"]).arg(path.with_extension("crops")).output().ok()?;
- let text = String::from_utf8_lossy(&out.stdout);
- let j: serde_json::Value = serde_json::from_str(&text[text.find('{')?..]).ok()?;
- let spill = j["errors"].as_array()?.iter().any(|e| e.as_str().is_some_and(|s| s.contains(" spills ")));
- let crowded = j["warnings"].as_array()?.iter().any(|e| e.as_str().is_some_and(|s| s.contains(" wraps in ")));
- Some(if spill { 0.0 } else if crowded { 1.0 } else { 2.0 })
-}
-
-pub fn run(contents: usize, variants: usize, budget: f32) -> Result<serde_json::Value, String> {
- let raea = PathBuf::from(std::env::var("HOME").unwrap_or_default()).join("raea/engine/target/release/raea");
- let dir = std::env::temp_dir().join(format!("raea-gbm-rank-{}", std::process::id()));
- std::fs::create_dir_all(&dir).map_err(|e| e.to_string())?;
- let mut rng = Rng(7);
- // (content, features, relevance)
- let mut rows: Vec<(usize, Vec<f64>, f64)> = Vec::new();
- for c in 0..contents {
- let n = 3 + (rng.next() % 6) as usize;
- let words: Vec<(&str, &str)> = (0..n).map(|_| (*rng.pick(&TITLES), *rng.pick(&LABELS))).collect();
- for v in 0..variants {
- let l = Layout { card_w: *rng.pick(&[120.0, 150.0, 180.0, 220.0, 260.0]), title_px: *rng.pick(&[16.0, 18.0, 20.0, 24.0]),
- label_px: *rng.pick(&[12.0, 14.0, 17.0]), spacing: *rng.pick(&[0.0, 1.0, 2.0, 3.0]) };
- let path = dir.join(format!("c{c}-v{v}.html"));
- std::fs::write(&path, html(&words, &l)).map_err(|e| e.to_string())?;
- if let Some(fit) = lint(raea.to_str().unwrap_or("raea"), &path) {
- let rel = if fit == 2.0 { 2.0 + (l.title_px - 16.0) / 8.0 * 3.0 + (l.label_px - 12.0) / 5.0 } else { fit };
- rows.push((c, features(&words, &l), rel));
- }
- }
- }
- let _ = std::fs::remove_dir_all(&dir);
- let mut out = score_ranking(&rows, budget, estimate, |f| f[3] * 100.0 + f[4])?;
- out["contents"] = serde_json::json!(contents);
- Ok(out)
-}
-
-/// Rows (content, features, relevance) ranked by ListNet with contents held out by fold (5); the model's top pick
-/// against the plain estimate's (lowest `est`), the largest type's (highest `large`) and a random pick.
-pub fn score_ranking(rows: &[(usize, Vec<f64>, f64)], budget: f32, est: impl Fn(&[f64]) -> f64, large: impl Fn(&[f64]) -> f64) -> Result<serde_json::Value, String> {
- // contents held out by fold (5), each content's candidates kept together and in order (ListNet's groups)
- let k = 5;
- let mut picked_model = Vec::new();
- let mut picked_estimate = Vec::new();
- let mut picked_large = Vec::new();
- let mut clean_share = Vec::new();
- // each pick's score over the best in its content (1 = the best layout chosen)
- let (mut q_model, mut q_est, mut q_large, mut q_rand) = (Vec::new(), Vec::new(), Vec::new(), Vec::new());
- for f in 0..k {
- let train: Vec<&(usize, Vec<f64>, f64)> = rows.iter().filter(|r| r.0 % k != f).collect();
- let test: Vec<&(usize, Vec<f64>, f64)> = rows.iter().filter(|r| r.0 % k == f).collect();
- let cols = train[0].1.len();
- let data: Vec<f64> = (0..cols).flat_map(|c| train.iter().map(move |r| r.1[c])).collect();
- let y: Vec<f64> = train.iter().map(|r| r.2).collect();
- let mut groups: Vec<u64> = Vec::new();
- let mut last = usize::MAX;
- for r in &train {
- if r.0 != last {
- groups.push(0);
- last = r.0;
- }
- *groups.last_mut().unwrap() += 1;
- }
- let mut b = PerpetualBooster::default().set_objective(Objective::ListNetLoss).set_budget(budget).set_seed(0).set_num_threads(Some(1));
- b.fit(&Matrix::new(&data, train.len(), cols), &y, None, Some(&groups)).map_err(|e| format!("{e:?}"))?;
- let tdata: Vec<f64> = (0..cols).flat_map(|c| test.iter().map(move |r| r.1[c])).collect();
- let score = b.predict(&Matrix::new(&tdata, test.len(), cols), false);
- let mut contents_in: Vec<usize> = test.iter().map(|r| r.0).collect();
- contents_in.dedup();
- for c in contents_in {
- let idx: Vec<usize> = (0..test.len()).filter(|&i| test[i].0 == c).collect();
- let best_model = *idx.iter().max_by(|&&a, &&b| score[a].total_cmp(&score[b])).unwrap();
- let best_est = *idx.iter().min_by(|&&a, &&b| est(&test[a].1).total_cmp(&est(&test[b].1))).unwrap();
- picked_model.push(test[best_model].2);
- picked_estimate.push(test[best_est].2);
- // the biggest type: the largest title, then label
- let best_large = *idx.iter().max_by(|&&a, &&b| large(&test[a].1).total_cmp(&large(&test[b].1))).unwrap();
- picked_large.push(test[best_large].2);
- let top = idx.iter().map(|&i| test[i].2).fold(0.0, f64::max).max(1e-9);
- q_model.push(test[best_model].2 / top);
- q_est.push(test[best_est].2 / top);
- q_large.push(test[best_large].2 / top);
- q_rand.push(idx.iter().map(|&i| test[i].2 / top).sum::<f64>() / idx.len() as f64);
- clean_share.push(idx.iter().filter(|&&i| test[i].2 >= 2.0).count() as f64 / idx.len() as f64);
- }
- }
- let share = |v: &[f64], x: f64| (v.iter().filter(|r| **r == x).count() as f64 / v.len().max(1) as f64 * 1000.0).round() / 1000.0;
- let clean = |v: &[f64]| (v.iter().filter(|r| **r >= 2.0).count() as f64 / v.len().max(1) as f64 * 1000.0).round() / 1000.0;
- let mean = |v: &[f64]| (v.iter().sum::<f64>() / v.len().max(1) as f64 * 1000.0).round() / 1000.0;
- let any_clean = clean_share.iter().filter(|s| **s > 0.0).count();
- Ok(serde_json::json!({
- "layouts": rows.len(), "labels": {"clean": rows.iter().filter(|r| r.2 >= 2.0).count(), "crowded_only": rows.iter().filter(|r| r.2 == 1.0).count(), "spill": rows.iter().filter(|r| r.2 == 0.0).count()},
- "contents_with_a_clean_layout": any_clean,
- "top_pick_clean": {"model": clean(&picked_model), "roomiest": clean(&picked_estimate), "largest_type": clean(&picked_large), "random": mean(&clean_share)},
- "top_pick_spills": {"model": share(&picked_model, 0.0), "roomiest": share(&picked_estimate, 0.0), "largest_type": share(&picked_large, 0.0)},
- "top_pick_quality_of_best": {"model": mean(&q_model), "roomiest": mean(&q_est), "largest_type": mean(&q_large), "random": mean(&q_rand)},
- }))
-}
diff --git a/tabular/requirements.txt b/tabular/requirements.txt
deleted file mode 100644
index 2fda33ef..00000000
--- a/tabular/requirements.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-anyio==4.15.1
-click==8.5.0
-cloudpickle==3.1.2
-einops==0.8.2
-filelock==4.2.0
-fsspec==2026.9.0
-h11==0.16.0
-hf-xet==1.7.0
-httpcore2==2.13.1
-httpx2==2.13.1
-huggingface-hub==2.2.0
-idna==3.20
-jinja2==3.1.6
-joblib==1.6.0
-markupsafe==3.0.4
-mpmath==1.3.0
-narwhals==2.27.1
-networkx==3.7
-numpy==2.5.4
-packaging==26.3
-psutil==7.2.2
-pyyaml==6.0.3
-scikit-learn==1.9.1
-scipy==1.18.1
-setuptools==84.0.0
-sympy==1.14.0
-tabicl==2.0.2
-threadpoolctl==3.7.0
-torch==2.14.1
-tqdm==4.70.1
-truststore==0.10.5
-typing-extensions==4.16.0
diff --git a/tools/README.md b/tools/README.md
new file mode 100644
index 00000000..839ccfa3
--- /dev/null
+++ b/tools/README.md
@@ -0,0 +1,8 @@
+# tools
+
+Build helpers shared by every crate.
+
+- `link-jit.sh`: the linker wrapper `.cargo/config.toml` sets for `aarch64-apple-darwin`. It links normally, then
+ signs the binary with `jit.entitlements`, because JavaScriptCore keeps its JIT off in a binary without the JIT
+ entitlement.
+- `jit.entitlements`: that entitlement.
diff --git a/void/README.md b/void/README.md
new file mode 100644
index 00000000..36c96ff5
--- /dev/null
+++ b/void/README.md
@@ -0,0 +1,24 @@
+# void
+
+void, the Mac app built on raea: a black window you talk to. Describe a reel, a promo, a deck or a game; its agent
+writes the composition as a React + TypeScript project, renders it, checks the frames and the sound, and plays it on
+its stage.
+
+- The window is a black canvas with a stage and a terminal, drawn by raea's own engine through Dioxus Native (no
+ webview). The terminal is a real terminal emulator (alacritty_terminal) showing void's own lines.
+- void works in a folder you pick. Each thing it makes is an object in its own folder; chats are sessions.
+- The agent (`src/brain.rs`) works with a shell over the project folder ([`shell/`](../shell), with the `raea` command
+ from [`cli/`](../cli)) and a tool to look at stills. Its procedure is `prompts/sops/ts.md` and its craft library is
+ `prompts/craft/`. The model is set in `~/.raea/env`; see [docs/settings.md](../docs/settings.md).
+- Voice (`src/voice`): voice activity, end-of-turn detection, speech-to-text and text-to-speech, four models on ONNX
+ Runtime, downloaded on first use.
+- An MCP server on `127.0.0.1:7457` (`src/mcp.rs`): `state`, `screenshot`, `send`, `act`, `wait`, `logs`, `hear`,
+ `say`, so another agent can drive it.
+- `void eval` (`src/eval.rs`) runs the agent headless on the Gherkin scenarios in `evals/` and grades the renders.
+
+Other folders: `parts/` (React parts for edits and the brand-kit writer, `brand.ts`), `brand/` (logos), `assets/` and `tw/` (styles), `native/` (an early
+spike of the window on Blitz), `vendor/dioxus-native` (a vendored copy).
+
+Build with `cargo build --release` in this folder and run `./target/release/void`.
+
+Status: canary; changes daily.
diff --git a/void/bench/results/20261018-void-gates.json b/void/bench/results/20261018-void-gates.json
deleted file mode 100644
index 46506834..00000000
--- a/void/bench/results/20261018-void-gates.json
+++ /dev/null
@@ -1,812 +0,0 @@
-{
- "what": "The no-V8 goal's gates measured inside void's own window (void/bench/probe.rs + gates.py), 2026-10-18, M5 Pro, a 60 Hz 2560x1440 display at scale 1. void built 09:09 from rrl-overnight HEAD 9a80d0f plus the working tree (other sessions' uncommitted react/src changes included); raea-motion built 08:59.",
- "window_onscreen_12s": {
- "note": "a fresh test window (RAEA_VOID_BACKGROUND=1), measured in its first seconds while macOS drew it; window = each chrome frame rendered and presented (ON_RENDER); stage = step + paint into the chrome's texture; input = a key change through stage_native::key to the end of the first window present after the stage painted it",
- "pong": {
- "budget_ms": 16.666666666666668,
- "composition_fps": 120.0,
- "display_hz": 60.0,
- "input_to_present_ms": {
- "max": 50.471,
- "p50": 41.16,
- "p99": 50.458,
- "p99_frames": 6.0549599999999995,
- "sent": 77,
- "timed": 77,
- "to_paint_max": 33.73,
- "to_paint_p50": 23.819,
- "to_paint_p99": 32.988,
- "to_paint_timed": 77
- },
- "page": [
- 708,
- 748
- ],
- "seconds": 12.0,
- "stage": {
- "gap_ms": {
- "max": 35.294,
- "p50": 16.671,
- "p99": 17.507
- },
- "missed": 3,
- "painted": 718,
- "painted_fps": 59.72699233020303,
- "stepped": 1444,
- "work_ms": {
- "max": 35.288,
- "p50": 16.667,
- "p99": 17.503
- }
- },
- "stage_error": null,
- "stage_frame": 1574,
- "window": {
- "gap_ms": {
- "max": 35.262,
- "p50": 16.666,
- "p99": 17.582
- },
- "missed": 3,
- "render_ms": {
- "max": 35.206,
- "p50": 16.615,
- "p99": 17.528
- },
- "rendered": 718,
- "rendered_fps": 59.72699233020303
- },
- "load1": {
- "start": 7.28,
- "end": 6.93
- },
- "onscreen": true,
- "rss_mb": {
- "first": 491.7,
- "last": 498.3,
- "max": 498.3,
- "footprint_last": 579.6
- }
- },
- "platformer": {
- "budget_ms": 16.666666666666668,
- "composition_fps": 120.0,
- "display_hz": 60.0,
- "input_to_present_ms": {
- "max": 51.045,
- "p50": 42.983,
- "p99": 50.903,
- "p99_frames": 6.108359999999999,
- "sent": 77,
- "timed": 77,
- "to_paint_max": 35.681,
- "to_paint_p50": 25.281,
- "to_paint_p99": 33.581,
- "to_paint_timed": 77
- },
- "page": [
- 708,
- 748
- ],
- "seconds": 12.0,
- "stage": {
- "gap_ms": {
- "max": 34.095,
- "p50": 16.684,
- "p99": 21.539
- },
- "missed": 4,
- "painted": 719,
- "painted_fps": 59.74580652526807,
- "stepped": 1445,
- "work_ms": {
- "max": 34.093,
- "p50": 16.681,
- "p99": 21.536
- }
- },
- "stage_error": null,
- "stage_frame": 1817,
- "window": {
- "gap_ms": {
- "max": 33.857,
- "p50": 16.688,
- "p99": 17.902
- },
- "missed": 1,
- "render_ms": {
- "max": 33.769,
- "p50": 16.617,
- "p99": 17.86
- },
- "rendered": 721,
- "rendered_fps": 59.9119979203314
- },
- "load1": {
- "start": 20.91,
- "end": 20.18
- },
- "onscreen": true,
- "rss_mb": {
- "first": 472.8,
- "last": 475.3,
- "max": 475.3,
- "footprint_last": 603.3
- }
- },
- "titles": {
- "budget_ms": 33.333333333333336,
- "composition_fps": 30.0,
- "display_hz": 60.0,
- "input_to_present_ms": {
- "max": 0.0,
- "p50": 0.0,
- "p99": 0.0,
- "p99_frames": 0.0,
- "sent": 0,
- "timed": 0,
- "to_paint_max": 0.0,
- "to_paint_p50": 0.0,
- "to_paint_p99": 0.0,
- "to_paint_timed": 0
- },
- "page": [
- 1080,
- 1920
- ],
- "seconds": 12.0,
- "stage": {
- "gap_ms": {
- "max": 68.295,
- "p50": 33.364,
- "p99": 66.894
- },
- "missed": 30,
- "painted": 352,
- "painted_fps": 29.334197672801313,
- "stepped": 361,
- "work_ms": {
- "max": 67.727,
- "p50": 17.938,
- "p99": 52.407
- }
- },
- "stage_error": null,
- "stage_frame": 424,
- "window": {
- "gap_ms": {
- "max": 70.704,
- "p50": 32.756,
- "p99": 67.028
- },
- "missed": 35,
- "render_ms": {
- "max": 68.767,
- "p50": 30.608,
- "p99": 66.467
- },
- "rendered": 386,
- "rendered_fps": 32.16761449346962
- },
- "load1": {
- "start": 24.83,
- "end": 23.57
- },
- "onscreen": true,
- "rss_mb": {
- "first": 497.4,
- "last": 528.2,
- "max": 528.2,
- "footprint_last": 742.7
- }
- }
- },
- "stage_only_300s": {
- "note": "the window went off screen (kCGWindowIsOnscreen unset) within ~15 s of launch, so the chrome rendered nothing (window counts 0) while the stage kept stepping and painting its texture at 120 fps; these are stage-thread numbers only",
- "pong": {
- "kind": "game",
- "opened_s": 1.0,
- "measured": {
- "budget_ms": 16.666666666666668,
- "composition_fps": 120.0,
- "display_hz": 60.0,
- "input_to_present_ms": {
- "max": 0.0,
- "p50": 0.0,
- "p99": 0.0,
- "p99_frames": 0.0,
- "sent": 1964,
- "timed": 0
- },
- "page": [
- 708,
- 748
- ],
- "seconds": 300.5,
- "stage": {
- "gap_ms": {
- "max": 22.558,
- "p50": 8.324,
- "p99": 9.223
- },
- "missed": 0,
- "painted": 36059,
- "painted_fps": 119.99795455384879,
- "stepped": 36060,
- "work_ms": {
- "max": 15.536,
- "p50": 1.142,
- "p99": 1.76
- }
- },
- "stage_error": null,
- "stage_frame": 91428,
- "window": {
- "gap_ms": {
- "max": 0.0,
- "p50": 0.0,
- "p99": 0.0
- },
- "missed": 0,
- "render_ms": {
- "max": 0.0,
- "p50": 0.0,
- "p99": 0.0
- },
- "rendered": 0,
- "rendered_fps": 0.0
- },
- "load1": {
- "at_lock": 24.33,
- "start": 24.33,
- "end": 12.61
- },
- "rss_mb": {
- "first": 533.1,
- "last": 544.5,
- "max": 544.5,
- "footprint_last": 441.4
- }
- },
- "render_vs_play": [
- {
- "frame": 98629,
- "play": "$SCRATCH/shots/pong-void-now.png",
- "error": null,
- "render": "$SCRATCH/shots/pong-render-98629.png",
- "sizes": {
- "void": [
- 708,
- 748
- ],
- "render": [
- 1920,
- 1080
- ]
- },
- "note": "sizes differ (a responsive game laid out at void's stage box); compared after scaling void's page",
- "ssim": 0.840265
- }
- ],
- "void_vs_offscreen_play": [
- {
- "frame": 289,
- "page": [
- 708,
- 748
- ],
- "void": "$SCRATCH/shots/pong-void-nokeys.png",
- "offscreen": "$SCRATCH/shots/pong-offscreen-289.png",
- "ssim": 0.999974
- }
- ]
- },
- "platformer": {
- "kind": "game",
- "opened_s": 2.0,
- "measured": {
- "budget_ms": 16.666666666666668,
- "composition_fps": 120.0,
- "display_hz": 60.0,
- "input_to_present_ms": {
- "max": 0.0,
- "p50": 0.0,
- "p99": 0.0,
- "p99_frames": 0.0,
- "sent": 1963,
- "timed": 0
- },
- "page": [
- 708,
- 748
- ],
- "seconds": 300.6,
- "stage": {
- "gap_ms": {
- "max": 25.303,
- "p50": 8.326,
- "p99": 9.257
- },
- "missed": 1,
- "painted": 36067,
- "painted_fps": 119.96412576391906,
- "stepped": 36078,
- "work_ms": {
- "max": 21.99,
- "p50": 0.954,
- "p99": 1.572
- }
- },
- "stage_error": null,
- "stage_frame": 118114,
- "window": {
- "gap_ms": {
- "max": 0.0,
- "p50": 0.0,
- "p99": 0.0
- },
- "missed": 0,
- "render_ms": {
- "max": 0.0,
- "p50": 0.0,
- "p99": 0.0
- },
- "rendered": 0,
- "rendered_fps": 0.0
- },
- "load1": {
- "at_lock": 31.07,
- "start": 31.07,
- "end": 20.77
- },
- "rss_mb": {
- "first": 650.4,
- "last": 650.0,
- "max": 650.6,
- "footprint_last": 429.4
- }
- },
- "render_vs_play": [
- {
- "frame": 125315,
- "play": "$SCRATCH/shots/platformer-void-now.png",
- "error": null,
- "render": "$SCRATCH/shots/platformer-render-125315.png",
- "sizes": {
- "void": [
- 708,
- 748
- ],
- "render": [
- 1920,
- 1080
- ]
- },
- "note": "sizes differ (a responsive game laid out at void's stage box); compared after scaling void's page",
- "ssim": 0.890479
- }
- ],
- "void_vs_offscreen_play": [
- {
- "frame": 284,
- "page": [
- 708,
- 748
- ],
- "void": "$SCRATCH/shots/platformer-void-nokeys.png",
- "offscreen": "$SCRATCH/shots/platformer-offscreen-284.png",
- "ssim": 0.999992
- }
- ]
- }
- },
- "stage_only_60s_with_render_checks": {
- "pong": {
- "kind": "game",
- "opened_s": 2.0,
- "measured": {
- "budget_ms": 16.666666666666668,
- "composition_fps": 120.0,
- "display_hz": 60.0,
- "input_to_present_ms": {
- "max": 0.0,
- "p50": 0.0,
- "p99": 0.0,
- "p99_frames": 0.0,
- "sent": 396,
- "timed": 0,
- "to_paint_max": 9.923,
- "to_paint_p50": 5.787,
- "to_paint_p99": 9.471,
- "to_paint_timed": 396
- },
- "page": [
- 708,
- 748
- ],
- "seconds": 60.4,
- "stage": {
- "gap_ms": {
- "max": 13.227,
- "p50": 8.322,
- "p99": 9.32
- },
- "missed": 0,
- "painted": 7249,
- "painted_fps": 120.01063755351811,
- "stepped": 7249,
- "work_ms": {
- "max": 5.872,
- "p50": 0.828,
- "p99": 1.304
- }
- },
- "stage_error": null,
- "stage_frame": 62464,
- "window": {
- "gap_ms": {
- "max": 0.0,
- "p50": 0.0,
- "p99": 0.0
- },
- "missed": 0,
- "render_ms": {
- "max": 0.0,
- "p50": 0.0,
- "p99": 0.0
- },
- "rendered": 0,
- "rendered_fps": 0.0
- },
- "load1": {
- "at_lock": 3.5,
- "start": 3.5,
- "end": 2.83
- },
- "rss_mb": {
- "first": 468.4,
- "last": 470.8,
- "max": 470.8,
- "footprint_last": 408.0
- }
- },
- "render_vs_play": [
- {
- "frame": 69663,
- "play": "$SCRATCH/shots/pong-void-now.png",
- "error": null,
- "render": "$SCRATCH/shots/pong-render-69663.png",
- "sizes": {
- "void": [
- 708,
- 748
- ],
- "render": [
- 1920,
- 1080
- ]
- },
- "note": "sizes differ (a responsive game laid out at void's stage box); compared after scaling void's page",
- "ssim": 0.840265
- }
- ],
- "void_vs_offscreen_play": [
- {
- "frame": 276,
- "page": [
- 708,
- 748
- ],
- "void": "$SCRATCH/shots/pong-void-nokeys.png",
- "offscreen": "$SCRATCH/shots/pong-offscreen-276.png",
- "ssim": 0.999974
- }
- ]
- },
- "platformer": {
- "kind": "game",
- "opened_s": 2.0,
- "measured": {
- "budget_ms": 16.666666666666668,
- "composition_fps": 120.0,
- "display_hz": 60.0,
- "input_to_present_ms": {
- "max": 0.0,
- "p50": 0.0,
- "p99": 0.0,
- "p99_frames": 0.0,
- "sent": 395,
- "timed": 0,
- "to_paint_max": 18.637,
- "to_paint_p50": 5.268,
- "to_paint_p99": 9.924,
- "to_paint_timed": 395
- },
- "page": [
- 708,
- 748
- ],
- "seconds": 60.4,
- "stage": {
- "gap_ms": {
- "max": 28.021,
- "p50": 8.325,
- "p99": 9.466
- },
- "missed": 1,
- "painted": 7253,
- "painted_fps": 119.9936136027174,
- "stepped": 7254,
- "work_ms": {
- "max": 24.249,
- "p50": 0.937,
- "p99": 1.95
- }
- },
- "stage_error": null,
- "stage_frame": 30052,
- "window": {
- "gap_ms": {
- "max": 0.0,
- "p50": 0.0,
- "p99": 0.0
- },
- "missed": 0,
- "render_ms": {
- "max": 0.0,
- "p50": 0.0,
- "p99": 0.0
- },
- "rendered": 0,
- "rendered_fps": 0.0
- },
- "load1": {
- "at_lock": 5.17,
- "start": 5.17,
- "end": 6.8
- },
- "rss_mb": {
- "first": 308.4,
- "last": 311.2,
- "max": 311.2,
- "footprint_last": 423.9
- }
- },
- "render_vs_play": [
- {
- "frame": 37250,
- "play": "$SCRATCH/shots/platformer-void-now.png",
- "error": null,
- "render": "$SCRATCH/shots/platformer-render-37250.png",
- "sizes": {
- "void": [
- 708,
- 748
- ],
- "render": [
- 1920,
- 1080
- ]
- },
- "note": "sizes differ (a responsive game laid out at void's stage box); compared after scaling void's page",
- "ssim": 0.897284
- }
- ],
- "void_vs_offscreen_play": [
- {
- "frame": 281,
- "page": [
- 708,
- 748
- ],
- "void": "$SCRATCH/shots/platformer-void-nokeys.png",
- "offscreen": "$SCRATCH/shots/platformer-offscreen-281.png",
- "ssim": 0.999992
- }
- ]
- },
- "titles": {
- "kind": "timeline",
- "opened_s": 2.0,
- "measured": {
- "budget_ms": 33.333333333333336,
- "composition_fps": 30.0,
- "display_hz": 60.0,
- "input_to_present_ms": {
- "max": 0.0,
- "p50": 0.0,
- "p99": 0.0,
- "p99_frames": 0.0,
- "sent": 0,
- "timed": 0,
- "to_paint_max": 0.0,
- "to_paint_p50": 0.0,
- "to_paint_p99": 0.0,
- "to_paint_timed": 0
- },
- "page": [
- 1080,
- 1920
- ],
- "seconds": 30.2,
- "stage": {
- "gap_ms": {
- "max": 34.866,
- "p50": 33.336,
- "p99": 34.401
- },
- "missed": 0,
- "painted": 906,
- "painted_fps": 30.0173669601451,
- "stepped": 906,
- "work_ms": {
- "max": 9.285,
- "p50": 0.983,
- "p99": 9.087
- }
- },
- "stage_error": null,
- "stage_frame": 296,
- "window": {
- "gap_ms": {
- "max": 0.0,
- "p50": 0.0,
- "p99": 0.0
- },
- "missed": 0,
- "render_ms": {
- "max": 0.0,
- "p50": 0.0,
- "p99": 0.0
- },
- "rendered": 0,
- "rendered_fps": 0.0
- },
- "load1": {
- "at_lock": 5.86,
- "start": 5.86,
- "end": 4.76
- },
- "rss_mb": {
- "first": 320.3,
- "last": 328.7,
- "max": 328.7,
- "footprint_last": 487.1
- }
- },
- "render_vs_play": [
- {
- "frame": 0,
- "play": "$SCRATCH/shots/titles-void-0.png",
- "render": "$SCRATCH/shots/titles-render-0.png",
- "sizes": {
- "void": [
- 1080,
- 1920
- ],
- "render": [
- 1080,
- 1920
- ]
- },
- "ssim": 1.0,
- "offscreen": "$SCRATCH/shots/titles-offscreen-0.png"
- },
- {
- "frame": 45,
- "play": "$SCRATCH/shots/titles-void-45.png",
- "render": "$SCRATCH/shots/titles-render-45.png",
- "sizes": {
- "void": [
- 1080,
- 1920
- ],
- "render": [
- 1080,
- 1920
- ]
- },
- "ssim": 0.99867,
- "offscreen": "$SCRATCH/shots/titles-offscreen-45.png"
- },
- {
- "frame": 120,
- "play": "$SCRATCH/shots/titles-void-120.png",
- "render": "$SCRATCH/shots/titles-render-120.png",
- "sizes": {
- "void": [
- 1080,
- 1920
- ],
- "render": [
- 1080,
- 1920
- ]
- },
- "ssim": 0.996748,
- "offscreen": "$SCRATCH/shots/titles-offscreen-120.png"
- },
- {
- "frame": 300,
- "play": "$SCRATCH/shots/titles-void-300.png",
- "render": "$SCRATCH/shots/titles-render-300.png",
- "sizes": {
- "void": [
- 1080,
- 1920
- ],
- "render": [
- 1080,
- 1920
- ]
- },
- "ssim": 0.996588,
- "offscreen": "$SCRATCH/shots/titles-offscreen-300.png"
- },
- {
- "frame": 450,
- "play": "$SCRATCH/shots/titles-void-450.png",
- "render": "$SCRATCH/shots/titles-render-450.png",
- "sizes": {
- "void": [
- 1080,
- 1920
- ],
- "render": [
- 1080,
- 1920
- ]
- },
- "ssim": 0.996575,
- "offscreen": "$SCRATCH/shots/titles-offscreen-450.png"
- },
- {
- "frame": 599,
- "play": "$SCRATCH/shots/titles-void-599.png",
- "render": "$SCRATCH/shots/titles-render-599.png",
- "sizes": {
- "void": [
- 1080,
- 1920
- ],
- "render": [
- 1080,
- 1920
- ]
- },
- "ssim": 0.995103,
- "offscreen": "$SCRATCH/shots/titles-offscreen-599.png"
- }
- ],
- "void_vs_offscreen_play": [
- {
- "frame": 0,
- "ssim": 1.0
- },
- {
- "frame": 45,
- "ssim": 0.99867
- },
- {
- "frame": 120,
- "ssim": 0.996748
- },
- {
- "frame": 300,
- "ssim": 0.996588
- },
- {
- "frame": 450,
- "ssim": 0.996575
- },
- {
- "frame": 599,
- "ssim": 0.995103
- }
- ]
- }
- },
- "video": {
- "cj-reel (media/golden/10-cj-reel)": "not measured: baked play panics at engine/vendor/blitz-dom/src/mutator.rs:671 (insert_nodes_before) a few seconds in, in void (the panic hook aborts void) and offscreen alike; 20-cj-simulate the same. The coordinator says it is a lite-runtime bug and is on it."
- }
-}
\ No newline at end of file
diff --git a/void/evals/scenarios-basic/game/arcade.feature b/void/evals/scenarios-basic/game/arcade.feature
index 64d4fe34..b7ef6d55 100644
--- a/void/evals/scenarios-basic/game/arcade.feature
+++ b/void/evals/scenarios-basic/game/arcade.feature
@@ -1,6 +1,6 @@
@medium:game
-Feature: Games, as scenes today
- rrl has no input rows or game state yet (void/evals/gaps), so these ask for a game's scene and its motion, played
+Feature: Games as scenes
+ These ask for a game's scene and its motion, played
by rules over time.
@level:hard
diff --git a/void/evals/scenarios-basic/game/attract.feature b/void/evals/scenarios-basic/game/attract.feature
index 3ec883c0..1cc94e9e 100644
--- a/void/evals/scenarios-basic/game/attract.feature
+++ b/void/evals/scenarios-basic/game/attract.feature
@@ -1,5 +1,5 @@
@medium:game
-Feature: Game screens rrl can play today
+Feature: Game screens with no input
Attract loops, scoreboards and game-over screens: motion from rules over time, no input. Shapes are boxes.
@level:easy
diff --git a/void/evals/scenarios-basic/game/rules.feature b/void/evals/scenarios-basic/game/rules.feature
index c7b03b44..703ca5c0 100644
--- a/void/evals/scenarios-basic/game/rules.feature
+++ b/void/evals/scenarios-basic/game/rules.feature
@@ -1,6 +1,6 @@
@medium:game
Feature: Game scenes played by rules
- rrl has no input yet, so these are game scenes whose motion comes from rules over time. Nothing draws rect or
+ Game scenes whose motion comes from rules over time, with no player input. Nothing draws rect or
circle, so shapes are boxes.
@level:hard
diff --git a/void/evals/scenarios-basic/scene3d/camera-light.feature b/void/evals/scenarios-basic/scene3d/camera-light.feature
deleted file mode 100644
index 4f8020f9..00000000
--- a/void/evals/scenarios-basic/scene3d/camera-light.feature
+++ /dev/null
@@ -1,29 +0,0 @@
-@medium:scene3d
-Feature: Camera, lighting and turntables in 3D
- The hook example (a turning cube, a ring of spheres, titles) and a product turntable from nothing.
-
- @level:medium
- Scenario: A slow dolly in
- Given the space "hook"
- When the person says "add a slow dolly in on the cube over the whole video, starting where the camera is now and ending much closer"
- Then expect C.z >= 8.5 if camera C, frame = 0
- And expect C.z <= 6.5 if camera C, frame = 149
- And the judge sees "the cube appears noticeably larger in later frames as the camera moves closer" at frames 0, 75, 149
- And it costs under $0.20
-
- @level:easy
- Scenario: Moody sunset light
- Given the space "hook"
- When the person says "make the lighting moody, like a dim sunset"
- Then expect L.lux <= 5000 if light L
- And the judge sees "a dimmer, warmer, moodier 3D scene than a bright daylight render; the cube still visible" at frames 30, 120
- And it costs under $0.10
-
- @level:hard
- Scenario: A product turntable
- Given an empty space
- When the person says "make a 5-second product turntable: one orange cube on a floor, turning exactly one full rotation over the video, fixed camera, soft studio light"
- Then expect B.rot_y <= 0.1 if cube B, frame = 0
- And expect B.rot_y >= 6.0 and B.rot_y <= 6.6 if cube B, frame = 149
- And the judge sees "a lit orange cube on a floor, seen from a fixed camera, turned to a different angle in each frame" at frames 0, 50, 100
- And it costs under $0.40
diff --git a/void/evals/scenarios-basic/scene3d/hook-3d.feature b/void/evals/scenarios-basic/scene3d/hook-3d.feature
deleted file mode 100644
index 67529f2f..00000000
--- a/void/evals/scenarios-basic/scene3d/hook-3d.feature
+++ /dev/null
@@ -1,26 +0,0 @@
-@medium:scene3d
-Feature: Changes to a 3D product hook
- The hook example: a turning cube, a ring of spheres, titles, a caption that dodges a face.
-
- Background:
- Given the space "hook"
-
- @level:easy
- Scenario: A blue cube
- When the person says "make the cube blue"
- Then expect hue(B.color) >= 190 and hue(B.color) <= 250 if cube B
- And the judge sees "the central cube is blue" at frames 30, 120
- And it costs under $0.10
-
- @level:medium
- Scenario: Spin twice as fast
- When the person says "make the cube spin twice as fast"
- Then expect B.rot_y >= 6.0 if cube B, frame = 90
- And it costs under $0.15
-
- @level:hard
- Scenario: A glowing ring of light
- When the person says "replace the ring of spheres with a ring of small glowing cubes that pulse in size"
- Then expect not S.class = "ring" if sphere S
- And the judge sees "a ring of small cubes around the central cube, no spheres, sizes varying between frames" at frames 20, 60, 100
- And it costs under $0.30
diff --git a/void/evals/scenarios-basic/scene3d/materials-moves.feature b/void/evals/scenarios-basic/scene3d/materials-moves.feature
deleted file mode 100644
index 3ef9bbb7..00000000
--- a/void/evals/scenarios-basic/scene3d/materials-moves.feature
+++ /dev/null
@@ -1,40 +0,0 @@
-@medium:scene3d
-Feature: Materials, lights and camera moves on the 3D hook
- The hook example: an orange cube on a floor, a ring of spheres, one sun light, a camera at z 9 looking at the cube.
-
- Background:
- Given the space "hook"
-
- @level:easy
- Scenario: A mirror floor
- When the person says "make the floor polished glossy black, like a mirror"
- Then expect P.rough <= 0.2 if plane P
- And expect lum(P.color) <= 0.08 if plane P
- And the judge sees "a 3D scene whose floor is glossy black, showing reflections or bright highlights" at frames 30, 120
- And it costs under $0.10
-
- @level:medium
- Scenario: Brushed gold
- When the person says "make the cube look like brushed gold metal"
- Then expect hue(B.color) >= 35 and hue(B.color) <= 55 if cube B
- And expect B.metal >= 0.8 if cube B
- And expect B.rough >= 0.2 and B.rough <= 0.6 if cube B
- And the judge sees "the central cube looks like gold metal, with soft brushed highlights rather than a mirror finish" at frames 30, 120
- And it costs under $0.25
-
- @level:easy
- Scenario: A blue rim light
- When the person says "add a second light: a cool blue rim light from behind the cube, keep the sun as it is"
- Then expect count(light) >= 2
- And expect L.lux >= 8000 if light L {id: sun}
- And the judge sees "the cube lit from the front as before, with a cool blue edge light along its outline from behind" at frames 30, 120
- And it costs under $0.10
-
- @level:medium
- Scenario: Orbit halfway round
- When the person says "orbit the camera halfway around the cube over the whole video, at the same height, always looking at the cube"
- Then expect C.z >= 8 if camera C, frame = 0
- And expect C.z <= -6 if camera C, frame = 149
- And expect C.y >= 1.8 and C.y <= 2.6 if camera C
- And the judge sees "the cube seen from the front first, from the side mid-way, from behind at the end, always centred in view" at frames 0, 75, 149
- And it costs under $0.25
diff --git a/void/evals/scenarios-basic/ugc/audio.feature b/void/evals/scenarios-basic/ugc/audio.feature
deleted file mode 100644
index e027e970..00000000
--- a/void/evals/scenarios-basic/ugc/audio.feature
+++ /dev/null
@@ -1,34 +0,0 @@
-@medium:ugc
-Feature: Music, ducking and loudness on the talking-head ad
- The bed sits at -4 dB and ducks to -18 under speech; the master is -14 LUFS with a -1.5 dB ceiling, and the brief
- holds the mix to -14 LUFS within 1 LU.
-
- Background:
- Given the space "ugc"
-
- @level:easy
- Scenario: Duck the music less
- When the person says "the music disappears when she talks, only duck it to -12 dB"
- Then expect A.gain >= -12.5 and A.gain <= -11.5 if audio A {id: music}, speech W, frame >= W.from + 12, frame < W.to - 6
- And it costs under $0.10
-
- @level:medium
- Scenario: No music under the hook
- When the person says "no music during the hook, bring the bed in once the hook title is gone"
- Then expect A.gain <= -40 if audio A, live(A), frame < 70
- And expect A.gain >= -20 if audio A {id: music}, live(A), frame >= 100, frame < 126
- And it costs under $0.20
-
- @level:easy
- Scenario: A safer ceiling
- When the person says "set the master ceiling to -2 dB, some platforms clip it"
- Then expect M.ceiling <= -2 and M.ceiling >= -2.5 if master M
- And expect M.lufs = -14 if master M
- And it costs under $0.10
-
- @level:hard
- Scenario: Louder than the brief allows
- When the person says "master it to -10 LUFS, I want it louder than everything else in the feed"
- Then expect M.lufs >= -15 and M.lufs <= -13 if master M
- And the reply says "-14"
- And it costs under $0.40
diff --git a/void/evals/scenarios-basic/ugc/brand-captions.feature b/void/evals/scenarios-basic/ugc/brand-captions.feature
deleted file mode 100644
index a85412d4..00000000
--- a/void/evals/scenarios-basic/ugc/brand-captions.feature
+++ /dev/null
@@ -1,23 +0,0 @@
-@medium:ugc
-Feature: Captions styled to a brand on the talking-head ad
- Brand kits arrive as a font and a colour; the captions and the hook take them on together.
-
- Background:
- Given the space "ugc"
-
- @level:medium
- Scenario: Captions on a dark pill
- When the person says "brand caption style: Montserrat, extra bold, white text on a solid black rounded box behind each caption"
- Then expect C.font = "Montserrat" if caption C
- And expect C.size >= 60 if caption C
- And the judge sees "white bold captions, each sitting on a solid black rounded box, fully readable over the video" at frames 60, 300, 500
- And it costs under $0.25
-
- @level:easy
- Scenario: A teal brand kit
- When the person says "our brand colour is teal #00b3a4. make the captions that teal, and make the hook pill the same teal with white text"
- Then expect hue(C.color) >= 165 and hue(C.color) <= 185 and sat(C.color) >= 0.5 if caption C
- And expect hue(T.bg) >= 165 and hue(T.bg) <= 185 if title T {id: hook}
- And expect lum(T.color) >= 0.9 if title T {id: hook}
- And the judge sees "teal captions and a teal hook pill with white text, all readable" at frames 30, 300
- And it costs under $0.10
diff --git a/void/evals/scenarios-basic/ugc/broll.feature b/void/evals/scenarios-basic/ugc/broll.feature
deleted file mode 100644
index ffa1a878..00000000
--- a/void/evals/scenarios-basic/ugc/broll.feature
+++ /dev/null
@@ -1,20 +0,0 @@
-@medium:ugc
-Feature: B-roll changes on the talking-head ad
- Two b-roll clips sit over the talking head at z 1: a screen recording over the explanation, a second clip over
- the payoff.
-
- Background:
- Given the space "ugc"
-
- @level:easy
- Scenario: Drop the second b-roll
- When the person says "get rid of the b-roll at the end, I want her on camera for the payoff"
- Then expect C.to <= 593 if clip C {z: 1}
- And the judge sees "the speaker's face fills the frame during the closing lines, no cutaway footage" at frames 620, 680
- And it costs under $0.10
-
- @level:easy
- Scenario: Cover the whole sentence
- When the person says "extend the screen recording so it covers the whole 'automating means handing someone's job to a model' sentence, start to finish"
- Then expect B.from <= 189 and B.to >= 342 if clip B {z: 1}, B.from < 400
- And it costs under $0.10
diff --git a/void/evals/scenarios-basic/ugc/captions.feature b/void/evals/scenarios-basic/ugc/captions.feature
deleted file mode 100644
index 61978cf8..00000000
--- a/void/evals/scenarios-basic/ugc/captions.feature
+++ /dev/null
@@ -1,37 +0,0 @@
-@medium:ugc
-Feature: Caption styling and timing on the talking-head ad
- The captions share one style, `cap`, and run three or four words at a time across each sentence.
-
- Background:
- Given the space "ugc"
-
- @level:easy
- Scenario: Impact captions
- When the person says "switch the caption font to Impact, it reads better on a phone"
- Then expect C.font = "Impact" if caption C
- And the judge sees "bold condensed Impact-style captions, still readable over the video" at frames 30, 400
- And it costs under $0.10
-
- @level:medium
- Scenario: Make the key line pop
- When the person says "make the caption that says 'We're simulating them' pop: yellow and noticeably bigger than the others"
- Then expect false if frame = 0, not caption _ {text: "We're simulating them"}
- And expect C.size >= 88 if caption C {text: "We're simulating them"}
- And the judge sees "the caption 'We're simulating them' is yellow and larger than the white captions around it" at frames 100, 140, 170
- And it costs under $0.20
-
- @level:hard
- Scenario: One word at a time
- When the person says "change the captions to one word at a time, each word timed to when she says it, punchy TikTok style"
- Then expect C.to - C.from <= 24 if caption C
- And expect C.to - C.from >= 4 if caption C
- And the judge sees "single-word captions, one word on screen at a time, large and readable, changing between frames" at frames 30, 40, 300, 310
- And it costs under $0.40
-
- @level:easy
- Scenario: Clear of the side buttons
- When the person says "the captions run under the like and share buttons on the right side. keep them inside the left 900 pixels of the frame"
- Then expect C.x + C.w <= 900 if caption C
- And expect C.x >= 30 if caption C
- And the judge sees "captions sit left of the right-hand edge where platform buttons would be, fully readable" at frames 60, 350
- And it costs under $0.10
diff --git a/void/evals/scenarios-basic/ugc/cta.feature b/void/evals/scenarios-basic/ugc/cta.feature
deleted file mode 100644
index ba8ed2b7..00000000
--- a/void/evals/scenarios-basic/ugc/cta.feature
+++ /dev/null
@@ -1,14 +0,0 @@
-@medium:ugc
-Feature: Calls to action on the talking-head ad
-
- Background:
- Given the space "ugc"
-
- @level:easy
- Scenario: Link in bio
- When the person says "add a small 'Link in bio' tag for the last three seconds, in the lower middle of the frame just above the captions"
- Then expect false if frame = 0, not title _ {text: "Link in bio"}
- And expect T.from >= 640 and T.from <= 660 and T.to >= 735 if title T {text: "Link in bio"}
- And expect T.y >= 1000 and T.y + 40 <= 1340 if title T {text: "Link in bio"}
- And the judge sees "a small 'Link in bio' tag in the lower middle of the frame, above where the captions sit, not covering the face" at frames 660, 720
- And it costs under $0.10
diff --git a/void/evals/scenarios-basic/ugc/format.feature b/void/evals/scenarios-basic/ugc/format.feature
deleted file mode 100644
index 6870e1db..00000000
--- a/void/evals/scenarios-basic/ugc/format.feature
+++ /dev/null
@@ -1,23 +0,0 @@
-@medium:ugc
-Feature: Reframing the talking-head ad for other formats
- The ad is 9:16 (1080x1920). A reframe changes the edit's size and moves whatever falls outside.
-
- Background:
- Given the space "ugc"
-
- @level:hard
- Scenario: A 4:5 feed version
- When the person says "reframe this edit to 4:5 for the Instagram feed, 1080x1350. keep the hook, captions and end card inside the frame and off her face"
- Then expect edit.width = 1080 and edit.height = 1350
- And expect C.y >= 60 and C.y + 100 <= 1350 if caption C
- And expect T.y >= 0 and T.y + 120 <= 1350 if title T
- And the judge sees "a 4:5 talking-head frame with the hook title, captions and end card all fully inside the frame and not covering the face" at frames 30, 400, 720
- And it costs under $0.40
-
- @level:easy
- Scenario: A square version
- When the person says "make this square, 1080 by 1080, for LinkedIn. captions near the bottom but fully in frame"
- Then expect edit.width = 1080 and edit.height = 1080
- And expect C.y >= 600 and C.y + 100 <= 1080 if caption C
- And the judge sees "a square talking-head frame with captions near the bottom, fully inside the frame" at frames 60, 400
- And it costs under $0.10
diff --git a/void/evals/scenarios-basic/ugc/from-raw.feature b/void/evals/scenarios-basic/ugc/from-raw.feature
deleted file mode 100644
index c29f7397..00000000
--- a/void/evals/scenarios-basic/ugc/from-raw.feature
+++ /dev/null
@@ -1,13 +0,0 @@
-# Prompt rewritten 2026-10-16 to state goals, not solutions: it named the parts (punch-ins, word captions, a hook
-# title). The `T.y >= 220 if title T` check graded a part the prompt no longer asks for; it's replaced by the length
-# asked for, and the judge line names outcomes.
-@medium:ugc @level:hard
-Feature: An explainer cut from a raw take
- The user's own test (2026-10-15): CJ's raw 75 s Instagram take, turned into a talking-head explainer.
-
- Scenario: CJ's raw take into a captioned explainer
- Given an empty space
- When the person says "~/.raea-void/media/cj-ig-post-2.mov is my raw take for an Instagram Reel. Make it into a 30 to 45 second explainer that people watch to the end."
- Then expect edit.frames >= 900 and edit.frames <= 1350
- And the judge sees "a vertical explainer that holds attention from the first second; anything on screen is readable, inside the platform's safe zones, and never covers the speaker's face" at frames 15, 300, 900
- And it costs under $1.00
diff --git a/void/evals/scenarios-basic/ugc/pacing.feature b/void/evals/scenarios-basic/ugc/pacing.feature
deleted file mode 100644
index 5ff028df..00000000
--- a/void/evals/scenarios-basic/ugc/pacing.feature
+++ /dev/null
@@ -1,31 +0,0 @@
-@medium:ugc
-Feature: Pacing on the talking-head ad
- Tightening, cutting and reordering CJ's sentences. The captions, b-roll and speech rows have to follow the clips
- they belong to, or the ad drifts out of sync.
-
- Background:
- Given the space "ugc"
-
- @level:medium
- Scenario: Under 22 seconds
- When the person says "this drags a bit, tighten the pauses between sentences so the whole ad is under 22 seconds. don't cut any lines"
- Then expect edit.frames <= 660
- And expect C.to <= edit.frames if caption C
- And the judge sees "a vertical talking-head video with readable captions that match a continuous delivery, no black or empty frames" at frames 30, 300, 600
- And it costs under $0.20
-
- @level:medium
- Scenario: Cut a sentence
- When the person says "cut the 'and the difference matters' line completely and close the gap"
- Then expect not C.text = "And the difference matters" if caption C
- And expect edit.frames <= 710
- And expect C.to <= edit.frames if caption C
- And it costs under $0.20
-
- @level:hard
- Scenario: Open on the strongest line
- When the person says "open with the 'automating means handing someone's job to a model and seeing what breaks' sentence, then go into 'all right, so we're not automating...' and carry on from there. keep every line, keep the captions in sync"
- Then expect W.from < V.from if caption W {text: "job to a model"}, caption V {text: "All right"}
- And expect edit.frames >= 700
- And the judge sees "a talking-head video whose captions read as complete sentences in a sensible order, with no gaps or black frames" at frames 15, 200, 450
- And it costs under $0.40
diff --git a/void/evals/scenarios-basic/ugc/platform-hooks.feature b/void/evals/scenarios-basic/ugc/platform-hooks.feature
deleted file mode 100644
index 5e7912e5..00000000
--- a/void/evals/scenarios-basic/ugc/platform-hooks.feature
+++ /dev/null
@@ -1,35 +0,0 @@
-@medium:ugc
-Feature: Hooks cut for different platforms on the talking-head ad
- The same ad, its opening reworked for where it will run: a calmer hook for LinkedIn, a second hook line for TikTok,
- a short teaser for YouTube Shorts.
-
- Background:
- Given the space "ugc"
-
- @level:medium
- Scenario: A calmer hook for LinkedIn
- When the person says "this one's going on LinkedIn. rewrite the hook so it reads calm and professional: sentence case, no symbols like the ≠, and keep it on screen for the first three seconds"
- Then expect not T.text = "Automate ≠ simulate" if title T, T.from < 30
- And expect T.to >= 85 and T.to <= 100 if title T, T.from < 30
- And the judge sees "a calm, professional hook title in sentence case near the top, with no symbols such as ≠, still on screen at the later frame" at frames 15, 80
- And it costs under $0.25
-
- @level:easy
- Scenario: A second hook line for TikTok
- When the person says "for TikTok, add a smaller second line under the hook that says exactly 'here's the difference', on screen at the same time as the hook"
- Then expect false if frame = 0, not title _ {text: "here's the difference"}
- And expect T.y >= H.y + 90 and T.size < H.size and T.from < 30 if title T {text: "here's the difference"}, title H {id: hook}
- And the judge sees "a hook title near the top with a smaller second line 'here's the difference' directly under it, the two not overlapping" at frames 20, 60
- And it costs under $0.10
-
- @level:hard
- Scenario: A teaser for YouTube Shorts
- When the person says "cut a teaser for YouTube Shorts: keep only the first three sentences, up to 'and the difference matters', then go straight to the end card. drop everything in between, close the gap, and keep the captions in sync"
- Then expect edit.frames >= 200 and edit.frames <= 300
- And expect false if frame = 0, not caption _ {text: "And the difference matters"}
- And expect not C.text = "it runs" if caption C
- And expect C.to <= edit.frames if caption C
- And expect false if frame = 0, not title _ {text: "Part 2: mapping the agency"}
- And expect T.to >= edit.frames - 1 if title T {text: "Part 2: mapping the agency"}
- And the judge sees "a short vertical talking-head teaser: the hook title at the start, captions mid-way, and the 'Part 2' end card at the close, with no black or empty frames" at frames 15, 100, 195
- And it costs under $0.50
diff --git a/void/evals/scenarios-basic/ugc/pushback.feature b/void/evals/scenarios-basic/ugc/pushback.feature
deleted file mode 100644
index 126dde77..00000000
--- a/void/evals/scenarios-basic/ugc/pushback.feature
+++ /dev/null
@@ -1,21 +0,0 @@
-@medium:ugc
-Feature: Requests the agent should push back on
- The brief keeps captions at least 60px and 10 frames, and the agent never generates images or video. A request
- against either gets an explanation, not a quiet yes.
-
- Background:
- Given the space "ugc"
-
- @level:medium
- Scenario: Captions too small to read
- When the person says "make the captions tiny, like 40px, so they stay out of the way"
- Then expect C.size >= 60 if caption C
- And the reply says "60"
- And it costs under $0.25
-
- @level:easy
- Scenario: AI-generated b-roll
- When the person says "generate an AI video of a busy agency office and drop it in as b-roll over the middle"
- Then expect count(clip) <= 8
- And the reply says "generat"
- And it costs under $0.10
diff --git a/void/evals/scenarios-basic/ugc/quick-edits.feature b/void/evals/scenarios-basic/ugc/quick-edits.feature
deleted file mode 100644
index 76ee393a..00000000
--- a/void/evals/scenarios-basic/ugc/quick-edits.feature
+++ /dev/null
@@ -1,47 +0,0 @@
-@medium:ugc
-Feature: Quick edits to a talking-head ad
- The UGC example (CJ on automating vs simulating): one clip per sentence, captions in one style, a hook title, a
- ducked music bed. Each scenario is one request a creator makes mid-edit.
-
- Background:
- Given the space "ugc"
-
- @level:easy
- Scenario: Yellow captions
- When the person says "make the captions yellow"
- Then expect hue(C.color) >= 40 and hue(C.color) <= 70 and sat(C.color) >= 0.35 if caption C
- And the judge sees "the on-screen captions are yellow and easy to read" at frames 30, 300
- And it costs under $0.10
-
- @level:easy
- Scenario: A bigger hook title
- When the person says "make the hook title bigger"
- Then expect T.size >= 72 if title T {id: hook}
- And it costs under $0.10
-
- @level:easy
- Scenario: Drop the end card
- When the person says "remove the end card, we don't need part 2"
- Then expect not T.text = "Part 2: mapping the agency" if title T
- And it costs under $0.10
-
- @level:medium
- Scenario: Captions in the upper third
- When the person says "move all the captions up into the top third of the frame, but keep them out of the top safe zone"
- Then expect C.y <= 700 if caption C
- And expect C.y >= 220 if caption C
- And the judge sees "captions sit in the upper third of the frame, below the very top edge, readable over the video" at frames 60, 400
- And it costs under $0.15
-
- @level:medium
- Scenario: Duck the music harder under speech
- When the person says "the music is too loud under her voice, duck it to -24 dB while she's talking"
- Then expect A.gain <= -23.5 if audio A {id: music}, speech W, frame >= W.from + 12, frame < W.to - 6
- And it costs under $0.15
-
- @level:hard
- Scenario: A lower third that stays in the safe zone
- When the person says "add a lower third that says 'CJ · creative strategist' for the first three seconds, styled like the hook, kept out of the platform buttons"
- Then expect T.y >= 220 and T.y <= 1460 if title T, T.from < 90
- And the judge sees "a lower-third name tag reading 'CJ · creative strategist' appears early, styled cleanly, not covering the face or the captions" at frames 15, 60
- And it costs under $0.25
diff --git a/void/evals/scenarios-basic/ugc/remember-forget.feature b/void/evals/scenarios-basic/ugc/remember-forget.feature
deleted file mode 100644
index 2016c997..00000000
--- a/void/evals/scenarios-basic/ugc/remember-forget.feature
+++ /dev/null
@@ -1,43 +0,0 @@
-@medium:ugc
-Feature: Remembering and forgetting what the person decided
- Over a conversation the person sets rules, changes their mind and takes rules back. The agent has to keep a rule
- through later requests, and drop it once the person retires it.
-
- Background:
- Given the space "ugc"
-
- @level:medium
- Scenario: No yellow, then make the hook pop
- When the person says "rule for this client: no yellow anywhere, it's their competitor's colour"
- And the person says "now make the hook pop more"
- Then expect not (hue(T.bg) >= 40 and hue(T.bg) <= 70 and sat(T.bg) >= 0.35) if title T
- And expect not (hue(T.color) >= 40 and hue(T.color) <= 70 and sat(T.color) >= 0.35) if title T
- And expect not (hue(C.color) >= 40 and hue(C.color) <= 70 and sat(C.color) >= 0.35) if caption C
- And the judge sees "a hook title that stands out at the top, and no yellow anywhere on screen" at frames 20, 60
- And it costs under $0.25
-
- @level:hard
- Scenario: A size rule, a request against it, then the rule retired
- When the person says "from now on the captions never go below 70px, people watch these on small phones"
- And the person says "make the captions 64px, they're crowding her face"
- And the person says "fine, 64 is ok now. drop the 70 rule and do it"
- Then expect C.size >= 62 and C.size <= 66 if caption C
- And it costs under $0.50
-
- @level:medium
- Scenario: Captions to the top, then back but bigger
- When the person says "move the captions up to the top of the frame"
- And the person says "actually, put them back where they were, but bigger"
- Then expect C.y >= 1240 and C.y <= 1420 if caption C
- And expect C.size >= 82 if caption C
- And the judge sees "large captions in the lower part of the frame, below the face, readable" at frames 60, 400
- And it costs under $0.25
-
- @level:hard
- Scenario: B-roll removed, then back for the last second only
- When the person says "drop the b-roll at the end, I want her on camera for the payoff"
- And the person says "actually bring that b-roll back, but only for the last second"
- Then expect count(clip) >= 8
- And expect C.from >= 700 and C.from <= 715 and C.to >= 735 if clip C {z: 1}, C.from > 400
- And the judge sees "the speaker on camera during the payoff, then cutaway footage only in the final second" at frames 640, 725
- And it costs under $0.50
diff --git a/void/evals/scenarios-basic/ugc/retention.feature b/void/evals/scenarios-basic/ugc/retention.feature
deleted file mode 100644
index 084c1256..00000000
--- a/void/evals/scenarios-basic/ugc/retention.feature
+++ /dev/null
@@ -1,32 +0,0 @@
-@medium:ugc
-Feature: Retention edits on the talking-head ad
- The things a creator adds to keep people watching: a progress bar, harder punch-ins on the jump cuts, motion on
- the b-roll.
-
- Background:
- Given the space "ugc"
-
- @level:medium
- Scenario: A progress bar
- When the person says "add a thin progress bar along the very bottom edge of the frame that fills from left to right over the whole video"
- Then expect count(box) >= 1
- And expect B.y >= 1820 if box B
- And expect min(box.w) <= 100 if frame = 10
- And expect min(box.w) >= 900 if frame = 730
- And the judge sees "a thin bar at the bottom edge of the frame, short near the start, about half the width in the middle, nearly the full width at the end" at frames 10, 370, 730
- And it costs under $0.25
-
- @level:easy
- Scenario: Harder punch-ins
- When the person says "the punch-ins on the jump cuts are too subtle. make every punched-in shot 1.3 and leave the wide ones as they are"
- Then expect C.zoom >= 1.28 and C.zoom <= 1.32 if clip C {sound: voice}, C.zoom > 1.05
- And expect count(clip) >= 8
- And the judge sees "the speaker is framed noticeably tighter in the second frame than in the first" at frames 60, 140
- And it costs under $0.10
-
- @level:easy
- Scenario: A slow push on the screen recording
- When the person says "give the screen-recording b-roll a slow push-in, from 1.0 to about 1.15 over the time it's on screen"
- Then expect C.zoom <= 1.03 if clip C {z: 1}, C.from < 400, frame = C.from
- And expect C.zoom >= 1.1 if clip C {z: 1}, C.from < 400, frame = C.to - 1
- And it costs under $0.10
diff --git a/void/evals/scenarios-basic/ugc/revisions.feature b/void/evals/scenarios-basic/ugc/revisions.feature
deleted file mode 100644
index 29d7c29c..00000000
--- a/void/evals/scenarios-basic/ugc/revisions.feature
+++ /dev/null
@@ -1,32 +0,0 @@
-@medium:ugc
-Feature: Revisions over a conversation on the talking-head ad
- The second request refines the first: the agent has to build on what it just did, not start over.
-
- Background:
- Given the space "ugc"
-
- @level:medium
- Scenario: Green, then a softer mint
- When the person says "make the captions green"
- And the person says "hmm, too loud. make it a softer mint green, and a touch smaller"
- Then expect hue(C.color) >= 120 and hue(C.color) <= 175 and lum(C.color) >= 0.6 if caption C
- And expect C.size < 76 and C.size >= 60 if caption C
- And the judge sees "pale mint-green captions, readable over the video" at frames 60, 400
- And it costs under $0.20
-
- @level:hard
- Scenario: A lower third, then moved and held longer
- When the person says "add a lower third that says 'CJ · creative strategist' at the start"
- And the person says "good, now move it down so it sits just above the captions, and keep it up for four seconds"
- Then expect false if frame = 0, not title _ {text: "CJ · creative strategist"}
- And expect T.to - T.from >= 115 and T.y >= 1000 and T.y <= 1320 if title T {text: "CJ · creative strategist"}
- And the judge sees "a lower-third name tag reading 'CJ · creative strategist' sits just above the captions, not overlapping them" at frames 30, 100
- And it costs under $0.40
-
- @level:easy
- Scenario: Red hook, then back to yellow but bigger
- When the person says "make the hook title red"
- And the person says "no, go back to the yellow, but make the hook text bigger"
- Then expect hue(T.bg) >= 40 and hue(T.bg) <= 70 and sat(T.bg) >= 0.35 if title T {id: hook}
- And expect T.size >= 72 if title T {id: hook}
- And it costs under $0.10
diff --git a/void/evals/scenarios-basic/ugc/sound-design.feature b/void/evals/scenarios-basic/ugc/sound-design.feature
deleted file mode 100644
index fd222c6a..00000000
--- a/void/evals/scenarios-basic/ugc/sound-design.feature
+++ /dev/null
@@ -1,36 +0,0 @@
-@medium:ugc
-Feature: Sound design on the talking-head ad
- Foley comes from sao (free); a narrator line from fish (paid). Each new sound is an audio row next to the music
- bed, timed to the picture it belongs to.
-
- Background:
- Given the space "ugc"
-
- @level:easy
- Scenario: A whoosh on the cut
- When the person says "add a whoosh on the cut into the screen-recording b-roll"
- Then expect count(audio) >= 2
- And expect A.from >= 200 and A.from <= 222 if audio A, not A.id = "music"
- And it costs under $0.10
-
- @level:medium
- Scenario: Pops on the titles
- When the person says "add a soft pop sound as the hook appears and another one as the end card appears"
- Then expect count(audio) >= 3
- And expect A.from <= 10 or (A.from >= 680 and A.from <= 700) if audio A, not A.id = "music"
- And it costs under $0.25
-
- @level:hard
- Scenario: A riser into the end card
- When the person says "build tension into the end card: a riser that starts about two seconds before it and peaks as it lands, with a hit right on the end card. keep the mix inside the brief"
- Then expect count(audio) >= 2
- And expect A.from >= 615 and A.from <= 700 if audio A, not A.id = "music"
- And expect M.lufs = -14 if master M
- And it costs under $0.50
-
- @level:medium
- Scenario: A narrator over the end card
- When the person says "add a narrator voice over the end card saying 'Part two is up next', a calm voice-over, not her"
- Then expect count(audio) >= 2
- And expect A.from >= 680 and A.from <= 715 if audio A, not A.id = "music"
- And it costs under $0.25
diff --git a/void/evals/scenarios-basic/ugc/titles.feature b/void/evals/scenarios-basic/ugc/titles.feature
deleted file mode 100644
index fd3dd7de..00000000
--- a/void/evals/scenarios-basic/ugc/titles.feature
+++ /dev/null
@@ -1,38 +0,0 @@
-@medium:ugc
-Feature: Hooks, titles and end cards on the talking-head ad
- The hook title (yellow pill, first 2.5 s) and the end card (dark pill, last 1.5 s).
-
- Background:
- Given the space "ugc"
-
- @level:easy
- Scenario: A new hook line
- When the person says "change the hook to 'Stop automating your creatives'"
- Then expect T.text = "Stop automating your creatives" if title T, T.from < 30
- And the judge sees "a hook title near the top reading 'Stop automating your creatives'" at frames 20, 60
- And it costs under $0.10
-
- @level:medium
- Scenario: A hook that hits instantly
- When the person says "the hook is too soft. rewrite it as a question that makes people stop, and have it on screen fully from the very first frames, no slow fade"
- Then expect not T.text = "Automate ≠ simulate" if title T
- And expect T.opacity >= 0.99 if title T, T.from < 30, frame >= T.from + 3, frame < T.to
- And the judge sees "a hook title near the top that reads as a question, fully visible right away" at frames 3, 40
- And it costs under $0.20
-
- @level:medium
- Scenario: A follow CTA end card
- When the person says "swap the end card for a call to action that says 'Follow for part 2', make it look like a button, and keep it up for the last two seconds"
- Then expect false if frame = 0, not title _ {text: "Follow for part 2"}
- And expect T.to - T.from >= 55 and T.to >= 730 if title T {text: "Follow for part 2"}
- And expect not T.text = "Part 2: mapping the agency" if title T
- And the judge sees "a button-like call to action reading 'Follow for part 2' over the closing shot" at frames 700, 730
- And it costs under $0.20
-
- @level:easy
- Scenario: Brand colours on the titles
- When the person says "our brand colours are purple #6c3cff and white. restyle the hook and the end card to match, no more yellow"
- Then expect not (hue(T.bg) >= 40 and hue(T.bg) <= 70 and sat(T.bg) >= 0.35) if title T
- And expect hue(T.bg) >= 245 and hue(T.bg) <= 265 if title T {id: hook}
- And the judge sees "the hook title and end card use a purple and white look, no yellow" at frames 30, 720
- And it costs under $0.10
diff --git a/void/evals/scenarios/app/app-promos.feature b/void/evals/scenarios/app/app-promos.feature
deleted file mode 100644
index 89905594..00000000
--- a/void/evals/scenarios/app/app-promos.feature
+++ /dev/null
@@ -1,27 +0,0 @@
-# Prompts rewritten 2026-10-16 to state goals, not solutions: the client's facts (platform, length, audience, the
-# product by name, what the viewer should do) and nothing about parts, structure or style. Implementation checks
-# (count(clip)) removed; the judge lines name outcomes.
-@medium:app
-Feature: App promos from real screen recordings
- Real footage only. media/arock-app.mov (77 s, 2016x1734) records arock, an app where you make a pet rock: name it,
- pick what it's made of, moss or grass and how smooth, its colour, what it speaks. media/jetflow-app.mp4 (6 min,
- 1920x1080) walks through jetflow, a workflow product.
-
- Background:
- Given the space "real"
-
- @level:hard @design
- Scenario: A 15-second arock promo
- When the person says "media/arock-app.mov is a screen recording of arock, our app where you make your own pet rock. We need a 15 second vertical promo for TikTok and Reels, for people who've never heard of arock. We want them to download it."
- Then expect edit.width = 1080 and edit.height = 1920
- And expect edit.frames >= 390 and edit.frames <= 480
- And the judge sees "someone who has never seen arock understands what the app does and that they can download it, and the real app is legible on a phone screen"
- And it costs under $1.50
-
- @level:hard @design
- Scenario: A 30-second jetflow explainer
- When the person says "media/jetflow-app.mp4 is a 6 minute walkthrough of jetflow, our workflow product. We need a 30 second vertical video for TikTok and Reels that explains jetflow to people who've never seen it and gets them to try it."
- Then expect edit.width = 1080 and edit.height = 1920
- And expect edit.frames >= 840 and edit.frames <= 1050
- And the judge sees "someone who has never seen jetflow understands what it does, and the product is legible on a phone screen"
- And it costs under $2.00
diff --git a/void/evals/scenarios/project/project.feature b/void/evals/scenarios/project/project.feature
index be3daa36..6cb27fa1 100644
--- a/void/evals/scenarios/project/project.feature
+++ b/void/evals/scenarios/project/project.feature
@@ -1,4 +1,4 @@
-# Project management (data/project.feature; the founder, 2026-10-17): a request is a task, a question is answered by
+# Project management: a request is a task, a question is answered by
# choosing, every render is a version, an object goes back to an earlier version, and a project holds several objects
# the person switches between. Graded on the project's record (raea status, objects, versions), not on craft: the
# craft scenarios grade the pieces.
diff --git a/void/prompts/craft/bevy.md b/void/prompts/craft/bevy.md
index 0f3491f3..1addb18f 100644
--- a/void/prompts/craft/bevy.md
+++ b/void/prompts/craft/bevy.md
@@ -10,7 +10,8 @@ plays. That holds only if every value comes from the frame (the rules below).
## Which file to read
-Read one or two at a time with `raea craft bevy/NAME`, when the task reaches them.
+Read one or two at a time with `raea craft bevy/NAME`, when the task reaches them. Two or three files cover most
+pieces; then write the file. Each file's example is a complete composition you can start from.
| You are... | Read |
|---|---|
@@ -48,5 +49,8 @@ and the ECS world (`@raea/motion/ecs`) drawn with `<Entities>`. Everything 3D im
roughness and metalness; don't change `args` or `shape` frame to frame (that's a new part each frame).
6. **One camera, one set of effects.** The first camera in the tree is used. Bloom, Fog and ToneMapping take their
first frame's values.
-7. **Render and look.** Render stills where things happen (`raea still`) and look at them. A 3D frame that renders
+7. **Import what you use.** Every component in the scene (`PointLight`, `Sphere`, `Bloom`...) comes from
+ `@raea/motion/3d` in the import line; a missing one fails the render. `staticFile`, `Sequence`, `spring` and the
+ hooks come from `@raea/motion`.
+8. **Render and look.** Render stills where things happen (`raea still`) and look at them. A 3D frame that renders
black usually has no light or a camera inside or behind the subject.
diff --git a/void/prompts/craft/bevy/limits.md b/void/prompts/craft/bevy/limits.md
index 7086e788..6a668a02 100644
--- a/void/prompts/craft/bevy/limits.md
+++ b/void/prompts/craft/bevy/limits.md
@@ -15,7 +15,7 @@
## Rules that keep a render equal to its play
-The router's seven, plus:
+The router's eight, plus:
- Parts are matched across frames by `name`, else kind and shape in tree order: name what comes and goes.
- The first camera, and the first frame's Bloom, Fog and ToneMapping, are the piece's.
diff --git a/void/void.feature b/void/void.feature
deleted file mode 100644
index 76fb368a..00000000
--- a/void/void.feature
+++ /dev/null
@@ -1,208 +0,0 @@
-Feature: raea void: a black box for making anything in raea, by talking
- Status 2026-10-15: the shell, second build. A testing ground for an agent harness built for raea, about raea, and
- the part of raea that goes into the host app for UGC editing, so its pieces (brain, tools, evals, voice) stay composable.
- The founder, 2026-10-15: "a voice chat based black box … the desktop app substrate for generating basically anything in
- raea". On the look, later: a terminal, but one people who don't use terminals understand: no JS libraries, Rust
- where it can be, and no `ls` or bash jargon on screen.
-
- Code: raea/void (crate raea-void, binary `void`, Dioxus 0.7 desktop). Library = the voice (src/voice); binary = the
- shell (app, ui, chooser, term, narrate, route, intent, brain, workspace, spaces, stage, frames, mcp, telemetry, eval).
-
- Rule: The window is a black canvas, a stage and a terminal
- Scenario: What's on screen
- Then the window has no title bar: the traffic lights sit over the black canvas
- And the open space's program fills the stage
- And the terminal docks at the bottom, left or right (/layout, or the settings menu's dock icons), kept in
- ~/.raea-void/settings.json
- And its header holds the cat (settings; a right-click opens them too), the turning cube (opens Spaces), the
- four-bar mic, the space's name, stop, and the pane's two tabs: Terminal and Files
-
- Scenario: The terminal
- Then it's a real terminal emulator (alacritty_terminal) drawing void's own lines, not a shell
- And what I say or type shows as mine; void's replies type in; what it's doing shows as process lines with a verb
- ("write", "check", "look", "measure"), a few detail lines (what changed, which checks fail), and a ✓ or ⚠
- And speech heard so far shows dim while I talk, and void's spoken words show in violet
- And text is selectable (⌘C), the transcript is kept per space (terminal.json), and redraws are at most 30 a second
-
- Rule: void works in a folder I pick, the way Claude Code does: the folder is the workspace
- The founder, 2026-10-17: "I pick a folder to start in, and that's the workspace I picked … spaces are like folders of
- a sort of monorepo within it (not a full monorepo) … an option for 'all spaces', meaning the root level."
-
- Scenario: A workspace's layout (workspace.rs)
- Then a workspace is any folder, laid out as a light monorepo:
- | path | what |
- | .void/workspace.json | {"void": 1, "name", "created", "settings"}; marks the folder as a workspace |
- | .void/terminal.json | the All spaces transcript |
- | AGENTS.md | the layout, for an agent at the root (new workspaces only, never overwritten) |
- | spaces/<slug>/ | one space each, as `raea init` lays it out (below) |
- | brand/ | optional: brand kits any space can copy (brand/<name>/brand.css) |
- | shared/components/ | optional: components any space can copy |
- | media/ | optional: a shared footage library; spaces link the takes they use |
- And spaces stay separate: a space reads only its own folder, so it renders the same wherever it's moved
- And spaces are listed most recently opened first (each space.json's opened), so the root keeps no order
-
- Scenario: Launching
- When I start void
- Then the folder given on the command line opens (`void .`, `void ~/ads`)
- Or else the last workspace reopens if it still exists and was opened in the last two weeks
- Or else the chooser covers the window: the recent workspaces (~/.raea-void/recent.json: path, name, opened;
- newest first, twelve kept, missing folders not shown), then "Open folder…" (⌘O, macOS's folder picker) and
- "New workspace…" (⌘N, a save dialog: name it and pick where; the folder is made)
- And ↑ ↓ and return pick a recent one, × takes one off the list (the folder stays)
- And the cat's menu has "Switch workspace…", which brings the chooser back; escape returns to the open workspace
-
- Scenario: Opening a folder
- When I open a folder void hasn't seen
- Then only .void/ and spaces/ are added to it; nothing else in it is touched
- And a new workspace in an empty folder also gets AGENTS.md, brand/, shared/components/ and media/
- And its most recent space opens, or an Untitled one is made to name itself from the first request
- And the agent starts over in it: its spaces and its shell are the workspace's
-
- Scenario: The spaces from before workspaces
- Given spaces in the old global folder (~/.raea-void/spaces)
- Then the chooser offers it as "Legacy spaces", a workspace as it is (its spaces sit directly in the root)
- And nothing in it is moved, renamed or deleted
-
- Scenario: All spaces
- When I open "All spaces" (first in the spaces sheet, or "/open all")
- Then the agent and its shell work at the workspace's root, across every space
- And its transcript is kept in .void/terminal.json
-
- Rule: Spaces are where work lives; opening one swaps its program onto the stage
- Scenario: A space
- Then a space is a folder in the workspace's spaces/ with a space.json and a React + TypeScript project as
- `raea init` makes it (edit.tsx, cuts.ts, styles.gen.ts, AGENTS.md, components/, media/; brand/ once `raea
- brand` runs), written from raea/cli's own template and checked against it byte for byte when bun is there
- And while the default agent still edits rrl, an empty edit.rrl beside it; older spaces' edit.rrl (raea/rrl's
- language, every move recorded in edit.rrl.moves) and brief.feature still load
- And with no workspace open (evals, `void tool`) spaces are the legacy ~/.raea-void/spaces (RAEA_VOID_HOME moves
- the home)
- And a space made from a first request names itself from it ("make a fun bouncing ball" -> "Fun bouncing ball")
-
- Scenario: The spaces sheet
- When I click the turning cube (or /spaces)
- Then a sheet lists every space, most recently opened first; typing filters it, and return makes a new space
- with that name when none matches; the + button makes one too
-
- Scenario: The space's files
- When I pick the Files tab in the pane's header (Terminal and Files are the space's two tabs, wherever the pane
- docks; icons when the pane is narrow, icons and names when it's wide; the choice is kept in settings.json)
- Then the pane lists the open space's files by kind (video, images, audio, 3D, documents, other), each with a
- thumbnail (Quick Look: a picture, a video's poster frame, a PDF's first page; the extension otherwise), its name,
- length or size, and whether it's linked or transcribed
- And + opens the native picker for several files, and files dropped anywhere on the window come in too
- And video, audio and images land in media/, 3D (glb gltf obj fbx usdz usd stl ply) in models/, documents (pdf md
- txt rtf doc docx pages key csv) in docs/, anything else in assets/ (src/assets.rs)
- And a file under 256 MB is copied, a larger one linked; nothing is written through a link, and removing a linked
- file removes the link, never what it points to
- And video and audio are transcribed as import_media does (<stem>.words.json beside them), each import is a line
- in the terminal, and the agent's next turn in that space is told what was added or removed
- And nothing is uploaded: footage stays on this Mac
- And per file: show in Finder, and remove (× then Remove)
-
- Scenario: Files are found by what they are
- When I type in the Files tab's search ("woman holding a coffee cup", "talks about the price")
- Then names and words match at once, and a moment later files match by meaning: pictures (an image, three stills
- of a video, a PDF's or model's Quick Look picture) by SigLIP 2, speech and text documents in short windows by
- nomic-embed-text v1.5, each hit saying why ("seen: still at 8.5 s", "said at 4:23: …")
- And the agent searches the same way with its search_assets tool
- And the index is the space's .assets-index.json, remade per file when it or its transcript changes
-
- Scenario: The first launch
- Given no recent workspaces
- Then the chooser shows (with "Legacy spaces" when the old global folder has any); nothing is seeded
-
- Rule: The stage is raea itself, kept warm
- Scenario: Drawing a frame
- Then one resident `rrl serve` draws the open program as raw RGBA at preview quality (no PNG encode, no MSAA or
- shadow maps), halved, kept in a frame cache (superseded: the engine's native stage draws the object in the
- chrome's own frame; the webview and its void:// protocol were deleted 2026-10-18)
- And playback plays a preview: the program rendered to H.264 with its sound by `rrl render`, one file per edit
- version under ~/.raea-void/previews, the newest 8 kept
-
- Rule: Anything typed or said is a command; a few run at once, the rest go to the brain
- Scenario Outline: Commands that never wait for the model
- When I type "<command>"
- Then <what happens>
- Examples:
- | command | what happens |
- | /spaces | the spaces sheet opens |
- | /new Coffee ad | a space "Coffee ad" is made and opened |
- | /open hook | the best-matching space is opened |
- | /voice, /voice alba| the voice sheet opens, or Pocket speaks as alba |
- | /listen, /mute | the mic opens or closes |
- | /undo 2 | the open program's last two moves are undone |
- | /layout right | the terminal docks right (none: the next one round)|
- | /cache clear frames| what void caches, or clears one |
- | /clear | the transcript and the brain's memory are wiped |
-
- Scenario: Everything else
- When I type or say anything else, e.g. "make the cube blue and the title bigger"
- Then the brain answers in a few sentences, spoken when I spoke, and works in the open space's React +
- TypeScript project with two tools: shell (bash over the space folder, with `raea` doing the work: cut, add,
- brand, render, check, still, media) and look (stills and contact sheets sent back as images)
- And the stage redraws after every change
- And the procedure it works from is prompts/sops/ts.md (rrl the language and its tools went on 2026-10-17)
-
- Scenario: Which model
- Then only two models are ever used (the founder, 2026-10-18): GLM 5.3 Flash on OpenRouter (~/.raea/openrouter.env),
- the primary model, for the agent and every writer, in Anthropic Messages, streamed; and clef-omni on Cloudflare,
- the decision model, for every judge, reviewer, check and scorer
- And without the OpenRouter key a turn fails and says so: there is no other provider to fall back to;
- RAEA_VOID_MODEL may name another GLM on OpenRouter (z-ai/glm-...), never another model
- And the system prompt, tools and history are marked for prompt caching (a second round reads ~8k tokens cached
- against a few hundred new)
-
- Rule: Every turn is traced, and its cost is known
- Scenario: Traces
- Then each turn is an agent.turn span with a chat span per model call (tokens from message_delta, cache reads and
- writes, cost as OpenRouter bills it, else at the model's rates) and an execute_tool span per tool, sent as OTLP protobuf to Arize Phoenix
- (localhost:6006, project "void", evals "void-evals") and written to ~/.raea-void/traces/<date>.jsonl in UGC
- Pro's shape (raea/agent/otel)
-
- Rule: An agent can drive it
- Scenario: The MCP server
- Then void serves MCP on 127.0.0.1:7457: state (thinking, speaking, listening), screenshot, send, act, eval, wait,
- logs, hear and say
- And a driver checks state before restarting void, since the person may be mid-conversation
-
- Rule: Evals run headless
- Scenario: void eval
- When I run `void eval [files or folders] --jobs 3 --run name`
- Then each scenario in evals/scenarios (Gherkin: what the person says, hidden expects on the render's size and length, what a vision judge must
- see at which frames, a cost cap) runs in its own folder with its own spaces, never the person's
- And results land in evals/results/<run>.jsonl with pass per medium, cost, time, tokens and cache rate, a trace id
- per scenario, and the change since the last run; dated numbers go in evals/results.feature
-
- Rule: Talk to it: the voice is four models on ONNX Runtime, with the host app's turn rules
- The rules and numbers are ~/host/docs/voice-mode.feature's, measured there on the phone; here they run on the
- mic's own clock (samples heard), so a recording replays them exactly (src/voice/turns.rs, with tests).
-
- Scenario: The models
- Then every model is an ONNX export run by ort =2.0.0-rc.13, the pin and prebuilt runtime of raea/meaning/embed
- and raea/perception, downloaded once into ~/.cache/raea-void/models (RAEA_VOID_MODELS moves it):
- | model | does | file |
- | Silero VAD v5 | speech probability of each 32 ms chunk at 16 kHz | voice/vad.rs |
- | Smart Turn v3 | at a pause, is the thought finished (last 8 s, log-mel) | voice/turn.rs |
- | Parakeet TDT 0.6B v3 | the utterance's words, punctuated | voice/stt.rs |
- | Pocket TTS (Kyutai) | the reply, streamed in 80 ms frames at 24 kHz | voice/tts.rs |
-
- Scenario: Nothing to press
- Given the orb is on (click it, /listen, or the voice sheet)
- Then ~100 ms of speech starts a turn and a ~200 ms pause is judged: Parakeet hears the words so far and Smart
- Turn scores the pause
- And the turn is sent at once when Smart Turn says finished (≥ 0.5), after 0.8 s when unsure, after 1.4 s when the
- last word is one a thought doesn't end on ("about", "and", "the", "to" …), and after 2 s of silence whatever
- was said
- And without Smart Turn a pause of 0.85 s ends the turn, or 0.5 s after ".", "?" or "!"
-
- Scenario: Talking over it
- Given void is speaking
- Then its own voice never interrupts it: the echo it makes at the mic is learned while it talks
- And through headphones ~160 ms of speech at 0.7 or more stops it; through a speaker that bleeds, ~300 ms clearly
- louder than its echo
- And stopping drops the rest of the reply and cancels the brain's turn; what I'm saying becomes the next turn
-
- Scenario: The reply is heard as it's written
- Then reply text goes to Pocket a clause at a time as it streams (at . ! ? ; : or a newline, or a comma after four
- words), and each clause's audio plays as its frames decode