code wiki / _hdl_build / nx_eco_graph_honesty.nx
nx_eco_graph_honesty.nx
buildroot/runtime/_hdl_build/nx_eco_graph_honesty.nx
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
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
structs
| none |
consts
| none |
functions
| 16 | func hw2(s: *u8) -> i64 { var n:i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 17 | func 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 } |
| 18 | func hname(g: *EcoGraph, idx: i64) -> i64 |
| 26 | func histe(g: *EcoGraph, idx: i64) -> i64 called by 1: main |
| 49 | func hprefix(g: *EcoGraph, idx: i64, out: *u8) -> i64 called by 1: main |
| 64 | func h_contains(buf: *u8, len: i64, needle: *u8, nlen: i64) -> i64 called by 1: h_selftest |
| 77 | func h_srcpath(g: *EcoGraph, idx: i64, pre: *u8, out: *u8) -> i64 called by 1: h_selftest |
| 89 | func h_selftest(g: *EcoGraph, idx: i64) -> i64 |
| 107 | func main(argc: i64, argv: *i64) -> i64 |