code wiki / _hdl_build / nx_hr_team.nx
nx_hr_team.nx
buildroot/runtime/_hdl_build/nx_hr_team.nx
about
nx_hr_team.nx -- NISHI HR, team-org module (S-class HR rung 2): OWN the RACI + detect STAFFING gaps + flag
TRAINING/competency gaps on the Nishi team. Composes nx_hr's record helpers. Registries (TSV, append-friendly):
RACI: area <TAB> role <TAB> letter (letter in R|A|C|I) -- who is Responsible/Accountable/Consulted/Informed
role-reqs: role <TAB> competency -- competencies a role REQUIRES (the training bar)
member-skill:member <TAB> competency -- competencies a member has ATTESTED
The RACI invariant (the thing HR keeps GREEN): every active area has EXACTLY ONE Accountable role AND >=1
Responsible role. A violation = a STAFFING GAP HR flags. A member missing a competency their role requires =
a TRAINING GAP HR flags. Deny/flag-by-default: an area with no A, or a member with no attestation, flags.
license_tier: ORIGINAL
dependencies 2 imports · 2 importers
imports: nx_hr.nxnx_syscalls.nx
imported by: nx_hr_autoraci.nxnx_hr_team_gate.nx
structs
| none |
consts
| 13 | const HRT_A: i64 = 65 // 'A' Accountable |
| 14 | const HRT_R: i64 = 82 // 'R' Responsible |
functions
| 17 | func hrt_count_letter(raci_path: *u8, area: *u8, arealen: i64, letter_char: i64) -> i64 |
| 33 | func hrt_raci_complete(raci_path: *u8, area: *u8, arealen: i64) -> i64 |
| 39 | func hrt_staffing_gap(raci_path: *u8, area: *u8, arealen: i64) -> i64 |
| 45 | func hrt_pair_exists(path: *u8, key: *u8, keylen: i64, val: *u8, vallen: i64) -> i64 |
| 61 | func hrt_training_gap(req_path: *u8, skill_path: *u8, role: *u8, rolelen: i64, member: *u8, memberlen: i64) -> i64 |
| 77 | func hrt_role_req_count(req_path: *u8, role: *u8, rolelen: i64) -> i64 |