code wiki / _hdl_build / nx_eco_graph_honesty.nx

nx_eco_graph_honesty.nx

buildroot/runtime/_hdl_build/nx_eco_graph_honesty.nx

14358 B309 linesdepth 5pulls 6 transitivereach 0 importersview sourcekind tooltopic eco
docsdependenciesstructsconstsfunctions

about

nx_eco_graph_honesty.nx -- THE HONESTY SYSTEM (operator 2026-07-16: "the graph or family tree or whatever we call it is the ultimate honesty system"): a full-population mechanical audit of the ecosystem graph that FLAGS, by name, what a polite dashboard hides: [W] WEAK POINTS -- high blast-radius organs with ZERO validation (untested load-bearers, ranked) [A] AMPLIFIERS -- small direct fan-in but huge transitive reach (hidden exponential ripple) [C] COUPLING -- fan-out outliers (import too much; single-responsibility suspects) [I] ISLANDS -- true floaters: not even undirected-connected to the god component [R] RESEARCH SPACE-- orphan mass clustered by prefix (abandoned/unexplored wings, ranked) Composes the eco_graph store; complements nx_eco_graph_arch (cycles/PC/fan-in/depth = the shape) -- this is the per-organ WORKLIST layer. Also the drift-ratchet source: every count here is comparable run-over-run. Usage: nx_eco_graph_honesty <store-prefix> [instfile] license_tier: ORIGINAL expect_exit:0

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_eco_graph.nx nx_gate_verdict.nx nx_eco_graph_honesty.nx

imports: nx_syscalls.nxnx_eco_graph.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 eg_load sys_mmap sov_get_ints sys_mmap ↻ ss_get sys_mmap ↻ ss_scan sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn ss_scan_seglist ss_len sys_mmap ↻ ss_cat ss_readall ss_r32 sov_get_copy sys_mmap ↻ ss_get ↻ hw2 sys_write sys_mmap ↻ histe h_selftest sys_mmap ↻ h_srcpath sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close h_contains hn2 sys_mmap ↻ sys_write ↻ hname sys_write ↻ hprefix

structs

none

consts

none

functions

16func hw2(s: *u8) -> i64 { var n:i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 1: main calls 1: sys_write
17func hn2(v: i64) -> i64 { let b:*u8=sys_mmap(24); var m:i64=v; if m<0{sys_write(1,"-" as *u8,1);m=0-m} let t:*u8=sys_mmap(24); var k:i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} var j:i64=0; while j<k{b[j]=t[k-1-j];j=j+1} sys_write(1,b,k); return 0 }
called by 1: main calls 2: sys_mmapsys_write
18func hname(g: *EcoGraph, idx: i64) -> i64
called by 1: main calls 1: sys_write
26func histe(g: *EcoGraph, idx: i64) -> i64
called by 1: main
49func hprefix(g: *EcoGraph, idx: i64, out: *u8) -> i64
called by 1: main
64func h_contains(buf: *u8, len: i64, needle: *u8, nlen: i64) -> i64
called by 1: h_selftest
77func h_srcpath(g: *EcoGraph, idx: i64, pre: *u8, out: *u8) -> i64
called by 1: h_selftest
89func h_selftest(g: *EcoGraph, idx: i64) -> i64
107func main(argc: i64, argv: *i64) -> i64