code wiki / _hdl_build / nx_raci_collab.nx
nx_raci_collab.nx
buildroot/runtime/_hdl_build/nx_raci_collab.nx
about
nx_raci_collab.nx -- structured inter-organ collaboration: organs INGEST each other's deliverables and
go BACK AND FORTH (feedback rounds) while keeping a CLEAN RACI (operator: "build their capabilities to
ingest and work together and go back and forth while still keeping a clean raci"). The rule that keeps
roles non-blurred: exactly ONE Accountable owns each decision; Consulted organs iterate two-way, but only
the Accountable COMMITS. Iteration is bounded -> escalate if it can't converge. license_tier: ORIGINAL
Composes the RACI doctrine (separation of duties) with the council/peer-review patterns.
dependencies 1 imports · 2 importers
imports: nx_syscalls.nx
imported by: nx_build_raci.nxnx_pm_decision_demo.nx
structs
| none |
consts
| 10 | const RACI_RESPONSIBLE: i64 = 1 // does the work |
| 11 | const RACI_ACCOUNTABLE: i64 = 2 // owns the decision -- exactly ONE per item |
| 12 | const RACI_CONSULTED: i64 = 3 // two-way feedback (the back-and-forth) |
| 13 | const RACI_INFORMED: i64 = 4 // one-way notification |
| 21 | const COLLAB_CONVERGED: i64 = 1 // Consulted organs satisfied -> Accountable commits |
| 22 | const COLLAB_ITERATE: i64 = 2 // open objections, rounds remain -> another revision |
| 23 | const COLLAB_ESCALATE: i64 = 3 // out of rounds, still contested -> escalate to council/operator |
functions
| 16 | func raci_clean(accountable_count: i64) -> i64 { if accountable_count == 1 { return 1 } return 0 } |
| 19 | func raci_may_commit(committer_role: i64) -> i64 { if committer_role == RACI_ACCOUNTABLE { return 1 } return 0 } |
| 26 | func collab_round(consulted_objections: i64, round: i64, max_rounds: i64) -> i64 called by 1: collab_run |
| 34 | func collab_run(initial_objections: i64, resolved_per_round: i64, max_rounds: i64, out_rounds: *i64) -> i64 |
| 50 | func collab_label(v: i64) -> *u8 called by 1: main |