mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 06:53:19 -10:00
One loop, raea goal: every rule in TypeScript, held at edit, render, publish and done (goal check, tasks, judge, seen, gates, next); the brief's contract is goal: (one goal or a list, a workflow inline), and its plan is plan:. raea make is making a finished asset: character, clothes, motion, solid, wear, splat, physics, bake, sounds, component, the kit pipeline and shots. Instruments (check, judge, ask, world, scene faults, light check) stay top-level. With it: the montage pack (MK48-MK51), JavaScriptCore fixes raea goal needs (CommonJS named exports, reserved words too, dynamic import of file URLs, process.exit from a promise, stdin for -), raea-cli-goal and raea-cli-refused split out of raea-cli, and skills at raea-skills 105aede.
652 lines
51 KiB
Gherkin
652 lines
51 KiB
Gherkin
@spec
|
|
Feature: Goal: the loop every piece of work runs, one goal or a workflow of them, held to rules the agent can't skip
|
|
Shane, 2026-11-29: "'raea make' should be clis/sdks that are specific to design things or actions like character
|
|
sdk, wear sdk, etc. those are really raea make tools. 'raea goal' is the /goal like oriented approach to a workflow,
|
|
planning, executing, checking etc." And on the measuring verbs: "top level. because ultimately things like
|
|
workflows would have and build out multiple goals and they must be achieved and planned for accordingly." And:
|
|
"goals can be structured in a workflow, or a plan or brief designed as one step that attributes to a certain part of
|
|
a workflow." This file was docs/make.feature until then (MK45).
|
|
|
|
Shane, 2026-11-23, after a deep dive into apekshik's AnyScene, AnyKit and AnyShot (github.com/apekshik, MIT): "lets
|
|
take all three learn form them and adopt that review loop internally wholesale. i think this is ley for us. all 11
|
|
points seem relevant to adopt or itnegrate intoexisting systems, or converting into a typescript planning and review
|
|
sdk as part of it". Decided the same day: the contract goes on brief.ts; the gate uses `raea ask`; internal and cloud
|
|
are built together. Plan: ~/.claude/plans/dreamy-floating-dijkstra-of-771a18a0-2207-4b03-80e7-ddbec117bc80.md.
|
|
|
|
What the three repos showed (their builder/CRAFT.md and agent/KIT.md say it outright): the quality came from a loop,
|
|
not a model or a setting. Render it and look; name the problem precisely; fix it in a script so a rebuild keeps it;
|
|
check the fix from a view that shows it (a camera 30 cm off the floor shows a floating chair a wide shot hides); get
|
|
an independent critic, because the builder stops seeing its own flaws. And a Stop hook that won't let the agent end
|
|
until every deliverable exists and the critic passes, with a cap and a stall rule so it can't loop forever.
|
|
|
|
The model this file sets:
|
|
1. One loop, three kinds of job: a scene (a dressed, lit place from references or a brief), a kit (a set of props
|
|
that belong together, from style references) and a shot (stills or camera moves of a built scene, from words).
|
|
2. The plan is the contract: `goal` on the project's brief.ts (core/brief goal.rs), typed from Rust, written by the
|
|
agent before it builds, and read by Rust. Every object carries its real size and whether it came from the
|
|
reference or was invented; every dial its value, where the value came from, and what it meant here.
|
|
3. Done is decided in code (`raea goal check`), never by the agent saying so, and enforced where the agent stops:
|
|
the Stop hook of every agent raea installs hooks for, locally and on raea cloud.
|
|
4. Three tiers of gate, each gating once it has earned it: measured checks always; `raea ask` questions one by one,
|
|
once each is calibrated on the person's labels; a fresh critic's fixes always (fixed or answered), its score
|
|
once `raea judge calibrate` agrees with the person's eye.
|
|
5. Every job ends with its notes, including what the skill got wrong for it, so the next job starts from them.
|
|
6. Every object is planned at a level of detail, by how large it is meant to be seen, and every render says
|
|
when a shot shows one closer than that (MK21-MK24).
|
|
|
|
Background:
|
|
Given raea's scene loop as advice (sdk/guides/craft/bevy/scenes.md, from the 11-06 research): brief, routing,
|
|
build big to small, `raea render --review` (hero, front, right, top, iso and low cameras in colour and clay;
|
|
core/review), `raea judge` (frozen rubric; clef, kimi or claude; pass, done, stall in code; apps/judge),
|
|
`raea scene lint` (raea-sys-contact) and `raea gen check`
|
|
And `raea ask` (docs/ask.feature): typed clef questions with a ledger that calibrates each question on labels
|
|
And the raea plugin's hooks (skills/skills/hooks/hooks.json -> `raea hook claude`, apps/check hook.rs), whose Stop
|
|
branch already blocks a turn's end to hand over what the person sent from the app
|
|
And the project's record (.raea/record/, core/facts record.rs): what each render and check found, and when
|
|
|
|
Rule: the plan and done (MK0-MK3)
|
|
|
|
|
|
@done
|
|
Scenario: MK0. The contract: `make` on brief.ts
|
|
Given a brief.ts whose default export has `goal: kit({...})`, `scene({...})` or `shot({...})` (raea/brief)
|
|
Then core/brief reads it as `Make`: its kind, references, style (one paragraph: era, palette, materials, wear and
|
|
one fictional maker), dials, objects, shots, deliverables and a round cap (8 by default)
|
|
And each object has an id, a label, one size (`h`, `dims` [w, d, h] or `max` for things that lie flat), a route
|
|
(solid, rule, gen, library, picture), a prompt, `source` (reference or invented), a `crop` in reference 0, a
|
|
place (x, y, z, rot) for a scene, the generator it was picked from and why, and the fixes made by script
|
|
And each dial is `{ value, source: customer | reference, means }`, from its kind's set (scene: density, tidiness,
|
|
wear, wetness, time_of_day, weather, atmosphere, power, warmth, look; kit: count, variety, detail, wear,
|
|
wetness, warmth, look; shot: res, seconds, lens, handheld, look)
|
|
And the TypeScript is generated from those types (sdk/raea/src/brief.gen.ts), so tsc checks what Rust reads
|
|
And `doctor` names what the plan still lacks: no objects, an object with no size or no route, a dial outside its
|
|
kind's set, a generated object with no prompt
|
|
|
|
@needs:MK0 @done
|
|
Scenario: MK1. `raea goal check`: what's missing, decided in code
|
|
Given a project whose brief has `make`
|
|
When `raea goal check [--at done] [--json]` runs
|
|
Then it lists what's missing for the kind:
|
|
| kind | deliverables (under out/, overridable with `deliverables`) |
|
|
| scene | stills/ with 3 or more pictures |
|
|
| kit | kit/<id>/<id>.glb, kit/<id>/<id>_lod1.glb and kit/thumbs/<id>.png per object, kit/lineup.png, kit/kit.json |
|
|
| shot | shots/<name>.png or shots/<name>.mp4 per shot |
|
|
And NOTES.md beside the brief, with a "What the skill got wrong" section
|
|
And each gate's state: the record's last render or check of every composition the plan names is newer than the
|
|
file and found no error; the critic has judged a round newer than the newest deliverable; each blocking defect
|
|
of that round is fixed (the round passed) or answered in NOTES.md by its id
|
|
And the judge's rounds, passes in a row and stall, read from review/judge.log.jsonl as `raea judge` keeps them
|
|
And `done` is true when nothing is missing and every gate is clear, and also when the job is capped (its rounds
|
|
reached the cap) or stalled; a capped or stalled job is delivered short, with what's missing listed
|
|
|
|
@needs:MK1 @done
|
|
Scenario: MK2. The Stop hook: the agent can't end a job that isn't done
|
|
Given an agent session (Claude Code, codex, gemini, kimi) with raea's hooks, in a project whose brief has `make`
|
|
When its turn is about to end and `raea goal check` isn't done
|
|
Then the hook blocks the stop with "Not done:" and what's missing, and the agent keeps going
|
|
And a session blocked three times with the same list goes through (the agent is going in circles; the status
|
|
says so), as PL7's keeper stops after asks that change nothing
|
|
And a project without `make` is never blocked, and a brief that doesn't load blocks nothing (the hook says why)
|
|
|
|
@needs:MK2 @done
|
|
Scenario: MK3. Gates in plan.org (superseded by MK40: `--plan` is gone)
|
|
Given the project's plan.org (docs/plan.feature)
|
|
Then `raea goal check`'s report (review/goal.json) writes each gate as a check line under the job's task (sdk/task `setCheck`), so
|
|
the person, the app and the cloud see the same list the hook holds the agent to
|
|
|
|
Rule: the three tiers of gate (MK4-MK6)
|
|
|
|
@needs:MK1 @done
|
|
Scenario: MK4. Defects as calibrated ask questions
|
|
Given the judge's yes/no defects (apps/judge rubric.rs: floating, intersecting, blobby, stand_in, clones,
|
|
flat_colour, plastic, ...) and the loop's own (a cohesion outlier on a reference sheet, a real brand, garbled
|
|
hero text, a disconnected assembly, opaque glass, a camera through a wall)
|
|
Then each is an ask question with versioned words (core/ask), answered on the gate's sheet and kept in the ledger
|
|
And it gates once `raea ask calibrate` passes it on the person's labels (16 problem, 16 clean, held-out AUC 0.8);
|
|
until then its answer shows in the status as advice
|
|
|
|
@needs:MK1 @done
|
|
Scenario: MK5. A rubric per kind for the fresh critic
|
|
Then `raea judge --kind scene|kit|shot` asks the kind's categories (scene: layout, props, screens and signage,
|
|
materials, light, atmosphere, plausibility, composition; kit: cohesion, reference fidelity, brief, mesh,
|
|
texture, assembly, scale, labels; shot: framing, move, focus, clearance, continuity, grade)
|
|
And the critic is told the bar is a production base an artist then refines, judged at normal viewing distance,
|
|
no points off for choices that differ from the reference, at most five fixes, most damaging first
|
|
|
|
@needs:MK5 @done
|
|
Scenario: MK6. The critic's score gates once it is calibrated
|
|
Given `raea judge calibrate` reporting agreement with the person's eye for a kind
|
|
Then that kind's jobs also need two fresh passes in a row to be done; before that, fixed-or-answered is enough
|
|
|
|
Rule: measured placement (MK7-MK9)
|
|
|
|
@done
|
|
Scenario: MK7. Grounding at contact points
|
|
Given a part whose box bottom isn't where it touches down (splayed feet, a handle, an origin offset)
|
|
Then `raea scene lint` casts rays down from its lowest vertices (its feet), ignoring itself, volumes and decals,
|
|
and reports `floats` (the gap, and a `{y, dy}` fix that settles it down) or `sunk` (a fix that raises it);
|
|
a part whose feet reach nothing reads as mounted (a wall or ceiling holds it) or as a warning in the air, so
|
|
signs, pendants and lamps on cords aren't errors; a stool whose box clips a table's edge rests by its feet
|
|
|
|
@done
|
|
Scenario: MK8. The clip check, for every level
|
|
Then `raea scene lint` (raea-sys-contact) reports clips with their depth and the move that clears them
|
|
(`{part, axis, by}`), and faces z-fighting: two parts' faces in one plane over each other (an error from
|
|
1 cm², a warning under), and doubled faces inside one model (a warning), on every lint, no flag needed
|
|
|
|
@done
|
|
Scenario: MK9. Re-drop after every move
|
|
Then a part moved sideways by a clip's fix is settled onto what's under its new place in the same pass (the fix
|
|
carries its `dy`), and a stool under a table rests on the floor by its feet, so nothing hovers at table height
|
|
|
|
Rule: kits (MK10-MK13)
|
|
|
|
@needs:MK1 @done
|
|
Scenario: MK10. References made in one style, checked on one sheet
|
|
Then `raea make refs` makes each object's reference with `raea gen image` with the style images as input, the
|
|
plan's style paragraph and the scan template (`--dry` quotes it), and writes review/refs.png (`raea make sheet
|
|
refs` again): the style images, then every reference labelled with its size, before any 3D
|
|
And outliers (another style, a real brand, cropped, two objects) are regenerated first: the cheapest place to fix
|
|
cohesion
|
|
|
|
@needs:MK10 @done
|
|
Scenario: MK11. Both generators, picked on clay
|
|
Then `raea make gen` sends every reference to Tripo H3.1 (face limit 150k heroes, 60k small) and Meshy (fal),
|
|
`raea make pick-sheet` fits both to size and renders reference | Tripo | Tripo clay | Meshy | Meshy clay under
|
|
one light (review/picks.png), and `raea make pick ID tripo|meshy "why"` records the pick and its one-line why (the earlier ~150 props: Meshy ~70%, small items and printed labels; Tripo the big
|
|
hard-surface heroes)
|
|
|
|
@needs:MK11 @done
|
|
Scenario: MK12. Prep and LOD
|
|
Then `raea make prep` fits each pick with `raea gen check -o` (front +z, real metres, bottom-centre) and writes a
|
|
quarter-triangle ID_lod1.glb (blender/decimate.py), each with its .glb.json saying how it was made
|
|
|
|
@needs:MK12 @done
|
|
Scenario: MK13. A kit is a component set
|
|
Then `raea make kit` lands it in shared/components/<kit>/ (one component per object importing its model and LOD
|
|
from beside it: compositions import .glb files as their path), with lineup.tsx (a 1 m bar, labels), cover.png,
|
|
thumbnails and kit.json, and the job's own out/kit/ record that `raea goal check` counts
|
|
|
|
Rule: shots (MK14-MK17)
|
|
|
|
@done
|
|
Scenario: MK14. Camera moves, focus and the handheld walk
|
|
Then raea/camera has static, dolly, truck, pedestal, crane, pan, tilt, orbit, dollyZoom (the lens solved per
|
|
frame to hold the subject) and path (Catmull-Rom), focus track, point and rack with holds, and
|
|
`handheld({ profile: "walk" })`: steps at 1.8 Hz, an aim on a spring, small reframes, nothing above 1.9 Hz
|
|
|
|
@needs:MK14 @done
|
|
Scenario: MK15. Blocking: framing sheets and a lens chart
|
|
Then `raea make framing` renders each shot's first, middle and last frame (`raea render --at`) onto
|
|
review/framing.png, a row a shot stamped with its name and time, and `raea make lenschart SHOT` its first frame
|
|
at 18, 24, 35, 50, 85 and 135 mm (RAEA_LENS keeps the scene's camera and sets its lens)
|
|
|
|
@needs:MK14 @done
|
|
Scenario: MK16. Clearance on every frame
|
|
Then `raea scene stage --clearance 0.45` finds every run of frames where the camera is nearer a solid than that
|
|
(a box first, a model's triangles when its box comes close; inside a part said so), leaving out volumes,
|
|
particles, decals, see-through parts (glass) and anything under 5 cm
|
|
|
|
@needs:MK14 @done
|
|
Scenario: MK17. Shots from words and from a floor plan
|
|
Then the shot-language guide (bevy/shots) maps a crew's words to moves (push in, truck, reveal, rack focus,
|
|
walkthrough at 0.4-0.6 m/s and 1.5-1.7 m); a path drawn on `raea make blockout`'s floor plan (its metres, x right,
|
|
z away from the entrance) is `walkPath(points)`: an even walking pace at eye height, corners rounded; grade looks
|
|
(clean, cinematic, gritty, vintage) are `gradeLook()` presets in raea/post_process
|
|
|
|
Rule: the plan, drawn (MK18)
|
|
|
|
@needs:MK0 @done
|
|
Scenario: MK18. `raea make blockout`: a floor plan, a grey box and a comparison
|
|
Then it draws review/plan/floor-plan.png (every placed object's footprint turned by its rot and labelled with its
|
|
height, invented ones dashed, a metre grid, the entrance the camera looks in from), renders a grey box of the
|
|
plan from the entrance (blockout.tsx, and `raea render --review` sheets of it) and puts the reference, the
|
|
blockout and the floor plan on comparison.png, for the person to approve before anything is generated
|
|
|
|
Rule: planned detail (MK21-MK24)
|
|
Shane, 2026-11-24: "define objects at an LOD level based on either us grayboxing or thinking of them as generally
|
|
distant objects and alert agents when an LOD that was at 3 or 4 for example is now appearing in frame at LOD 2
|
|
level or 1, or 0 ... helpful for planning objects as generally distant and unseen objects versus close ones and
|
|
knowing if we forgot about something over time". A level is how large a part is planned to be seen, which is how
|
|
much of it gets built; the frames are measured against it on every render, so a camera move added later, or a
|
|
box that was meant to be replaced, is said the next time anything is drawn.
|
|
|
|
@done
|
|
Scenario: MK21. A part shown closer than its planned detail is said
|
|
Given a level is how much of the frame a part's box spans through the frame's camera, the larger of its width's
|
|
and its height's share: 0 the hero (50% or more), 1 featured (20%), 2 dressing (8%), 3 background (2%), 4 far
|
|
And a part's plan is its own `lod` (Mesh3d, Model, and every part inside an Entity with a transform or a Group
|
|
that has one), else the `lod` of the plan's object of its name
|
|
When a frame shows a planned part at a finer level than its plan (raea-runtime-lod-plan)
|
|
Then the render's end checks, `raea scene stage` and `raea check --quick` say `lod-closer`: the part, its plan,
|
|
the level it is seen at, how much of the frame it spans at its largest and on which frame, how many frames it
|
|
is closer on, and the fix (build it for that level and plan it there, or keep the camera off it)
|
|
And one level finer is a warning, two or more an error, which fails the render as any error does
|
|
And a part out of the frame, behind the camera, or with another mesh's box across every line to it isn't seen;
|
|
a part the camera stands in or beside is measured at its nearest point; RAEA_LOD_CHECK=0 leaves the check out
|
|
|
|
@needs:MK21 @done
|
|
Scenario: MK22. The plan carries each object's level
|
|
Given `lod: 0..4` on an object of `make` in brief.ts (core/brief make.rs; `doctor` refuses a level past 4)
|
|
Then a render of a composition under that brief holds the parts named as the objects' ids to those levels
|
|
(runtime/lod-plan plan.rs reads the brief only when its words plan a level, once a version)
|
|
And `raea make blockout` labels each footprint with its level and writes each grey box with its object's id as its
|
|
name and its `lod`, so the blockout is held to the plan it draws
|
|
|
|
@needs:MK21 @done
|
|
Scenario: MK23. `raea scene lod`: every part's plan beside what the frames show
|
|
When `raea scene lod EDIT.tsx [--from N] [--to N] [--json]` steps the frames without drawing
|
|
Then it lists every part: its planned level, the finest level a frame shows it at, how much of the frame it
|
|
spans there, on which frame, and how many frames it is in; parts seen closer than planned first (the widest
|
|
gap on top), then the rest of the planned, then the parts with no plan by how large they get
|
|
And a planned part no frame shows as close as its plan says so (built finer than it is ever seen)
|
|
And a level the plan gives a name that no part in the frames goes by is listed, since it holds nothing
|
|
And it exits 1 when a part is seen two or more levels finer than planned
|
|
|
|
@needs:MK22 @done
|
|
Scenario: MK24. A job is held at a part seen closer than planned
|
|
Given a job whose composition's last render or check found `lod-closer`
|
|
Then `raea goal check` has a `lod` gate for that composition, open with the parts' names, until each is built
|
|
for the level it is seen at and replanned, kept out of the camera's way, or answered in NOTES.md on a line
|
|
with `lod` and its name; the Stop hook holds the agent there as at any open gate
|
|
And a job that plans a level and whose render found none shows the gate clear
|
|
|
|
Rule: cuts from a client's brief (MK25-MK27)
|
|
Shane, 11-25, on StreetTalk's street interview ads, cut by raea cloud agents from three clients' PDF briefs: "you
|
|
need to make the process of ingesting the brief more direct, or else it's just context that gets lost. It needs to
|
|
be written as a brief typescript rule that is then enforced ... I need raea make to be the standard". The agents had
|
|
read the briefs and still shipped what a contract catches: held to one written from Elfster's brief, Gemini's four
|
|
delivered solos (eight files) had "free, fun, and easy" missing from three, the CTA rewritten in one ("Download
|
|
Elfster for free in the App Store") and missing from another, no frames check on any final file, and four of the
|
|
ten cuts the brief asks for in its out/ folder.
|
|
|
|
@needs:MK0
|
|
Scenario: MK25. The brief as rules: `goal: cut({...})`
|
|
Given a client's brief as text beside brief.ts (pdftotext -layout BRIEF.pdf media/brief.txt)
|
|
When the agent writes `goal: cut({ cut: {...} })` before it plans a single cut
|
|
Then core/brief reads `cut` (cut.rs): `brief` (that text), `count` (how many cuts the brief asks for), `seconds`
|
|
and `formats`, each cut (id, angle, solo or mashup, hook, captions or a text hook, its own formats and length),
|
|
`say` (phrases every cut says or shows, or one cut with `every: false`), `never` (phrases no cut says or
|
|
shows), `cta` (the line every cut ends on, within its last 8 s; `also`: the other lines a brief rotates, any
|
|
one of which lands it, each found in the brief) and `open` (the brief's [TO CONFIRM] items)
|
|
And every rule has `from`: the brief's own words for it
|
|
And each cut lands at a fixed path, out/cuts/<id>_<W>x<H>.mp4 for each of its formats
|
|
And `doctor` names what the contract still lacks: no count, no cta, an id that isn't [a-z0-9_], a format that
|
|
isn't W:H, a cut with no length, a rule with no `from`
|
|
|
|
@needs:MK25
|
|
Scenario: MK26. Held to the brief's own words, its count and its open items
|
|
Given a cut contract
|
|
Then `raea goal check` finds every `from` in the brief's text, compared by letters and digits: a rule the brief
|
|
doesn't say, or says in other words, holds the job ("quotes")
|
|
And fewer cuts than `count` hold it, unless an `open` item about "count" has the person's answer ("count")
|
|
And every `open` item without an answer holds it, so the agent stops at a review to ask ("open")
|
|
|
|
@needs:MK25
|
|
Scenario: MK27. Every delivered file held to the rules, from what's on disk
|
|
Given a cut's file at its path
|
|
Then its shape and length are read from its own MP4 boxes, so a file re-encoded after its render is read as it is
|
|
now ("shape")
|
|
And its words must be heard after its last change (FILE.words.json, `raea words`), and in them or its render's
|
|
text (FILE.render.json): every `say` phrase ("say"), no `never` phrase, with the second it's heard ("never"),
|
|
and the CTA in its last `within` seconds, 85% of its words in order ("cta")
|
|
And its frames check must have run after its last change (FILE.frames-check.json, `raea frames check`) with no
|
|
error: no face cut by the frame or a seam, no text under the size floor ("frames")
|
|
And the cut job has no critic tier yet: the person's review is its critic
|
|
|
|
Rule: any goal, held to rules (MK28-MK29)
|
|
Shane, 11-26, asking whether raea make is just a version of /goal: "when we use these things, they should just
|
|
probably be consolidated into one workflow, because in any case we'll have a goal or a brief or something that
|
|
dictates what we need. And then we essentially just need to make sure that it can't stop unless all the goals pass,
|
|
or all the rules in the brief". /goal in raea.app's chat let the agent end the loop by writing "GOAL MET"; a goal it
|
|
can declare met is advice. So /goal and raea make are one loop: a goal is a fifth kind of job, its words become
|
|
rules in brief.ts before the work starts, and only `raea goal check` says it's met.
|
|
|
|
@needs:MK2
|
|
Scenario: MK28. A goal as rules: `goal: rules({...})`
|
|
Given work that isn't a scene, kit, shot or cut (fix a bug, write a page, ship a change)
|
|
When the agent writes `goal: rules({ aim: "the person's words", rules: [...] })` before it starts
|
|
Then core/brief reads `goal` (goal.rs): the goal as the person said it, and `rules`, each an id and exactly one of
|
|
`run` (a command that must exit 0 in the brief's folder, within `timeout` seconds, 300 by default), `file` (a
|
|
file that must exist: a deliverable) or `says` (words that must be true of the work)
|
|
And `doctor` names what it lacks: no goal, no rules, an id that isn't [a-z0-9_] or is listed twice, a rule with
|
|
none or more than one of run, file and says, a timeout with no run
|
|
And a goal job needs no NOTES.md "What the skill got wrong" section (no skill made it) and has no render critic
|
|
|
|
@needs:MK28
|
|
Scenario: MK29. Held by a command's exit and a fresh critic, never the agent's word
|
|
Given a goal job
|
|
Then `raea goal check` runs every `run` rule at every status, the Stop hook's included, and holds the job on one
|
|
that fails or outlives its timeout, with its exit code and last line ("run")
|
|
And a `says` rule is clear only when review/judge/NAME.json, written by `raea goal judge [DIR] [--by claude|kimi]`
|
|
(a fresh session that may only read: Read, Grep and Glob), found it true at a time no earlier than the work's
|
|
newest file, the job's own review/, .raea/, NOTES.md, .git and node_modules left out, compared at whole seconds
|
|
("says")
|
|
And `file` rules are its deliverables, listed under missing
|
|
And raea.app's /goal is this job: it writes the rules first, and only the status ends the loop
|
|
|
|
Rule: raea cloud (MK19-MK20)
|
|
|
|
@needs:MK2 @done
|
|
Scenario: MK19. Three skills on raea cloud
|
|
Then raea cloud has "Scene from references" (plan, spend, first cut, deliver), "Kit from style" (reference
|
|
sheet, spend, deliver) and "Shots of a scene" (framing, deliver) as skill templates (GET|POST
|
|
/v1/skills/templates), each with a workflow whose agent steps are checked by a `raea goal check` line: run as
|
|
`raea goal check --at done --json` on the box in the project's folder, "says done" holding on its done and "raea make
|
|
status: critic, review/refs.png" on each named gate and file
|
|
|
|
@needs:MK19 @done
|
|
Scenario: MK20. Retry-safe jobs and a live view
|
|
Then a project is keyed by a hash of its inputs (or the caller's Idempotency-Key; its plan's INPUTS): the same
|
|
ask from the API, the studio, a form or a webhook returns the finished project, attaches to the running one or
|
|
resumes a failed one without paying again; one a person stopped doesn't hold the ask
|
|
And every picture the agent opens goes to the live watch as a raea.seen event (its path, and a preview when the
|
|
bytes are under 600 KB), and a raea.heartbeat every 20 s repeats the milestones so far for anyone who joins late
|
|
|
|
Rule: one make, every rule in TypeScript, at four moments (MK30-MK42)
|
|
Shane, 11-29, after Dutch (StreetTalk, 7 cuts delivered by a raea cloud agent: 5-10 edit points per cut inside a
|
|
word, a guest's line 15 dB under the host's, effects 14-20 dB under the voice, a checklist laid on a woman's lap
|
|
and a caption on the dog the shot is about, contact sheets looked at for 3 of the 7 cuts): "we want everything to
|
|
be in TypeScript ... the structure of make and goal as a construct of repeating and working and iterating until
|
|
it's right, with TypeScript rules that oversee the hooks and the validation process and the ability to check
|
|
things both after a render, checking during an edit via the CLI, when submitting and completing ... just editing
|
|
from one SDK the whole time"; "be sure to completely remove any skill/cli/context that would be now dead or
|
|
misleading"; "delete anything that is now legacy".
|
|
|
|
What it replaces. Six rule systems said overlapping things in four places: `raea make status`'s gates in Rust
|
|
(cut-plan, goal-plan, apps/make status.rs), `raea check PROJECT`'s taste rules and project checks (apps/direction),
|
|
`raea notes check`'s asks (apps/notes), `raea check VIDEO`'s floor (apps/check), the box's `raea words check`,
|
|
`raea frames check` and `raea sound check` (sdk/cloud/server), and raea cloud's own gates (make-checks.ts, the
|
|
naming and count checks, the publish gate) beside five method paragraphs in every project's first message. An
|
|
agent met each with its own command, report and wording, and the prose told it what the code didn't hold.
|
|
|
|
The model this rule sets:
|
|
1. One rule type: raea/check's `check()`. A taste line's check, an ask's, raea's own packs and a project's own
|
|
are the same thing, with the same Finding (its `fix` the number or place that fixes it).
|
|
2. One contract: `make` on brief.ts. cut, goal, scene, kit and shot are presets of it: each turns its default
|
|
packs on, and the brief switches any pack and adds its own checks.
|
|
3. One runner, `raea goal check`, at four moments: edit (the hook after a save), render (every render's end,
|
|
on a Mac and on a box), publish (raea cloud's publish tool) and done (the Stop hook, raea cloud's stops and
|
|
delivery). Nothing else decides.
|
|
4. The guidance is in the rules: a pack's finding says what to change. The prose that said it before is gone.
|
|
5. What this makes legacy is deleted, not aliased (MK41).
|
|
|
|
@needs:MK29
|
|
Scenario: MK30. One rule type: `check()`, over frames, a story, a delivered file or the job
|
|
Given raea/check's `check(meta, run, after?)` (sdk/raea/src/check.ts)
|
|
Then `over` takes "file" and "job" beside "frames", "story" and "both": a job check runs once on the job (its
|
|
contract, its folder, its deliverables, every file it made); a file check runs once on a delivered file with what
|
|
is known of it (`FileFacts`: its path, kind, size and length from its own boxes, its render's manifest, its
|
|
words, its frames as the scene reader saw them, its sound levels, what was seen of it and said), and calls
|
|
`found` as a frames check does
|
|
And `at` says the moments it runs at ("edit", "render", "publish", "done"; "done" alone when unset)
|
|
And `needs` takes what a file check reads that costs: "words" (a transcript), "scene" (people, faces, things,
|
|
words in the shot), "levels" (short-term loudness), "sheet" (a contact sheet); the runner gets each once a
|
|
file, on the farm on raea cloud and on the machine elsewhere, and a check whose need can't be met waits and
|
|
says why, as a "render" need does now
|
|
And every finding carries `fix` where one is known: "move the out point to 3.45 s", "set its gainDb to 15.0",
|
|
"move it to left 43 px, top 1402 px (73% down)"
|
|
And sdk/goal/test/contract.test.ts holds it: a project's own job check, imported into brief.ts, runs at its moments
|
|
|
|
@needs:MK30
|
|
Scenario: MK31. One contract: `goal()`, its presets and its packs
|
|
Given brief.ts's default export with `goal`
|
|
Then `goal({ kind, ..., rules, packs, checks })` is the one construct; `cut()`, `rules()`, `scene()`, `kit()` and
|
|
`shot()` return it with their kind's default packs, and any of them carries `rules` (MK46)
|
|
And `packs` switches raea's packs by name (`{ surprise: true, place: false }`); a cut of footage has words,
|
|
sound, frames, place, floor, stills, seen, naming, sizes, count, quotes, open, say, never, cta and shape on,
|
|
surprise off; a rules goal has deliverables and stills on, and run and says wherever a goal has rules of
|
|
those; a scene, kit or shot has deliverables, record, critic, notes and stills on; a project with no `goal` is
|
|
held to the floor: frames, floor, seen and stills
|
|
And the presets are raea/goal's (sdk/goal, `@raea/goal`), and raea/brief hands them on, so a brief imports one
|
|
module
|
|
And `checks` adds the project's own: `checks: [clearOfButtons]`, each a `check()` imported into brief.ts
|
|
And the person's and the workspace's taste lines and a person's signed asks (raea notes) are rules of the same
|
|
contract, read where they're kept, never copied into brief.ts
|
|
And brief.ts is read by importing it (its checks are functions); `raea spec` stays the reader of its data, which
|
|
Rust still checks against core/brief (`doctor`)
|
|
And sdk/goal/test/contract.test.ts holds the defaults and the switches
|
|
|
|
@needs:MK31
|
|
Scenario: MK32. One runner: `raea goal check`
|
|
Given a project folder, with or without brief.ts
|
|
When `raea goal check [FILE...] [--at edit|render|publish|done] [--json] [--only ID,...]` runs
|
|
Then raea runs sdk/goal/src/run.ts on its own engine with Node's core (raea_native::js::run_node, which resolves
|
|
raea/* and @raea/* from sdk/tsconfig.base.json), the same file a box can run with node: it imports brief.ts,
|
|
picks the rules whose `at` has the moment, runs them over the files the moment names (the files given; at
|
|
publish and done, every deliverable and every video or still made under out/), and prints each finding with
|
|
its fix
|
|
And core/brief's doctor speaks first: Rust reads brief.ts's data as before and hands its lines to the runner
|
|
And without brief.ts the contract is the floor (frames, floor, seen, stills)
|
|
And what it found is kept beside each file (FILE.check.json: the moment, the rules run, the findings, when),
|
|
and the whole run in review/goal.json, which raea cloud and the raea app read
|
|
And it exits 1 on an error and 2 when it couldn't run (no engine, a brief that doesn't load)
|
|
And a check whose need this machine can't meet (no scene reader on a Mac without the farm) waits, says why in
|
|
the report, and holds nothing
|
|
And sdk/goal/test (cut, goal, make, sound, words, frames, place) holds it, 20 tests
|
|
|
|
@needs:MK32
|
|
Scenario: MK33. Edit: the hook after a save
|
|
Given an agent with raea's hooks (`raea hook AGENT`)
|
|
When it saves a composition, brief.ts or a check
|
|
Then the hook runs `raea goal check FILE --at edit` on a saved composition, or on any file under a brief with a
|
|
`make` job, and hands back what it found when it fails
|
|
And the quick check is the stills pack (`at: ["edit"]`), which reads apps/check's three-stills measure; the hook
|
|
has no path of its own to it
|
|
|
|
@needs:MK32
|
|
Scenario: MK34. Render: every render ends with the render moment
|
|
Given `raea render EDIT.tsx -o OUT.mp4` on a Mac, on Linux or on a raea cloud box (where the render ran on the
|
|
farm and the manifest came back whole)
|
|
When the export is written
|
|
Then `raea goal check OUT.mp4 --at render` runs on it with its manifest, and its findings end the render's
|
|
output with the line "fix every ERROR above, then render again" when there's one
|
|
And on Dutch's cut dutch_angle2_dogroast_gigi_hookb (the box's copy, not in git) it says: an edit point inside a
|
|
word with the pause to move it to, Gigi's line 15 dB under with the gainDb that evens it, each effect 18 dB
|
|
under the voice, and the caption over the dog with the clear place under it
|
|
And the box's offload.ts runs nothing of its own after a render: its words, frames and sound calls are gone
|
|
|
|
@needs:MK32
|
|
Scenario: MK35. Publish: nothing made goes out that fails, or that no one looked at
|
|
Given raea cloud's publish tool (apps/site/cloud harness/tools/video.ts) and a video the agent made (anything
|
|
outside media/, which is what it was handed)
|
|
When the agent publishes it
|
|
Then the tool runs `raea goal check FILE --at publish` on the box and refuses on an error, quoting each finding
|
|
with its fix, so a cut that fails can't reach a review
|
|
And the seen pack holds it until its contact sheet has been shown since its last render (FILE.seen.json: the
|
|
render's time and size, what the agent said it sees and would change, at least 80 characters), and the
|
|
surprise pack, when on, until it names its moment in seconds and what it is
|
|
And on a Mac the same packs hold through `raea goal seen FILE` (the sheet, shown in the raea app with
|
|
`raea show`) and `raea goal seen FILE "WHAT I SEE AND WOULD CHANGE"`, which write FILE.seen.json; raea cloud's
|
|
publish tool writes it through the same command
|
|
And tools/video.ts keeps no check of its own, and its render tool publishes nothing
|
|
|
|
@needs:MK32
|
|
Scenario: MK36. Done: the Stop hook and raea cloud's stops
|
|
Given the end of an agent's turn, or a raea cloud stop or delivery
|
|
Then the Stop hook and raea cloud (bot.ts makeIn, make-checks.ts) run `raea goal check --at done --json` and hold
|
|
on what it says, as they held on `raea make status` before (three blocks with the same list go through, MK2)
|
|
And at a stop, before the work is finished, the contract must exist and quote the brief; at delivery every rule
|
|
must pass (make-checks.ts keeps only the mapping of review/goal.json onto raea cloud's checks)
|
|
And `raea make status` is gone
|
|
|
|
@needs:MK30
|
|
Scenario: MK37. The box's checks are packs: words, sound, frames, place
|
|
Given sdk/cloud/server's words.ts compare, sound.ts, frames.ts and place.ts (raea #267)
|
|
Then they are packs in sdk/goal/src/packs/, with their tests (made-up takes; scene reads of three interview
|
|
frames, boxes only), and the box keeps only `raea words FILE` and the farm's services the runner calls for a
|
|
need (POST /v1/words, /v1/scene; through fetch under node, through curl on raea's engine)
|
|
And `raea frames place TAKE` is `raea make place TAKE`, and `raea words FILE` (a transcript, not a check) stays
|
|
And `raea words check`, `raea frames check` and `raea sound check` are gone
|
|
|
|
@needs:MK30
|
|
Scenario: MK38. Rust's gates are packs: count, quotes, open, say, never, cta, shape, run, file, says
|
|
Given runtime/cut-plan's and runtime/goal-plan's gates and their tests
|
|
Then each is a pack in TypeScript with the same tests, and Rust keeps only what reads a brief's data
|
|
(core/brief: the types, `doctor`) and the scene, kit and shot steps that make things (plan, refs, gen, kit,
|
|
framing, lenschart, judge)
|
|
And the scene, kit and shot gates are packs too: deliverables and notes in TypeScript, the record and the
|
|
critic's rounds reading `raea goal gates --json` (apps/make gates.rs: the record, the parts seen closer than
|
|
planned, the rounds on the kind's rubric, the make questions), which says when the job ran out of rounds or
|
|
stalled, and the packs then hold as warnings
|
|
And `raea goal judge` (a goal's fresh critic) is the runner's, in TypeScript
|
|
|
|
@needs:MK30
|
|
Scenario: MK39. raea cloud's gates are packs: naming, sizes, seen, surprise
|
|
Given raea cloud's naming check (client_concept_variant_v#_size), its one-size-first rule, the publish gate's look
|
|
and the surprise asked for after Dutch
|
|
Then each is a pack: naming and sizes on for a cut, seen on for a cut, surprise off unless the brief turns it on
|
|
And raea cloud's own copies of them are gone
|
|
|
|
@needs:MK31
|
|
Scenario: MK40. The plan in TypeScript, and raea cloud's queue as rows
|
|
# Shane 11-29, asked whether raea cloud's stored plans move too: "Cloud too"; then "SQLite rows, no file".
|
|
Given a project's plan.org (docs/plan.feature), its to-do list in the raea app, `raea make status --plan` (MK3) and
|
|
each raea cloud agent's stored plan.org (its projects, triggers and settings; GET|PUT /v1/agents/:id/plan.org)
|
|
Then a project's tasks are its brief's `plan` (MK44), and the raea app's to-do list shows them
|
|
And raea cloud keeps an agent's projects, triggers and settings as rows in its Account's SQLite, no file: its plan
|
|
tool answers JSON, and a project's own tasks are its brief's on the box (`raea goal tasks --json`)
|
|
And a plan.org is moved once, the first time it's read: a folder's by the raea app into plan.ts imported by
|
|
brief.ts (kept as .raea/plan.org.was), a stored one by raea cloud into rows; @raea/task/from-org is that move and
|
|
nothing else reads Org
|
|
And a goal's rule is never copied into it: the list shows each goal's rules and their state from
|
|
review/goal.json beside the plan's own tasks
|
|
And sdk/task's Org reader and writer (org.ts), Org's names in the plan spec, the skill and the tools, the
|
|
/plan.org and /plan.ts routes, raea cloud's plan serializer and MK3's `--plan` are gone
|
|
|
|
@needs:MK33 @needs:MK34 @needs:MK35 @needs:MK36 @needs:MK37 @needs:MK38 @needs:MK39 @needs:MK40
|
|
Scenario: MK41. What this made legacy is deleted, and nothing still points at it
|
|
Then these are gone, with no alias: `raea make status`, `raea notes check`, `raea words check`, `raea frames
|
|
check`, `raea sound check`, `raea frames place`, `--plan`, plan.org, the hook's quick path, runtime/cut-plan and
|
|
runtime/goal-plan, sdk/cloud/server's check code, raea cloud's make-checks logic, publish gate, naming and count
|
|
checks, and the method paragraphs (RAEA, SOUND, CRAFT, NAMING, SIZES)
|
|
And `raea check` stays a top-level instrument (MK45): its VIDEO and --quick measures are what the floor and stills
|
|
packs read, and its taste lines are held by the taste pack (MK47); it never decides done
|
|
And every project's first message carries one paragraph on the loop: write the contract, work, run
|
|
`raea goal check`, fix what it names, until it says done
|
|
And `rg` over raea, raea-platform, raea-skills and raea-feed finds none of the gone names outside this file and
|
|
the changelog: the skills (skills/raea), the guides (sdk/guides), the manual (docs/manual), the help text,
|
|
soul.ts, AGENTS.md templates and the box's instructions name only `raea goal check` and its moments
|
|
And tools/legacy-names.sh is that search, run by CI's gates
|
|
|
|
@needs:MK41
|
|
Scenario: MK42. Released, then Dutch re-cut on it
|
|
Given the release that carries MK30-MK41 (published when Shane says "publish", docs/release.feature RL5) on the
|
|
boxes and the farm
|
|
When Dutch (StreetTalk, project t-ev5errj2) is reopened with a note
|
|
Then its agent re-cuts all 7, and each passes `raea goal check --at publish` before it reaches the review
|
|
|
|
# The composable brief, the goal/make split and workflows (Shane 11-29)
|
|
|
|
@needs:MK31
|
|
Scenario: MK43. brief.ts is the one registered root: every raea file is reached from it, compiled and run
|
|
# Shane 11-29: "a registered brief file (a typescript file) that has any rules or task or anything is completely
|
|
# composable and if it is written it is compiled and run. there should be no way to make a file using the sdk and
|
|
# then it just doesn't get used." And: "make sure all other sdks like the check and story sdk are all covered".
|
|
Given a project's brief.ts and the files beside it
|
|
Then raea runs brief.ts (and taste.ts) once, and what it says is the value that run gives; nothing reads a
|
|
project's TypeScript as text to learn what it says
|
|
And a file is reached through the static imports of a reached file, or when a value the brief or the taste gives
|
|
names its path ("compositions/shots.tsx", a deliverable's script, a taste line's check, `bun test tests/` in a
|
|
rule: a folder named reaches every file in it); a folder with its own brief.ts is its own project
|
|
And every file that imports raea (raea, raea/*, @raea/*) and is reached by nothing is said by the `registered`
|
|
check at every moment, a warning at edit and render, an error at publish and done: script, story, check, parts,
|
|
task, composition and component files alike, none an outlier
|
|
And a brief that throws is said with its file and line, and nothing is edited while it does
|
|
And sdk/goal/test/tasks.test.ts holds it: a composition named in the goal and the component it imports pass; a
|
|
test composition nothing names is said; an import in a comment imports nothing
|
|
|
|
@needs:MK43
|
|
Scenario: MK44. Tasks are the brief's `plan`, read from its run and written back where each is written
|
|
# Shane 11-29: tasks "Either, composed freely"; "no drift between desktop and cloud methods or skills".
|
|
Given a brief.ts with `plan`: inline, `import plan from "./plan.ts"`, or built from modules of its own
|
|
Then `raea goal tasks [DIR] [--json]` reads the plan from the brief's run, and `--apply EDITS.json|-` applies edits
|
|
by task id (sdk/task PlanEdit) to that value and writes each into the literal that writes it (sdk/task
|
|
source.ts): the whole plan where it's plain values, else each changed task where it's written
|
|
And a task made by code (a .map, a spread, a variable) is refused, naming its file and line; nothing is written
|
|
And a project with no plan gets plan.ts, and brief.ts imports it and gives it to the brief as `plan`
|
|
And the raea app's feed host, an agent's plan tools and raea cloud's box all run `raea goal tasks`: one path
|
|
And sdk/task/test/source.test.ts and sdk/goal/test/tasks.test.ts hold it
|
|
|
|
Scenario: MK45. `raea goal` is the loop, `raea make` the asset tools, the instruments top-level
|
|
Then `raea goal check|tasks|seen|judge|gates|next` is the loop: plan, run, check, done (sdk/goal, `raea/goal`;
|
|
brief.ts's `goal`)
|
|
And `raea make` is making a finished asset: `make clothes`, `make motion`, `make solid`, `make wear`, `make splat`,
|
|
`make physics`, `make bake`, `make sao`, `make tokensynth`, `make sounds`, `make component`, and a scene, kit
|
|
or shot goal's steps (`make blockout|refs|gen|pick-sheet|pick|prep|kit|framing|lenschart|place`)
|
|
And the instruments stay top-level, shared by every goal: `check`, `world`, `ask`, `judge`, `findings`, `scene`,
|
|
`media`, `words`, `song`, `track`; they measure and never decide done
|
|
And an old name is refused with where it went (`raea make check` is now `raea goal check`; `raea clothes` is now
|
|
`raea make clothes`; `raea make plan` is now `raea make blockout`; `raea next` is now `raea goal next`; `raea
|
|
part` is gone), never run under it
|
|
And docs/make.feature is this file, and the help, the manual, the guides and the skill teach only the new names
|
|
|
|
@needs:MK31
|
|
Scenario: MK46. Goals and workflows: one goal is one step
|
|
Given brief.ts's `goal`: one goal, or a list
|
|
Then each goal has a `name` (its kind's when left out), the workflow `step` it serves, the goals it comes `after`,
|
|
an `aim` in the person's words and its own `rules`, and is checked alone: `raea goal check` reports each goal's
|
|
verdict and the whole's, `--goal NAME` checks one, and the Stop hook names the goals still open
|
|
And a list is a workflow inline; a shared one is a `workflow({ name, steps })` module the brief imports (so it's
|
|
registered and run), and a brief can be one step of a bigger workflow by naming its step
|
|
And raea cloud's workflows are the same module, read on the box, so a workflow means one thing on the desktop
|
|
and in the cloud: a workflow project's agent steps are written into its folder as workflow.ts on its first run
|
|
(each a `rules()` goal named for its step, `after` the one before, its checks `says` rules), brief.ts imports it
|
|
as its `goal`, and each stop is held to the goals of the steps it shows (raea-platform steps.ts workflowModule,
|
|
goal-checks.ts stepGoalChecks)
|
|
And core/brief's doctor says a name given twice and an `after` naming no goal
|
|
And core/brief tests and sdk/goal/test/contract.test.ts hold it
|
|
|
|
@needs:MK43 @needs:MK45
|
|
Scenario: MK47. Every rule a project registers runs inside the loop
|
|
Given taste lines (the person's, the workspace's, the project's) with checks, and a person's signed asks (raea notes)
|
|
Then the taste pack runs them through `raea check`'s rules at the moments they name, and their findings are the
|
|
goal check's, so no registered rule runs only when an agent remembers an instrument
|
|
And the story SDK's checks (raea/story `storyCheck`) are taste-line checks or a goal's `checks`, never a file of
|
|
their own that nothing runs
|
|
|
|
|
|
Rule: The cut, read as an editor reads it (Shane, 11-29: Kuleshov, Eisenstein's methods of montage, Murch's Rule of Six)
|
|
# A cut's meaning lives between its shots: Kuleshov's neutral face read as hunger, grief or desire by what it was cut
|
|
# against (the original footage is lost and the one study with data is small; Mobbs et al., 2006, found the effect
|
|
# in fMRI), Eisenstein's collision of shots, Murch's six reasons for a cut weighed emotion 51%, story 23%, rhythm
|
|
# 10%, eye trace 7%, the screen's plane 5%, its 3D space 4%, given up from the bottom. Murch's weights are his
|
|
# judgment, not measurements: raea uses them as an order, never as a score. The story SDK says what a piece is
|
|
# about; these say what each cut does to it. Status 11-29: built in raea #269 (sdk/goal packs/montage.ts,
|
|
# test/montage.test.ts; core/brief cut.rs Beat).
|
|
|
|
Scenario: MK48. A cut plan's beats say what each part must make the viewer feel and understand, before it's cut
|
|
Given a cut goal's plan (`cut({ cuts: [{ id, beats: [...] }] })`)
|
|
Then each beat has `at` (seconds from the cut's start, the first at 0, in order) and `feel` in the person's words,
|
|
and may say `story` (what the viewer understands by its end), `asl` (its average shot length in seconds) and
|
|
`tempo` ("build": shots shorter as it goes, "release": longer, "hold": even)
|
|
And core/brief's doctor says a beat out of order, one with no feel, a tempo that isn't one of the three and an asl
|
|
that isn't above 0
|
|
And Dutch's cuts fail today: none says what any of its parts should make anyone feel
|
|
|
|
Scenario: MK49. Emotion and story are judged on the cut in sequence, by a fresh critic
|
|
Given a cut goal whose plans have beats
|
|
Then each beat is a `says` rule (`beat_<cut>_<n>`, contract.ts saysOf): "in out/cuts/<cut>_<W>x<H>.mp4, from A s
|
|
to B s, watched in sequence as cut, the viewer feels <feel>, and by its end understands <story>", judged by
|
|
`raea goal judge` with the goal's own `says` rules and held by the says pack at done
|
|
And it's asked of the shots as cut, never one by one: what a shot means comes from its neighbours (Kuleshov)
|
|
And no measure stands in for them: they're Murch's top two, 74% of his weight
|
|
|
|
Scenario: MK50. Each beat's pace is its plan (Eisenstein's metric montage)
|
|
Given a delivered cut whose plan's beats say `asl` or `tempo`
|
|
Then the montage pack finds its hard cuts in its own frames (one ffmpeg pass, 48 pixels wide) and, for each beat,
|
|
its shots must average within a third of its asl, and a build's shot lengths must shorten (Kendall's tau under
|
|
-0.2), a release's lengthen (over 0.2), with three shots or more; each miss is an error naming the beat's feel,
|
|
the lengths it has and which way to go
|
|
And sdk/goal/test/montage.test.ts holds it
|
|
|
|
Scenario: MK51. Eye trace, screen direction and tone across every cut, in Murch's order
|
|
Given any delivered cut (`packs: { montage: false }` switches it off)
|
|
Then at each cut: the focal point on the two sides (the largest face the scene reader finds, else where the
|
|
frame's contrast gathers) more than 0.4 of the frame's diagonal apart is an eye-trace warning; sideways motion
|
|
on both sides (over 0.15 widths a second) in opposite directions is a screen-direction warning; a jump in
|
|
brightness over 0.25 or warmth over 0.08 where no beat starts is a tonal warning
|
|
And each finding names its Murch weight, so a fix never gives up a higher reason for a lower one
|
|
And one of them broken at more than half a file's cuts is an error: a habit of the cut, not a choice
|
|
And a cut on a word stays the sound pack's (edit-on-sound), so no rule is held twice
|