code wiki / _hdl_build / nx_cms_wp_scorecard.nx
nx_cms_wp_scorecard.nx
buildroot/runtime/_hdl_build/nx_cms_wp_scorecard.nx
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
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
structs
| none |
consts
| 13 | const K_MAGIC_65536: i64 = 65536 |
| 14 | const K_MAGIC_65535: i64 = 65535 |
| 15 | const K_MAGIC_262144: i64 = 262144 |
| 16 | const K_MAGIC_262143: i64 = 262143 |
functions
| 18 | func 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 } |
| 23 | func ws_wn(fd: i64, v: i64) -> i64 { nxi_fd(fd, v); return 0 } |
| 24 | func 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 } |
| 25 | func ws_fputn(fd: i64, s: *u8, n: i64) -> i64 { sys_write(fd, s, n); return 0 } |
| 27 | func ws_read(path: *u8, out: *u8, cap: i64) -> i64 |
| 42 | func ws_find_last(buf: *u8, len: i64, pat: *u8, pl: i64) -> i64 |
| 60 | func ws_status(log: *u8, ln: i64, rowpat: *u8, rl: i64, passpat: *u8, ql: i64) -> i64 |
| 76 | func ws_parse_after(buf: *u8, len: i64, key: *u8, kl: i64) -> i64 |
| 93 | func main() -> i64 |