Problem
#1903 tracks a doctor section for 005 VM/session gates. With #1891 ✅ (AOT execute) and #1893 / #1962 (deploy smoke), contributors still grep script/ci-defaults.env to learn the full ladder:
SESSIONS_WEB_SMOKE_GATE → SESSIONS_WEB_AOT_LINK_GATE → SESSIONS_WEB_AOT_SMOKE_GATE → SESSIONS_WEB_DEPLOY_SMOKE_GATE
MiniWebApp already has parallel doctor rows via #1857 / #1752 patterns.
Goal
Extend phpc doctor --gates (and lib/Doctor.php) with an ordered 005-SessionsWeb block:
| Stage |
Env var |
Command when =1 |
| VM session flash |
SESSIONS_WEB_SMOKE_GATE |
make examples-sessions-smoke |
| AOT link |
SESSIONS_WEB_AOT_LINK_GATE |
PHPUnit SessionsWebAotLinkTest / ExamplesCompileTest |
| AOT execute |
SESSIONS_WEB_AOT_SMOKE_GATE |
examples-aot-smoke.sh 005 slice |
| Deploy CGI |
SESSIONS_WEB_DEPLOY_SMOKE_GATE |
SESSIONS_WEB_DEPLOY_SMOKE_GATE=1 make deploy-smoke (#1962) |
Show current default from script/ci-defaults.env and whether LLVM is required.
Scope
| Piece |
Path |
| Doctor output |
lib/Doctor.php |
| CLI |
bin/phpc.php doctor subcommand |
| Docs |
examples/005-SessionsWeb/README.md, docs/local-ci-matrix.md |
| Tests |
test/unit/DoctorTest.php or PhpcDoctorTest — assert substring present |
Out of scope: flipping gate defaults (#1921, #1923, #1962 follow-ups).
Acceptance criteria
./phpc doctor --gates | grep -E 'SESSIONS_WEB|005-SessionsWeb'
Verification
./phpc test --fast --filter Doctor
docker run --rm -v "$(pwd):/compiler" -w /compiler php-compiler:22.04-dev ./phpc doctor --gates
Dependencies
Links
Problem
#1903 tracks a doctor section for 005 VM/session gates. With #1891 ✅ (AOT execute) and #1893 / #1962 (deploy smoke), contributors still grep
script/ci-defaults.envto learn the full ladder:SESSIONS_WEB_SMOKE_GATE→SESSIONS_WEB_AOT_LINK_GATE→SESSIONS_WEB_AOT_SMOKE_GATE→SESSIONS_WEB_DEPLOY_SMOKE_GATEMiniWebApp already has parallel doctor rows via #1857 / #1752 patterns.
Goal
Extend
phpc doctor --gates(andlib/Doctor.php) with an ordered 005-SessionsWeb block:=1SESSIONS_WEB_SMOKE_GATEmake examples-sessions-smokeSESSIONS_WEB_AOT_LINK_GATESessionsWebAotLinkTest/ExamplesCompileTestSESSIONS_WEB_AOT_SMOKE_GATEexamples-aot-smoke.sh005 sliceSESSIONS_WEB_DEPLOY_SMOKE_GATESESSIONS_WEB_DEPLOY_SMOKE_GATE=1 make deploy-smoke(#1962)Show current default from
script/ci-defaults.envand whether LLVM is required.Scope
lib/Doctor.phpbin/phpc.phpdoctorsubcommandexamples/005-SessionsWeb/README.md,docs/local-ci-matrix.mdtest/unit/DoctorTest.phporPhpcDoctorTest— assert substring presentOut of scope: flipping gate defaults (#1921, #1923, #1962 follow-ups).
Acceptance criteria
Verification
Dependencies
Links