code wiki / _hdl_build / nx_ncf_scaffold_register.nx

nx_ncf_scaffold_register.nx

buildroot/runtime/_hdl_build/nx_ncf_scaffold_register.nx

4777 B56 linesdepth 4pulls 7 transitivereach 0 importersview sourcekind tooltopic ncf
docsdependenciesstructsconstsfunctions

about

nx_ncf_scaffold_register.nx -- registers the DECLARED-SCAFFOLD pe8 field-kinds 6 (KEYWORD_NUL_SPLIT) + 7 (CRC32_TRAILER) with author=tutor (X-AUT-002a vocab) so the A2 autonomy meter DEBITS them: counted in auth_all (the ` author=` denominator, nx_autonomy_meter:108) but NEVER in auth_emit (` author=emitter`, :109). These are HAND-WRITTEN seed primitives (operator-authorized R3, X-AUT-NCF-001); tagging them author=emitter to inflate A2 would be the cheat and is REFUSED. Modeled exactly on nx_autmeter_register (the accepted tutor-tag pattern, author=tutor-with-team -> debited). GUARD: the SEED proof re-runs GREEN at register time -- it (a) drives pe8 to AUTHOR the generic _pe_kw_crc [KEYWORD_NUL_SPLIT][CRC32_TRAILER] record + proves the malformed-table rails REFUSE, then (b) builds+runs the organ-authored KAT (emitter-computed crc trailer + crc-tamper arm) sovereignly. Refuse to register a red scaffold. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_cap_register.nx nx_capreg_librarian.nx nx_syscalls.nx nx_ncf_scaffold_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 sr_run sys_fork sys_openat_wr sys_dup3 sys_mmap sys_execve sys_exit sys_wait4 cr_w sys_write sys_exit ↻ 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 cl_register_dual sys_openat_append cl_w sys_write ↻ cl_wn nxi_fd sys_mmap ↻ ccz_cat_num sys_write ↻ sys_munmap sys_close ↻ cr_wn sys_mmap ↻ sys_write ↻

structs

none

consts

none

functions

18func sr_run(name: *u8) -> i64
38func main() -> i64