GLMCHAT V2.2.1 — NEW CHAT HANDOVER Generated: 22 July 2026 17:52:53 UTC AUTHORITATIVE WORKING ROOT The extracted handover root containing app/, source/, scripts/, tests/ and documentation/. COMPLETED IN THE LATEST PASS - Created a reliable baseline from the documentation-audited handover. - Reconstructed the maintainable six-module frontend source from the shipped bundle. - Added deterministic build, TypeScript compatibility checking, lint and verification. - Added PHP, Node, SQLite migration and isolated HTTP-preflight tests. - Fixed empty/dot-only and control-character project path validation. - Hardened ZIP stream failure cleanup and partial-output removal. - Preserved safe conventional ZIP root entry `./`. - Corrected source/tooling documentation and target-runner invocation. - Regenerated deployment manifest and CycloneDX SBOM. VALIDATED - Frontend build reproduces the deployed bundle byte-for-byte. - TypeScript compatibility check passes with tsc 5.8.3. - Source lint passes. - PHP static contracts: 34 checks pass. - Node release contracts: 7 tests pass. - SQLite fresh, exact-clone, rollback and 12-to-13 upgrade contracts pass. - Real PHP front-controller preflight returns the correct controlled response. - PHP syntax: 44/44 pass. - JavaScript syntax passes. - Package validator: 281 checks pass. - No runtime database, key, log or user data is included. NOT VALIDATED HERE - PHP success path requiring sqlite3, curl, mbstring and zip. - Live LiteSpeed root/nested deployment, headers, cookies, rewrites and SSE. - Live Together text, reasoning, tools, vision and TTS. - Upgrade/rollback against a private clone of actual production data. - Long-running concurrency/load/failure testing. - Physical Android Chrome, Samsung Internet and TalkBack. NEXT SAFE ACTION Deploy release/GLMCHAT_V2.2.1_SERVER_DIRECT_DEPLOY_22072026175253.zip to a private production-equivalent LiteSpeed staging host, then complete `documentation/current/PRODUCTION_ACCEPTANCE_CHECKLIST_22072026174417.txt`. Do not alter or overwrite an existing storage/ directory.