nx_atlas_citeverify2.nx
buildroot/runtime/nx_atlas_citeverify2.nx
about
nx_atlas_citeverify2.nx -- atlas-hygiene MULTI-AUTHORITY CITATION FIREWALL (beyond-SOTA / Callout 1+).
Cross-checks a DOI against TWO independent authorities: Crossref AND OpenAlex. VERIFIED (exit 0) only if
BOTH return 200; QUARANTINE (exit 5) if either misses -- resilient to one authority being down or wrong,
which a single-source check is not. Forks the deployed nx_https_get.elf twice. license_tier: ORIGINAL expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_tool_run.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
| 7 | const K_MAGIC_1048576: i64 = 1048576 |
| 8 | const K_MAGIC_1024: i64 = 1024 |
functions
| 9 | func cv_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 10 | func cv_puts(s: *u8) -> i64 { sys_write(1, s, cv_slen(s)); return 0 } |
| 11 | func cv_contains(buf: *u8, n: i64, needle: *u8) -> i64 |
| 23 | func cv_append(dst: *u8, di: i64, src: *u8) -> i64 called by 1: main |
| 29 | func cv_fetch(url: *u8, out: *u8, olen: *i64) -> i64 |
| 37 | func main(argc: i64, argv: *i64) -> i64 |