# Runtime release archives

Production controllers use `git archive HEAD`; `.gitattributes` now marks proof packs, root journey directories, public review copies, tests and fixtures `export-ignore`. The evidence remains tracked and present in full CI checkouts. Product images, fonts, SDK sources and immutable SDK release tarballs remain included. Do not replace this policy with `.gitignore` or delete proof from Git.

PR shipping uses the same export and then appends exact preview ownership/build identity (and the frontend's public build configuration). The existing proof gate still runs against the complete Actions checkout. CI builds/tests the normal checkout, then separately installs locked dependencies and builds the exported tree. The frontend export also runs the existing real Next runtime/drain smoke. SDK artifact tests run explicitly in API CI instead of being a production build dependency.

Existing successful-deploy retention keeps the live build and immediate rollback. The operator-held revisions `887b7f45b75c64a52254ab72555cbbc699b197e2` and `ed96ceb99508af6078e5670dc92d3a10bb10a98a` are additional holds and survive pruning. Removing either hold requires Liam's new approval. No pre-deploy deletion or broad prune is introduced.

## November 23 capacity check

Measured original archive payloads: API 1,950,829,777 bytes, frontend 3,987,108,833 bytes. Initial reduced payloads: API 11,301,577 bytes, frontend 74,142,735 bytes (later scripts/docs add a few kilobytes). Both reduced exports run in the paired PR environment.

A separate Linux rehearsal installed from an empty shared npm cache and built both exports. Final allocated bytes: API 809,934,848; frontend 1,204,731,904; cache 419,237,888; total 2,433,904,640. The sampled peak equaled the final total. The initial sampler encountered an npm temporary-file rename; a tolerant external sampler resumed before frontend installation completed. This is a sampled observation, not a guaranteed upper bound. API used the exact installed production Node 22.23.2; the preview host's frontend Node 20.20.2 differs slightly from production 20.19.6.

The approved cache cleanup freed 592,031,744 allocated bytes, raising production available disk from 2,269,405,184 to 2,861,342,720 bytes. Other host activity later reduced availability to 2,415,730,688 bytes, below the measured pair before any safety margin. Even at the immediate post-cleanup maximum, only about 427 MB would remain after this pair; another approximately 810 MB API release could not stage before retention. Both protected rollbacks and both original live builds remain intact. No merge/deploy was started.

Do not merge and trigger production deployment until a fresh capacity check covers the entire release sequence and a margin while honoring all holds. A reviewed release sequence may be needed to make healthy older builds eligible for normal retention; do not silently substitute manual deletion. Optional periodic low-disk alert installation is deferred with the production capacity blocker.
