code wiki / docportal

topic: docportal

20 modules sharing the docportal name family (derived from the tree's prefix discipline).

The **docportal** topic family provides a secure, sovereign framework for managing document portals within the Nishi ecosystem, ensuring authenticity, authorization, and integrity across all operations. The **nx_docportal_admin_daemon** serves as the central authority, while the **nx_docportal_admin_gate** enforces measured access controls. The **nx_docportal_at_rest_gate** verifies cryptographic proofs for data at rest, reinforcing the system's trustworthiness and compliance with the ecosystem's security model.

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_docportal_admin_daemon.nxthe admin.<domain> DOCUMENT-PORTAL daemon, on the CANONICAL ecosystem auth109922
nx_docportal_admin_daemon_gate.nxSOVEREIGN in-process referee for the admin.<domain> document-portal daemon27310
nx_docportal_admin_gate.nxMEASURED gate for the admin.<domain> document-portal handler. Self-contained1487
nx_docportal_admin_lib.nxthe admin.<domain> DOCUMENT-PORTAL request handler (operator's global split:23313
nx_docportal_aiblog_lib.nxthe POLICY-GATED AI-blog writer (operator: "whether an ai writer can publish blog653
nx_docportal_at_rest_gate.nxMEASURED proof that the P1 at-rest SWAP fired at the REAL store site: it drives14311
nx_docportal_authz_route_gate.nxMEASURED end-to-end proof that the P2 wiring fired at the REAL da_handle15511
nx_docportal_exceed_census.nxthe MEASURED s-class-exceed scorecard for the per-domain document portal1008
nx_docportal_ingest.nxCLI: UPLOAD one document file into a domain's public|private shard (the operator's464
nx_docportal_ingest_gate.nxthe REAL, MEASURED gate for the per-domain document-portal ingest primitive.1337
nx_docportal_lib.nxshared core for the PER-DOMAIN DOCUMENT PORTAL (operator 2026-06-28: "a document portal21616
nx_docportal_multipart_gate.nx1259
nx_docportal_policy_gate.nxMEASURED gate for OWNER USAGE POLICY enforcement (operator: "lawyers or users on1258
nx_docportal_search_gate.nxEND-TO-END measured gate: a document UPLOADED through the portal is findable on1206
nx_docportal_search_seg.nxSOVEREIGN seg_store-native onsite search.378080
nx_docportal_search_seg_gate.nxGATE for the SOVEREIGN seg_store-native onsite search (nx_docportal_search_seg).9379
nx_docportal_search_serve.nxR2: the PUBLIC /search serve handler over the SOVEREIGN seg_store search.167951
nx_docportal_search_serve_gate.nxGATE for R2 (dss_serve). Writes a test PUBLIC shard, then feeds crafted5387
nx_docportal_search_serve_snip_20260912.nxR2: the PUBLIC /search serve handler over the SOVEREIGN seg_store search.126937
nx_docportal_search_sticky_gate.nxdoes the web-shard cache KEEP its working handle when a reopen2196