Rootless Validation Host
VPS-2 can reproduce repository, extension, browser, packaging, and emergency release checks without administrator access. The checked-in validation-host contract complements the dev container: use the container when a daemon is available, and use this rootless profile for the least-privilege exec-agent service account.
Host prerequisites
The host must provide Ubuntu 24.04, Git, mise 2026.7.7 or newer, and the standard apt-get, apt-cache, dpkg, dpkg-deb, and dpkg-architecture commands. The service account needs a writable $HOME and read access to the host's signed apt metadata. It does not need sudo, Docker, or repository credentials. The bootstrap manages every project runtime below that $HOME; it does not install mise itself.
What the bootstrap installs
mise.toml pins Node 24.18.0, Python 3.13.14, uv 0.11.21, actionlint 1.7.12, and ShellCheck 0.9.0. Bootstrap forces mise state below the executing account's $HOME, enables pnpm through Corepack, installs the frozen workspace lockfile, and installs Playwright Chromium.
On Ubuntu 24.04, Chromium and Xvfb system packages are downloaded through the host's signed apt metadata and extracted below $HOME/.cache/kicad-studio-kit. Nothing is written to /usr, no daemon is required, and repeated runs reuse a manifest-keyed cache. The cache can be removed safely; the next bootstrap reconstructs it.
Bootstrap
From the repository root:
bash scripts/bootstrap-validation-host.shPreview the actions without changing caches:
bash scripts/bootstrap-validation-host.sh --dry-runThe bootstrap ends with the strict CI-safe developer doctor. Optional remote tunnel tooling is not installed.
Validation commands
corepack pnpm run validation-host:doctor
corepack pnpm run validation-host:check
corepack pnpm run validation-host:package2
3
Run another command inside the same pinned/rootless environment:
bash scripts/run-validation-host.sh corepack pnpm --filter kicadstudiokit run test:a11yInspect the isolated paths:
bash scripts/run-validation-host.sh --print-environmentKiCad CLI canary boundary
The configured Ubuntu 24.04 repository offers KiCad 7.0.11, while this repository supports KiCad CLI 8.x, 9.x, and 10.x. VPS-2 therefore must not install that unsupported package or claim real KiCad compatibility evidence. Strict CI-mode doctor reports kicad-cli as a warning on this host.
Real KiCad CLI, GUI IPC, and file-format canaries remain owned by KiCad MCP Pro, using the shared fixture corpus and the scheduled/manual canary process described in testing strategy and the KiCad support matrix. VPS-2 remains authoritative for the repository, browser, extension package, and release-recovery checks listed above.
Recovery
- Remove
$HOME/.cache/kicad-studio-kitonly when rebuilding the extracted Ubuntu layer is desired. - Remove
$HOME/.cache/ms-playwrightonly when refreshing browser artifacts. - Re-run
bash scripts/bootstrap-validation-host.sh. - Run
corepack pnpm run validation-host:doctorandcorepack pnpm run validation-host:checkbefore relying on the host for release recovery.
The scripts never read or create marketplace, GitHub, or release credentials.