nx_ediscovery_lib.nx
buildroot/runtime/nx_ediscovery_lib.nx
about
nx_ediscovery_lib.nx -- F994: E-DISCOVERY PRODUCTION SCREEN (EDRM review -> produce), on the CID plane.
The catastrophic e-discovery failure is INADVERTENT DISCLOSURE: a privileged document handed to
opposing counsel by accident. Firms spend fortunes on review to prevent it and still fail, because
production is treated as a DENY-list (produce everything except what we remembered to withhold). The
sovereign inversion: production is an ALLOW-LIST. A document is producible ONLY if it was affirmatively
reviewed and marked RESPONSIVE. Privileged, non-responsive, and -- critically -- UNREVIEWED documents
are all non-producible BY DEFAULT. You cannot produce what you have not screened, so the accident
cannot happen by omission.
FAIL-CLOSED DEFAULT: a document with no classification is UNREVIEWED, and unreviewed is not producible.
An unknown/garbage status is likewise not producible -- only the exact string "responsive" opens the gate.
ed_screen counts every non-producible document in a proposed production set; a set is safe to produce
ONLY when that count is zero. ed_privilege_count feeds the privilege log (the withheld-doc deliverable).
SCALE ENVELOPE (declared): ed_screen is O(set size) reg_get lookups. DRY: composes nx_matter_lib
(reg_put/reg_get/mt_field/canon_encode). license_tier: ORIGINAL LIB.
dependencies 1 imports · 1 importers
imports: nx_matter_lib.nx
imported by: nx_ediscovery_gate.nx
structs
| none |
consts
| 22 | const ED_PRODUCIBLE: i64 = 1 |
functions
| 25 | func ed_classify(prefix: *u8, doc_id: *u8, status: *u8) -> i64 |
| 36 | func ed_status(prefix: *u8, doc_id: *u8, out: *u8) -> i64 |
| 51 | func ed_is_producible(prefix: *u8, doc_id: *u8) -> i64 |
| 60 | func ed_screen(prefix: *u8, doc_ids: *i64, n: i64) -> i64 |
| 71 | func ed_set_clean(prefix: *u8, doc_ids: *i64, n: i64) -> i64 |
| 77 | func ed_privilege_count(prefix: *u8, doc_ids: *i64, n: i64) -> i64 |