Concept
Channels, snapshots and what gets signed
The short versionPermalink to The short version#
A channel publishes named package values. A snapshot pins the source tree, toolchain and catalogue that define those values. Signatures authenticate the snapshot and catalogue; object hashes connect each exported package to its identity. This authenticates recipes. It doesn't authenticate bytes produced later by an arbitrary builder.
Names point to immutable valuesPermalink to Names point to immutable values#
Vessel package definitions are ordinary Sigil modules. The channel assembly exports bindings such as vessel/zlib; the catalogue maps each binding to a package identity. That identity covers the canonical package value, including source, phases, build inputs, dependencies and other build settings. Dependency identities make changes propagate up the graph.
Moving a definition between modules doesn't change its canonical value. Changing a shared phase helper can change every package that uses it. An unchanged version number therefore doesn't mean an unchanged identity. A package's store path also depends on realization details, as The store explains.
What a snapshot authenticatesPermalink to What a snapshot authenticates#
Publication writes canonical package objects, the catalogue and the snapshot. The snapshot pins the source-tree hash, toolchain and catalogue. The signed catalogue names a package's identity, and its object must hash to that identity. Packages aren't individually signed. Consumers can resolve from those pinned objects without treating a mutable working checkout as the published channel.
The registry's channel authority is rooted in its trusted metadata and role keys. A signature is meaningful only against the key and policy the consumer trusts. The repository's committed example signatures use public test keys; they aren't a production trust anchor.
Sequence information helps distinguish publications, but source provenance, package identity and output integrity remain separate questions. A recorded source commit can tell you where a recipe came from. It doesn't prove what an untrusted builder put in its output.
Updating a machine is separatePermalink to Updating a machine is separate#
A system build records its chosen snapshot and realized package items in system.lock. Merely changing a channel doesn't mutate an old generation. The old system still names its old items until a new system is built and installed, and collection still follows the retained generations.
Vessel 2026.1 doesn't update packages. On an installed system, vessel system apply builds only from the packages already on the computer, so rebuilding a configuration doesn't fetch newer versions or build missing packages from source. Package updates come in a later release.
A proposed design would pin channels as inputs before a configuration is evaluated, and prefer snapshots whose packages all have substitutes. Neither part exists yet. Signed channel recipes on their own also don't give you the signed output bindings that substitutes need.
In practicePermalink to In practice#
Read How system.sgl becomes a system for the build boundary and Substitutes for output authentication. Guides to updating an installed system will follow when updates arrive.