Commit Graph
253 Commits
Author SHA1 Message Date
shinyobjectz 2835c1478a Split the five crates render-memory took past 2000 lines, each where it parts cleanly, so the next lane has room (the size and rask gates; the one-time allowance is gone):
- raea-core-tables (core/tables): a row's per-frame tables, from raea-sys-frame (re-exported there as tables)
- raea-runtime-ecs (runtime/ecs): raea/ecs on Bevy's ECS, from raea-runtime-calls (ecs.rs re-exports it)
- raea-sys-toon (systems/toon): toon surfaces and outlines, from raea-sys-material; its shaders keep the embedded path compositions name (raea_sys_material/toon.wesl)
- raea-render-plugins (engine/render/plugins): RaeaPlugins, from raea-render (engine.rs re-exports it as raea_plugins; the imports only it used are gone)
- raea-runtime-kinds (runtime/kinds): the rows of models, panels, decals, plates, fog, fire, splats, mesh sequences and grass, with placement and name_column, from raea-runtime-scene
maps.rs's inline and panel pictures move to maps/pictures.rs (re-exported, 422 lines left)
2026-11-29 16:02:31 -08:00
shinyobjectz ac9e2f9ba6 Fold render-memory's copies into what they copied (the dupes gate, 297/60 back to 293/57): one two-generation cache, raea_core_shape::Generations, for core/shape's meshes and runtime/calls' built Manifolds; swapped maps load their pictures with maps.rs's panel_picture; raea_io_home::write_whole for a file written whole or not at all (the BC7 maps first); spawn_sig(it, swapped) one function, its callers saying which; the store's spawn given its columns. Size allowances taken down to the folded sizes (solid.rs is back under 500) 2026-11-29 16:02:31 -08:00
shinyobjectz 3cd075ae08 Size: render-memory's eight over-limit crates and files allowed once at today's sizes (Shane 11-29, for 0.1.13): the folders hold other lanes' uncommitted GI/RT work, so they're split once that lands 2026-11-29 16:02:31 -08:00
shinyobjectz 0909761d60 raea-sys-memtally in tools/layers.toml: a system, as the layers gate asks 2026-11-29 16:02:31 -08:00
shinyobjectz b589826e7c RM1-RM10: halcyon r109's sequence from killed at 24-25 GB to a 7.8 GB peak (footprint 5.5 GB), the look within run-to-run noise
- RM1: materials' maps and Solari's traced meshes on the GPU only (RAEA_KEEP_CPU_ASSETS=1: the control)
- RM2: a sequence's first 3D engine let go before a second opens
- RM5: JS solids deduplicated by expression, their Manifolds in a two-generation cache (192 MB each); solid.free
- RM6: a map whose picture changes by frame is one part and one material, its picture swapped as frames show it
  (raea-sys-material swapped.rs): the pool's 96 water maps were 96 meshes and 186 textures
- RM7: Manifold shapes welded into indexed meshes (4.65 corners a vertex in halcyon; RAEA_NO_WELD=1: the control);
  a held frame settles to the same picture, boiling 0.30% against 0.38%
