code wiki / (root) / nx_h264_diag.nx

nx_h264_diag.nx

buildroot/runtime/nx_h264_diag.nx

3109 B70 linesdepth 2pulls 2 transitivereach 1 importersview sourcekind tooltopic h264
docsdependenciesstructsconstsfunctions

about

nx_h264_diag.nx -- Nishi Teacher DIAGNOSTIC ENGINE: parse a raw log/output against the machine-readable issue taxonomy (knowledge/registry/nishi_issues.tsv) and, for every matched symptom keyword (field 0), emit the structured guidance line (type / role / diagnosis / fix / prevention) so the dr/engineer/builder roles can instantly recognise the ISSUE TYPE and route a self-heal. Turns our own logs into recognisers: every fix we teach becomes a matcher over future output. Reusable function `nx_diag_run`. genealogy_id: nishi_teacher_log_to_issue_taxonomy license_tier: ORIGINAL

dependencies 1 imports · 1 importers

nx_syscalls.nx nx_h264_diag.nx nx_h264_diag_gate.nx

imports: nx_syscalls.nx

imported by: nx_h264_diag_gate.nx

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

main sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close sys_write nx_diag_run diag_substr sys_write ↻

structs

none

consts

none

functions

10func diag_substr(log: *u8, loglen: i64, reg: *u8, ns: i64, nl: i64) -> i64
called by 1: nx_diag_run
23func nx_diag_run(reg: *u8, reglen: i64, log: *u8, loglen: i64, fd: i64) -> i64
called by 2: mainmain calls 2: diag_substrsys_write
60func main() -> i64