Expand description
Boot-time Qapp capability compilation for the 42MB Sentinel hot loop.
String parsing and Vec/String are permitted only during install/boot.
Compiled capabilities are stored as fixed-size records keyed by q_hash(app_id).
Structs§
- Capability
Claims - Capability claims compiled into hardware-aligned Quin records at install time.
- Compiled
Capability - Zero-allocation capability record used by the Sentinel during query execution.
- Host
Metadata - Host routing metadata (Flutter shell only — not consulted in the hot loop).
- Qapp
Manifest - Developer-facing manifest passed across FRB during install/boot.
Enums§
Constants§
- MAX_
PERMITTED_ DOMAINS - Maximum ontology domains compiled per app (Sentinel fixed buffer).
- MAX_
QAPP_ REGISTRY - Maximum registered qapps in the in-process registry.
Functions§
- compile_
and_ register_ qapp - Register (or replace) a qapp capability record. Install/boot only.
- compile_
capability_ quin - Encode a compiled capability as a 48-byte Quin for
.q42.bidxpersistence. - compile_
capability_ record - Compile manifest strings into a fixed
CompiledCapabilityrecord. - get_
compiled_ capability - O(1) lookup for the Sentinel hot loop.
- get_
pinn_ memory_ requirements - Get PINN model memory requirements from manifest
- install_
qapp_ capabilities - Full install pipeline: compile capabilities + cache remote endpoint metadata.
- parse_
clearance - Parse clearance hex from manifest (
0x00,0x01,0x02). - qapp_
manifest_ from_ package - Build a compiled
QappManifestfrom an on-diskQappPackageManifest. - register_
qapp - Alias required by the architecture spec.
- remote_
endpoints_ for_ app - Optional remote SPARQL endpoints (host network dispatcher only).
- supports_
ternary_ pinn_ models - Check if manifest supports 1.58-bit ternary PINN models
- validate_
pinn_ compatibility - Validate PINN model compatibility with app requirements
- validate_
pinn_ model_ config - Validate PINN model configuration for 1.58-bit ternary quantization