docs: finalize verified local workbench delivery

This commit is contained in:
Codex
2026-10-11 14:21:25 +08:00
parent 603184549b
commit 646e60a256
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ Task 2: complete — 5 tests green; shared proxy, strict route, fallback, rotati
Task 3: complete — 5 tests green; pagination, business login status, year mismatch, exact campus, pause/resume.
Task 4: complete — 5 tests green; file import/export, YAM SQLite, favorites, origin guard, formula-safe exports.
Task 5: complete — 3 frontend logic tests, production build, full Edge acceptance including mobile passed.
Task 6: final packaging — launch/reuse/stop/restart verified; README/notices ready; independent review findings fixed with regression tests.
Task 6: complete — launch/reuse/stop/restart verified; README/notices delivered; independent review has no remaining Critical/Important findings; source ZIP and launch entry in workspace outputs.
Public index: 2,255 major entries and 460 unique schools extracted from YAM public data files. Seed index contains no admissions snapshots, cookies or signed request tokens.
+3 -1
View File
@@ -6,12 +6,14 @@ New-Item -ItemType Directory -Path $runtimePath -Force | Out-Null
$pythonPath = Join-Path $projectRoot '.venv\Scripts\python.exe'
if (-not (Test-Path -LiteralPath $pythonPath)) {
if (Get-Command py.exe -ErrorAction SilentlyContinue) {
& py.exe -3.12 -m venv (Join-Path $projectRoot '.venv')
& py.exe -3 -m venv (Join-Path $projectRoot '.venv')
} elseif (Get-Command python.exe -ErrorAction SilentlyContinue) {
& python.exe -m venv (Join-Path $projectRoot '.venv')
} else { throw 'Please install Python 3.12+ first.' }
if ($LASTEXITCODE -ne 0) { throw 'Could not create Python environment.' }
}
& $pythonPath -c "import sys; raise SystemExit(0 if sys.version_info >= (3, 12) else 1)"
if ($LASTEXITCODE -ne 0) { throw 'Python 3.12+ is required; recreate .venv with a supported interpreter.' }
& $pythonPath -c "import fastapi, uvicorn, requests, bs4, openpyxl, multipart, playwright" 2>$null
if ($LASTEXITCODE -ne 0) {
$env:PIP_CACHE_DIR = Join-Path $runtimePath 'pip-cache'