code wiki / _hdl_build / nx_cms_rungs_register.nx

nx_cms_rungs_register.nx

buildroot/runtime/_hdl_build/nx_cms_rungs_register.nx

7070 B107 linesdepth 4pulls 7 transitivereach 0 importersview sourcekind tooltopic cms
docsdependenciesstructsconstsfunctions

about

nx_cms_rungs_register.nx -- registers the CMS arc's C7/C8/C9/C10 rungs (landed 2026-06-10) via the Librarian's atomic allocator (cl_next_idx + dual-write). ENGINEER evidence here = the durable gate log itself: the latest row for EACH rung must say verdict=PASS (the rows were appended by the re-runnable gates minutes ago; absent/failing rows refuse registration), plus a fresh arc-board re-route. RACI: caps named for their role's verb (BLD = Builder authored, VER = Engineer gate). license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_cap_register.nx nx_capreg_librarian.nx nx_syscalls.nx nx_cms_rungs_register.nx

imports: nx_cap_register.nxnx_capreg_librarian.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 crr_build_run sys_fork sys_openat_wr sys_dup3 sys_mmap sys_execve sys_exit sys_wait4 sys_mmap ↻ sys_openat_rd sys_read sys_close crr_row_pass crr_find_last cr_w sys_write cr_wn sys_mmap ↻ sys_write ↻ ig_engineer ig_decision ig_council sys_exit ↻ cr_can_register sml_check_cap sml_layer_valid sml_status_valid cl_next_idx cl_max_idx sys_mmap ↻ sys_read_file sys_openat_rd ↻ sys_lseek sys_mmap ↻ sys_read ↻ sys_close ↻ cl_is_entry cl_parse_int cl_line_end

structs

none

consts

10const K_MAGIC_262144: i64 = 262144

functions

12func crr_find_last(buf: *u8, len: i64, pat: *u8) -> i64
called by 1: crr_row_pass
32func crr_row_pass(buf: *u8, len: i64, rowpat: *u8) -> i64
called by 1: main calls 1: crr_find_last
47func crr_build_run(name: *u8) -> i64
64func main() -> i64