Skip to content
You are viewing the documentation of the unreleased main branch. It can describe changes that are not in any release yet.

Content and artifact identities

A compiled installer fixes several identities: its product model, runtime template, capability libraries, content containers, and final executable. Each identity describes its own bytes and compatibility contract.

The DSL tutorial packages README.txt as content and invokes the official files capability library to request its deployment. A capability library is executable Wasm Component code; a content container is the logical tree of files to deploy.

The current content profile contains regular files, directories, and explicit relative symbolic links. A versioned POSIX pax profile defines its canonical uncompressed tar stream. Entry order, ordinary modes, file bytes, empty directories, and exact link text contribute to that stream’s identity.

A ContainerRef records the format, SHA-256, and byte length of this canonical stream. Source locations, download hashes, and compressed transport bytes have separate identities. Two source archives do not acquire the same content identity merely because their filenames match.

The parser rejects unsafe names, escaping links, conflicting entries, unsupported archive features, and excessive sizes. Logical validation is followed by native target-name and filesystem checks during deployment. Parsing a valid container does not authorize a write to the machine.

Archive modes remain content metadata. Explicit requested access policies and grants control deployed access. The full representation and normalization rules are in the content contract.

A compiler lock records exact versions, lengths, and SHA-256 identities for the runtime, runtime metadata, libraries, content, and build tools. The compiler verifies the supplied bytes and does not resolve a missing input to a replacement version.

The assembler copies a precompiled runtime template into the output image without executing or relinking it. Final signing changes the delivered image’s identity. Qualification must identify those final bytes; a content digest or template digest alone does not authenticate a publisher.

The compiler input contract owns locking. The setup image contract owns assembly and final-image measurements.