kcode-k1-rust-bootstrap-archive 0.1.0

Read and write the exact Loom Rust bootstrap ZIP format
Documentation
1
2
3
4
5
6
7
# Consumer contract

`write(path, archive)` writes the deterministic version-1 Loom Rust bootstrap ZIP. `read(path)` hashes the exact ZIP bytes, rejects malformed or ambiguous entry names, duplicate entries, unsupported manifest shape, invalid package metadata, and every missing or unexpected file, then returns complete UTF-8 package source and the SHA-256 archive digest.

Each package contains exactly `Cargo.toml`, `Documentation.md`, and `src/lib.rs` beneath `packages/<logical-name>/<stable-version>/`. The manifest inventories those packages and their internal dependencies. `Archive::require_complete` additionally requires `complete = true`, no failures or dependency mismatches, and exporter validation status `passed`.

The format imposes no package-count, archive-byte, source-byte, or compression-ratio ceiling. Callers own archive location, authority rewriting, publication, bootstrap state, retries, and lifecycle. Reading and writing perform no source mutation, Cargo execution, authority assignment, KTO submission, or deployment.