code wiki / _hdl_build / nx_media_register.nx

nx_media_register.nx

buildroot/runtime/_hdl_build/nx_media_register.nx

6328 B105 linesdepth 4pulls 6 transitivereach 0 importersview sourcekind tooltopic media
docsdependenciesstructsconstsfunctions

about

nx_media_register.nx -- GOVERNED registration of the ENTITY MEDIA GATHER rung (CAPREG 223). Engineer verdict = the REAL gathered artifacts on disk (no typed scores): the provenance ledger has a VERIFIED row, the content-addressed image file exists non-empty under knowledge/media/, the searchable dossier doc exists, AND the live search front door returns the dossier for the entity query (fork/exec the real CLI). The hash self-verification happened at gather time (re-read + re-hash, printed VERIFIED); this gate re-proves the durable trail. DUAL-WRITES CAPREG to /tmp + knowledge/status/cap_registry_durable.log. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_cap_register.nx nx_pm_review_log.nx nx_syscalls.nx nx_media_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 mr_contains sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close mr_exists_nonempty sys_mmap ↻ sys_read_file ↻ mr_run_search 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 ↻ ig_engineer ig_council ig_documented ig_decision pm_open sys_openat_append pm_deliverable pm_flag pm_w sys_write ↻ pm_cstr_len pm_gap pm_flag ↻ sys_close ↻ sys_exit ↻

structs

none

consts

12const MR_LAYER: i64 = 2
13const MR_STATUS: i64 = 2
14const MR_IDX: i64 = 223
15const MR_NLAYERS: i64 = 6

functions

17func mr_exists_nonempty(path: *u8) -> i64
called by 1: main calls 2: sys_mmapsys_read_file
25func mr_contains(path: *u8, needle: *u8) -> i64
called by 1: main calls 2: sys_mmapsys_read_file
63func main() -> i64