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.
| module | description | lines | funcs |
|---|---|---|---|
| _galx_bulk_ingest.nx | HIGH-THROUGHPUT bulk corpus ingest for the FULL ~230k NAS image library. | 133 | 4 |
| _galx_ingest_gate.nx | 215 | 8 | |
| _galx_prod_ingest.nx | PRODUCTION corpus ingest driver (sovereign, idempotent, additive). | 79 | 4 |
| _galx_serve_gate.nx | 325 | 13 | |
| _galx_serve_gate_prod.nx | 374 | 17 | |
| _galx_serve_setup.nx | OFF-BAND test-data setup for the gallery daemon (not the deliverable). | 49 | 3 |
| _galx_ui_gate.nx | NO-FAKE-GREEN gate for the SERVED rich-UI features the daemon already ships but | 108 | 8 |
| nx_galx_authz.nx | maps the EXISTING gallery catalog categories (galx_vid_rules.tsv) to ACCESS LEVELS, per | 90 | 6 |
| nx_galx_authz_gate.nx | proves the gallery access model on the REAL catalog (galx_vid_rules.tsv + real paths): | 66 | 4 |
| nx_galx_bridge.nx | SOVEREIGN reverse-tunnel bridging the WSL-workstation gallery to the always-on NAS. | 123 | 5 |
| nx_galx_census.nx | no-wave MEASURED BASELINE for the GALX "S-class gallery exceed" rung; the gallery-domain | 159 | 8 |
| nx_galx_cid_index.nx | SOVEREIGN O(1) cid->path store (replaces the per-request flat-TSV scan). | 115 | 4 |
| nx_galx_cid_index_gate.nx | SOVEREIGN gate for the O(1) cid->path store. | 77 | 7 |
| nx_galx_cid_verify.nx | verify the REAL built cid index resolves REAL cids to their exact TSV paths. | 54 | 3 |
| nx_galx_compact.nx | one-shot driver: fold the galx-prod store's many one-seg-per-image segments | 34 | 4 |
| nx_galx_durbin.nx | standalone refresher: (re)build galx_dur.bin from galx_dur.raw so the gallery's | 28 | 3 |
| nx_galx_durbin_gate.nx | sovereign gate for nx_galx_durbin_lib. Writes a crafted galx_dur.raw fixture | 106 | 8 |
| nx_galx_durbin_lib.nx | O(1) duration lookup for the gallery .ts seekbar. Compacts galx_dur.raw | 134 | 7 |
| nx_galx_durindex.nx | build the per-recording DURATION index so the gallery can SORT BY RUNTIME for | 144 | 10 |
| nx_galx_fill.nx | SOVEREIGN Nishi corpus-fill batch-runner. Replaces the bash split/cp/awk loop: | 67 | 5 |
| nx_galx_idx_backfill.nx | SOVEREIGN background indexer: build a NXVI index | 105 | 7 |
| nx_galx_index.nx | SOVEREIGN gallery index builder (replaces the bash build_view_index.sh; all logic | 148 | 8 |
| nx_galx_lora_export.nx | SOVEREIGN LoRA dataset export. Reads the favorite flag set (galx_fav.log, | 165 | 9 |
| nx_galx_manga.nx | MANGA collection + reader lib for the gallery (media-manager -> gallery migration). | 148 | 9 |
| nx_galx_media_census.nx | SOVEREIGN media-delivery census for the gallery (operator 2026-06-23: | 153 | 12 |
| nx_galx_models.nx | SOVEREIGN "who is who" index for recordings. The cam archive is foldered by person | 112 | 6 |
| nx_galx_monitor.nx | SOVEREIGN media CONSISTENCY monitor (operator 2026-06-23: "the system still acts | 146 | 7 |
| nx_galx_repath.nx | SOVEREIGN substring replacer for one-time storage repath (local C: -> NAS). | 75 | 2 |
| nx_galx_search_index.nx | SOVEREIGN search-index builder. For each ingested image it reads the PNG's | 162 | 9 |
| nx_galx_seek_test.nx | SOVEREIGN HTTP test client for the gallery daemon (replaces curl). | 64 | 7 |
| nx_galx_shell_jslint.nx | SOVEREIGN JS syntax sanity guard for the gallery shell's inline <script>. | 192 | 4 |
| nx_galx_shell_jslint_gate.nx | proves the sovereign JS guard (1) CATCHES the exact bug that broke the gallery, | 68 | 3 |
| nx_galx_sortindex.nx | LIBRARY (no main -> build the _gate): build a SORT-INDEX over the gallery's | 468 | 29 |
| nx_galx_sortindex_gate.nx | fixture gate for the sort-index builder. Proves: correct ASCENDING order, | 72 | 6 |
| nx_galx_sortserve_gate.nx | SOVEREIGN gate for the gallery's sort-by-key serve handlers (ss_emit_size / | 122 | 8 |
| nx_galx_tags.nx | sovereign tag store for the gallery (media-manager migration: tags were missing). | 321 | 12 |
| nx_galx_tags_gate.nx | sovereign gate for nx_galx_tags. Builds a tag-op log via tg_op_line (dogfood), | 91 | 5 |
| nx_galx_thumb.nx | SOVEREIGN gallery THUMBNAIL generator. Composes the existing sovereign codecs | 202 | 8 |
| nx_galx_thumb_heal.nx | SELF-HEALING DELIVERY for the gallery (operator 2026-06-23 msg#1: "get our | 155 | 11 |
| nx_galx_thumb_migrate.nx | SOVEREIGN move of the thumbnail cache from local disk to the NAS, so the | 104 | 9 |
| nx_galx_thumb_oneshot.nx | SOVEREIGN gallery THUMBNAIL generator (kills the full-res-into-160px-cells waste). | 110 | 4 |
| nx_galx_thumb_prewarm.nx | pre-warm the gallery thumbnail cache so thumbs are INSTANT from the first | 92 | 5 |
| nx_galx_upscale.nx | SOVEREIGN gallery image UPSCALER. Composes the existing sovereign codecs | 117 | 6 |
| nx_galx_vid_audit.nx | SOVEREIGN audit of the gallery's VIDEO delivery (operator 2026-06-23: "majority | 127 | 10 |
| nx_galx_vidindex.nx | SOVEREIGN recordings index. Recursively scans the cam-recording archive | 181 | 11 |
| nx_galx_vidindex_nas.nx | NAS-NATIVE recordings reindex (operator 2026-06-23: "investigate and resolve"). | 93 | 7 |
| nx_galx_vidoff.nx | SOVEREIGN O(1) line-offset index for galx_vid_paths.tsv. | 48 | 4 |
| nx_galx_vidoff_nas.nx | NAS-native rebuild of galx_vid_off.bin (the id->byte-offset index) so the | 36 | 4 |