mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-06 03:13:27 -10:00
* One check: raea check is the only way any agent's work is checked
docs/check.feature (CK0-CK6). Every rule lives in one of three places: a check, a component or the SDK,
or a skill or retrievable context; a rule that fits none is dropped.
- raea check runs a project's goal at a moment (--at edit|render|publish|done); raea goal check still runs
as its alias for older tools. raea ask, raea judge, goal seen, goal judge, goal gates and check
--taste/--quick are refused, naming raea check. raea floor is raea's measures for files outside a goal.
- a render's check runs once as it ends and is kept as OUT.check.json; publish and done reuse it while it
is no older than the file and its manifest, and every rule says at most one line per file
- the goal SDK has no seen, says, critic, record, notes, stills or surprise packs and no taste or look
checks; a says rule is reported as unchecked; brief.ts holds only what the brief asks
- the edit-moment hook check is gone; the Stop hook reads the kept check
- <Captions /> (raea/video, exported from raea): words in, the brand's caption style, inside the safe area
- the craft guides and AGENTS.md lose judge tiers, ask, Tone.js and framing="face" text
* raea cut keeps a take's jump cuts: the second cut on a take doesn't decode it again
raea media cuts decodes every frame of a take (43 s for a 4-minute take on a box), and every raea cut ran it again,
so three cut lists on one take in a step ran past a box step's 3 minutes and the run stopped with nothing made.
The cuts are kept in raea's cache by the take's path, size and time: a second cut on the take took 0.5 s.
* The reading check reads the render's own texts from its manifest (Unrender J2)
What raea drew is checked from the render manifest, never by reading frames (docs/check.feature): the reading pack
takes each text's ink box from the manifest at the captions pack's step, a multi-line card sized by one line, and
reads the export's frames only when no manifest is beside it.
* raea/goal typechecks: a dead helper gone, shapeOf takes FileFacts' sizes, the montage test's beats are CutBeats
* raea goal check takes check's flags again: the old name runs, as CK0 says
The help lists check's flags under check alone, so a verb's flags read from it refused `raea goal check OUT --at
render` (raea cloud's render tool) for --at. goal check's arguments are now checked as check's.
* Farm: a volume reload goes next, shared and limited, so a busy farm never loses a finished render
With a dozen cuts in flight, blob uploads and other requests kept the farm API's volume in use without a break. A reload waited for none of them to be in it, and GET out sat behind it past Modal's 150 s web limit (408), losing a finished cut. Now a waiting reload holds new users back, a reload that starts after a request asked serves it too, and the wait is held to 100 s and answered with a 503 the box asks again on. test/farm_gate.py runs the class from farm.py: the old gate never reloads behind a stream of users; this one does in 0.16 s.
* Floor: blocky darks are an error only when the encode is measured to have added them
12-04, one-check proof: Body Shop's cut (17 Mbps) got an ERROR for blocky dark patches that its frame doesn't show at full size; the check couldn't tell the encode from the footage's own compression. Untraced, it's now a warning; the picture's own, no line.
* CTA and must-say read a frame's texts together
12-04, Elfster run 4: the end card drew the CTA as two texts ("Make your Wishlist and organize your Gift Exchange on Elfster." over "It's free."), each alone under the CTA's 85% share, and a cut ending on its CTA was failed for having none. A frame's texts are now read together, in the order drawn.
* Sound: a word timed longer than 2.5 s is a transcriber's slip, not a word cut in two
12-04, Elfster run 5: "secret" was timed 143.28-166.96 s, and a clip starting 15 s into it got an ERROR for cutting the word.
* One line a rule a file across levels, and no lines.txt note
12-05, run 5: a cut's ERROR and WARN from the same check each took a line, and Dutch's cuts listed 11-12 lines. The worst finding of a rule now leads its one line and the rest are counted under it. The "no lines.txt beside it" note is gone: a hint, not a fault in the cut.
* Farm: a composition's bundle cached on each container's own disk
12-05, run 6: a job's 32 CPU parts missed the shared bundle cache on the volume at once, each wrote the same file and committed it, and parts that read it mid-commit got zeros ("bundle.js: String contained internal null bytes"). Up to 23 of a cut's 32 parts went back to the 10 GPUs, and other jobs' frame-0 probes waited behind them.
* Words: Hear on up to 4 GPUs and Align on 3
12-05, run 8: three projects' transcriptions, 8 at a time each, queued on 2 of each class. Elfster's 51 takes took 6.5 minutes and its wait for them ran past the fetch step's 4. Seven of the account's 10 GPUs at a run's start leave 3 for the cuts' first frames; the cuts themselves draw on CPUs.
* Check: quotes cut by whole characters, and numbers said in words match digits
12-05, Dutch run 9: a caption quoted to 40 UTF-16 units split an emoji, and printing the report broke the check ("Conversion from string failed: invalid utf-8 sequence"). Quotes now cut by code point, and every finding is made well-formed before it's printed or saved. The same cut's caption "24-7" was called a word not said, against "twenty four seven" in the words file: the captions pack now reads numbers in words as digits on both sides.
* AGENTS.md: a take cropped to another shape goes through components/Framed.tsx, never a guessed objectPosition
12-05: agents guessed each 9:16 crop and cut the speaker off at the frame's edge.
* AGENTS.md: the brand paragraph in five lines
A box agent starts with at most 2,500 words (docs/check.feature); this paragraph was 150 of them.
* Check: a CTA said in part and shown in part lands; numbers said in words match the brief's digits
Dutch run 10: the host said "use code PETS60 for sixty dollars off your first" as the end card showed "Code PETS60: $60 off your first year". Heard alone was 79% of the line and shown alone 58%, so 5 of 6 cuts got a false CTA ERROR. The heard words now take numbers in digits (as the captions check does) and the CTA counts what is heard and shown together at the end.
* Check: "$60" reads as "60 dollars" in what's heard and what's captioned
Dutch run 10: the transcript wrote "sixty dollars" as "$60", the caption wrote it out, and the captions check called "dollars" a word the host never said.
* Captions check: the takes' own words where the edit placed them count as said
The check heard the export a second time, while captions are built from the takes' own transcripts. Run 11: a second hearing wrote the take's "he heard his label paw" as "he sleep with Paul", and "That's" and "take" otherwise, so right captions read as retyped or as dropping words (4 false ERRORs over Dutch's 6 cuts). A caption's letters now count as said when either hearing has them, and words heard but uncaptioned are a fault only when the take's own words there aren't captioned either. A retyped caption is still caught.
* One UI zone table for Region and the check; ERRORs only for the faults a cut's rules name
- sdk/video zones.ts: the app's UI zones, the same table as the floor's zones(). Region's edges and sides keep them,
so a title or caption it places is never in the zone the check holds it to (Region kept 8% at the top against the
check's 220 px, and every hook title it placed was an error).
- The right zone is the app's buttons, from 45% down the frame (RAIL), in the Rust floor and in the goal's floor pack
for a raea from before it: a centred end card above the buttons is clear.
- place: an error over a face or a sign (words in the shot); over another thing the detector names, a warning with
the clear place said.
- sound: a cut on sound more than 0.6 s from any word is a warning (a laugh, a noise, a missed word), not a word cut.
* Sound check: a clip with no well-timed word in it isn't a line held to the others' level
A take whose transcript has broken timing (a word 90 s long) made a 0.6 s pause read as a line 51 dB under the rest.
* Captions take a cut's own words; AGENTS.md: captions and titles through Captions and Region, never a typed top
An edit holding several cuts has one words.json, so Captions had no words for each cut and agents wrote their own
captions at a typed top, in the app's UI zones.
* AGENTS.md: shorter placement and Framed lines, back under the start-text limit
* Composition ids take underscores: a deliverable's name is its id
The naming rule names cuts client_concept_variant_v1, and registerRoot refused that id, so an agent that used the
deliverable's name lost a render pass (7 minutes in one run).
* Farm: the box image's SDK overlay on the release, so a render's Region keeps out of the app's zones
The farm bundles each composition with its own SDK; rc4's has no zones.ts, and titles placed by Region landed at
y=154, inside the top 220 px. Deployed (raea-farm, RAEA_VERSION=0.1.17-rc4).
* Farm: frame 0's run commits the work folder, so a render's parts don't each rewrite styles.gen.ts at once
Uncommitted, every part's container found styles.gen.ts older than the code and rewrote it on the shared volume,
truncating it under the others: 14 of one cut's parts refused with "couldn't bundle edit.tsx: Unterminated string"
and the cut was lost. Deployed (raea-farm, RAEA_VERSION=0.1.17-rc4).
* Farm: a piece whose runs draw only stills (a game's capture) is drawn as stills and encoded on the run's GPU
Every run of a playable's capture refused: the file extension .mp4 was not recognized as an image format.
* check.feature: name the retired frames command without its old name (the legacy-names gate)
* goal: the batch critic's test goes with the critic (one check removes raea ask)
* taxonomy: Captions is raea's own name (the one-line captions component)
---------
Co-authored-by: shinyobjectz <[email protected]>
61 lines
4.2 KiB
Gherkin
61 lines
4.2 KiB
Gherkin
Feature: one check (12-04, Shane: "fix how every agent checks its work ... removing ask and judge completely and all
|
|
that exists is check as the overarching method")
|
|
|
|
Round 26's agents met about nine ways to check their work (raea goal check, goal seen, goal judge, raea ask, raea
|
|
check's taste, the old frames command, a lines.txt words check, raea cloud's stop critic and run eval, and the render and
|
|
publish tools' own copies), two of them broken on the boxes, and 183 findings on 10 cuts of which about 10 were real
|
|
faults. Every agent, on raea cloud, in the desktop app or with the raea skill, now has one: `raea check`.
|
|
|
|
Rule: every rule lives in one of three places, or nowhere (12-04, Shane)
|
|
Built in: a component or an SDK default that can't produce the fault (captions from the words file, in the safe area;
|
|
a Region that keeps text off faces and the app's buttons; raea cut, which cuts only in pauses). Its check is a
|
|
backstop that shouldn't fire.
|
|
A check, hard or soft: hard is an error (a fault in the deliverable), soft a warning (a note for the person, never a
|
|
reason to render again).
|
|
Context the agent retrieves while it makes the work: craft and taste (how captions read, pacing, a hook, a brand's
|
|
fingerprint, the person's past notes) live in the skill, the guides and memory. Nothing grades the work against them.
|
|
A rule that fits none of these isn't a rule: no ritual (the agent saying it looked: `seen`) and no model's opinion
|
|
of the work (taste, a critic, a judge, an ask).
|
|
|
|
Scenario: CK0 one verb
|
|
Given any project
|
|
When an agent or a person runs `raea check [FILE...] [--at edit|render|publish|done]`
|
|
Then it runs every rule the project's goal holds at that moment, and nothing else checks the work
|
|
And `raea goal check` still runs as `raea check`, for boxes and tools on an older raea
|
|
And `raea ask`, `raea goal judge`, `raea judge` and `raea goal seen` are gone: raea says so, and names `raea check`
|
|
|
|
Scenario: CK1 run once, after the render
|
|
Given a render that wrote OUT.mp4 (on this machine, or on raea cloud's farm and checked by the box that sent it)
|
|
When it ends
|
|
Then `raea check OUT.mp4 --at render` runs once and keeps OUT.check.json beside it
|
|
And publish and done read OUT.check.json while it's no older than OUT.mp4 or its manifest, and never run its rules again
|
|
|
|
Scenario: CK2 only real faults, one line a rule
|
|
Given a cut
|
|
Then it is held to: a word clipped or missing (words, sound), a face cut by the frame edge (frames), text over a face,
|
|
a sign or the app's buttons (place, floor), captions over talking (captions), the brief's must-say, never-say and
|
|
CTA (say, never, cta), its size, length and name (shape, sizes, naming), the brief's count and open items, and what
|
|
the render itself found (render)
|
|
And a 3D scene, kit or shot is held to its deliverables and what its render found: clipping, a part out of place or
|
|
under its detail, light that jumps
|
|
And each rule says at most one line a file: its first finding and how many more like it
|
|
|
|
Scenario: CK3 our own text from the manifest
|
|
Given a render manifest beside a video
|
|
Then captions, placement and size read the texts raea drew from it, never by reading the frames
|
|
And text in the source footage (a sign, a phone's screen) is never counted as the edit's
|
|
|
|
Scenario: CK4 no critic, no ritual in the loop
|
|
Then no check asks a model to judge the work, and no check waits for the agent to say it looked
|
|
And a check that can't run on a machine (Mac, Linux, Windows, a raea cloud box) is removed, not left waiting
|
|
|
|
Scenario: CK5 a brief that can't break the check
|
|
Given brief.ts with `goal: [steps, cut({...})]`, `goal: steps` or `goal: cut({...})`
|
|
Then `raea check` reads every goal in it, and never crashes on what an agent wrote
|
|
And a cut's beats are the agent's plan, never a rule it is checked against
|
|
|
|
Scenario: CK6 one set of instructions
|
|
Then raea's skill, its guides, `raea help`, the AGENTS.md raea writes, raea cloud's method, workflows and skills, and
|
|
the desktop app all name `raea check` as the one way to check, and none names ask, judge, seen, frames check or a
|
|
lines.txt words check
|