code wiki / _hdl_build / nx_known_issue_seed.nx

nx_known_issue_seed.nx

buildroot/runtime/_hdl_build/nx_known_issue_seed.nx

13155 B196 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

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

nx_known_issue_store.nx nx_itoa_lib.nx nx_seg_store.nx nx_syscalls.nx nx_known_issue_seed.nx

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

main sys_mmap ss_begin ss_begin_cap sys_mmap ↻ ks_streq_store sys_mmap ↻ ki_get ss_get sys_mmap ↻ ss_scan sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn ss_scan_seglist ss_len sys_mmap ↻ ss_cat ss_readall ss_r32 ks_len ss_add ss_add2 ss_w32 ss_len ↻ ks_len ↻ ki_seg_next_p sys_mmap ↻ ss_manifest ss_manifest_file sys_mmap ↻ ss_cat ↻ ss_readall ↻ ss_commit ss_segid_ok sys_mmap ↻ ss_cat ↻ ss_catn sys_mmap ↻ sys_write

structs

none

consts

19const KIS_LOG: *u8 = "knowledge/status/known_issue_store.log"

functions

21func 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 }
called by 1: ks_emit calls 1: sys_write
26func ks_wn(fd: i64, v: i64) -> i64 { nxi_fd(fd, v); return 0 }
called by 1: ks_emit calls 1: nxi_fd
27func ks_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 2: ks_streq_storemain
31func ks_streq_store(key: *u8, val: *u8) -> i64
called by 1: main calls 3: sys_mmapki_getks_len
44func ks_emit(fd: i64, nrec: i64, written: i64, verified: i64, ok: i64) -> i64
called by 1: main calls 2: ks_wks_wn
52func main() -> i64