nx_claim_verify.nx
buildroot/runtime/nx_claim_verify.nx
about
nx_claim_verify.nx -- AUTONOMOUS, GENERAL, sovereign claim verifier: the wired form of the evidence-grounded
verification proven by nx_evidence_verify_gate. Given a claim (a number in tenths), a live source URL, and a
text pattern the value follows, it FETCHES THE SOURCE ITSELF over the sovereign TLS-1.3 stack (no pasted
fixture, no curl/python), extracts the real value, and emits a machine-readable EVIDENCE RECORD with a verdict:
CONFIRMED (|extracted - claim| <= tolerance) / DISCREDITED (outside tolerance) / UNVERIFIABLE (pattern absent
-> it invents NO number) / FETCH-FAILED. Exit code carries the verdict (0/3/4/2) so it composes in a pipeline.
This is the anti-gaming discipline made autonomous: a claim is only CONFIRMED against a real fetched primary
source, and a wrong claim is DISCREDITED. Reuses nx_https_fetch_follow (the researcher's proven fetch).
usage: nx_claim_verify <url> <pattern> <claim_tenths> <tol_tenths> (run from a dir with data/mozilla_certdata.txt)
e.g.: nx_claim_verify https://arxiv.org/abs/1606.05250 "human performance (" 870 30 -> CONFIRMED (86.8 ~ 87.0)
license_tier: ORIGINAL expect_exit: 0
dependencies 6 imports · 0 importers
imports: nx_syscalls.nxnx_itoa_lib.nxnx_x509_trust_store.nxnx_trust_store_load_from_certdata.nxnx_https_fetch_follow.nxnx_claim_verify_core.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
| 18 | const K_MAGIC_4194304: i64 = 4194304 |
| 19 | const K_MAGIC_2000: i64 = 2000 |
functions
| 21 | func cv_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 26 | func cv_putn(v: i64) -> i64 { nxi_out(v); return 0 } |
| 27 | func slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 30 | func parse_int(s: *u8) -> i64 called by 1: main |
| 47 | func main(argc: i64, argv: *i64) -> i64 |