code wiki / _hdl_build / nx_cms_wp_scorecard.nx

nx_cms_wp_scorecard.nx

buildroot/runtime/_hdl_build/nx_cms_wp_scorecard.nx

8382 B186 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic cms
docsdependenciesstructsconstsfunctions

about

nx_cms_wp_scorecard.nx -- W0: the EXCEED-WORDPRESS scorecard (mechanical, evidence-derived). Reads the capability matrix (knowledge/cms/wp_matrix.txt -- the top WP plugin buckets as DATA; adding a bucket = editing the FILE, never this code) and derives each bucket's status from the durable gate log: COVERED (latest evidence row passes), OPEN (no evidence yet -- the honest backlog the ladder climbs), FAILING (evidence row present but not passing = a REGRESSION). Coverage permil climbs ONLY by landing gated rungs. Verdict: EXCEED-WP iff permil=1000 with the matrix's standing-exceed column intact; ON-LADDER otherwise. Appends to knowledge/status/cms_wp_scorecard.log. Exit 0 iff NO bucket is FAILING (OPEN is allowed -- this is a ladder instrument; regressions are not). Spec: 2026-06-10-cms-exceed-wordpress-ladder.md. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_itoa_lib.nx nx_cms_wp_scorecard.nx

imports: nx_syscalls.nxnx_itoa_lib.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap ws_read sys_openat_rd sys_read sys_close ws_w sys_write sys_exit ws_parse_after ws_find_last sys_openat_append ws_find_last ↻ ws_status ws_find_last ↻ ws_fputn sys_write ↻ ws_wn nxi_fd sys_mmap ↻ ccz_cat_num sys_write ↻ sys_munmap ws_fput sys_write ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real sys_close ↻

structs

none

consts

13const K_MAGIC_65536: i64 = 65536
14const K_MAGIC_65535: i64 = 65535
15const K_MAGIC_262144: i64 = 262144
16const K_MAGIC_262143: i64 = 262143

functions

18func ws_w(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 1: main calls 1: sys_write
23func ws_wn(fd: i64, v: i64) -> i64 { nxi_fd(fd, v); return 0 }
called by 1: main calls 1: nxi_fd
24func ws_fput(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd,s,n); return 0 }
called by 1: main calls 1: sys_write
25func ws_fputn(fd: i64, s: *u8, n: i64) -> i64 { sys_write(fd, s, n); return 0 }
called by 1: main calls 1: sys_write
27func ws_read(path: *u8, out: *u8, cap: i64) -> i64
called by 1: main calls 3: sys_openat_rdsys_readsys_close
42func ws_find_last(buf: *u8, len: i64, pat: *u8, pl: i64) -> i64
60func ws_status(log: *u8, ln: i64, rowpat: *u8, rl: i64, passpat: *u8, ql: i64) -> i64
called by 1: main calls 1: ws_find_last
76func ws_parse_after(buf: *u8, len: i64, key: *u8, kl: i64) -> i64
called by 1: main calls 1: ws_find_last
93func main() -> i64