Documentation bundles
The compiler repository owns normative language and compiler documentation. The website owns its presentation. An authenticated, deterministic, resource-bounded bundle is the planned contract between them.
Planned producer flow
Section titled “Planned producer flow”The compiler will expose commands equivalent to:
zryna docs checkzryna docs export --channel next --output .zryna/out/docs/nextThese commands are part of the planned compiler documentation exporter and are not available in the current proof release.
Bundle contract
Section titled “Bundle contract”Each bundle contains:
manifest.json, usingzryna.docs.bundle.v1;manifest.sha256, covering the exact manifest bytes;- only the UTF-8 Markdown files listed in the manifest.
The manifest records a full compiler commit, Git ref, source version, channel, stable document IDs and paths, byte counts, and SHA-256 digests. Its canonical JSON serialization contains no generation timestamp; the executable contract tests that identical input produces identical manifest bytes.
manifest.sha256 detects accidental corruption but cannot authenticate itself. Ingestion therefore
also requires the expected manifest digest and channel from an authenticated compiler workflow,
signed release, or attestation. A bundle cannot choose its own trusted digest.
The website rejects unknown fields, unsorted or duplicate entries, symlinks, unlisted files, oversized documents, invalid UTF-8, and checksum mismatches. A local bundle can be checked with:
pnpm docs:check -- /path/to/bundle \ --expected-manifest-sha256 <authenticated-sha256> \ --expected-channel nextPublication channels
Section titled “Publication channels”nextmust come fromrefs/heads/mainand follows reviewed compiler development.- semantic-version bundle channels must equal
source.versionand come from the matching immutablerefs/tags/v<version>tag. stablewill be a website alias to one already verified semantic-version bundle; it is not a mutable bundle channel.
The compiler currently has no release tags, so next is the only valid present-day channel. Until
the exporter and authenticated delivery exist, the website links to reviewed compiler source
material directly and does not ingest bundles.