Skip to main content

Module publication

Module publication 

Source
Expand description

Public publication-policy gate surface (Q42-00).

Structs§

ClassificationCounts
IngestProvenanceRecord
Integrity-bound companion written beside a newly ingested .q42 (QW-10).
Q42PublicationVerdict

Enums§

IngestAccessPolicy
Mandatory ingest access / publication policy (QW-10).
PublicationIntent
What the caller asserts about a file. Never overrides Quin-level rights.
Q42PublicationClass
How this volume may move, if at all.
Q42Transport
Where a classified volume is allowed to travel.

Traits§

CheckPublicDistribution
Trait supporting flexible invocation of check_public_distribution_allowed.

Functions§

check_public_distribution_allowed
Hard publication gate (Q42-00): rejects any volume with FLAG_SANCTUARY (0x0040), NaturalAgent personal/clinical/guardianship claims, or non-Commons classification, even if FLAG_PERMISSIVE_COMMONS or PublicationIntent::CommonsCatalog was passed.
classify_q42_path
Open path and classify it for publication under intent.
classify_q42_volume
Full-volume publication verdict: scans every decoded Quin’s sensitivity byte/tier and routing lane, then applies the fail-closed decide policy.
classify_q42_volume_set
Volume-set: any child that cannot be public denies the whole public set.
deny_public_publication
PermissionDenied with the verdict’s reason unless may_emit_public_magnet — the enforcement gate for public publication paths.
provenance_path_for
<q42_path>.provenance.json — the sidecar provenance location.
quin_requires_sanctuary
True when this Quin is Selfhood, bilateral, a protected ODRL tier, or a NaturalAgent personal/clinical/guardianship claim.