code wiki / (root) / nx_atlas_citeverify.nx

nx_atlas_citeverify.nx

buildroot/runtime/nx_atlas_citeverify.nx

2465 B63 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic atlas
docsdependenciesstructsconstsfunctions

about

nx_atlas_citeverify.nx -- atlas-hygiene CITATION AUTHORITY FIREWALL (blueprint Callout 1, ENFORCING). ONE call: fetch the DOI from Crossref over the sovereign HTTPS fetch, decide, enforce. VERIFIED (exit 0) if Crossref returns 200; QUARANTINE (exit 5) on 404; fail-closed (exit 6) on no authority response. Forks the deployed nx_https_get.elf and inspects its status line. license_tier: ORIGINAL expect_exit: 0

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_tool_run.nx nx_atlas_citeverify.nx

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

main sys_write sys_exit sys_mmap

structs

none

consts

7const K_MAGIC_1024: i64 = 1024
8const K_MAGIC_1048576: i64 = 1048576

functions

9func cv_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 1: cv_contains
10func cv_contains(buf: *u8, n: i64, needle: *u8) -> i64
calls 1: cv_slen
22func main(argc: i64, argv: *i64) -> i64