code wiki / _hdl_build / nx_internal_sweep_gate.nx

nx_internal_sweep_gate.nx

buildroot/runtime/_hdl_build/nx_internal_sweep_gate.nx

3495 B57 linesdepth 4pulls 7 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_internal_sweep_gate.nx -- the INTERNAL-ONLY S-class sweep (operator: "we need customer-facing AND internal-only s-class exceed"; "can a person understand all those"). Reads the CAPTURED REAL OUTPUT of the hidden tools (the census/PM scorecard, capability-audit, exceed-standard, clarity, researcher) and grades each on CLARITY (self- describing real words, not cryptic codes) + a clear human-readable VERDICT + lean size = "a person can understand it without a manual". A cryptic-log neg-control MUST be flagged not-S-class (proves the sweep discriminates). REUSE: nx_clarity. 100% sovereign. expect_exit: 0

dependencies 5 imports · 0 importers

nx_syscalls.nx nx_sitegate_emit_lib.nx nx_clarity.nx nx_exceed_standard.nx nx_brand_tokens.nx nx_internal_sweep_gate.nx

imports: nx_syscalls.nxnx_sitegate_emit_lib.nxnx_clarity.nxnx_exceed_standard.nxnx_brand_tokens.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap gw sys_write sweep_one sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close gw ↻ cl_word_count has bt_find bt_len gn sys_mmap ↻ sys_write ↻ gn ↻ es_is_sclass_exceed es_is_exceed_dim t_row gw ↻

structs

none

consts

none

functions

14func has(s: *u8, n: i64, lit: *u8) -> i64 { if bt_find(s, n, lit, bt_len(lit)) >= 0 { return 1 } return 0 }
called by 1: sweep_one calls 2: bt_findbt_len
17func sweep_one(path: *u8, name: *u8, expect: i64, tot: *i64) -> i64
36func main() -> i64