code wiki / (root) / nx_raci_sov.nx

nx_raci_sov.nx

buildroot/runtime/nx_raci_sov.nx

11367 B215 linesdepth 3pulls 3 transitivereach 17 importersview sourcekind librarytopic raci
docsdependenciesstructsconstsfunctions

about

nx_raci_sov.nx -- get the conductor's RACI OFF the TSV into the SOVEREIGN seg_store (operator: "get us off tsv and all the other third party bullshit"). The conductor (nx_harmony_conduct) + the pulse governance read role accountability from knowledge/registry/nishi_raci.tsv -- a third-party flat TSV. This migrates those rows into knowledge/store/raci (sovereign seg_store) via the PROVEN nx_role_store_migrate pattern (read -> seed -> byte-verify every row), and answers `raci_is_accountable(role)` FROM THE STORE -- no TSV. It also FIXES a latent bug: the hardcoded owner list said {engineer,doctor,researcher,adversarial,pm} but the real contract's Accountable roles are {researcher,workstream,doctor,engineer,publisher,supervisor,pm, warden} -- "adversarial" is NOT a RACI role, and workstream/publisher/supervisor/warden were missing. Sovereign. license_tier: ORIGINAL

dependencies 2 imports · 9 importers

nx_seg_store.nx nx_syscalls.nx nx_raci_sov.nx nx_conductor_registry.nx nx_crew_serve.nx nx_harmony_conduct.nx nx_markets_member.nx nx_orch_dashboard.nx nx_orchestrate_raci.nx nx_pm.nx nx_raci_sov_gate.nx nx_team_harmony.nx

imports: nx_seg_store.nxnx_syscalls.nx

imported by: nx_conductor_registry.nxnx_crew_serve.nxnx_harmony_conduct.nxnx_markets_member.nxnx_orch_dashboard.nxnx_orchestrate_raci.nxnx_pm.nxnx_raci_sov_gate.nxnx_team_harmony.nx

structs

none

consts

13const RACI_TSV: *u8 = "knowledge/registry/nishi_raci.tsv"
14const RACI_STORE: *u8 = "knowledge/store/raci"

functions

17func rsv_key(k: i64, out: *u8) -> i64
40func raci_migrate(totp: *i64, verp: *i64) -> i64
75func rsv_field(line: *u8, len: i64, idx: i64, out: *u8) -> i64
83func rsv_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 }
84func rsv_has(s: *u8, ch: i64) -> i64 { var i: i64=0; while s[i]!=(0 as u8){ if (s[i] as i64)==ch {return 1} i=i+1 } return 0 }
88func raci_is_accountable(role: *u8) -> i64
126func raci_row_h(h: *i64, k: i64, out: *u8, cap: i64) -> i64
145func raci_row(k: i64, out: *u8, cap: i64) -> i64
called by 1: main calls 3: ss_openraci_row_hss_close
156func raci_accountable_for(activity: *u8, out_role: *u8) -> i64
193func raci_read_all(out: *u8, cap: i64) -> i64