Round 2 for #1626 per sage-0314: F1a setter refuses a non-plain prototype, F1b organization writer validates and logs JSON.parse(bytes), F2 loader refuses unreadable paths, README top-level-code limit, control run. Gate 591/0, 0 skipped; controls pass; mutants 47/47 killed (slot sage-0316). Candidate manifest sha256 466c835f7dce79d20c7ab74c197a52b70e7fdeb0efae0456222dc6d0a633f219, 14 paths on base 0bdd573ff; no commit in base..1376caab9 touches them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
19 lines
713 B
Bash
Executable File
19 lines
713 B
Bash
Executable File
#!/usr/bin/env bash
|
||
# Row 131 targeted builder gate (decision 136; list approved in sage-0301).
|
||
# Same command land-work.sh runs per package. One log per package under gate/.
|
||
set -uo pipefail
|
||
WT=${1:-$HOME/dewey-scratch/r131/wt}
|
||
OUT=$(cd "$(dirname "$0")" && pwd)/gate
|
||
mkdir -p "$OUT"
|
||
export TMPDIR=$HOME/dewey-scratch/tmp
|
||
status=0
|
||
for p in plugins business bus webui cli; do
|
||
start=$(date -u +%FT%TZ)
|
||
(cd "$WT/packages/$p" && node --test tests/*.test.mjs) >"$OUT/pkg-$p.log" 2>&1
|
||
rc=$?
|
||
counts=$(grep -E '^ℹ (tests|pass|fail|skipped) ' "$OUT/pkg-$p.log" | awk '{printf "%s=%s ", $2, $3}')
|
||
echo "pkg-$p start=$start end=$(date -u +%FT%TZ) rc=$rc $counts"
|
||
[ "$rc" -eq 0 ] || status=1
|
||
done
|
||
exit $status
|