code wiki / _hdl_build / nx_lineage_raci.nx
nx_lineage_raci.nx
buildroot/runtime/_hdl_build/nx_lineage_raci.nx
about
nx_lineage_raci.nx -- THE RESPONSIBILITY LINEAGE: marries the god-rooted genesis genealogy with team RACI
ownership. Operator 2026-06-25: "integrate the team from the god family history up -- who is responsible for
what kids in the whole lineage to the end." nx_genesis_trace proves every node ROOTS DOWN to god (orphans=0);
THIS organ proves every node ROOTS UP to exactly one accountable TEAM CHAIR (un-owned=0) -- responsibility
traceable god->leaf. It JOINS genesis_lineage.tsv (the family tree) with lineage_raci.tsv (the accountability
chart: axis|type -> chair), censuses ownership per chair, and NAMES any un-owned node (the actionable gap).
Anti-wave liar-kill: a synthetic node whose axis AND type are both unknown MUST flag un-owned, proving the
gap detector has teeth. Data-driven (Cardinal 11): a new lineage axis = a new chart row, no recompile.
Sovereign: nx_syscalls only (no gcc/sed/awk). main() is the self-validating gate. expect_exit: 0 license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_itoa_lib.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
| 12 | const LIN_MAGIC_1024: i64 = 1024 |
| 14 | const LIN_FILE: *u8 = "knowledge/registry/genesis_lineage.tsv" |
| 15 | const CHART_FILE: *u8 = "knowledge/registry/lineage_raci.tsv" |
functions
| 17 | func lr_puts(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 22 | func lr_putn(v: i64) -> i64 { nxi_out(v); return 0 } |
| 23 | func lr_streq(a: *u8, b: *u8) -> i64 { var i: i64=0; while a[i]!=(0 as u8){ if a[i]!=b[i]{return 0} i=i+1 } if b[i]!=(0 as u8){return 0} return 1 } |
| 26 | func lr_field(b: *u8, ls: i64, le: i64, f: i64) -> *u8 |
| 34 | func lr_rows(data: *u8, n: i64, rs: *i64, rl: *i64, cap: i64) -> i64 called by 1: main |
| 46 | func lr_lookup(keys: *i64, roles: *i64, nk: i64, needle: *u8) -> i64 |
| 52 | func lr_resolve(keys: *i64, roles: *i64, nk: i64, axis: *u8, typ: *u8) -> i64 |
| 61 | func main() -> i64 |