nx_apertus_tree_fetch.nx
buildroot/runtime/nx_apertus_tree_fetch.nx
about
nx_apertus_tree_fetch.nx -- ORGAN A of the sovereign enumerate (SRP: TLS/transport only). Fetches the HF repo
tree API for the ungated Apertus-8B-Instruct over our own TLS-1.3 and writes the RAW response to
knowledge/fetched/apertus_tree.raw for ORGAN B (nx_apertus_tree_parse) to decode+parse. Kept SEPARATE from the
parser because the TLS stack + nx_hf_tree_parse in one compilation unit clash in nx_cc (empty .s); splitting the
concerns compiles cleanly (this unit imports exactly what the proven config.json fetch does). license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_x509_trust_store.nxnx_trust_store_load_from_certdata.nxnx_https_fetch_follow.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 10 | const K_MAGIC_4194304: i64 = 4194304 |
functions
| 12 | func w(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 13 | func wn(v: i64) -> i64 { var m: i64=v; if m<0{w("-" as *u8);m=0-m} let t:*u8=sys_mmap(24); 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; let o:*u8=sys_mmap(24); while i<k{o[i]=t[k-1-i];i=i+1} sys_write(1,o,k); return 0 } |
| 15 | func main() -> i64 |