feat(edgecfg): Phase 268-270 savepoint (if_form adoption + Pattern9 minimal loop SSOT)

This commit is contained in:
2025-12-21 23:12:52 +09:00
parent 86a51cad2b
commit df715e909e
18 changed files with 1661 additions and 21 deletions

View File

@ -0,0 +1,16 @@
#!/bin/bash
set -e
cd "$(dirname "$0")/../../../../../.."
HAKORUNE_BIN="${HAKORUNE_BIN:-./target/release/hakorune}"
set +e
$HAKORUNE_BIN apps/tests/phase269_p0_pattern8_frag_min.hako > /tmp/phase269_out.txt 2>&1
EXIT_CODE=$?
set -e
if [ $EXIT_CODE -eq 7 ]; then
echo "[PASS] phase269_p0_pattern8_frag_vm"
exit 0
else
echo "[FAIL] phase269_p0_pattern8_frag_vm: expected exit 7, got $EXIT_CODE"
cat /tmp/phase269_out.txt
exit 1
fi

View File

@ -0,0 +1,19 @@
#!/bin/bash
set -e
cd "$(dirname "$0")/../../../../../.."
HAKORUNE_BIN="${HAKORUNE_BIN:-./target/release/hakorune}"
# Phase 270 P0: No env vars, use existing JoinIR route
set +e
$HAKORUNE_BIN --backend vm apps/tests/phase270_p0_loop_min_const.hako > /tmp/phase270_out.txt 2>&1
EXIT_CODE=$?
set -e
if [ $EXIT_CODE -eq 3 ]; then
echo "[PASS] phase270_p0_loop_min_const_vm"
exit 0
else
echo "[FAIL] phase270_p0_loop_min_const_vm: expected exit 3, got $EXIT_CODE"
cat /tmp/phase270_out.txt
exit 1
fi