code wiki / (root) / nx_teacher_gate.nx

nx_teacher_gate.nx

buildroot/runtime/nx_teacher_gate.nx

2456 B55 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic teacher
docsdependenciesstructsconstsfunctions

about

nx_teacher_gate.nx -- gate the NISHI TEACHER lesson processor. (a) a VALID fixture (all required sections; 2 cardinals, 3 drills, 1 evidence) -> OK (b) a NEG-CONTROL fixture (missing ## DRILLS) -> REJECTED (NX_TEACH_MISSING) (c) a missing file -> NX_TEACH_NO_FILE Exit 0 GREEN / 1 RED. Log knowledge/status/teacher_gate.log. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_teacher.nx nx_teacher_lesson.nx nx_teacher_gate.nx

imports: nx_syscalls.nxnx_teacher.nxnx_teacher_lesson.nx

imported by: nobody (leaf or entry point)

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

main sys_openat_append gp sys_write nx_teacher_ingest sys_mmap sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close mem_eq sec_bounds mem_eq ↻ tp sys_write ↻ count_bullets mem_eq ↻ sys_openat_append ↻ emit_bullets mem_eq ↻ sys_write ↻ sys_close ↻ sys_write ↻ tn_fd sys_mmap ↻ sys_write ↻ tn sys_mmap ↻ sys_write ↻ gn sys_mmap ↻ sys_write ↻ sys_close ↻ sys_exit

structs

none

consts

none

functions

10func gp(fd: i64, s: *u8) -> i64
called by 1: main calls 1: sys_write
16func gn(fd: i64, v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
28func main() -> i64