PF Simulation Research library

PF research library · 3 min read

Full r34 native export — Storage Incident Recovery, 27 November 2026

r34 documentation · hf-native-export.md · Formatted reading copy

On this page
  1. Build and verify locally
  2. Source and recovery boundaries
  3. Release maintenance
  4. Deployment scope

Export and deployment are separate. This is the application's local export guide. The complete bundled Windows guide supplies the matching live-deployment companion; its deploy_release.py is distinct from the offline exporter verifier described below.

This full distribution contains the storage-incident corrections in the active application source. Its native exporter creates a new reviewed runtime, r34-hf-storage-incident-recovery-20261127. It does not reproduce the preceding startup-diagnostics runtime or imply that a running Space has been updated.

Build and verify locally

Run from the extracted privileged-frame-simulation directory. The output must be a new directory outside the full source tree:

python -B deploy\saas\huggingface_native\build_space.py --output ..\pf-r34-storage-incident-native
python -B deploy\saas\huggingface_native\deploy_release.py verify --bundle ..\pf-r34-storage-incident-native

Both commands are offline. The builder prints the new private-code SHA-256 and three context-manifest hashes. The verifier checks every context file, the controller Docker presentation inputs, and byte agreement between controller source and every member of the runner's pf-code.zip. It does not build Docker images or certify a live deployment.

The export contains space/, jobs/, runtime/ and their context ZIPs. Controller and runner repositories require private source. The public-safe dependency runtime context is unchanged. The complete standalone distribution, credentials and live data must never be uploaded as a Space build context.

Source and recovery boundaries

Current product code is read directly from the full distribution. The explicit native variants are the native qualification reader, README and four recovery dispatch modules; the new native recovery verifier exists only in this export. Each variant and its corresponding full-distribution file are separately pinned. The native runtime does not inherit full-distribution qualification claims.

The new verifier binds the exact predecessor private archive ebf1ba11f10f254fe30e46bcbf132ba18ba8cb8a0ad929068a36ddf4b66fd33c, its source catalog and all 73 inherited patch records. It adds one separately identified incident-recovery record. Changed source, prompts, inherited records or unknown predecessors fail verification. Saved-task source continuity remains distinct from authorization to execute work or independently accept a completed result.

New native metadata, the code archive, context inventories and export record are sealed together. HF presentation assets, the layout installer and Docker allowlist remain paired. Original native metadata, variants and export inventory are retained in consolidated_runtime_history/startup_read_diagnostics_20261127. Historical records are not relabelled as current validation.

Release maintenance

reseal_storage_incident.py is an offline maintainer tool for the reviewed incident candidate. Do not run it merely to bypass an export integrity error. The release review must freeze product source and native variants first. The ordered operation is: content seal excluding metadata and its own verifier; verifier bytes; native manifest and exact predecessor delta; provenance, checksums and deployment evidence; private ZIP; context inventories; export record and builder pins. The complete full-release seal follows last.

The default invocation calculates the candidate identity without writing files. The explicit --write option writes those reviewed seals. Its source allowlist rejects application changes outside this incident scope. Re-running it on the same frozen inputs yields the same private-code and context identities. The ordinary build_space.py command never reseals or accepts changed source.

Deployment scope

Building and verifying these files does not upload them, change code pins, restart a Space, resume a research plan or repair production storage. This release's deploy_release.py remains an offline verification entry point.

A live upgrade needs a guarded handoff for this new candidate identity: verify the exact installed predecessor, retain a verified state backup, declare unresolved operations, preserve immutable source pins and commit journals, and verify restart and recovery. Historical compact-patch helpers are evidence of their own releases; their old pinned candidate identities must not be used to install this new candidate. No live HF deployment, provider request or data restore was performed by the export build.