Commit Graph
18 Commits
Author SHA1 Message Date
shinyobjectz 822b73fc7d PJ9: controllers are gone; a standing rule is a taste line
A taste line's check now takes any of raea's checks by name or a project's
own .ts check by path, with values and a level, beside the six forms. raea
check reads the project's own taste.ts beside the person's and the
workspace's, and raea context prints it.

Removed: the controller schema, raea controller, raea spec --as controller,
[controller] overrides in .raea/project, the registry's controller kind and
its lints, controllers/ in new projects and shared/, and controller() in
raea/brief. raea controller and raea doctor say where a controller's parts
go; doctor moves or deletes nothing. The direction proof's five rules are
lines in its taste.ts and it passes as before.
2026-11-20 13:00:19 -08:00
shinyobjectz a927fbb027 Windows: a workspace and its projects are made and read through plain paths. canonicalize() gives \\?\C:\... on Windows, which Git for Windows can neither read nor lock, and which shares no root with the C:/... git prints. So raea workspace init (the app's Make workspace) wrote an include of ../../../../\\?\C:/... into .git/config and every git command in the workspace failed ("Invalid argument"); workspace.id and project.id were never written; and raea workspace --json read id null even from a mended file, which the app's set-up took as a workspace with no id (a black window, then set-up again on every launch). up(), the record's paths, include(), adopt(), the doctor and the registry now canonicalize through dunce (C:\... wherever a path can be said so); include() takes both ends that way, and names a file on another drive whole instead of climbing to it. Also on Windows: the workspace root is found from USERPROFILE when there is no HOME (an app opened from the Start menu has none), the record names paths with / (it said out\edit.mp4), and the registry's @shared/ suggestion is an import (it said components\desk). Checked on a Windows 11 PC: the new a_workspace_reads_back_through_git failed there as reported (could not lock config file \\?\C:\...; the include climbed to the drive) and passes now; raea-app-workspace 10, raea-app-registry 7 and raea-core-facts 17 pass there and on macOS.
Skills: sections 0, 2 and 3 of the raea skill (sources apps/workspace/src) checked, still true: nothing a Mac sees changed.
2026-11-17 09:44:42 -08:00
shinyobjectz 559d8274e0 A frame that comes out all black though its page shows something is a warning, said once over its run of frames (#96)
A frame black on two draws whose GPU passes its canary was kept as the scene's black with one stderr line, and every
later black frame was let through silently: #96's 4K handover lost frames 22-29 that way, the render reporting
success. Now, when such a frame's page shows something that isn't black, the render warns "black-frame" naming it
and where it's written ("frames 22-29: drew all black on two draws, though the page shows a rgb(34, 34, 34)
background (handover.tsx:31:3)"), in the run's findings: stderr, the manifest, the summary's count and raea check's.
A page that is black (a black background, nothing on it) says nothing, as before.

raea-page's visible_paint finds it: the first element shown on screen, not a video's holder, whose background or own
words' colour isn't black, with its source stamp; it shares the manifest's opacity and stamp walks, now functions of
their own. raea-core-facts' said_frame joins a frame's finding to the same one running on the frames just before it,
so a run prints one line and counts once. Both black checks of the page path call it (bevy_frame.rs's still and video
frames, render.rs's page over 3D). Left out, as on the issue: a fed MP4's frames, which never come back to the CPU.

RAEA_BLACK_FAULT=3 draws every frame black with the canary passing (a draw dropped whole, as #96's was), to test it.
Checked: a #222 page under that fault warns once over frames 0-5, the manifest holding one finding with frames [0, 6];
a black page under it says nothing. Test: said_frame merges a run and starts another after a gap (the two tests that
say and take findings hold one lock).

Skills (SK4): SKILL.md's "7. Deliver" names runtime/export/src and says nothing of black frames: checked, still true.
2026-11-12 12:49:42 -08:00
shinyobjectz d412678357 DR6: done. Each ask of a note is held by a check that must fail on the work as it stands before the work changes, or by a clip the person signs. An ask names its check (raea's by name or a .ts check by its path), its values, its composition (Ask.of; Rule.of runs a rule only there) and, where it can't be measured, proof { shot | frames, sign }. raea notes check runs the asks through raea check's run (apps/direction, lent by the CLI): a first run that passes is refused (exit 1), a failure is kept with its check and values in .raea/notes-checks.json, a check changed after it failed is to check again, and each finding's by is its ask, so two asks on one check are counted apart; raea check runs the notes' checks beside the rules. Each clip is cut with ffmpeg from the composition's newest render, never from one the composition changed after; the person's sign comes back from the app with the render's sha256 and is kept by raea notes take. An ask reads to check, failing, to sign, passing or signed (the agent's move until there is a clip of the work as it stands), the note its worst; raea notes ls says each and raea notes post sends the badge, each ask's state and each clip (raea show --status --states, --sign --clip --render). raea/check gains a per-rule memo, after, named, turned and inside; six worked checks ship in sdk/guides/craft/checks and in the skill as craft/checks (rides, flat-type, faces, stands-on, shot-length, no-part), with their pieces and cheats in bench/direction/asks (asks.sh: 35 cases as expected). A plain element that covers another is named by the component that drew it (runtime/world). Proved end to end in a copy of the raea app (1109.87): a note sent, taken, restated, failing, the work changed and passing, the clip signed in the page, --done refused, and the sign reopened by a changed composition. Tests: raea-core-facts 16, raea-app-notes 10, raea-app-direction 16, raea-runtime-world 15, engine/cli show.test.ts 5. The craft router says the order, and the manual's notes, show and raea/check pages say what's new. The worked checks' table moves "low poly" to DR14 and "the light at the cut" to DR19, each with why. 2026-11-10 15:34:46 -08:00
shinyobjectz a4fd51bebe DR5: a person's notes become files the work is held to, restated as asks before anything changes. raea notes take writes each note sent from the raea app (each edit comment, with its pin) or said in a session (--said) to notes/ROUND/nN.ts, the words verbatim and no asks; a note already taken isn't taken again. raea notes ls says where each stands (to restate, to check) and what its restatement still owes: a second reading where one ask came from several sentences, each medium its words name (2D, 3D, flat, extruded, real, modelled, voxel) that no ask asks for or turns down, and what a redesign keeps. raea notes post shows a restated note's asks on its comment in the app (raea show --on ITEM --working ID --ask TEXT...), once per restatement, and none that still owes something; the person's correction comes back with the next take as a new line of the note, kept, with its ask in corrected until restated. Note, Ask, Pin and Proof are world facts (core/facts note.rs) with their TS types, and sdk/raea/src/note.ts gives note({...}). The notes are a crate of their own (apps/notes), not apps/direction, which is near its size; the feature file says why. 2026-11-10 14:03:56 -08:00
shinyobjectz 060380ead5 DR28: text-read, raea's reading check. A render now gives each text an Ocr (what Apple Vision reads in its box on that frame, and the share of its words), from frames decoded once in order (runtime/world pixels.rs), which also measure each text's contrast without an ffmpeg call a text a frame. OCR reads a box fast first, then the text's line across the frame and the box accurately where fast misses a word (a lone short word reads as well upside down), and a crop that holds still but for a video's coding noise isn't read again: the manual's title example checks in 2.5 s from no record. text-read gives each text on, visible (in the frame, at an opacity, size and contrast that read, covered by no layer past a share) and read; holds its reading time (0.3 s a word, at least a second, none for a caption said as it shows) to visible, saying which frames were lost and why; and calls text that can be read where OCR doesn't read it broken (an error past 3 frames; read on under half: a warn). raea check runs it on every composition's newest render as raea's own rule, where it holds the floor's reading rule; what it couldn't measure (OCR off the Mac, covers without --layers) is a note. A word is matched by one key everywhere (core/facts word_key: letters and digits, lower case), which the floor's caption-against-voice rule now shares. bench/direction/read: a caption and five cheats, all as expected. The scenario's plan now gives pixels.rs 240 lines and read.rs 270 (planned 170 and 230): the fast and accurate reads, the still-frame reuse and saying lost frames in groups took more than planned. 2026-11-10 13:08:52 -08:00
shinyobjectz 973ee00acc DR4: a check is a system, and raea's own are written the same way. raea check PROJECT|EDIT.tsx runs every rule that applies to each composition: raea's floor on its newest render, the person's taste, and the workspace's and the project's controller rule fields. It reads the frames each check ranges over (all, cuts, lines, once or a list) into worlds once, runs raea's named checks in Rust (apps/direction systems.rs) and a project's .ts checks in the JS host (raea/check: check({ id, text, needs, level, frames }, (world, frame, values) => ...) and found(...), with the components' types generated from core/facts), and keeps the findings in the project's record. A check that needs a render and has none waits, and says what for; a check that throws, or a rule file raea can't read, is a finding. raea check VIDEO.mp4 is the floor as before.
Proved by bench/direction/proof/proof.sh: five checks that import nothing of Bevy's (a lyric layer over footage, a footage cut, a cue in a mix, a caption in a vertical ad, a rider on a 3D seat), each passing its piece and failing its cheat, and a taste line failing the ad's cheat as the named check of its form.

Fixed on the way: a text's box grows over words drawn past it (the caption cheat passed); a word a cut passes through is in each clip's words (the cut cheat passed); a Part carries its own box before its transform, so a turned part is tested as turned; the help reads `[A|B]` as one argument. Copies folded rather than added: a command's words (apps/check, now also raea workspace's), the printed report and exit code, the person's taste folder, a controller read from JSON (core/brief, now also apps/workspace's), and a path made plain (runtime/bundle's). The spec's lines that the code showed wrong are fixed beside them: --stage moves to DR10, a note's checks to DR6, and the rule field from DR8 to DR4.
2026-11-10 12:14:15 -08:00
shinyobjectz 5ba4688c74 DR4: a rule is a line and the check that holds it (core/facts rule.rs): one of raea's checks by name with its values, or a project's .ts check by its path; taste's six forms are six named checks with the same names and values; a controller gains the field type rule ({ label, check, values?, level? }), each a rule; brief.gen.ts regenerated 2026-11-10 12:14:15 -08:00
shinyobjectz bb0a1768c5 DR2: every render writes its manifest beside its output (OUT.render.json, or DIR/NAME.render.json); raea world joins the composition's newest render (from the project's record, or --render OUT): each text's Contrast against its pixels, the frame's and each shot's Picture (light and movement), the render's Mix, each cue's Onset in it, and Covers from a render with --layers, measured on the output when asked (raea-sys-measure, which raea check's contrast and loudness now call) and kept in the manifest; a frame or world with no render says what Waits for one 2026-11-10 10:39:13 -08:00
shinyobjectz fc274e2870 DR3: under the size and copy limits: gen check's fitted-fix wording moves to raea-core-meshcheck (said_fix, tested there), Finding::read replaces four copies of reading a kept finding, the export cache prune is one pass over the folder, and the closures cargo-dupes matched by shape are written another way 2026-11-10 09:54:02 -08:00
shinyobjectz eab9198a1e DR3: nothing reads as fixed by hiding it: a clip no frame shows is said as a note, a renamed part is renamed, a video from the export cache says what it found, a run is set against the one before of its kind; renders inside another (a review's tiles, a quick check's stills) keep no entry; a review's cameras face where they're put 2026-11-10 09:18:26 -08:00
shinyobjectz c98501a88f DR3: the record and raea findings find the project from a bare file name; a clip's span counts its last frame; gen check says a fitted copy's fix as what to run; raea next's page says what it reads from the record 2026-11-10 08:56:09 -08:00
shinyobjectz aebbdb2d4a DR3: the project's record keeps what each render and check found; raea findings reads it, raea next steps by it
A render, or raea check, of a file in a raea project keeps its findings in .raea/record/, one file apiece named by
when (UTC) and what, with the project's commit ("+" when the file has changes not committed), what --despite let
through, and at most 500 entries. raea findings [PROJECT | EDIT.tsx] [--about NAME] [--check ID] [--open] [--since
RENDER] [--json] compares each thing's latest entry with the one before (or RENDER): what was fixed, what is new and
what is carried, and since which render; a finding is the same across renders by its check and what it is about, not
its frames. raea next reads the record, not out/ and a check.json's time: a render's errors are the next step, then
its video's check and what that found. A render's manifest has all its findings (the exposure's too). The record lives
in core/facts beside Finding, since the render, raea check and raea next all use it (the scenario says why); the
registry's up() moved with it. raea findings is dispatched; its help line follows the lane changing help.
2026-11-10 08:56:09 -08:00
shinyobjectz ebce4f28ab DR3: the older commands' JSON reads as a Finding (Finding::of_value), and scene lint's findings are read through it
{check, level, says} with what it is about (part, into, on, file) is what scene lint, gen check and solid info write;
of_value reads it as a Finding, a pass ("ok") as none, an object fix as its command. The plan's finding.rs is 240
lines for it.
2026-11-10 08:25:40 -08:00
shinyobjectz 898a0068df DR3: raea render counts its findings last and exits 1 on an error not let through
A render's findings (the clipping check's, as it says them) are kept for the end: the last line it prints is their
count, and an error not let through makes it exit 1 once its output is written. RAEA_DESPITE="CHECK: why" (a check's
name, or all) lets a check's errors through and writes the reason into the manifest, for a harness that renders many
pieces and compares pixels: P26's compare and recapture set it; a raea before this ignores it. The --despite CHECK WHY
flag is read the same way; its line in render's usage follows once the lane changing that line lands. raea check
--quick judges its stills' render by the manifest it wrote, not its exit, and reads their findings.
2026-11-10 08:17:29 -08:00
shinyobjectz 05abcdfc82 DR3: one Finding; the clipping check, raea scene lint and raea check write it
core/facts gains Finding { check, level, about, frames, says, measure, fix, by }, its one-line text, ranked (worst
first) and count, with its TypeScript declaration; raea check's P0 and P1 are errors, P2 a warn, P3 a note, and lint's
"warning" a warn. systems/contact's found.rs makes the lint's faults and the clipping check's overlaps Findings about
the parts by name, with the number each turns on and its fix. A render's manifest carries "findings" (it carried
"clipping", which nothing read) and says each on stderr; raea scene lint prints them worst first, notes included,
with the count last. raea check -o writes {file, fps, findings, passed} and prints the count last; --quick takes in
what its stills' render found and says a render that fails as an error. raea next reads the errors from findings.
The plan's apps/direction issue.rs is six lines in apps/check's report (the scenario says why).
2026-11-10 08:17:29 -08:00
shinyobjectz ca54307223 DR1: raea world reads a frame into one world of facts
runtime/world (raea-runtime-world) steps a composition's React to the asked frames, as raea scene lint steps it,
and reads each into raea-core-facts entities: the 3D layer with its Camera (velocity from the next frame) and
Parts measured from their triangles, Text3D as Text and Part; the page laid out by the render's own Blitz page with
nothing painted (BevyPage::lay_out), so text has its box, size, font and line count; Sequences as Shots (from and
to; Sequence now stamps data-raea-end), footage as Clips with SHA-256 and their take's words, sounds as Cues, the
project transcript's lines and <Speech> lines; each entity's Source from the code stamps. <style>/<script> text is
not read as words.

apps/direction: raea world EDIT.tsx [--frame N | --at A-B|A,B] [--find JSON] [--no-layout] [--json]; --find spans
media (with, without, where Comp.field).

Folds: raea_runtime_react::scene::surface, raea_runtime_bake::runs, raea_core_facts::Word/transcript_words (raea
check's). Stamps name Audio. The time a layout-only page update gets is sent as a drawn update sends it.
2026-11-10 07:47:50 -08:00
shinyobjectz 7222289a05 DR1: core/facts, the world's components. A frame of a composition as one world of entities with components by name, in raea/ecs's form (an id, a parent, components), as data Rust reads and a TypeScript world is built from: Source, Layer (its medium: 2d-type, 2d-graphic, 3d, footage, page), Text (words, box, extruded), Part, Camera, Shot, Clip, Cue, Line, and relations by name. Their TypeScript declarations come from the types. 2 tests. 2026-11-10 07:47:50 -08:00