code wiki / gen

topic: gen

59 modules sharing the gen name family (derived from the tree's prefix discipline).

The 'gen' topic family in the Nishi sovereign ecosystem focuses on generating and verifying data structures and models within the DiT framework. Modules like `gen_hll_bias_nx` create HLL bias tables using the HLL algorithm, while `nx_gen_blockrun` executes DiT blocks end-to-end to assess their output quality. Additionally, `nx_gen_archprobe` extracts and displays model architecture details directly from the model file, ensuring transparency and consistency across the system.

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
gen_hll_bias_nx.nxgenerate HLL bias table by running OUR HLL. 1996
nx_gen.nxthe sovereign GEN MCP tool: a thin NAS-side client for the gen orchestrator daemon (loopback :18795).17712
nx_gen_adaln_gate_verify.nxSOVEREIGN adaLN gated residual join, verified vs the oracle.1442
nx_gen_archprobe.nxprint a DiT's architecture as READ FROM THE MODEL FILE.532
nx_gen_authz_gate.nxproves the AREA-APPROVAL authZ (operator 2026-06-24: "use my nishifamily login + OPAQUE613
nx_gen_blockbench.nxSOVEREIGN runner for the whole gen verification suite. NO SHELL.2368
nx_gen_blockrun.nxrun a WHOLE DiT block sovereignly, end to end, and grade the output.3301
nx_gen_cid_gate.nxREFEREE for the GALLERY CID CANON (debt 1785881333 / 1785881657).1627
nx_gen_conf_lib.nxthe gen lane's ONE conf reader (2026-08-30): the two-path read (daemon cwd first, then the562
nx_gen_content.nx★R5 of the Infinigen ladder: the UNIFIED SOVEREIGN GENERATOR (their V2 bet = ProcFunc, a1048
nx_gen_dispatch_gate.nxthe REFEREE for gen G17 (dispatch honesty) on the CHAT path: a planted SLOW worker (listens,35517
nx_gen_ditchain.nxchain N sovereign DiT blocks, weights read straight from the GGUF. 1922
nx_gen_ditfull.nxthe COMPLETE sovereign Z-Image DiT forward, weights from the GGUF. 3793
nx_gen_embed_verify.nxSOVEREIGN F16 linear-with-bias (an embedder), verified vs the oracle.1152
nx_gen_explorer.nx★R10: a PUBLIC interactive generate front-end over the unified nx_gen surface. Renders a1164
nx_gen_gate.nx★R5: the unified generator surface, proven. One nx_gen(spec,res) shape drives every1225
nx_gen_gateway.nxOPAQUE-gated reverse proxy for the NSFW gallery, mounted under /gen/*.31023
nx_gen_gateway_daemon.nxthe deployable OPAQUE /gen gateway: argv config + auth-context setup961
nx_gen_gateway_daemon_request_test_20260907.nxthe deployable OPAQUE /gen gateway: argv config + auth-context setup961
nx_gen_gateway_request_test_20260907.nxOPAQUE-gated reverse proxy for the NSFW gallery, mounted under /gen/*.31023
nx_gen_hll_bias_nx.nxgenerate HLL bias table by running OUR HLL.2066
nx_gen_http_verify.nxTest-only fixed-origin /gen verifier. LOCAL CANDIDATE; root must review identity before any live run.23314
nx_gen_ingest.nxingest an ON-DISK PNG into the gallery: GENREC tEXt -> CID -> blob -> sidecar. 2426
nx_gen_inpaint_gate.nxthe REFEREE for gen G7 (gw_inpaint_mask): mask inpaint as a NishiLang verb over the975
nx_gen_linear_verify.nxSOVEREIGN linear projection (matmul), verified vs a reference.4153
nx_gen_live_probe.nxLIVE FRONTEND PROOF. Runs ON THE NAS (via `nx_hostctl genprobe`). Drives the REAL20312
nx_gen_lora_repr.nxDECIDE the adapter representation by measuring it, not by arguing it. 1793
nx_gen_lora_verify.nxprove the sovereign LoRA fold against an EXACT f64 reference. 1222
nx_gen_machine.nxa machine the team authored from DATA, not hand-written. license_tier: ORIGINAL14611
nx_gen_mesh_gate.nxend-to-end gate for the /gen 3D lane over REAL loopback sockets (G2 of the gen-UI15913
nx_gen_mind_gate.nxthe REFEREE for companionchat CC0 (go_mind_context in nx_companion_mind.nx).1014
nx_gen_modelid.nxidentify ANY model file: container, family, role. The front door of a994
nx_gen_multiworker_gate.nxproves the orchestrator's SOVEREIGN multi-worker dispatch (worker list comes from18816
nx_gen_orchestrator.nxthe NAS-side Elder AI gen daemon (the sovereign gen-img, off Docker).203476
nx_gen_orchestrator_daemon.nxthe deployable Elder AI gen daemon: argv config + accept-fork701
nx_gen_orchestrator_gate.nxend-to-end gate for the gen daemon over REAL loopback sockets.21815
nx_gen_pipecheck.nxthe front door. Read a pipeline descriptor, VERIFY every declared part1776
nx_gen_pipeline.nxthe sovereign GENERATE pipeline core (the gen-img logic, off Docker).25713
nx_gen_pipeline_gate.nxoffline gate for the GENERATE pipeline core (no sockets). Builds a15011
nx_gen_prenorm_mod_verify.nxSOVEREIGN DiT pre-norm + adaLN modulate, verified vs the oracle.1612
nx_gen_promptweight_gate.nxthe REFEREE for gen G13 (cw_prompt_weight): prompt weighting as DATA on the shared1839
nx_gen_qknorm_verify.nxSOVEREIGN per-head QK-RMSNorm over a PACKED qkv, verified vs oracle.1482
nx_gen_rank.nxFULL-SCALE score-and-rank on a SOVEREIGN seg-store PLANE (NOT a .tsv -- sovereign-formats-first1385
nx_gen_real_gate.nxR3: drive the sovereign orchestrator against the REAL Elder AI sd-server13112
nx_gen_realpipe_gate.nxR3 sovereign proof: run a REAL sd-server response (captured from the615
nx_gen_rmsnorm_verify.nxSOVEREIGN RMSNorm, verified vs the oracle.1322
nx_gen_rope_verify.nxSOVEREIGN interleaved RoPE, verified vs the oracle.1322
nx_gen_sdpa_verify.nxSOVEREIGN scaled dot-product attention, verified vs the oracle.1862
nx_gen_sw_emit_test_20260907.nxWrites the contents of the GGW_SW_JS buffer to standard output until completion.121
nx_gen_swiglu_verify.nxSOVEREIGN SwiGLU feed-forward activation, verified vs the oracle.1061
nx_gen_taedec.nxSOVEREIGN TAESD (tiny VAE) decoder: latent -> RGB pixels.36013
nx_gen_ui_emit.nxEMITS the /gen companion app page (elara_ui.html) from DATA (knowledge/gen_ui.conf).31710
nx_gen_ui_emit_lifecycle_test_20260907.nxEMITS the /gen companion app page (elara_ui.html) from DATA (knowledge/gen_ui.conf).31710
nx_gen_ui_gate.nxthe REFEREE for gen G19 (nx_gen_ui_emit): the /gen companion page is EMITTED from data,1577
nx_gen_unified.nx★R5 of the Infinigen ladder: the UNIFIED SOVEREIGN GENERATOR (their V2 bet = ProcFunc, a1068
nx_gen_util.nxshared string/scan primitives = the BASE MODULE of the companion/gen OO decomposition.254
nx_gen_worker.nxthe GenWorker object: the GPU-worker CLIENT. Owns dispatch to a worker (a.b.c.d:port) for17811
nx_gen_worker_probe.nxisolate whether the nx runtime (in WSL2) can reach the Windows303
nx_gen_zoo.nxwalk a model directory, identify every file, and report which PIPELINES are 1958