code wiki / _hdl_build / nx_hr_team.nx

nx_hr_team.nx

buildroot/runtime/_hdl_build/nx_hr_team.nx

4576 B87 linesdepth 11pulls 18 transitivereach 3 importersview sourcekind librarytopic hr
docsdependenciesstructsconstsfunctions

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

nx_hr.nx nx_syscalls.nx nx_hr_team.nx nx_hr_autoraci.nx nx_hr_team_gate.nx

imports: nx_hr.nxnx_syscalls.nx

imported by: nx_hr_autoraci.nxnx_hr_team_gate.nx

structs

none

consts

13const HRT_A: i64 = 65 // 'A' Accountable
14const HRT_R: i64 = 82 // 'R' Responsible

functions

17func hrt_count_letter(raci_path: *u8, area: *u8, arealen: i64, letter_char: i64) -> i64
33func hrt_raci_complete(raci_path: *u8, area: *u8, arealen: i64) -> i64
39func hrt_staffing_gap(raci_path: *u8, area: *u8, arealen: i64) -> i64
45func hrt_pair_exists(path: *u8, key: *u8, keylen: i64, val: *u8, vallen: i64) -> i64
61func hrt_training_gap(req_path: *u8, skill_path: *u8, role: *u8, rolelen: i64, member: *u8, memberlen: i64) -> i64
77func hrt_role_req_count(req_path: *u8, role: *u8, rolelen: i64) -> i64