code wiki / _hdl_build / nx_game_synth.nx

nx_game_synth.nx

buildroot/runtime/_hdl_build/nx_game_synth.nx

7269 B145 linesdepth 5pulls 5 transitivereach 4 importersview sourcekind librarytopic game
docsdependenciesstructsconstsfunctions

about

nx_game_synth.nx -- the SOVEREIGN SYNTHESIS engine: the Nishi researcher does the research ANALYSIS itself (no Claude deep-research in the loop), built hardware-up. This is the keystone rung = the CORROBORATION engine: the >=2-source no-hearsay rule ([[feedback-no-wave-measured-exceed]]) made MECHANICAL. For a technique term, it counts how many DISTINCT source files in the sovereign corpus (knowledge/fetched/*.raw) attest it -> a term is CORROBORATED only if >=2 independent sources mention it (no single-source hearsay, no fabrication). HONEST SCOPE: this is mechanical extraction + corroboration (real, gradeable) -- NOT LLM-quality semantic synthesis (that = the no-float sovereign-LLM arc, the named destination). gs_* organs compose upward. license_tier: ORIGINAL

dependencies 2 imports · 4 importers

nx_syscalls.nx nx_dirent.nx nx_game_synth.nx nx_game_genre_census.nx nx_game_research_census.nx nx_game_sclass_census.nx nx_game_synth_gate.nx

imports: nx_syscalls.nxnx_dirent.nx

imported by: nx_game_genre_census.nxnx_game_research_census.nxnx_game_sclass_census.nxnx_game_synth_gate.nx

structs

none

consts

11const GS_MAGIC_131072: i64 = 131072
12const GS_MAGIC_1024: i64 = 1024
14const GS_CORROB_MIN: i64 = 2 // >=2 distinct sources = CORROBORATED (the no-hearsay floor)

functions

17func gs_has(hay: *u8, haylen: i64, needle: *u8) -> i64
called by 2: gc_mapgc_skip
33func gs_alnum(c: i64) -> i64
called by 1: gs_has_word
39func gs_has_word(hay: *u8, haylen: i64, needle: *u8) -> i64
called by 1: gs_file_has calls 1: gs_alnum
57func gs_file_has(path: *u8, needle: *u8, buf: *u8, cap: i64) -> i64
70func gs_ends_raw(name: *u8) -> i64
called by 1: gs_corroborate_in
76func gs_join(dir: *u8, name: *u8, out: *u8) -> i64
called by 1: gs_corroborate_in
85func gs_name_pfx(name: *u8, pfx: *u8) -> i64 { var i: i64=0; while pfx[i]!=(0 as u8){ if name[i]!=pfx[i]{ return 0 } i=i+1 } return 1 }
called by 1: gs_corroborate_in
93func gs_corroborate_in(dirpath: *u8, all: i64, pfx1: *u8, pfx2: *u8, needle: *u8, buf: *u8, cap: i64) -> i64
125func gs_corroborate(dirpath: *u8, needle: *u8, buf: *u8, cap: i64) -> i64
129func gs_corroborate_game(dirpath: *u8, needle: *u8, buf: *u8, cap: i64) -> i64
called by 3: cellcellmain calls 1: gs_corroborate_in
134func gs_file_exists(path: *u8) -> i64
141func gs_verdict(sources: i64) -> i64
called by 1: show