Problem
#1845 ✅ added make north-star1-verify / script/north-star1-verify.sh as the presenter bundle before #1044 close. Contributors still discover it only via README or docs/miniwebapp-gates.md — phpc doctor --gates does not surface the script or its LLVM/serve skip flags.
Goal
Extend lib/Doctor.php (or Doctor::runGates) to print a North Star 1 presenter section:
| Step |
Command |
Notes |
| Gates ladder |
make miniwebapp-gates |
stages 0–4d |
| Fast CI |
./script/ci-fast.sh |
VM/compliance |
| Full AOT tail |
./script/ci-local.sh --filter MiniWebAppAotExecuteTest |
LLVM required |
| Presenter bundle |
make north-star1-verify |
--require-llvm / --skip-llvm-tail |
Show whether LLVM 9 is ready (same probe as ExamplesCompileTest) and whether loopback serve tests are skipped (PHP_COMPILER_SKIP_SERVE_TESTS).
Implementation hints
| File |
Change |
lib/Doctor.php |
New printNorthStar1PresenterSection() |
bin/phpc.php |
No CLI flag change — reuse --gates |
test/unit/DoctorGatesTest.php |
Assert substring north-star1-verify |
docs/GETTING-STARTED.md |
Cross-link #1813 presenter script |
Acceptance criteria
./phpc doctor --gates | grep -i north-star1-verify
./script/ci-fast.sh --filter DoctorGates
Dependencies
Verification
Local/Docker only — not GitHub Actions (#394 ✅).
Links
Problem
#1845 ✅ added
make north-star1-verify/script/north-star1-verify.shas the presenter bundle before #1044 close. Contributors still discover it only via README ordocs/miniwebapp-gates.md—phpc doctor --gatesdoes not surface the script or its LLVM/serve skip flags.Goal
Extend
lib/Doctor.php(orDoctor::runGates) to print a North Star 1 presenter section:make miniwebapp-gates./script/ci-fast.sh./script/ci-local.sh --filter MiniWebAppAotExecuteTestmake north-star1-verify--require-llvm/--skip-llvm-tailShow whether LLVM 9 is ready (same probe as
ExamplesCompileTest) and whether loopback serve tests are skipped (PHP_COMPILER_SKIP_SERVE_TESTS).Implementation hints
lib/Doctor.phpprintNorthStar1PresenterSection()bin/phpc.php--gatestest/unit/DoctorGatesTest.phpnorth-star1-verifydocs/GETTING-STARTED.mdAcceptance criteria
./phpc doctor --gates | grep -i north-star1-verify ./script/ci-fast.sh --filter DoctorGatesDependencies
Verification
Local/Docker only — not GitHub Actions (#394 ✅).
Links