diff --git a/docs/engineering/VALIDATION.md b/docs/engineering/VALIDATION.md index 1b10179..b92f829 100644 --- a/docs/engineering/VALIDATION.md +++ b/docs/engineering/VALIDATION.md @@ -3850,3 +3850,49 @@ diagnostics) CTest 13/13; Xvfb lifecycle and panels; Clang ASan/UBSan CTest 13/1 plus Xvfb lifecycle/panels; GCC 14 client-network CTest 10/10; clang-tidy app main/panels; format check. Synthetic event sequences only: physical OS repeat with several held keys, non-US layouts and IME remain unqualified. + + +## 2026-10-02 — M9.8e Windows client package (ADR-0086) + +Implemented the `client-package` preset (static MSVC runtime, `/Brepro`), the +`EVO_BUILD_IDENTITY` cache value (validated, printed by `evo-client --version`), +`tools/client/package-windows.ps1`, `verify-windows-package.ps1`, +`package-selftest.ps1` and shared guards. Decisions confirmed by the user: static +runtime; local packaging only (no workflow until a Windows runner exists); the +README states an internal test build with no licence granted. + +Import audit: the default `/MD` client imported MSVCP140/VCRUNTIME140(_1) and +api-ms-win-crt DLLs; the package build imports only KERNEL32, USER32, SHELL32, +IMM32, bcrypt, WS2_32 and SDL3.dll, and SDL3.dll only Windows system DLLs. Notice +audit of the compiled SDL subset found HIDAPI, yuv2rgb, stb_image and Khronos +headers in addition to SDL's zlib licence; all are reproduced from the verified +sources together with Mbed TLS (Apache-2.0 option) and Dear ImGui (MIT, embedded +ProggyClean/ProggyForever notices, stb headers). + +Executed on the Windows development host (MSVC 19.44.35217, CMake 3.31.6): +- Package at committed `ec1dced`: client-package CTest 10/10 inside the script; + identity `gec1dcedf2e66`, ZIP 1,716,303 bytes. +- Reproducibility: two `-Clean` builds into separate output directories (612 s + each) gave the identical ZIP SHA-256 + c0c27b948e693ac199f693f1c3ae98a7c38adefa593053273c00b41c884100a8. Same machine, + path and toolchain only; other machines/toolchains are not claimed. +- Verification of that ZIP: digest, exact allowlist and SHA256SUMS, PE imports, + credential/profile-path scan, then the extracted client with only system + directories on PATH: --version, usage error (exit 2), dummy-driver fixture (60 + frames) and launcher (30 frames), missing CA file (exit 1, fixed text, no path), + and `-Interactive` (default driver/renderer, real window, 180 frames); no files + were written into the package folder and no controls file without Apply. +- Self-test: extra/missing file, checksum mismatch, .pem and .bin files, private key + and certificate text, user-profile path and a dynamic-runtime image were each + refused. +- Earlier dirty-tree runs found and fixed: native stderr from the child build being + fatal under Windows PowerShell 5.1, the font notice extraction matching the file's + table of contents (619 KB copied), and checkout-dependent line endings of the + notice index. +- Regular presets after the change: Windows client 9/9, client-network 10/10; + Linux clang-19 tidy build 13/13, ASan/UBSan 13/13 with Xvfb, GCC 14 10/10, tidy + of app main/panels, format check; `client-package` configures on Linux; an + invalid identity is rejected at configure. + +Not done: Gitea Actions publication (no Windows runner), a run on a clean Windows +VM (M9.8g), code signing, hardware/DPI qualification, legal review of notices.