- the shape text kept out of the store and the Edit (the engine spawns from the program's rows)
- RM8: a BufferMesh of 64 KB or more kept on disk by its content (buffer:@NAME, raea's caches/buffers):
  shape text 274 MB -> 11.8 MB
- RM9: material maps as BC7 with their mips (intel_tex_2), cached by content in raea's caches/maps, any size
  resampled to whole blocks (RAEA_NO_BC=1: the control): GPU images 733 MB -> 282 MB
- RM10: raea-sys-contact's solids as bytes, a count and u16 surface points: 1.27 GB -> 0.37 GB mid-render
- memtally names the biggest GPU images; RAEA_MEM_MARKS prints the program's text by column and shape call
- tools/memprobe: memseq, heapwho/heapseq (malloc stack logging, holders.py), abenv/abseq/steadyab (A/B on one binary)

docs/render-memory.feature has each step's numbers and gates.
2026-11-29 16:02:31 -08:00
shaneandshinyobjectz 28af820668 PA13, PA14: raea playable, and playables in the public engine (#264)
* PA13, PA14: raea playable, and playables in the public engine

Playables move from the private tree into the public engine (Shane 11-28: "public totally part of the engine"):
sdk/playable (raea/playable for authors, the browser host, check.ts, parity.ts, tony.ts), examples/playables and
docs/playables.feature, with raea/playable and @raea/playable back in sdk/tsconfig.base.json.

`raea playable GAME.tsx -o DIR` (apps/playable) replaces the Bun pipeline (playable.sh, bundle.ts, lint.ts, walk.ts,
alias.ts). It lints the source, renders each composition through `raea run` for its shapes and 3D kinds, bundles the
game and the host once with raea's own bundler, and writes each network's page or ZIP against its 5 MB cap.
engine/bundle gains `minify`, `inline` (inline.rs: pictures, sounds, fonts and .glb as data URLs, .bin as a
Uint8Array) and package-folder aliases (`three/=DIR`). brick-rush writes all nine targets in 7 s (1,384 KB a page);
mobile-ads' tiles and gates export; all play in WebKit, the Google and TikTok packages included.

check.ts lets a network's own page tags through; parity.ts draws in WebKit (chrome.ts is gone), 6.8/255 on
brick-rush frame 300. The craft guide motion/playable.md is `raea guide playable`. bench/live-3d skips brick-rush with
its real reason (PA18).

* tools/layers.toml: raea-app-playable in apps (PA13)

* Fonts travel with a playable, and an end card in a brand's type

An imported .ttf, .otf, .woff or .woff2 (and .jpeg) is its path in a native render (runtime/bundle rewrite.rs,
engine/bundle script.rs) and a data URL in a playable (inline.rs), so an @font-face names the same file either way.
<EndCard> takes font, color and button. Made for the real-brand playables in mobile-ads (ACANA, OLIPOP, HelloFresh),
which carry their brands' own type; the guide and docs/playables.feature say how.

* The preview page tells raea's review its ad events (PA16)

Inside a frame, the preview network posts {raeaPlayable: kind} to its parent on install and end, so the review can show
them beside the game.

* PA16 status: the review plays playables (raea-platform #99), on a host of their own

* The preview page tells the review when it's ready, seen or hidden, and the first touch (PA16)

Beside install and end, the preview build inside a frame posts ready (the game started), viewable and hidden (its page
shown or put away) and touch (the player took over from the game's own hand), so the review and the desktop show them.

* PA16 status: built in cloud (raea-platform #99, #101) and desktop (raea-feed #124), and raea show --playable

* raea playable says what the source can't have even when the game won't render for the lint

A fetch or a URL often stops the walk's render too, and the lint answered with the render's end ("lint.ts ended with
exit 1") and dropped the refusals it had found. Now the source's refusals are the answer, and a render that fails
for another reason is named by its error line.

* PA16 status: play.raea.io is live, checked with the ACANA export

* skills: raea-skills main ae81d0f (#135 notes hook, #136 and #137 the playable guide and raea playable in cli.md)

tools/skills.sh gen with a raea built at this branch and the feed app at main: every reference and guide copy matches it.

* raea-cli: export-game and playable dispatched in a line each, as the verbs around them, so the crate stays at the size gate's 2000 lines

* dupes: the playable's copies folded into what they copied

spec is raea-runtime-bundle's own (now pub), inline.rs's base64 is the base64 crate as raea's other crates use it,
the store and card JSON are json!, and the bundle FFI reads minify and inline as it reads z3 and stamps. tools/dupes.sh:
293 exact, 57 near, as allowed.

---------

Co-authored-by: shinyobjectz <[email protected]>
2026-11-28 13:53:48 -08:00
shinyobjectz f4db12c1d0 CI's size and dupes gates on 0.1.11: the mixer's output device (the stream and following the system's output) in its own crate, raea-sys-mix-device, so raea-sys-mix is under 2000 lines and live.rs under 500; one make::Gate in raea-core-brief for a cut's and a goal's gates (cut-plan and goal-plan had the same struct, and status.rs the same closure twice); the CTA's best line found without a copy of hands-audit's fold 2026-11-26 17:26:59 -08:00
shinyobjectz cd159fe0be promoted-from: the layers gate's files (tools/layers.sh, layers.toml, layers.allow) may differ between an rc and its release, as no build reads them (0.1.11-rc2's one-line layers fix would otherwise force a rebuild) 2026-11-26 16:57:39 -08:00
shinyobjectz 316b612d70 layers: raea-runtime-goal-plan is in the runtime layer (MK28's crate had none, and main's CI gates failed on it from c41ec580 on) 2026-11-26 16:57:08 -08:00
shinyobjectz aa40a2fa86 #82: the ARM64 build (it compiles: raea.exe is AA64 and runs) is packed and checked without drawing (release-check.sh RAEA_CHECK_NO_GPU=1 keeps plugins, guides, song map and bin\'s files; the windows-11-arm runner has only WARP, which segfaults in Bevy as on x64, and lavapipe has no ARM64 build), and it uses the release's compile cache 2026-11-26 14:01:28 -08:00
shinyobjectz 1905dc723c #82: a windows-arm64 zip: RAEA_WIN_ARCH=arm64 has onnxruntime.sh and win-bundle.sh take the ARM64 runtime, VC++ CRT, uv and DXC (FFmpeg stays x64, run emulated), release.sh names and packs raea-VERSION-windows-arm64.zip, and windows-arm.yml packs and checks it on WARP 2026-11-26 14:01:28 -08:00
shinyobjectz 7e214fedbb 0.1.10's release notes; the AppImage packer (#226) promotes as a release tool; the contribution series' own checklist stays in its fork 2026-11-26 00:51:45 -08:00
shane 280437c111 Merge pull request #226 from Sarverott/development
release: package and attach a Linux x86_64 AppImage
2026-11-26 00:49:49 -08:00
shinyobjectz 21859a5a31 MK25: the cut gates as their own crate, runtime/cut-plan, reading shape through io/soft's probe
raea-app-make was at its 2000-line crate limit, so the gates now live beside MK24's lod-plan as raea-runtime-cut-plan. status.rs wraps the gates as it does lod-plan's.

A delivered file's size and length now come from io/soft's probe (ftyp and moov only, through re_mp4), not a third box reader. The tests use raea's 3 s 320x180 clip as the delivered file.

Folded the closures the duplicate check flagged: is_name is shared by cut ids and shot names, and quotes is built in loops.

The pitch guide names the cloud's report files, not `raea words` and `raea frames`, which local raea doesn't have. The SDK reference is regenerated for raea/brief.
2026-11-25 20:28:42 -08:00
shinyobjectz 6416e4ec1b The release check reads the song's tempo without jq: a person's PC has none, and the check stopped there on the Windows PC 2026-11-25 15:33:33 -08:00
shinyobjectz 2556f42366 The engine's release check on real machines (tools/release-machines.sh): a candidate's archives checked on the Windows PC's own GPU and the Linux box with a hard pass (RAEA_CHECK_HARD=1: a folder with a space and letters outside ASCII, 3D, an MP4, one render forty times with every exit read, two at once). And raea's own Windows programs signed in the release once the repository names its Azure signing identity (tools/release/win-sign.sh, RAEA_WIN_SIGN=1; off and unsigned until then, #221) 2026-11-25 15:33:33 -08:00
shinyobjectz 6735bd940f MK21: planned detail held to the frame: lod 0 (the hero) to 4 (far) on a make object and on parts (Mesh3d, Model, a parent Entity or Group), measured as how much of the frame a part's box spans; a render's end checks, raea scene stage and raea check --quick say lod-closer when a shot shows a part finer than planned (a warning one level finer, an error two or more), raea scene lod lists every part's plan beside what the frames show, and raea make status holds a job at it (MK22-MK24; raea-runtime-lod-plan) 2026-11-25 13:18:08 -08:00
shinyobjectz 2ff6676cb1 A page's accessibility in a crate of its own (raea-page-ax), one reading of its elements for both its trees; the window's scheme and rest in raea-page-window 2026-11-25 00:12:05 -08:00
shinyobjectz 1f17872816 Linux and Windows window: links and Copy reach the system (sign-in opened nothing)
raea's window answered app.open and clipboard.write with AppKit on the Mac and with stubs everywhere
else, which answered true. So in the Linux and Windows apps, signing in (Google, Apple, GitHub's
device page), Continue on raea.io and every other link opened nothing, and Copy (the GitHub code
among them) copied nothing, with no error. Reported from Ubuntu 26.

Off the Mac the window now opens links and uses the clipboard through raea-io-os (opener: xdg-open,
or opener's own copy where the system has none, Windows' shell; arboard), which the page host
already links for paste. app.open and clipboard.write answer an error when the system refuses, on
the Mac too (NSWorkspace openURL's answer), so the page can say so. The off-Mac calls move to
other.rs (native.rs at the 500-line limit). tools/linux-check.sh also checks raea-page-window
--features window, the window the Linux app ships.
2026-11-25 00:04:58 -08:00
shinyobjectz d55a74c472 Components first: raea guide components, and the registry design
sdk/guides/craft/components.md (raea guide components): the component-first order of work, what a
raea component is (frame-pure, JSON props, its name on what it draws) and the contracts it keeps for
time, space, look and sound, who owns what in a composition, where each kind gets made (TSX, solids,
sdf/grow, a generator, Blender through a saved script, Godot, Rust rows) and why Godot and Blender are
workshops rather than runtimes, materials and shaders as components, a fixture and checks per kind,
shadcn's components on screens and panels, and promotion from a project to shared/ to a registry.
tools/skills.sh copies it to the skill's root; raea guide lists it; the router, scenes, godot,
materials and parts guides link it.

docs/components.md: raea's registry as shadcn's format (every item a valid registry-item.json, raea's
kinds and assets, contracts, fixture, checks, stills and engine range in meta.raea), components.json
namespaces, the theme and story bridges, and the build order CP1-CP10.
2026-11-24 23:57:12 -08:00
shinyobjectz 675aa18daf raea-runtime-pid: the process check out of raea-runtime-bundle into a crate of its own (the bundle crate was at its 2000 lines), the manifest reads GIVEN where it called given(), and two lines the dupes check counted as copies written their own way 2026-11-24 23:46:55 -08:00
shinyobjectz 27b70f7366 raea voice: the trace reads the echo's delay and gain as fields (a method for it copied another, the dupes check), and the skills coverage check knows raea voice is run by raea.app's Ideate, never by an agent 2026-11-24 23:46:49 -08:00
shinyobjectz 8b774295e1 raea voice: Pocket's own voice by default (never a clip from the person's voice folder), a help line and a manual page, a silent microphone said as an error, and --over: its own voice taken out of the microphone's sound so the person can talk over it through speakers (echo.rs: an adaptive filter, a second one behind it that always learns; opt-in, checked in a simulated room with --room GAIN, not yet across real rooms) 2026-11-24 23:46:49 -08:00
shinyobjectz 04cd051788 raea voice: speech to speech on this computer, for raea.app's Ideate. A session of JSON lines (say, end, stop, mute in; ready, speech began/ended, heard, saying, word, said out): Silero VAD finds the person's turns, Parakeet TDT 0.6b v3 writes their words, Pocket TTS speaks the agent's as they stream, all on ONNX Runtime with cpal for the microphone and speakers, so it runs on any OS with no cloud voice. While it speaks it doesn't listen unless --duplex (a laptop hears its own speakers); words begun before it started are still heard. raea voice hear FILE.wav and raea voice say "WORDS" -o OUT.wav do one of each; --from/--to put a recording and a file in place of the microphone and speakers for checks. Measured on an M5 Pro: 8.9 s heard in 266 ms, first sound 44 to 81 ms after the words (crate raea-app-voice, bin raea-voice; the raea CLI's voice arm is not yet compiled into a release binary) 2026-11-24 23:46:49 -08:00
shinyobjectz 1386761981 DN0: raea bench denoise draws each case on each denoiser (off, MetalFX; raea's own and DLSS-RR say why they can't run yet) and scores it against the same frames path-traced: LDR-FLIP written from the paper, RMSE, bias in stops, blotches (a mid band's error), flicker as the error's second difference against the truth's shot, a whole-frame spike, lag after a disocclusion or a light going out, a still's and a live frame's cost, and how many of MetalFX's numbers each meets
It runs on raea light check's runner, which gains pub render_with, live_with, frames_with, list_flag, spp, cell and Scene::shot_frames with light check unchanged. The cases are bench/denoise: nine small rooms (a dark room under gain, a waxed floor, a door opening, a whip pan, neon, leaves, a sunbeam in fog, a mirror, a light going out), a full-HD cost case, and a real take's doorway. The manual gets raea bench's page, in the Check group.
2026-11-24 15:42:56 -08:00
shinyobjectz 0bdc8714a6 BK2: done: each texel's place in the world, and the atlas split out as raea-sys-atlas
docs/bake.feature BK2 @done. raea-sys-lightbake starts: texels(glb, request) lays the model out over the atlas
raea/wear's cause maps share (BK1's layout, no second raster), reads the layout's model back as world triangles
into a parry3d BVH, moves each point off its surface by 1e-5 of the model's size (at least 10 microns), and marks
the texels inside other geometry: 16 cosine-weighted rays each, inside when at least half meet a back face and more
meet back than front. Tests: a slab with a block sunk 10 cm in and a box set by its node's translation (points on
the world surface, the sunk part and the floor under the block marked, the open not); the same texels twice; a
worn model's request gives its wear atlas.

Measured at 64 texels a metre, debug build: table 1.55 M texels, 0.67% inside, 3.4 s with its layout; Cornell
232 k, 7.5%; window room 980 k, 9.8% (the bands where each wall box runs into the next wall and the slabs, the floor
under the furniture's feet, the walls behind the window's piers); atelier 4.1 M, 4.9%, 70 s (41 s of it the layout,
which a release raea does in 1.6 s).

raea-sys-atlas (a facility) holds the atlas now: scene.rs, charts.rs and merge.rs moved from raea-sys-weathering
as they were, its hidden-triangle step and shared samples from rays.rs, and Ask, the env fields an atlas is laid out
for, parsed once for both. The light bake builds on it instead of sideways on another system, and weathering, at
1999 of 2000 lines, has room again. Weathering's bakes are the same: the table and window sets baked before and
after the move gave the same keys and the same 12 files byte for byte, so no cached wear bake rebakes. Its 11 tests
and raea-runtime-wear's pass; docs/wear.feature WR1's crate table says where each file is now.
2026-11-23 17:57:24 -08:00
shinyobjectz 0cd00209bf BK0: done: the test set's Cycles references at 1024 samples and the numbers before any bake
docs/bake.feature BK0 @done, with its table. Table set: raea unbaked 0.0964 RMSE (0.355 stops) against the Cycles still,
raea with Cycles' maps 0.0445 (0.090); lightbake.py 242 s and 851 MB, so the bar's time is 60 s. Cornell box: black in
raster raea (0.708), 0.0758 with the maps. Window room: 0.188 unbaked, 0.145 even with Cycles' own maps (the maps are
cooler than the still's light; not the environment, not the clamp), so its frame numbers wait on that.

The manual's raea bake page; the verb skipped in the skills' coverage until BK5 teaches <LightBake>.
2026-11-23 17:14:09 -08:00
shinyobjectz 356dacd53f BK0: raea bake light --compare, and the bake's test set
apps/lightbake (raea-app-lightbake): `raea bake light --compare DIR [--sets FILE] [--set NAME] [--samples N] [--fresh]`
runs each set in apps/lightbake/sets.json through Cycles (blender/look.py's still, blender/lightbake.py's bake, both
at --samples, 1024 by default, kept in DIR/NAME until the set's .tsx files, flags or samples change) and through raea
(the set unbaked, the set with Cycles' maps), and writes DIR/report.json and a table: each frame's RMSE and stops
against the Cycles still, lightbake.py's time and peak memory (wait4's rusage on unix), the bar's verdict on the
table set. map_stops compares two lightmaps on the same UVs in stops, for BK5's per-mesh numbers. `raea bake light
EDIT.tsx` says the bake itself is BK1-BK5.

bench/bake: the table set (bevy/realism's example), a Cornell box lit only by an emissive panel, a room lit through
one window; each has a raea composition and a -cycles one that draws lightbake.py's maps (media/baked/, ignored).
The atelier is listed, reference false with why: its Manifold solids stop `raea blender open`.
2026-11-23 16:22:50 -08:00
shinyobjectz 02a1050580 raea-core-modelbox: a glTF model's triangles, box and seat facing, out of raea-sys-contact
raea-sys-contact was 1923 lines and LX7's plan (docs/linux.feature) adds 163; at 1801 it has room. The cache of
each file's triangles moves with them; contact's forget lets both go, as before.
2026-11-23 14:11:21 -08:00
shinyobjectz 66a190ff46 raea make: L1 fixes (crate sizes, copied code, layers)
- z-fighting moves into its own crate, raea-core-zfight (raea-sys-contact was over 2000 lines).
- Camera clearance moves into raea scene (apps/scene), with raea-sys-stage's boxes and part names public
  (raea-sys-stage was over 2000 lines).
- The bundle's .glb import test is one assert in the sources test (raea-runtime-bundle stays at 2000).
- Copied code folded: status lists in one loop, --only through one helper, the lens's field of view from
  core/review, and helpers rewritten where they matched other crates'.
- raea-app-make and raea-app-check-make get their layer.
2026-11-23 14:01:00 -08:00
shinyobjectz cedf2607c6 MK0-MK2: raea make, the review loop the agent can't skip (AnyScene/AnyKit/AnyShot, docs/make.feature)
A scene, kit or shot is now a job made to a frozen plan and held to it in code:

- core/brief make.rs: `make` on brief.ts (scene(), kit(), shot() from raea/brief): kind, references, one
  style paragraph, dials with value/source/means per kind, objects with real size, route, reference or
  invented and crop, shots, compositions, deliverables, a round cap. doctor() names what the plan lacks.
  TS types generated as Make* (brief.gen.ts).
- apps/make: `raea make status [DIR] [--json]`: the kind's deliverables, NOTES.md's "What the skill got
  wrong", each composition's last render or check newer than it and clean (the record), a critic round
  newer than the newest deliverable with each blocking defect fixed or answered in NOTES, and once the
  judge is calibrated two passes in a row. Done also at the round cap or AnyKit's stall, delivered short.
- apps/check/make: the Stop hook blocks a turn's end while the job isn't done, three times at most on the
  same open items; a project without `make` is never held. Claude's Stop hook timeout 10 s -> 30 s.
- docs/make.feature MK0-MK20: the whole adoption plan (gate tiers through raea ask, grounding, kits, shots,
  plan drawing, raea cloud).

Tested: raea-core-brief 11, raea-app-make 8, raea-app-check-make 3. Not built here (disk at 13 GB):
apps/solid, apps/check and engine/cli's one-line wiring; L1 builds them.
2026-11-23 11:39:18 -08:00
shinyobjectz 0af5da5879 raea fix: raea-cli back under its 2000-line budget; raea-sys-fixes in the systems layer
The fix verb's dispatch and usage lines, and the next and doctor dispatches beside them, each on one
line, as check and notes already are.
2026-11-23 10:24:00 -08:00
shinyobjectz cb8b06ff7b raea fix: a problem looked up before it's guessed at
raea fix SYMPTOM... searches raea's own fixes (sdk/guides/fixes/raea.tsv: 31 problems found and fixed
in raea work, each with where and when) and a library of ~46,500 problem -> fix entries from community
skills and docs whose licences allow it (MIT, Apache-2.0, BSD, CC0, ClawHub's MIT-0), ranked by BM25
over problem and error text. systems/fixes (raea-sys-fixes) holds it; about 50 ms a lookup, offline.

The library is a read-only SQLite FTS5 file pinned in tools/release/models.tsv (models-1 asset
fixes-library-202b3fec.db) and packed by tools/release.sh into share/raea/models/fixes; its sources and
licences are in its meta notice (raea fix --notice). The manual's CLI reference gains raea fix.
2026-11-23 10:15:20 -08:00
Sett Sarverott 784e156895 docs(release): explain AppImage builds and runtime requirements
Document local packaging, offline tool overrides, release attachment behavior and host requirements. Distinguish the engine distribution from the separately distributed desktop editor.
2026-11-23 16:48:55 +01:00
Sett Sarverott 2161fa0ba0 feat(release): package the checked Linux archive as an AppImage
Reuse the verified release archive, preserve runtime resources and the dlopen bundler, and pin linuxdeploy and the AppImage runtime by version and checksum. Run the release checks before producing the image checksum.
2026-11-23 16:48:55 +01:00
Sett Sarverott e745f91ae4 test(release): check AppImage payloads through AppRun
Extract an AppImage without FUSE and run the existing SDK, render and host checks through its launcher so packaging cannot rely on the build checkout.
2026-11-23 16:48:55 +01:00
Sett Sarverott a0f685b043 feat(appimage): describe the engine terminal launcher
Provide the desktop metadata and icon name needed by linuxdeploy. Terminal=true reflects the public CLI packaged here; the desktop editor source is absent.
2026-11-23 16:48:55 +01:00
Sett Sarverott 5c4ddb6989 feat(appimage): add a launcher for the packaged engine
Resolve the SDK, bundler and companion executables within the AppImage while preserving the caller working directory and arguments.
2026-11-23 16:48:55 +01:00
shinyobjectz a4898b764f L2: a refused build stops at once, the plugin build goes last and needs 45 GB free, and a resumed run reuses its binaries
11-22 on 6d6e81d7: lane refused the host build under its 8 GB floor and L2 retried eight times in a second, each
reported as "lane hold ended". Once disk was freed, the plugin build started with 8 GB free and filled the disk
(120 MB left, other sessions' jobs running), and its failure stopped L2 before ui-parity, conformance and the
bench checks.

- a "lane build: refused" line is reported as REFUSED and not retried
- the plugin build and its P26 rows run after the bench checks; a failed or skipped plugin build says how many
  compositions weren't compared and holds up nothing
- the plugin build runs only with 45 GB free (it compiles every crate again with the plugins' features)
- a resumed run whose binaries are already in $OUT/bin for this commit doesn't build them again
2026-11-22 20:18:01 -08:00
shinyobjectz 6d6e81d7f4 SG17: a CSS animation in a frame rendered alone is where the render has it; L2 holds the frame-order benches
A frame alone (`render --frame N`, or `--at` that doesn't start at 0) mounts every element in one pass. The page
resolved them all at the earliest <Sequence> start, so an animation outside any Sequence began there
(sdk/react/bench/css/anim.tsx: A at x 100, not 300, at frame 15 alone, on 0.1.9 too), and on a page with no
<Sequence> every animation began on the frame itself (frame 15 alone: x 0, not 300). engine/page motion.rs now
resolves at the earliest start, an element outside any Sequence starting at the composition's 0, and moves each later
element's animations to its own start (blitz-dom BaseDocument::delay_animations). A render of every frame, and P26's
`--at` from frame 0, mount each element on its own frame and are unchanged.

P26 couldn't see it: it compares with 0.1.9's baseline. tools/l2.sh now runs the benches in bench/l2-checks.txt, which
check what is right (at-0, at-time, at-3d, compute-frames, css), each with the candidate's raea: 5/5 on this build.
css/check.sh takes RAEA_BIN as the other benches do.
2026-11-22 19:20:30 -08:00
shinyobjectz 0fec51f6d9 ST8a: craft/story, stories as data in the guides: a router (which page, which lens), how to write, check, sample and score a story with raea/story, and a page per framework in our own words with its sources (McKee, the story spine, Storynomics, PAS, Campbell, Vogler, Harmon, Save the Cat, Kishotenketsu, Propp, Bernays). raea guide lists them as story/NAME; tools/skills.sh copies them into the skill's craft/story/. 2026-11-22 18:03:23 -08:00
shinyobjectz 7e2df514de SG9: a part a scene leaves leaves Solari's traced scene, so a film rendered whole matches each frame alone
A part a frame leaves out is hidden, not despawned: a render's rows are every part any of its frames has. Solari traced
hidden parts unless <SolariLighting dynamic> (RT5's trial) was on, so every place's parts, gone and still to come, stayed
in the traced scene unseen and shaded what was on screen: Stay rendered whole drew its later shots far darker than each
rendered alone (12 frame-pure errors). raea-render-raytrace solari.rs `hidden` now runs on every traced render, on the
parts whose visibility changed or that were just traced; the skinned twin stays the trial. And a reset (a cut) empties
Solari's world cache whole, as a render's first frame finds it: it reset only the cells it picked to update that frame.

Repros (engine/render/tests/diag): kept-scenes.tsx (a black open, a yard, a room) 0.923-0.933 SSIM to the frame alone on
0.1.9, 0.996-0.997 with hidden parts untraced; kept-light.tsx solari-gone (a box unmounted at frame 15) 0.987, 0.998; every
single change of a light or the look follows the frame. tools/frame-pure-3d.sh checks each composition a repro names at
the bar it names (Solari's noise: 0.99).
2026-11-22 16:53:20 -08:00
shinyobjectz be71820281 L2: the app's build links ~/raea's apps/site, as a release's does
Conformance gave no results on cdd44b172d: its app build (vite, blitz/vite.config.ts) stopped at host/library/local.ts's
import of apps/site/api/src/library/fuse.ts, which the private repo holds and a public commit doesn't. l2.sh links it
from ~/raea beside the app's node_modules, as the release builds the app in a maintainer's checkout.
2026-11-22 12:48:38 -08:00
shinyobjectz e3b55f2990 skills pin: raea-skills #114, so 0.1.9's strict skills gate passes
The release's gate (tools/release.sh: SKILLS_STRICT=1, its own raea) failed at 584be72747 where L1's lane check only
warns: the pinned cli.md was made before raea ask reached raea's help, and raea/random-colors (#176) was taught
nowhere. craft/motion.md now teaches random, interpolateColors and OffthreadVideo where it says how to seed what holds
still; tools/skills.sh skips the module itself, whose names come from raea; the pin takes raea-skills 6c7cbf0, with
cli.md and the guide's copy generated from raea's main and raea-feed's. In a clean archive with these: skills: ok.
2026-11-22 12:13:09 -08:00
shinyobjectz 2dbedfe1d2 L2 on a public commit: the feed app at raea-feed's main, as L1 reads it
A commit of the public repo records no apps/app (neither its files nor a submodule pointer: the app is raea-feed's,
outside the export), so l2.sh checked out an empty commit in its app clone and stopped before building. It now fetches
raea-feed's main into the checkout's own clone, the commit L1's skills step reads when the tree names none.
2026-11-22 11:51:27 -08:00
shinyobjectz 3c8fc66bc0 SG4a: the end checks run as the frames come
raea-sys-stage's Staging and raea-sys-contact's Clipping take each frame's parts as it's drawn and keep only
what their verdicts read: each frame's camera, each block of words' and each named part's place on screen, each
frame's cover and subject, the words over parts, and the solids of the parts on screen (a part's let go once
it's been gone 120 frames, an overlap's kept until it's said; only the last frame's pair tests are reused).
raea-runtime-endchecks hands each frame in; a still's frames go in one at a time, their parts made and let go.
Nothing keeps a render's parts now: raea-io-kept is gone. raea-core-scene's ids_of names a frame's parts as
spans_of follows them. Contact's unused slice check and told are gone, its deepest hit shared with the lint.

The film: the same 439 errors, 705 warns and 47 notes in the same order; end checks 0.6 s (22.7 s); a 4.06 GB
resident peak (4.76). The control's end checks add nothing (1.32 GB after its last frame; they rose to 1.52 GB).
Its frames still grow 25% after the first minute (docs/stage-guards.feature).

LX7's plan row follows the clipping check's per-frame code into clip.rs. raea-cli's tests name raea scene's
usage where it moved (raea-app-scene), and an unused alias goes.
2026-11-22 09:41:52 -08:00
shinyobjectz cd03baf109 nobuild: its copied code folded into what it copies (dupes: 293 exact, 57 near)
- raea-sys-rt: one GPU timer for a traced pass (timer.rs), used by raea GI and the far sun; one reader for a pass's
  reach (RAEA_SUN_FAR, RAEA_TRACED_AO); one compute-pipeline queue (cache::pipeline) for GI and its cache.
- raea-io-trace: overrides(), the variables still set over a component's props, said once a run; <VolumetricFog> and
  <SolariLighting> both read through it.
- raea-render-raytrace takes raea-sys-post's Halton places (a facility crate) instead of its own copy; the settings'
  split, taa and one_pass are read where metalfx uses them.
- engine-shaders keeps its declared shaders in a map; fog reads RAEA_FOG_EPI's places in one match; smaller rewrites
  in plugins, look, stats, lod, compose and post.
- tools/dupes.max: exact=293, near=57.
2026-11-22 09:41:52 -08:00
shinyobjectz f8c16d2656 nobuild: the crates' sizes, layers, taxonomy and licences L1 checks
raea-sys-frame was past its 2,000 lines: the engine's own shaders move to their own crate, raea-sys-engine-shaders
(<ShaderConstants>' type is raea_sys_engine_shaders::consts::ShaderConstants), and the path tracer moves into
raea-sys-rt beside the traced passes that use it (<Pathtracer>'s type is raea_sys_rt::pathtracer::PathtracerSettings).
raea-render was past its limit too: the AOV prepasses and readback move into raea-sys-compose::aov, raea-render
keeps the plugin and its want/capture. raea-render-raytrace, raea-sys-fog, raea-runtime-export and raea-render name
the new paths; tools/layers.toml places raea-sys-gi and raea-sys-engine-shaders; tools/taxonomy.list has
ShaderConstants.

tools/licenses.sh measures raea-cli without the plugin catalog's edge (the catalog is its own feature), so NOTICE's
catalog and LICENSES/ drop 18 crates only the catalog's optional plugins reached; NOTICE's opening sentence still
covers every crate in Cargo.lock.
2026-11-22 09:15:58 -08:00
shinyobjectz e9909de88f NB2a: debug views as channels with values; messages that told an author to run cargo
io/trace's stat_value gives a channel a value (pass=depth, lod_debug=time, fog_skip=a,b; a channel chosen bare is
"1"), its variable still the override. Nine debug views (clay, fog_debug, fog_show_fallback, lod_debug, pass,
pass_rays, pass_reach, song_debug, volume_debug), inspect and fog_skip go through it, so a composition chooses them
with stats.on. tools/nobuild.sh stats: pass=depth chosen from TypeScript draws RAEA_PASS=depth's frame (max 0 levels
apart, 240 from the picture), and its static check covers the 35 stat and view variables decided done.

raea song, framing="face" and matchmove say to update raea when raea-perceive is missing (releases ship it) rather than
to build it. export-game says this raea ships without raea-game and how to ask for it; the note on the smaller player
prints only to a checkout's build.
2026-11-22 09:15:58 -08:00
shinyobjectz ee42e31469 NB2a: stat channels and pass timings chosen and read from TypeScript
io/trace's stats.rs: a stat channel is a RAEA_ variable's name without RAEA_ (bake_trace, trace, bevy_passes), on
when the composition chose it (native("stats.on", { channels }) at its top level), when RAEA_STATS lists it, or when
its variable is set, the override. The 51 reads of 24 trace and stat variables go through raea_io_trace::stat. Each
of Bevy's render passes (RenderDiagnosticsPlugin, on by bevy_passes) and PassTimer's go into the run's totals, with
the counters engine/draws and engine/updates; native("stats.read", {}) returns them, and a run that chose a channel
prints the table and keeps stats.json in its trace folder (docs/manual/reference/cli/traces.md).

tools/nobuild.sh stats checks it: every channel decided done reads through stat(); the scene choosing bevy_passes and
trace traces, reads 9 passes and 11 draws back on its last frame, prints the table and keeps stats.json; with nothing
chosen nothing prints; RAEA_TRACE=1 and RAEA_STATS give the same trace lines. 12 frames take 12 updates.

raea-render's lines stay as they were (NB4a's plugin choice folded to one line). native-calls.ts gains the two calls,
and bevy.app.*, which raea registers now that the macOS build links the plugin catalog.
2026-11-22 09:15:58 -08:00