code wiki / model

topic: model

12 modules sharing the model name family (derived from the tree's prefix discipline).

The 'model' topic family in the Nishi sovereign ecosystem manages the lifecycle of machine learning models, from enumeration to storage and retrieval. The nx_model_enumerate module fetches model metadata from HuggingFace, while nx_model_fetch handles secure and efficient model downloads using CDN infrastructure. nx_model_get and nx_model_get_gate work together to ensure reliable, hash-verified model acquisition and storage, supporting the sovereign model-lane lease system for controlled model access and distribution.

auto-narrated by the local model from this topic's module headers; links verified against the wiki index.

narrated overview -- maintained by the narration lane, module links verified against this wiki.

moduledescriptionlinesfuncs
nx_model_card.nxF785 THE SOVEREIGN MODEL CARD RENDERER (operator 2026-07-20: "model card like40017
nx_model_enumerate.nxthe STANDARD, reusable model-port ENUMERATE stage: fetch a HuggingFace repo's tree API744
nx_model_fetch.nxD2: SOVEREIGN model download (HF resolve -> 302 -> CDN TLS -> stream GGUF to disk).1627
nx_model_get.nxG9 mg_fetch: hash-verified model acquisition into the gen model store (/compare/gen watch G9).3959
nx_model_get_gate.nxGATE for the offline decision half of G9 mg_fetch (nx_model_get_lib). The network half1081
nx_model_get_lib.nxLIB: the pure decision half of G9 mg_fetch (model acquisition). Everything here is15511
nx_model_lane.nxCLI for the sovereign model-lane lease (core = nx_model_lane_core).731
nx_model_lane_core.nxSOVEREIGN MODEL-LANE LEASE (pure core, no main; CLI = nx_model_lane,32711
nx_model_lane_gate.nxgate for the sovereign model-lane lease. Deterministic, tiny-RAM,792
nx_model_port_registry.nxthe STANDARD sovereign MODEL-PORT registry: ONE data-driven place that maps every897
nx_model_port_registry_gate.nxexecuted proof of the standard model-port registry. Verifies count, name743
nx_model_spec.nxtyped model configuration envelope.33714