Files
shinyobjectz bbd7369548 One loop, raea goal: every rule in TypeScript, held at edit, render, publish and done; raea make is the asset tools
The rules are raea/goal's (sdk/goal), run by `raea goal check` at four moments: the hook after a save, every
render's end, raea cloud's publish, and the Stop hook. Rust's cut and goal gates and the box's word, sound, frame and
place checks are packs (MK30-MK39); runtime/cut-plan, runtime/goal-plan, raea make status and the box's check code
are gone with no alias (MK41).

brief.ts is the one registered root (MK43): raea runs it, and every file that imports raea must be reached from it
(the registered check, an error at publish and done). Its tasks are its `plan` (MK44), read from its run and written
back where each is written by `raea goal tasks`, the one path for the app, agents and the box. Its `goal` is one
goal or a workflow of several (MK46), each with its step, after and rules, checked and reported alone. Taste lines
and signed asks run inside the loop (MK47).

`raea goal check|tasks|seen|judge|gates|next` is the loop; `raea make clothes|motion|solid|wear|splat|physics|bake|
sao|tokensynth|sounds|component|blockout|...` the asset tools (MK45). Old names are refused with where they went.
docs/make.feature is docs/goal.feature; tools/legacy-names.sh holds the old names out.

raea's Node mode on JavaScriptCore now gives a CommonJS package's names as named exports (React's jsx), loads a
file a tool imports by URL, keeps process.exit's code from a promise callback, and reads stdin as fd 0, so the goal
runner runs on the shipped binary.
2026-11-29 16:02:31 -08:00

1.6 KiB
Raw Permalink Blame History

title, summary, order, sources
title summary order sources
raea cut Cut a take to the lines it says, transcribing it first, and write cuts.ts and words.json. 64
engine/cli/src/index.ts

raea cut cuts a take under the project's media/ folder by what it says: give it the lines you want and it cuts in the pauses around each one. A take without a TAKE.words.json is transcribed first, on this machine. It writes cuts.ts (the cut) and words.json (every word kept, with its timing) beside the edit, and raea render reads both from there, so captions and cues follow the cut without any wiring.

raea cut interview.mp4 "We started in a garage" "Now we ship to forty countries"
raea cut interview.mp4 --at 12.4-18.9 --at 31-36.2
raea cut broll.mp4 --at 4-7 --append

Usage

raea cut TAKE "line" ... | --at A-B ... [--append]   (cuts.ts and words.json: a take under media/ cut in the pauses around each line it says, transcribed first if it has no TAKE.words.json; or at those seconds)

Headless: it needs nothing running and opens no window. Takes any number of arguments besides its flags.

Flags

Flag Takes What it does
--append – Add these lines or stretches to the end of the existing cut, instead of replacing it.
--at A-B Cut at these seconds (12.4-18.9) instead of by lines. Repeatable.

See also

  • Cutting by words cues parts on phrases and builds captions that follow the cut.