code wiki / (root) / nx_legaldocs_research.nx

nx_legaldocs_research.nx

buildroot/runtime/nx_legaldocs_research.nx

4137 B49 linesdepth 24pulls 155 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_legaldocs_research.nx -- THIN structured LEGAL-DOCUMENT-MANAGEMENT research source organ. COMPOSES nx_research_engine (the shared sovereign fetch->extract->bank; no copy-pasted loop, no flat TSV). Grounds the S-class-EXCEED per-domain document-portal census on REAL sourced facts about how legal sites/firms manage documents -- BOTH the PUBLIC visitor-facing side (published resources, web CMS, onsite full-text search) AND the PRIVATE client-confidential side (secure client portals, legal professional privilege, access control, encryption), plus the records/governance/e-discovery spine (retention, audit, never-delete). Banks clean .txt -> knowledge/library/ so nx_library_harvest_v2 indexes it + nx_search_cli queries it. PURPOSE (operator 2026-06-28): a per-domain document portal (upload -> onsite search), S-class EXCEED, benchmarked against how real legal sites manage public + private documents -- using the nishi researcher. Sources are canonical, fact-dense, static pages (sovereign TLS-1.3 fetch via nx_https_fetch_follow, redirect- following + HTML-stripped by the engine). Curated, NOT a mass-fetch -- structured sections with purpose. expect_exit: 0 license_tier: ORIGINAL (clone of nx_infomgmt_research; only the sources differ)

dependencies 1 imports · 0 importers

nx_research_engine.nx nx_legaldocs_research.nx

imports: nx_research_engine.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main rf_init nx_trust_store_load_from_c sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close nx_nss_certdata_parse sys_mmap ↻ _pat_class_cert _pat_value_octal _pat_end _find_newline _starts_with _parse_octal_line sys_mmap ↻ _is_space _decode_octal_escape _is_octal trust_store_alloc sys_mmap ↻ nx_x509_trust_store_load sys_mmap ↻ x509_parse sys_mmap ↻ asn1_cursor_init asn1_expect_tag sys_mmap ↻ asn1_read_tlv_header asn1_read_length x509_read_tlv sys_mmap ↻ asn1_expect_tag ↻ x509_read_alg_id sys_mmap ↻ asn1_expect_tag ↻ trust_store_add

structs

none

consts

15const K_MAGIC_8388608: i64 = 8388608

functions

17func main() -> i64