code wiki / _hdl_build / nx_ciq_submit.nx

nx_ciq_submit.nx

buildroot/runtime/_hdl_build/nx_ciq_submit.nx

3241 B38 linesdepth 6pulls 10 transitivereach 0 importersview sourcekind tooltopic ciq
docsdependenciesstructsconstsfunctions

about

nx_ciq_submit.nx -- routes the S-class-verified CIQ bundle THROUGH THE PUBLISHER (operator: "pass to the publisher who should opaque gate it behind the family level"). Calls pub_submit (the no-bypass LAW intake) for each artifact with a dest under the FAMILY-GATED route prefix /wiki/family/ (opaque gate = authz level>=2 on that prefix, the recon's building block) so the analysis parses out to the wiki engine behind family auth, NOT public. Policy "outward" => the publisher's governed loop HOLDS at stage until the operator approval token exists (the "publish" authorization checkpoint) -> no direct/unapproved push, by construction. Pre-req: run nx_ciq_publish (emits the bundle) + nx_ciq_sclass_gate GREEN first. license_tier: ORIGINAL expect_exit: 0

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_publisher.nx nx_ciq_submit.nx

imports: nx_syscalls.nxnx_publisher.nx

imported by: nobody (leaf or entry point)

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

main cw sys_write sub pub_submit pub_init pub_submit_to sys_mmap pub_sha_file sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close sha256_digest sys_mmap ↻ sha256_init sha256_update sha256_final sys_munmap pub_hexd pub_build_rec fa_cat fa_appendz fa_append sys_mmap ↻ sys_openat_append sys_flock fa_write_all sys_close ↻ fa_len pub_queue_default cw ↻ cn sys_mmap ↻ sys_write ↻ cn ↻ sys_exit

structs

none

consts

none

functions

11func cw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 2: submain calls 1: sys_write
12func cn(v: i64) -> i64 { let bb: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m;sys_write(1,"-" as *u8,1)} let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} var i: i64=0; while i<k{bb[i]=t[k-1-i];i=i+1} sys_write(1,bb,k); return 0 }
called by 2: submain calls 2: sys_mmapsys_write
15func sub(src: *u8, dest: *u8) -> i64
called by 1: main calls 3: pub_submitcwcn
22func main() -> i64
calls 4: cwsubcnsys_exit