code wiki / (root) / nx_atlas_sweep.nx

nx_atlas_sweep.nx

buildroot/runtime/nx_atlas_sweep.nx

4860 B124 linesdepth 5pulls 5 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 nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ tr_run_capture sys_mmap ↻ sys_pipe2 sys_fork sys_close sys_dup3 sys_execve_clean sys_close_inherited sys_close_inherited_proc sys_openat_rd sys_mmap ↻ sys_getdents64 dirent_reclen sys_close ↻ sys_munmap sys_execve tr_exec_failed sys_write ↻ sys_exit ↻ sys_read sys_wait4 wait_status_rc wait_term_signal wait_exit_code

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