Expand description
.p64 Neural Extension Cartridge binary packer, unpacker, and recurrent-state/KV seed bridge.
A .p64 neural extension cartridge attaches to any non-.p64 mechanical CAD assembly or .10d
flora/fauna asset and carries two tiers in a single deterministic binary container:
- Tier 0 (Vendor-Agnostic Universal Payload): compact CBOR-LD
PredicateTriggerRuletable andNQuinguardrails that any model (Qwen,Gemma,Gemini, etc.) can consume. - Tier 1 (Vendor/Model-Keyed Neural Slots): zero-copy aligned byte ranges containing
pre-warmed
Qwen3.5GatedDeltaNetrecurrent state seeds (f32), KV prefix snapshots,Gemma 4PLE tables, or LoRA deltas.
Structs§
- P64Extension
Header - Parsed header of a
.p64neural extension cartridge.
Constants§
Functions§
- encode_
trigger_ rules_ cbor_ ld_ into - Encode
PredicateTriggerRules into the compact 60-byte-per-rule CBOR-LD binary frame (zero-heap). - load_
p64_ slot_ f32_ seed_ into - Extract the
f32recurrent-state or KV seed payload for a matchedP64ExtensionSlotintoout_floats(zero-heap). - mount_
p64_ cartridge_ onto_ engine - Mount a
.p64neural extension cartridge onto aQTensorEnginewhen a matching Tier-1 recurrent-state seed slot exists for(preferred_model_id, architecture_id). Even when no Tier-1 vendor slot matches (e.g., running on a cloud or different vendor LLM), the Tier-0PredicateTriggerRules andNQuinguardrails are unpacked and returned. - pack_
p64_ extension_ cartridge_ into - Pack a
.p64neural extension cartridge (Tier-0 CBOR-LD rules +NQuinguardrails + Tier-1 vendor/model slot directory and f32 recurrent-state/KV payloads) into caller-suppliedout_bytes. - unpack_
p64_ extension_ cartridge_ into - Unpack a
.p64neural extension cartridge into caller-supplied Tier-0 and Tier-1 buffers (zero-heap).