Expand description
Permission-Scoped Query, Explanation & Derivative Access Gate (C4–C5).
Enforces sensitivity tiers in context[56..63] (PUBLIC=0, RESTRICTED=1, CLASSIFIED=2)
and human principal / delegated-agent authority (AUTH-H1..H6) across source queries,
cohort estimates, inference explanations, error logs, and HMC export bundles.
Invariant (C4): Aggregation or estimation never auto-declassifies restricted inputs.
Structs§
- Cohort
Access Receipt - Zero-heap receipt returned after filtering a candidate cohort NQuin slice.
- Principal
AndAgent Grant - Scoped grant binding a human principal and an optional delegated agent.
Enums§
Constants§
- CONTEXT_
GRAPH_ MASK - SENSITIVITY_
CLASSIFIED - SENSITIVITY_
MASK - SENSITIVITY_
PUBLIC - SENSITIVITY_
RESTRICTED - SENSITIVITY_
SHIFT
Functions§
- authorize_
derivative_ or_ explanation_ export - Enforces C4: Aggregation or estimation never auto-declassifies restricted inputs.
- extract_
graph_ context_ hash - extract_
sensitivity_ class - filter_
authorized_ cohort_ quins - Zero-heap filter for candidate cohort Quins before query evaluation or statistical estimation.
- pack_
context_ with_ sensitivity - validate_
quin_ access - Point check for single-Quin read access under an active grant.
- verify_
grant_ active - Validates that the grant has an authentic human principal, is within its validity epoch, and has not been revoked.