Skip to main content

Module qapp_manifest

Module qapp_manifest 

Source
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§

CapabilityClaims
Capability claims compiled into hardware-aligned Quin records at install time.
CompiledCapability
Zero-allocation capability record used by the Sentinel during query execution.
HostMetadata
Host routing metadata (Flutter shell only — not consulted in the hot loop).
QappManifest
Developer-facing manifest passed across FRB during install/boot.

Enums§

QappInstallError

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.bidx persistence.
compile_capability_record
Compile manifest strings into a fixed CompiledCapability record.
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 QappManifest from an on-disk QappPackageManifest.
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