fix: bind P1 acceptance evidence to reviewed runtime

This commit is contained in:
2026-08-09 23:36:36 +02:00
parent 96362929d7
commit 0cfe5c7c9a
3 changed files with 562 additions and 61 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env -S -u BASH_ENV -u ENV /bin/bash
set -euo pipefail
script_path=${BASH_SOURCE[0]}
script_dir=${script_path%/*}
@@ -55,6 +55,7 @@ build_env=(/usr/bin/env -i "PATH=$owned_path" "HOME=$wrapper_root/home" "TMPDIR=
for name in LC_ALL TZ; do
[[ -n "${!name:-}" ]] && build_env+=("$name=${!name}")
done
/bin/rm -rf -- "$repo_root/backend/dist"
"${build_env[@]}" "$node_path" "$npm_path" --prefix "$repo_root/backend" run build
safe_env=(/usr/bin/env -i "PATH=$owned_path" "HOME=$wrapper_root/home" "TMPDIR=$wrapper_root/tmp" "LANG=${LANG:-C}"