code wiki / (root) / nx_atlas_sweep.nx

nx_atlas_sweep.nx

buildroot/runtime/nx_atlas_sweep.nx

4860 B124 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic atlas
docsdependenciesstructsconstsfunctions

about

nx_atlas_sweep.nx -- atlas-hygiene AUTO-SWEEP: judges EVERY real node in a plane, not hand-passed args. Forks nx_store_put.elf to load a seg-store plane, parses each row, applies the confidence+provenance guards to the node's OWN stored values, emits a per-node verdict + tally. Read-only (never-brick). The guards run over the REAL graph automatically -- via fork-capture, no store-lib import needed. argv: [plane-prefix] default knowledge/store/atlashyg- . license_tier: ORIGINAL expect_exit: 0

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_tool_run.nx nx_atlas_sweep.nx

imports: nx_syscalls.nxnx_tool_run.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 tr_run_capture sys_mmap ↻ sys_pipe2 sys_fork sys_close sys_dup3 sys_execve_clean sys_close ↻ sys_execve sys_exit sys_read sys_wait4 wait_exit_code sw_puts sys_write sw_slen sw_streq sw_conf_permille sw_puti sys_write ↻ sys_mmap ↻ sys_exit ↻

structs

none

consts

8const K_MAGIC_2097152: i64 = 2097152

functions

9func sw_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 1: sw_puts
10func sw_puts(s: *u8) -> i64 { sys_write(1, s, sw_slen(s)); return 0 }
called by 1: main calls 2: sys_writesw_slen
11func sw_streq(a: *u8, b: *u8) -> i64
called by 1: main
20func sw_puti(v: i64) -> i64
called by 1: main calls 2: sys_writesys_mmap
32func sw_conf_permille(s: *u8) -> i64
called by 1: main
51func main(argc: i64, argv: *i64) -> i64