code wiki / _hdl_build / nx_wiki_publish_guard_sanity.nx

nx_wiki_publish_guard_sanity.nx

buildroot/runtime/_hdl_build/nx_wiki_publish_guard_sanity.nx

3048 B52 linesdepth 8pulls 9 transitivereach 0 importersview sourcekind orphan librarytopic wiki
docsdependenciesstructsconstsfunctions

about

nx_wiki_publish_guard_sanity.nx -- READ-ONLY sanity run of the pre-publish guard against the REAL emitted live page web_assets/nist_stem.html (-> nishifamily.com/wiki/nist_stem.html). It reads the page bytes off disk (ss_readall) and runs pg_decide with the corpus = the slugs that page actually links to. Expected verdict: PG_ALLOW (the page is fresh-stamped, has zero [[cite:...]] tokens, all its /wiki/<x>.html links are in the corpus, and the body is real content). It writes NOTHING; it only inspects + prints the verdict. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_wiki_publish_guard.nx nx_syscalls.nx nx_wiki_publish_guard_sanity.n

imports: nx_wiki_publish_guard.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

10func s_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
11func s_num(v: i64) -> i64
19func s_codename(v: i64) -> *u8
28func main() -> i64