code wiki / (root) / nx_privlog_gate.nx

nx_privlog_gate.nx

buildroot/runtime/nx_privlog_gate.nx

7461 B110 linesdepth 8pulls 14 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_privlog_gate.nx -- INDEPENDENT GATE: privilege assertion, waiver, and the FRCP 26(b)(5)(A) log. ZERO storage. Teeth: attorney-client needs ALL FIVE elements (a lawyer copied on a business email is NOT privileged); OPINION work product survives ANY showing of need and hardship while FACT work product yields to both; FRE 502(b) needs all THREE prongs or the disclosure is a waiver; and a withheld document with no log entry is counted as exposure, because withholding without logging is itself a route to waiver. The attorney-client test is swept EXHAUSTIVELY over all 32 element combinations and work product over every (tier x need x hardship) cell, so the invariants -- exactly one AC combination qualifies, and opinion work product is NEVER discoverable anywhere -- are proven rather than sampled. license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0

dependencies 2 imports · 0 importers

nx_privlog_lib.nx nx_gate_verdict.nx nx_privlog_gate.nx

imports: nx_privlog_lib.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main gv_ctr sys_mmap gv_head gv_puts sys_write pl_ac_pure pl_is1 gv_check gv_puts ↻ pl_ac_elements_pure pl_is1 ↻ pl_wp_discoverable_pure pl_is1 ↻ pl_wp_tier_pure pl_is1 ↻ pl_tier_label mt_catcopy pl_waived_pure pl_is1 ↻ pl_entry_missing_pure pl_is1 ↻ pl_entry_adequate_pure pl_is1 ↻ pl_unlogged_pure pl_log_adequate_pure pl_unlogged_pure ↻ pl_exposure_pure pl_unlogged_pure ↻ pl_may_withhold_pure pl_is1 ↻ pl_wp_discoverable_pure ↻ gv_verdict gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_journal sys_openat_append

structs

none

consts

none

functions

16func main(argc: i64, argv: *i64) -> i64