code wiki / _hdl_build / nx_known_issue_seed.nx
nx_known_issue_seed.nx
buildroot/runtime/_hdl_build/nx_known_issue_seed.nx
about
nx_known_issue_seed.nx -- SEEDER + GATE: authors the KNOWN-ISSUE catalogue into the SOVEREIGN
STORE (knowledge/store/ki-*), the pure-Nishi machine-matchable twin of the human-narrative
landmines.tsv / workaround_audit.tsv (operator: "no tsv, nishi ecosystem"). IDEMPOTENT (rule 10):
each record is written only if absent-or-changed (additive versions otherwise), then EVERY record
is read back and byte-verified -- GREEN only when the store holds exactly what we intended.
HONEST SCOPE (rule 4 / BL-003 no-overclaim): only ONE row carries a real diagnostic SIGNATURE in
v1 -- LM-021 reserved-keyword, whose signature `reserved keyword '` is VERIFIED + already wired
(nx_doctor_fix.doc_offending_kw greps that exact literal; landmines.tsv:26 records the measured
diagnostic). The remaining rows are recall-by-id (signature "-"): documented adaptations /
disciplines / open-roots, NOT fabricated signatures. The catalogue GROWS one seed line per
signature MEASURED (BL-004 measure-first) -- the recall mechanism is already general, no code
change needed. Evidence -> knowledge/status/known_issue_store.log. license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_known_issue_store.nxnx_itoa_lib.nxnx_seg_store.nxnx_syscalls.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
| 19 | const KIS_LOG: *u8 = "knowledge/status/known_issue_store.log" |
functions
| 21 | func ks_w(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 } |
| 26 | func ks_wn(fd: i64, v: i64) -> i64 { nxi_fd(fd, v); return 0 } |
| 27 | func ks_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 31 | func ks_streq_store(key: *u8, val: *u8) -> i64 |
| 44 | func ks_emit(fd: i64, nrec: i64, written: i64, verified: i64, ok: i64) -> i64 |
| 52 | func main() -> i64 |