Expand description
Manifest envelope and the cog package body (ADR-100 section 1).
Structs§
- Attestation
Ref - An external attestation file carried in the package.
- CogPackage
Body - Body of a
kind = "cog"manifest. - FileRef
- A file inside the package, pinned by BLAKE3 and size.
- Manifest
Envelope - Kind-agnostic signed manifest envelope.
- Package
Source - Where the package content came from (ADR-100 section 6.3).
- Signature
Entry - One Ed25519 signature over
ManifestEnvelope::signed_statement.
Enums§
- Manifest
Error - 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.