Skip to content

armgit / raea

Public Imported from GitHub
0

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.

tools/taxonomy.sh links the checkout's SDK node_modules into an export (RAEA_MODULES), as manual-ref.sh does, so tools/agents/check can run the export's own copy: the shared tree's copy read the shared tree, and another lane's uncommitted SDK prop (gpu, in sdk/cloud) failed every lane's L0 and L1. Checked: an export of origin/main passes with RAEA_MODULES=~/raea.

shinyobjectzf4139a5a7a18
diff --git a/tools/taxonomy.sh b/tools/taxonomy.sh
index 4aa15fee..f5285fb0 100755
--- a/tools/taxonomy.sh
+++ b/tools/taxonomy.sh
@@ -14,6 +14,16 @@
set -euo pipefail
export LC_ALL=C
ROOT=$(cd "$(dirname "$0")/.." && pwd)
+mods=${RAEA_MODULES:-$ROOT}
+if [ "$mods" != "$ROOT" ]; then
+ # an export (tools/agents/check --lane runs the export's own copy, so other lanes' uncommitted SDK edits in the shared
+ # tree can't fail a lane): the SDK's imports resolve through the checkout's node_modules, linked in where missing
+ for m in "$mods"/sdk/*/node_modules; do
+ d=$ROOT/${m#"$mods"/}
+ [ -d "$(dirname "$d")" ] || continue
+ [ -e "$d" ] || { rm -f "$d"; ln -s "$m" "$d"; }
+ done
+fi
LIST=$ROOT/tools/taxonomy.list
check=0
[ "${1:-}" = "--check" ] && check=1