Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
T1f: a release checks cli.md against its own build on every platform: tools/skills.sh check-cli compares the reference with RAEA_BIN's help alone and needs no feed app, and tools/release.sh runs it on a public checkout with the raea it just built, where the rest of the gate's pass comes from the tag. No other checkout checks cli.md strictly, since each one's raea holds other lanes' code
shinyobjectz8e0c2b8d3de4
diff --git a/tools/release.sh b/tools/release.shindex 57f350f6..1ea57ca4 100755--- a/tools/release.sh+++ b/tools/release.sh@@ -70,6 +70,8 @@ if [ ! -f "$root/apps/app/src/acp/protocol.ts" ]; thengit diff --quiet "$RAEA_SKILLS_PASSED" "$ref" -- "${gate_inputs[@]}" \|| { echo "release.sh: the skills changed between $RAEA_SKILLS_PASSED (where the gate passed) and $ref" >&2; exit 1; }echo "release.sh: note: the skills gate passed at $(git rev-parse --short "$RAEA_SKILLS_PASSED") elsewhere and its inputs are unchanged; not run here (no feed app)"+ # but cli.md is checked here, against this release's own build, which no other checkout has+ RAEA_BIN="$(cd "$(dirname "$raea_bin")" && pwd)/$(basename "$raea_bin")" bash tools/skills.sh check-cli || { echo "release.sh: cli.md doesn't match $raea_bin's help" >&2; exit 1; }elsegit archive "$ref" | untar "$gate" || { echo "release.sh: the skills gate couldn't unpack $ref" >&2; exit 1; }git -C "$gate" init -q && git -C "$gate" add -A && git -C "$gate" -c gc.auto=0 -c maintenance.auto=false -c user.name=release -c [email protected] commit -qm "$ref" --no-verifydiff --git a/tools/skills.sh b/tools/skills.shindex e2cb593b..ed91fe10 100755--- a/tools/skills.sh+++ b/tools/skills.sh@@ -14,6 +14,8 @@# its own); else the changes since origin/main.# SKILLS_STRICT=1 (tools/release.sh) is a release's check: RAEA_BIN is the release's own# build of this tree, so its help is the truth and every difference fails.+# tools/skills.sh check-cli cli.md against RAEA_BIN's help alone, with no feed app: tools/release.sh on a public+# checkout, where RAEA_BIN is the release's own build# tools/skills.sh stale every section with sources, by how many commits to them it has missed since it last changed## Sources: cli.md from `raea help --json` (engine/cli/src/usage.rs); feed.md from FEED_TOOLS (apps/app@@ -29,10 +31,13 @@ cd "$ROOT"OUT=${SKILLS_OUT:-sdk/skills/raea/reference}HEAD_LINE="<!-- generated by tools/skills.sh gen; do not edit -->"APP=${RAEA_APP:-apps/app}-[ -f "$APP/src/acp/protocol.ts" ] || { echo "skills.sh: no feed app at $APP (RAEA_APP names its checkout)" >&2; exit 2; }-APP=$(cd "$APP" && pwd)-APP_REV=${RAEA_APP_REV:-$(git rev-parse -q --verify HEAD:apps/app 2>/dev/null || git -C "$APP" rev-parse HEAD)}-git -C "$APP" cat-file -e "$APP_REV" 2>/dev/null || { echo "skills.sh: apps/app has no commit $APP_REV (fetch raea-feed)" >&2; exit 2; }+# check-cli reads only raea's help, so it runs where the feed app isn't (a public checkout: release.yml's runners)+if [ "${1:-}" != check-cli ]; then+ [ -f "$APP/src/acp/protocol.ts" ] || { echo "skills.sh: no feed app at $APP (RAEA_APP names its checkout)" >&2; exit 2; }+ APP=$(cd "$APP" && pwd)+ APP_REV=${RAEA_APP_REV:-$(git rev-parse -q --verify HEAD:apps/app 2>/dev/null || git -C "$APP" rev-parse HEAD)}+ git -C "$APP" cat-file -e "$APP_REV" 2>/dev/null || { echo "skills.sh: apps/app has no commit $APP_REV (fetch raea-feed)" >&2; exit 2; }+firaea_bin() {if [ -n "${RAEA_BIN:-}" ]; then echo "$RAEA_BIN"@@ -339,6 +344,17 @@ case "${1:-}" in[ -x "$R" ] || { echo "FAIL skills: no raea to read the help from (RAEA_BIN, or build raea-cli)"; exit 1; }check;;+ check-cli)+ R=$(raea_bin)+ [ -x "$R" ] || { echo "FAIL skills: no raea to read the help from (RAEA_BIN, or build raea-cli)"; exit 1; }+ d=$(mktemp)+ if ! diff -u sdk/skills/raea/reference/cli.md <(gen_cli) > "$d"; then+ echo "FAIL skills: sdk/skills/raea/reference/cli.md:1: differs from the help of $R; fix: tools/skills.sh gen with a raea built from this tree, and commit it"+ head -40 "$d"; rm -f "$d"; exit 1+ fi+ rm -f "$d"+ echo "skills: cli.md matches the help of $R"+ ;;stale) stale ;;- *) echo "usage: tools/skills.sh gen | check | stale" >&2; exit 2 ;;+ *) echo "usage: tools/skills.sh gen | check | check-cli | stale" >&2; exit 2 ;;esac