Skip to main content

Module manifest

Module manifest 

Source
Expand description

Manifest envelope and the cog package body (ADR-100 section 1).

Structs§

AttestationRef
An external attestation file carried in the package.
CogPackageBody
Body of a kind = "cog" manifest.
FileRef
A file inside the package, pinned by BLAKE3 and size.
ManifestEnvelope
Kind-agnostic signed manifest envelope.
PackageSource
Where the package content came from (ADR-100 section 6.3).
SignatureEntry
One Ed25519 signature over ManifestEnvelope::signed_statement.

Enums§

ManifestError
Manifest parse / validation failure.

Constants§

COG_ARCHES
Architectures a cog package may carry (ADR-100 section 1).
KIND_COG
Workload kind for Cognitum cogs.
MANIFEST_FILE
Manifest file name inside a cog package directory.
MANIFEST_SCHEMA
Envelope schema identifier. Shared by every workload kind.
MAX_MANIFEST_BYTES
Largest manifest file accepted.
MAX_SIGNATURES
Most signature entries accepted on one envelope.
SIGNING_DOMAIN
Domain-separation prefix for signatures over the envelope statement.

Functions§

binary_path
Canonical in-package path of a cog binary for arch.
valid_cog_id
Cog ids: lower-case alphanumerics separated by single hyphens.
valid_token
Printable token: [A-Za-z0-9][A-Za-z0-9._+:-]*, bounded.
validate_rel_path
Relative, normalized, forward-slash path with no traversal.