code wiki / _hdl_build / nx_hr_entitle_provision.nx
nx_hr_entitle_provision.nx
buildroot/runtime/_hdl_build/nx_hr_entitle_provision.nx
about
nx_hr_entitle_provision.nx -- migrate the operator's entitlements (was knowledge/status/nishi_entitlements.tsv)
into the SOVEREIGN entitlement seg_store via he_ent_put, staged for deploy at the daemon's OLGD_ENT_PATH prefix.
IDEMPOTENT (he_ent_put dedups the exact triple, rule #10) -> safe to re-run. The daemon reads this store via
he_emit_super. NOTE: the elderwesto-keyed rows are now REDUNDANT (owner = superadmin by construction, auto-sees
everything via nx_hr_entitle) -- preserved here for a FAITHFUL migration (additive-only, #13); the organ is what
removes the per-resource grant drift going forward. [[feedback-no-3rd-party-tsv-sovereign-store]]
dependencies 3 imports · 0 importers
imports: nx_hr_entitle.nxnx_g_puts_lib.nxnx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 11 | func g_num(v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m}; let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=(48 as u8);k=1}; while m>0{t[k]=((48+(m%10)) as u8);m=m/10;k=k+1}; var i: i64=0; while i<k{bb[i]=t[k-1-i];i=i+1}; sys_write(1,bb,k); return 0 } |
| 13 | func main() -> i64 |