mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 06:53:19 -10:00
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.
shell
@raea/shell: the agent's shell. just-bash (Apache-2.0, pinned, used
unmodified) interprets the bash: pipes, redirections, functions, loops and about 80 text tools, in TypeScript on
JavaScriptCore. Under it, the filesystem is the project folder and nothing else, and raea's own tools (raea-render,
raea, sqlite3, js-exec, media verbs) are commands that call the engine natively, in process.
Every command line is one row in .raea/actions.jsonl, with the files it read and wrote and their contents kept by
hash, so any command can be undone and redone.
src/: the shell (index.ts), its filesystem (fs.ts) and raea's commands (commands.ts).shell.feature: the behaviour spec.conformance/andprobe/: tests whose answers must match on the Mac and the iPhone;tools/upstream.shruns just-bash's own suite.
Status: in use by the raea app's agent.