code wiki / _hdl_build / nx_autonomy_register.nx

nx_autonomy_register.nx

buildroot/runtime/_hdl_build/nx_autonomy_register.nx

5532 B94 linesdepth 4pulls 6 transitivereach 0 importersview sourcekind tooltopic autonomy
docsdependenciesstructsconstsfunctions

about

nx_autonomy_register.nx -- GOVERNED registration of the autonomy rung-2 pair: nx_gate_triage (CAPREG 219) + nx_bless_compiler (CAPREG 220). ENGINEER verdicts, all mechanical: triage: exit == nonpass count must DISCRIMINATE compilers -- unfixed _offc -> 5 nonpass, fixed candidate -> 2 nonpass (the two known non-compiler reds: perceptual + math_games); bless: today it must REFUSE at the sovereign build step (exit 2, BLOCKED-BY-G1) AND leave _offc byte-identical (size compared before/after). The bless path itself is armed but unproven until G1 lands -- status reflects that honestly in the entry. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_cap_register.nx nx_pm_review_log.nx nx_syscalls.nx nx_autonomy_register.nx

imports: nx_cap_register.nxnx_pm_review_log.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main ar_run1 sys_fork sys_openat_wr sys_dup3 sys_mmap sys_execve sys_exit sys_wait4 cr_w sys_write cr_wn sys_mmap ↻ sys_write ↻ ar_filesize sys_openat_rd sys_mmap ↻ sys_read sys_close ig_engineer sys_openat_rd ↻ ig_documented sys_close ↻ ig_council ig_decision pm_open sys_openat_append pm_deliverable pm_flag pm_w sys_write ↻ pm_cstr_len sys_exit ↻ cr_can_register sml_check_cap sml_layer_valid sml_status_valid sys_openat_append ↻ cr_write_entry cr_w ↻

structs

none

consts

15const AR_MAGIC_65536: i64 = 65536
17const AR_LAYER: i64 = 4
18const AR_STATUS: i64 = 2
19const AR_NLAYERS: i64 = 6

functions

21func ar_run1(path: *u8, arg1: *u8) -> i64
37func ar_filesize(path: *u8) -> i64
48func main() -> i64