nx_capsweep.nx
buildroot/runtime/nx_capsweep.nx
about
nx_capsweep.nx -- CR1 of /compare/capregistry. ONE ROW PER UNIT, AND A RECONCILIATION THAT REFUSES.
nx_capsweep [execsurface.tsv] [tool_allowlist.conf] [cap_consent.log] [actlog.jrnl] [out.tsv]
WHY: three censuses of this estate publish three different denominators (2048 promoted artifacts, 2418
organs, 1295 registry rows), each internally reconciled and each correct about its own subject, and
NOTHING joins them per unit -- so the estate cannot state how many distinct units it has. This organ
answers exactly that and nothing else.
IT COLLECTS NOTHING. Every input is an artifact another census already wrote. That is deliberate: the
moment this grows a collector it becomes a fourth ruler that can disagree with the three it is joining.
EXITS: 0 the partition SUMS and the count is published | 1 it does NOT sum, so the count is REFUSED and
the residual is named | 3 an input was unreadable, so the answer is UNPROVEN rather than zero -- an
absent spine must abstain, never acquit, because 'zero dark' from an empty expectation reads as health.
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_capsweep_lib.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 20 | const CSO_OUT: i64 = 2097152 |
| 21 | const CSO_DEFAULT_SURF: *u8 = "knowledge/status/execsurface.tsv" |
| 22 | const CSO_DEFAULT_ALLOW: *u8 = "tool_allowlist.conf" |
| 23 | const CSO_DEFAULT_CONSENT: *u8 = "cap_consent.log" |
| 24 | const CSO_DEFAULT_ACTLOG: *u8 = "knowledge/status/actlog.jrnl" |
| 25 | const CSO_DEFAULT_TSV: *u8 = "knowledge/status/capsweep.tsv" |
| 26 | const CSO_DEFAULT_RESID: *u8 = "knowledge/status/capsweep_residual.txt" |
functions
| 28 | func cso_cat(o: *u8, at: i64, s: *u8) -> i64 called by 1: main |
| 35 | func cso_num(o: *u8, at: i64, v: i64) -> i64 |
| 48 | func cso_tab(o: *u8, at: i64) -> i64 { o[at] = 9 as u8; return at + 1 } called by 1: main |
| 50 | func cso_exists(path: *u8) -> i64 |
| 59 | func cso_mkpath(dst: *u8, name: *u8, sfx: *u8) -> i64 called by 1: main |
| 68 | func cso_nl(o: *u8, at: i64) -> i64 { o[at] = 10 as u8; return at + 1 } called by 1: main |
| 70 | func main(argc: i64, argv: *i64) -> i64 |