code wiki / _hdl_build / nx_comms_depth_census.nx

nx_comms_depth_census.nx

buildroot/runtime/_hdl_build/nx_comms_depth_census.nx

13006 B147 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic comms
docsdependenciesstructsconstsfunctions

about

nx_comms_depth_census.nx -- the SOTA MAP (operator 2026-07-05: "chat is absolute shit vs Discord/Telegram, contacts... I wanted state-of-the-art researcher work and we MISSED all of this"). The old comms census scored PRESENCE ("chat: HAVE" because a chat exists); a leader's chat is ~15 mechanics deep. This census scores DEPTH per mechanic against the named leader, MECHANICALLY (greps the actual shipped client + capability organs), in THREE honest tiers -> the tier IS the build cost, so the output is a ranked map: LIVE (2 pts): users have it now (marker in the deployed app.v2.js) BUILT (1 pt) : we have the ORGAN/capability, not wired into the product (marker in a runtime organ) = a CHEAP WIRE-UP GAP (0 pts): we don't have it -> build from the rung up permille = (2*LIVE + BUILT) / (2*N). NEG-CONTROL: an impossible mechanic MUST score GAP (the checker has teeth). This is also the TEMPLATE for task #40 (depth-not-presence) -- apply to every surface. license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_comms_depth_census.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main cw sys_write sys_mmap rdf sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close drow has cw ↻ area cw ↻ cn sys_mmap ↻ sys_write ↻ cn ↻

structs

none

consts

none

functions

13func cw(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 3: drowareamain calls 1: sys_write
14func cn(v: i64) -> i64
called by 2: areamain calls 2: sys_mmapsys_write
18func has(hay: *u8, n: i64, needle: *u8) -> i64
called by 1: drow
24func rdf(path: *u8, lenp: *i64) -> *u8 { return sys_read_file(path, lenp) }
called by 1: main calls 1: sys_read_file
27func drow(cl: *u8, cln: i64, ob: *u8, on: i64, name: *u8, leader: *u8, cmark: *u8, omark: *u8, t: *i64) -> i64
called by 1: main calls 2: hascw
36func area(title: *u8, t: *i64) -> i64
called by 1: main calls 2: cwcn
43func main() -> i64