code wiki / galx

topic: galx

48 modules sharing the galx name family (derived from the tree's prefix discipline).

The 'galx' topic family supports the ingestion, setup, and secure access to a rich media corpus within the Nishi sovereign ecosystem. _galx_bulk_ingest handles high-throughput ingestion of the full NAS image library, while _galx_prod_ingest ensures production-grade, idempotent data integration. _galx_ui_gate enforces access control for served UI features, aligning with nx_galx_authz and nx_galx_authz_gate, which map catalog categories to access levels and validate permissions against the real catalog.

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
_galx_bulk_ingest.nxHIGH-THROUGHPUT bulk corpus ingest for the FULL ~230k NAS image library.1334
_galx_ingest_gate.nx2158
_galx_prod_ingest.nxPRODUCTION corpus ingest driver (sovereign, idempotent, additive).794
_galx_serve_gate.nx32513
_galx_serve_gate_prod.nx37417
_galx_serve_setup.nxOFF-BAND test-data setup for the gallery daemon (not the deliverable).493
_galx_ui_gate.nxNO-FAKE-GREEN gate for the SERVED rich-UI features the daemon already ships but1088
nx_galx_authz.nxmaps the EXISTING gallery catalog categories (galx_vid_rules.tsv) to ACCESS LEVELS, per906
nx_galx_authz_gate.nxproves the gallery access model on the REAL catalog (galx_vid_rules.tsv + real paths):664
nx_galx_bridge.nxSOVEREIGN reverse-tunnel bridging the WSL-workstation gallery to the always-on NAS.1235
nx_galx_census.nxno-wave MEASURED BASELINE for the GALX "S-class gallery exceed" rung; the gallery-domain1598
nx_galx_cid_index.nxSOVEREIGN O(1) cid->path store (replaces the per-request flat-TSV scan).1154
nx_galx_cid_index_gate.nxSOVEREIGN gate for the O(1) cid->path store.777
nx_galx_cid_verify.nxverify the REAL built cid index resolves REAL cids to their exact TSV paths.543
nx_galx_compact.nxone-shot driver: fold the galx-prod store's many one-seg-per-image segments344
nx_galx_durbin.nxstandalone refresher: (re)build galx_dur.bin from galx_dur.raw so the gallery's283
nx_galx_durbin_gate.nxsovereign gate for nx_galx_durbin_lib. Writes a crafted galx_dur.raw fixture1068
nx_galx_durbin_lib.nxO(1) duration lookup for the gallery .ts seekbar. Compacts galx_dur.raw1347
nx_galx_durindex.nxbuild the per-recording DURATION index so the gallery can SORT BY RUNTIME for14410
nx_galx_fill.nxSOVEREIGN Nishi corpus-fill batch-runner. Replaces the bash split/cp/awk loop:675
nx_galx_idx_backfill.nxSOVEREIGN background indexer: build a NXVI index1057
nx_galx_index.nxSOVEREIGN gallery index builder (replaces the bash build_view_index.sh; all logic1488
nx_galx_lora_export.nxSOVEREIGN LoRA dataset export. Reads the favorite flag set (galx_fav.log,1659
nx_galx_manga.nxMANGA collection + reader lib for the gallery (media-manager -> gallery migration).1489
nx_galx_media_census.nxSOVEREIGN media-delivery census for the gallery (operator 2026-06-23:15312
nx_galx_models.nxSOVEREIGN "who is who" index for recordings. The cam archive is foldered by person1126
nx_galx_monitor.nxSOVEREIGN media CONSISTENCY monitor (operator 2026-06-23: "the system still acts1467
nx_galx_repath.nxSOVEREIGN substring replacer for one-time storage repath (local C: -> NAS).752
nx_galx_search_index.nxSOVEREIGN search-index builder. For each ingested image it reads the PNG's1629
nx_galx_seek_test.nxSOVEREIGN HTTP test client for the gallery daemon (replaces curl).647
nx_galx_shell_jslint.nxSOVEREIGN JS syntax sanity guard for the gallery shell's inline <script>.1924
nx_galx_shell_jslint_gate.nxproves the sovereign JS guard (1) CATCHES the exact bug that broke the gallery,683
nx_galx_sortindex.nxLIBRARY (no main -> build the _gate): build a SORT-INDEX over the gallery's46829
nx_galx_sortindex_gate.nxfixture gate for the sort-index builder. Proves: correct ASCENDING order,726
nx_galx_sortserve_gate.nxSOVEREIGN gate for the gallery's sort-by-key serve handlers (ss_emit_size /1228
nx_galx_tags.nxsovereign tag store for the gallery (media-manager migration: tags were missing).32112
nx_galx_tags_gate.nxsovereign gate for nx_galx_tags. Builds a tag-op log via tg_op_line (dogfood),915
nx_galx_thumb.nxSOVEREIGN gallery THUMBNAIL generator. Composes the existing sovereign codecs2028
nx_galx_thumb_heal.nxSELF-HEALING DELIVERY for the gallery (operator 2026-06-23 msg#1: "get our15511
nx_galx_thumb_migrate.nxSOVEREIGN move of the thumbnail cache from local disk to the NAS, so the1049
nx_galx_thumb_oneshot.nxSOVEREIGN gallery THUMBNAIL generator (kills the full-res-into-160px-cells waste).1104
nx_galx_thumb_prewarm.nxpre-warm the gallery thumbnail cache so thumbs are INSTANT from the first925
nx_galx_upscale.nxSOVEREIGN gallery image UPSCALER. Composes the existing sovereign codecs1176
nx_galx_vid_audit.nxSOVEREIGN audit of the gallery's VIDEO delivery (operator 2026-06-23: "majority12710
nx_galx_vidindex.nxSOVEREIGN recordings index. Recursively scans the cam-recording archive18111
nx_galx_vidindex_nas.nxNAS-NATIVE recordings reindex (operator 2026-06-23: "investigate and resolve").937
nx_galx_vidoff.nxSOVEREIGN O(1) line-offset index for galx_vid_paths.tsv.484
nx_galx_vidoff_nas.nxNAS-native rebuild of galx_vid_off.bin (the id->byte-offset index) so the364