code wiki / _hdl_build / nx_ws_discover_gate.nx

nx_ws_discover_gate.nx

buildroot/runtime/_hdl_build/nx_ws_discover_gate.nx

5372 B117 linesdepth 5pulls 9 transitivereach 0 importersview sourcekind gate/prooftopic ws
docsdependenciesstructsconstsfunctions

dependencies 7 imports · 0 importers

nx_gate_gn.nx nx_ws_ingest.nx nx_ws_index_lib.nx nx_workstream_store.nx nx_seg_store.nx nx_framed_append.nx nx_syscalls.nx nx_ws_discover_gate.nx

imports: nx_gate_gn.nxnx_ws_ingest.nxnx_ws_index_lib.nxnx_workstream_store.nxnx_seg_store.nxnx_framed_append.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 wsi_ingest_omit_p sys_mmap ↻ wme_scan sys_openat_rd sys_mmap ↻ wme_getdents wme_is_project wme_len wme_join sys_fstatat sys_close wsi_derive_ids sys_mmap ↻ wsi_id_from_name wme_len ↻ wsi_has_prefix sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real ss_open ss_open2 sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn sys_mmap ↻ ss_cat ss_readall sys_munmap ss_cat ↻ ss_loadfile sys_map_file sys_openat_rd ↻ sys_lseek sys_close ↻ ss_readall ↻ ss_load_aux2 sys_mmap ↻ ss_cat ↻

structs

none

consts

21const GMEMDIR: *u8 = "/mnt/c/Users/elder/.claude/projects/C--Users-elder/memory"
22const GSCR_A: *u8 = "knowledge/store/wsdisc_a-"
23const GSCR_B: *u8 = "knowledge/store/wsdisc_b-"
24const GLOG: *u8 = "knowledge/status/ws_discover_gate.log"
27const GOMIT: *u8 = "pets-game-sfx-2026-06-13"
28const GCAP: i64 = 8192

functions

30func gp(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
33func g_coverage(prefix: *u8, memdir: *u8, disk_out: *i64) -> i64
56func g_absent(prefix: *u8, id: *u8) -> i64
66func main(argc: i64, argv: *i64) -> i64