code wiki / _hdl_build / nx_eco_rooted_set.nx

nx_eco_rooted_set.nx

buildroot/runtime/_hdl_build/nx_eco_rooted_set.nx

5047 B89 linesdepth 5pulls 5 transitivereach 0 importersview sourcekind tooltopic eco
docsdependenciesstructsconstsfunctions

about

nx_eco_rooted_set.nx -- emit the FROM-GOD ROOTED-SET: every organ traceable to the god component of the family graph (the architect/genealogist's graph query that feeds HR's access plane, nx_hr_graph_access). Rooted = undirected-connected to god (the max-fan-in node) = NOT an [I] island. This is the SSOT projection "what has provenance": HR may assign access only to names in this set (provenance outranks authority). Read-only over the eco_graph store (does NOT rebuild it, does NOT edit the sibling's honesty tool -- it replicates the exact god-component BFS honesty uses, as a standalone emitter). stdout = one rooted name per line (a clean rooted-set file); stderr = the count summary. Optional 2nd arg = island-out-file: also emit the UN-rooted islands (the true-orphan worklist, provenance- grounded) -- the janitor/architect's precise sprawl rock. This DISAMBIGUATES "orphan": a true island (undirected-disconnected from god) is un-rooted; a childless-but-imported organ is rooted (has provenance, just no descendants). The classifier's inflated orphan count conflates the two; THIS counts only true islands. nx_eco_rooted_set <store-prefix> [island-out-file] license_tier: ORIGINAL module: nishi-core.architect.rooted_set

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_eco_graph.nx nx_eco_rooted_set.nx

imports: nx_syscalls.nxnx_eco_graph.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main rs_e sys_write 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 ↻ sys_mmap ↻ sys_write ↻ sys_openat_wr sys_close rs_en sys_mmap ↻ sys_write ↻

structs

none

consts

none

functions

16func rs_e(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(2, s, n); return 0 }
called by 1: main calls 1: sys_write
17func rs_en(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
24func main(argc: i64, argv: *i64) -> i64