code wiki / store
topic: store
23 modules sharing the store name family (derived from the tree's prefix discipline).
The 'store' topic family in the Nishi sovereign ecosystem manages seg-stores through a suite of modules designed for cataloging, collision checking, and data integrity. The nx_store_catalog discovers and reports on all seg_stores, while nx_store_collision_check ensures consistency in exported views. nx_store_compact optimizes storage by collapsing redundant data, maintaining efficiency and reliability across the ecosystem's data lifecycle.
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 |
|---|---|---|---|
| nx_store_catalog.nx | the sovereign DATA CATALOG: discover every seg_store under knowledge/store/ and report | 116 | 6 |
| nx_store_collision_check.nx | acl lane F745. Scans a TAB-separated store VIEW (export) for | 93 | 6 |
| nx_store_collision_check_gate.nx | gate for acl F745. Fixtures built with explicit tab(9)/nl(10) | 67 | 8 |
| nx_store_compact.nx | collapse a quadratic seg-store plane back to O(rows). RK013 sev9 / F829. | 398 | 11 |
| nx_store_fold_beat.nx | seg-store plane bloat auto-heal (seq1311). The toolreg plane silently | 223 | 11 |
| nx_store_hist.nx | GENERIC seg-store plane column HISTOGRAM. Reads a plane FULLY (internal sts_load, | 139 | 4 |
| nx_store_id_lookup_lib.nx | Candidate exact row-ID lookup. Read-only; no store mutation or hardware writes. | 54 | 3 |
| nx_store_id_probe.nx | 36 | 1 | |
| nx_store_ingest.nx | 5-stage ingest, no Claude logic | 321 | 5 |
| nx_store_ingest_cid_gate.nx | R1 gate: proves the `prompt` factor is now in the generation-CID, | 127 | 8 |
| nx_store_ingest_test.nx | 352 | 4 | |
| nx_store_janitor.nx | reclaim SUPERSEDED seg-store segment files. The janitor pass that seq724/RK013 | 428 | 12 |
| nx_store_janitor_beat.nx | standing reclamation of SUPERSEDED seg-store segment files. | 179 | 6 |
| nx_store_janitor_gate.nx | THE JANITOR GATE: the seg-store's most destructive standing beat (it moves | 239 | 13 |
| nx_store_lineage.nx | the LINEAGE rung over the store catalog (DataHub/OpenLineage-class): for each organ, | 145 | 9 |
| nx_store_put.nx | THE UNIFIED INFORMATION-PLANE WRITE VERB (operator 2026-07-18: "it shouldnt | 813 | 17 |
| nx_store_put_gate.nx | gate for the unified information-plane write verb (nx_store_put). | 233 | 4 |
| nx_store_put_load_file_t196.nx | THE UNIFIED INFORMATION-PLANE WRITE VERB (operator 2026-07-18: "it shouldnt | 858 | 21 |
| nx_store_put_shrink_gate.nx | proves the shrink-refusal guard in nx_store_put's put verb BITES. | 238 | 7 |
| nx_store_query.nx | the FRONT DOOR to the sovereign information store | 212 | 5 |
| nx_store_seed.nx | THE generic "migrate any flat plane into a sovereign seg-store" CLI | 55 | 2 |
| nx_store_seed_lib.nx | THE canonical GENERIC store-seed codec (operator 2026-07-17: unify the | 696 | 19 |
| nx_store_sync.nx | sovereign reusable deploy tool: sync the native content-addressed store | 83 | 6 |