code wiki / _hdl_build / nx_hr_autoraci.nx

nx_hr_autoraci.nx

buildroot/runtime/_hdl_build/nx_hr_autoraci.nx

2458 B46 linesdepth 12pulls 19 transitivereach 1 importersview sourcekind librarytopic hr
docsdependenciesstructsconstsfunctions

about

nx_hr_autoraci.nx -- NISHI HR, rung B: AUTO-KEEP the RACI from the LIVE WORK. Sweeps the active work-areas (one per line; field0 = area name -- fed from the WMS workstream registry / board) against the RACI and flags every area that is NOT covered (no single Accountable + >=1 Responsible) as a real STAFFING GAP -- proactively, so HR catches "work is happening with nobody accountable" without anyone asking. Composes nx_hr_team's hrt_staffing_gap (the proven invariant). Emits a report `<area> <TAB> COVERED|GAP` per area + returns the gap count. The LIVE FEED = the areas file (the WMS emits its active stream/area names there). license_tier: ORIGINAL

dependencies 3 imports · 1 importers

nx_hr_team.nx nx_hr.nx nx_syscalls.nx nx_hr_autoraci.nx nx_hr_autoraci_gate.nx

imports: nx_hr_team.nxnx_hr.nxnx_syscalls.nx

imported by: nx_hr_autoraci_gate.nx

structs

none

consts

10const K_MAGIC_262144: i64 = 262144

functions

13func hra_emit_report(areas_path: *u8, raci_path: *u8, report_path: *u8) -> i64
35func hra_gap_count(areas_path: *u8, raci_path: *u8) -> i64