Expand description
Deterministic validation gates and TAA Oklab perceptual clamping for entity compilation.
Deterministic Validation Gates & TAA Oklab Clamping for qualia-cli entity-compile.
Enforces the compilation gates before sealing .10d living containers
and packaging into .hmc bundles:
- Gate 1: Spectral Plausibility & Energy Conservation ($R(\lambda) \in [0.0, 1.0]$ across 380–780 nm).
- Gate 2: Virtualized Geometry Confinement (Tier 2/3/4 strictly bounded inside Tier 1 AABB).
- Gate 3: Ontological & Anti-Commodification Integrity (Valid ontological class, anti-slavery /
inalienable human rights protection preventing
NaturalPersonfrom being commodified as an asset). - Gate 4: Wasm/VibeScript Determinism Limits (Zero non-deterministic host calls, cycle count budget).
Also provides perceptual Oklab Neighborhood Clamping for Temporal Anti-Aliasing (TAA) across blue-noise hero wavelength packets.
Enums§
- Gate
Error - Ontological
Class - First-class ontological categories determining entity representation and rights.
Functions§
- assert_
biosphere_ permissive_ commons - Assert that living biosphere entities (“world of god”) and fundamental knowledge for life are governed by Permissive Commons, preventing enclosure, perpetual royalties, and private monopolization.
- assert_
person_ anti_ commodification - Explicit assertion protecting natural persons from being classified as manufactured property.
- calculate_
taa_ blend_ factor - Velocity-ramped dynamic TAA blend factor alpha in [0.05, 0.20].
- clamp_
taa_ history_ oklab - Clamps the reprojected TAA history color to the variance bounding box of the 3x3 local neighborhood in Oklab space. Zero heap.
- is_
taa_ history_ disoccluded - Check relative depth disocclusion gate.
- oklab_
to_ xyz - Transform Oklab perceptual color space back to linear CIE XYZ. Zero heap.
- validate_
bssrdf_ parameters - Assert that Subsurface Scattering mean free paths are strictly positive (prevents division by zero).
- validate_
geometry_ confinement - Assert that lower-tier primitives (LODs, surfels) remain strictly bounded inside Tier 1 Hero AABB.
- validate_
ontological_ integrity - Assert valid ontological classification and enforce anti-commodification human rights.
- validate_
script_ determinism - Assert affordance Wasm script determinism.
- validate_
spectral_ coeffs - Assert that spectral coefficients evaluate strictly within physical bounds $R(\lambda) \in [0.0, 1.0]$.
- xyz_
to_ oklab - Transform linear CIE XYZ to Oklab perceptual color space. Zero heap.