Problem
#667 ✅ added script/examples-aot-smoke.sh and make examples-aot-smoke, but full CI only runs it when contributors export EXAMPLES_AOT_SMOKE_GATE=1. ExamplesCompileTest already covers AOT in PHPUnit; the shell smoke is a fast pre-PR check for 000–004 CLI execute that is easy to forget.
Goal
Default ./script/ci-local.sh runs examples-aot-smoke.sh in the llvm aot-link phase (after PHPUnit @group aot-link), with opt-out EXAMPLES_AOT_SMOKE_GATE=0 for iteration.
Scope
Acceptance criteria
make docker-build-22
docker run --rm -v "$(pwd):/compiler" -w /compiler php-compiler:22.04-dev ./script/ci-local.sh
With LLVM present → log line examples-aot-smoke runs without manual export. With LLVM missing → script exits 0 with skip message (unchanged).
Dependencies
Verification
Local/Docker only — not GitHub Actions.
Links
Problem
#667 ✅ added
script/examples-aot-smoke.shandmake examples-aot-smoke, but full CI only runs it when contributors exportEXAMPLES_AOT_SMOKE_GATE=1.ExamplesCompileTestalready covers AOT in PHPUnit; the shell smoke is a fast pre-PR check for 000–004 CLI execute that is easy to forget.Goal
Default
./script/ci-local.shrunsexamples-aot-smoke.shin the llvmaot-linkphase (after PHPUnit@group aot-link), with opt-outEXAMPLES_AOT_SMOKE_GATE=0for iteration.Scope
EXAMPLES_AOT_SMOKE_GATE=1inscript/ci-defaults.envandscript/ci-common.sh(mirror CI: Default MINIWEBAPP_WEB_SMOKE_GATE=1 in ci-local.sh (promote gate ladder stage 3) #664MINIWEBAPP_WEB_SMOKE_GATE)script/ci-fast.sh(no LLVM phases)test/unit/CiScriptsTest.php— assert default-on inci-local.shexamples/README.mdandphpc doctor --gates(DevEx: miniwebapp-gates stage 4a — detect AOT dry-run/lint green (#624) #675 doctor row optional)Acceptance criteria
make docker-build-22 docker run --rm -v "$(pwd):/compiler" -w /compiler php-compiler:22.04-dev ./script/ci-local.shWith LLVM present → log line
examples-aot-smokeruns without manual export. With LLVM missing → script exits 0 with skip message (unchanged).Dependencies
Verification
Local/Docker only — not GitHub Actions.
Links
script/examples-aot-smoke.sh, ROADMAP 🗺️ ROADMAP: Compile a small PHP web application (living document) #78