code wiki / (root) / nx_teacher_wiki_proof.nx

nx_teacher_wiki_proof.nx

buildroot/runtime/nx_teacher_wiki_proof.nx

2189 B44 linesdepth 6pulls 6 transitivereach 0 importersview sourcekind tooltopic teacher
docsdependenciesstructsconstsfunctions

about

nx_teacher_wiki_proof.nx -- PROVE the existing wiki ingestor consumes the teacher's lessons. Points the wiki engine's own auto-discover (nx_wcl_discover_tree) at knowledge/wiki-content/ and asserts both lesson pages get indexed into the doc store. Exit 0 GREEN / 1 RED. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_wiki_content_loader.nx nx_teacher_wiki_proof.nx

imports: nx_syscalls.nxnx_wiki_content_loader.nx

imported by: nobody (leaf or entry point)

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

main pp sys_write sys_mmap nx_wiki_doc_store_init sys_mmap ↻ sys_exit nx_wiki_index_builder_init nx_inv_new nx_wcl_discover_tree sys_openat_rd sys_close nx_wiki_index_builder_get_ nx_wiki_doc_store_count sys_mmap ↻ sys_getdents64 dirent_reclen dirent_name dirent_type nx_wcl_is_md nx_wcl_lc nx_wcl_discover_one_path sys_mmap ↻ sys_read_file sys_openat_rd ↻ sys_lseek sys_mmap ↻ sys_read sys_close ↻ nx_wib_extract_md_title nx_wcl_slug_from_relpath nx_wcl_lc ↻ nx_wiki_index_builder_add nx_wiki_doc_store_add sys_mmap ↻ nx_wib_pool_alloc nx_inv_index_row nx_inv_is_token_char nx_inv_hash_bytes_lower nx_inv_add_posting

structs

none

consts

7const K_MAGIC_2048: i64 = 2048
8const K_MAGIC_65536: i64 = 65536
9const K_MAGIC_16384: i64 = 16384
10const K_MAGIC_2097152: i64 = 2097152

functions

12func pp(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: main calls 1: sys_write
13func pn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
24func main() -> i64