Expand description
Governed Q42 dataset asset envelope + licence policy (AST-01). Governed Q42 asset envelope and licence policy (AST-01).
Cold-construction schema for upstream release identity, digests, formats, record counts, parser/mapping versions, provenance, licence obligations, sensitivity, validation, and bounded chunk plans. Unknown licences fail closed. Derived assets inherit the union of upstream obligations.
Structs§
- Chunk
Spec - One bounded ingestion chunk under the 42 MiB Sentinel pass budget.
- Licence
Obligations - Obligation flags that propagate to derived assets (bitfield).
- Licence
Policy - Full licence policy recorded on a Q42 asset envelope.
- Q42Asset
Envelope - Versioned core schema for a governed Q42 dataset asset.
- Record
Counts - Counts retained from a release import.
- Toolchain
Versions - Parser / mapping toolchain versions that produced derived assets.
- Upstream
Release - Upstream release identity for an immutable raw artifact.
Enums§
- Asset
Envelope Error - Asset
Routing Lane - Commons-routing lane hint for derived Quins.
- Asset
Sensitivity - Sensitivity class for the asset graph (mirrors Quin sensitivity tiers used for medical).
- Licence
Class - Recognised upstream licence classes for health/dataset assets.
- Redistribution
Class - Redistribution posture for the asset and its derivatives.
- UseClass
- Intended use class recorded on the envelope.
Constants§
- ASSET_
ENVELOPE_ MAGIC - ASSET_
ENVELOPE_ VERSION - Envelope schema version encoded on the wire.
- MAX_
DERIVED_ FROM - Maximum derived-from parents retained on one envelope.
- MAX_
ENVELOPE_ BYTES - Soft ceiling for a single serialized envelope (cold metadata, not payload).
- MAX_
NAMESPACES - Maximum identifier namespaces retained.
- MAX_
REJECTION_ REASONS - Maximum rejection reason strings retained.
- SENTINEL_
PASS_ BUDGET_ BYTES - 42 MiB Sentinel pass budget referenced by every chunk plan.
Functions§
- sha256_
into - Compute SHA-256 into a caller-owned buffer (ABI-facing digest path).
- sha256_
of - Allocate-free convenience for cold tests and tooling.