code wiki / _hdl_build / nx_work_wiki.nx

nx_work_wiki.nx

buildroot/runtime/_hdl_build/nx_work_wiki.nx

12613 B248 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic work
docsdependenciesstructsconstsfunctions

about

nx_work_wiki.nx -- the COMPREHENSIVE Work Board on the shared design skin. Renders the WHOLE picture from live on-disk sources (regenerated each pulse, never a hand-seed): DELEGATION -- coordination.tsv (active streams, West Industrial owners, floating-supervision flags) FULL BACKLOG-- EVERY workstream from the resume-manifest auto-index (~389, the real landscape) PRESENT -- worklog.tsv newest actions (refreshed each generation) FUTURE -- predict_next.txt adjacent-possible next-work Sovereign (nx_syscalls + nx_wiki_skin_lib). Emits /tmp/nx_work_board.html + nx_aw_push specs. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_wiki_skin_lib.nx nx_work_wiki.nx

imports: nx_syscalls.nxnx_wiki_skin_lib.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 skin_open sk_cat sk_nav sk_cat ↻ sk_streq sk_cat ↻ ww_slurp sys_openat_rd sys_read sys_close ww_count_floating ww_index_lines ww_line_end ww_field_eq sk_catn sys_mmap ↻ ww_emit_coord ww_index_lines ↻ sk_cat ↻ ww_line_end ↻ ww_field_eq ↻ ww_emit_field sk_cat ↻ ww_count_backlog ww_find ww_emit_backlog ww_find ↻ sk_cat ↻ ww_emit_present ww_index_lines ↻ sk_cat ↻ ww_line_end ↻ ww_emit_field ↻ ww_emit_topn ww_index_lines ↻ sk_cat ↻ ww_line_end ↻ ww_esc

structs

none

consts

11const WW_MAGIC_8192: i64 = 8192
12const WW_MAGIC_200000: i64 = 200000
13const WW_MAGIC_8388608: i64 = 8388608
14const WW_MAGIC_2097152: i64 = 2097152
16const WW_WORKLOG: *u8 = "/mnt/c/Users/elder/.claude/projects/C--Users-elder/memory/worklog/worklog.tsv"
17const WW_PREDICT: *u8 = "/mnt/c/Users/elder/.claude/projects/C--Users-elder/memory/worklog/predict_next.txt"
18const WW_COORD: *u8 = "/mnt/c/Users/elder/.claude/projects/C--Users-elder/memory/worklog/coordination.tsv"
19const WW_MANIFEST: *u8 = "/mnt/c/Users/elder/.claude/projects/C--Users-elder/memory/workstream-resume-manifest.md"
20const WW_OUT: *u8 = "/tmp/nx_work_board.html"
21const WW_SRC: *u8 = "/tmp/nx_work_board.src"
22const WW_DST: *u8 = "/tmp/nx_work_board.dst"
23const WW_SRCVAL: *u8 = "/tmp/nx_work_board.html\n"
24const WW_DSTVAL: *u8 = "cat > /volume1/homes/elderwesto/nishihost/sites/nishifamily/wiki/board.html\n"
25const WW_PRESENT_N: i64 = 30
26const WW_FUTURE_N: i64 = 30

functions

28func ww_slurp(path: *u8, buf: *u8, cap: i64) -> i64
called by 1: main calls 3: sys_openat_rdsys_readsys_close
37func ww_index_lines(buf: *u8, len: i64, starts: *i64, maxlines: i64) -> i64
43func ww_line_end(buf: *u8, len: i64, s: i64) -> i64 { var e: i64 = s; while e < len { if buf[e] == (10 as u8) { return e } e = e + 1 } return len }
44func ww_esc(dst: *u8, off: i64, buf: *u8, a: i64, b: i64) -> i64
called by 1: ww_emit_topn calls 1: sk_cat
57func ww_emit_field(dst: *u8, off: i64, buf: *u8, s: i64, e: i64, k: i64) -> i64
called by 2: ww_emit_coordww_emit_present calls 1: sk_cat
73func ww_field_eq(buf: *u8, s: i64, e: i64, k: i64, lit: *u8) -> i64
85func ww_find(buf: *u8, len: i64, pat: *u8) -> i64
99func ww_count_floating(buf: *u8, len: i64, starts: *i64) -> i64
104func ww_emit_coord(dst: *u8, off0: i64, buf: *u8, len: i64, starts: *i64) -> i64
127func ww_count_backlog(buf: *u8, len: i64) -> i64
called by 1: main calls 1: ww_find
137func ww_emit_backlog(dst: *u8, off0: i64, buf: *u8, len: i64, out_cnt: *i64) -> i64
called by 1: main calls 2: ww_findsk_cat
172func ww_emit_present(dst: *u8, off0: i64, buf: *u8, len: i64, starts: *i64) -> i64
186func ww_emit_topn(dst: *u8, off0: i64, buf: *u8, len: i64, starts: *i64, n: i64) -> i64
195func ww_write(path: *u8, content: *u8) -> i64
202func main(argc: i64, argv: *i64) -> i64