code wiki / _hdl_build / nx_fab_register.nx

nx_fab_register.nx

buildroot/runtime/_hdl_build/nx_fab_register.nx

3646 B75 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_fab_register.nx -- GOVERNED registration of the fab-slice capability (the Librarian's path, not Claude hand-editing the registry). Evidence is REAL, not asserted: this runner fork/execs the actual /tmp/nx_fab_slice_test.elf and derives the Engineer verdict from the raw wait4 status (signal-kill and non-zero exit both refuse). Council = separation of duties (author_id != admitter_id) + additive-only. Docs = the Scribe's CAPABILITY_CATALOG.md row (checked by open()). Only IG_INGEST writes the CAPREG line. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_cap_register.nx nx_syscalls.nx nx_fab_register.nx

imports: nx_cap_register.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 sys_openat_rd sys_close fr_run_status sys_fork sys_mmap sys_execve sys_exit sys_wait4 ig_engineer cr_w sys_write cr_wn sys_mmap ↻ sys_write ↻ ig_documented ig_council ig_decision ig_held_reason sys_exit ↻ cr_can_register sml_check_cap sml_layer_valid sml_status_valid cr_refusal_reason sml_check_cap ↻ sys_openat_append cr_write_entry cr_w ↻ cr_wn ↻

structs

none

consts

10const FR_LAYER: i64 = 2 // GEN generator (geometry -> toolpath synthesis)
11const FR_STATUS: i64 = 2 // ECO_PROVEN
12const FR_IDX: i64 = 208 // next after CAPREG idx=207
13const FR_NLAYERS: i64 = 6

functions

16func fr_run_status(path: *u8) -> i64
32func main() -> i64