kcode-k1-rust-bootstrap-archive 0.2.0

Read and write the file-only Loom Rust bootstrap ZIP
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Loom Rust bootstrap archive

This package owns the deliberately simple, file-only ZIP used for the one-time Loom Rust migration. `write` and `read` accept only package directories with this exact shape:

```text
packages/<logical-name>/Cargo.toml
packages/<logical-name>/Documentation.md
packages/<logical-name>/src/lib.rs
```

There is no manifest, format version, root declaration, package inventory, dependency inventory, completion flag, validation result, failure record, rewrite record, digest, or hash. Package identity and dependency meaning remain in the archived `Cargo.toml` bytes.

`write` rejects duplicate or invalid logical directories and writes only the three source files. `read` rejects directory entries, duplicate entries, invalid package directories, missing files, extra files, and non-UTF-8 source. It returns the exact three UTF-8 files grouped by ZIP directory. An empty archive is structurally readable so that the importer can report the semantic failure in its own log.

The ZIP is trusted same-machine migration input. The package performs no Cargo parsing or execution, dependency resolution, authority assignment, publication, logging, retry, deployment, hashing, or completeness assertion.