nx_raci_sov.nx
buildroot/runtime/nx_raci_sov.nx
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
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
| 13 | const RACI_TSV: *u8 = "knowledge/registry/nishi_raci.tsv" |
| 14 | const RACI_STORE: *u8 = "knowledge/store/raci" |
functions
| 17 | func rsv_key(k: i64, out: *u8) -> i64 |
| 40 | func raci_migrate(totp: *i64, verp: *i64) -> i64 |
| 75 | func rsv_field(line: *u8, len: i64, idx: i64, out: *u8) -> i64 |
| 83 | func 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 } |
| 84 | func 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 } |
| 88 | func raci_is_accountable(role: *u8) -> i64 |
| 126 | func raci_row_h(h: *i64, k: i64, out: *u8, cap: i64) -> i64 |
| 145 | func raci_row(k: i64, out: *u8, cap: i64) -> i64 |
| 156 | func raci_accountable_for(activity: *u8, out_role: *u8) -> i64 |
| 193 | func raci_read_all(out: *u8, cap: i64) -> i64 called by 7: cs_is_accountablecs_emit_raci_inlinehc_loadmainorch_rolesmain+1 calls 3: ss_openraci_row_hss_close |