- raea-cli 2139 -> about 1800 lines: raea goal's verbs (the loop's runner, its usage, the render moment, and raea
make's asset tools regrouped) are raea-cli-goal (engine/cli/goal), and what a refused render changed is
raea-cli-refused (engine/cli/refused); verbs.rs and usage.rs re-export them, so no call site moved
- engine/native node.rs 515 -> 495: spawnSync's deadline wait is deadline.rs (its pipes drained on threads of their
own)
- a CommonJS file's names are exported by alias (`export { __cjs_0 as delete }`), so a reserved word is a name too and
cjs.rs needs no list of them (the list named "void", which tools/no-void.sh can't tell from the product); the node
test imports one (`delete as del`)
- raea-runtime-export back to main's: #269's own fix for a .png with no --frame (#261) is gone, main fixed it in the
stills path (8627ba7a), and both had landed as two paths for one case
- tools/skills.sh 504 -> 459: the sections, their co-change warning (SK4) and `stale` are tools/skills-sections.sh,
sourced as skills-app.sh is
- dupes back to 293/57: cjs.rs's quote and identifier tests one helper each, its resolve without format!, and the new
lines that matched others by shape written plainly (js.rs's importing folder, check-make's broke lines, apps/make's
goals, lod-plan's objects)
layers, names, legacy names, size, one-version, no-void, dupes, cargo shear and rask check pass on this tree;
raea-native's (cjs and node, with the reserved-word import and the spawnSync timeout), raea-cli-refused's and
raea-runtime-lod-plan's tests pass.
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.
process.platform was Rust's word ("windows", "macos"), so every === "win32" and === "darwin" in the shell was false, on
a Mac too; os.platform() said "darwin" and the arch "arm64" everywhere; there was no process.ppid. path was POSIX only:
resolve(".") named "/C:\Users\...", isAbsolute("C:\x") was false and dirname/basename ignored \. On Windows path
parses drives, shares and \ now and writes /, path.win32 parses them anywhere, and fileURLToPath, pathToFileURL,
createRequire, tmpdir, execSync (cmd) and the module URL (file:///C:/...) follow. tests/node.rs checks each against
Node 22's answer. The arch and parent-pid helpers live in node/os.rs (node.rs was over the size limit).