nx_cloud_capture_gate_20260910.nx source
↩ module page · 24 lines · 1418 B
1// Private qualification fixture; composes existing digest-bound capture owner. No publisher or install operation.
2import "nx_game_shader_backend_selected_t55.nx"
3import "nx_gate_verdict.nx"
4import "nx_estate_path.nx"
5const SC_CAP: i64 = 65536 // Existing t31 world-capture allowance.
6const SC_TIMEOUT: i64 = 8000 // Existing t31 per-process deadline.
7func sc_capture(path:*u8,sha:*u8,extent:i64,out:*u8)->i64 {
8 let buf:*u8=sys_mmap(SC_CAP);var n:i64=0
9 if (buf as i64)<=0 {return 3}
10 let rc:i64=gsb_capture_selected(path,sha,extent,"world",buf,SC_CAP,&n,SC_TIMEOUT)
11 if rc!=0||n<=0 {return 3}
12 let wrote:i64=fxc_create(out,buf,n)
13 if wrote!=n {return 3}
14 let digest:*u8=sys_mmap(GPA_SHA_HEX+1);gpa_sha(buf,n,digest)
15 gv_puts("CAPTURE path=");gv_puts(out);gv_puts(" sha256=");gv_puts(digest);gv_puts("\n")
16 return 0
17}
18func main()->i64 {
19 if ep_anchor()<0{return 3}
20 if sc_capture("/volume1/homes/elderwesto/nishihost/nx_wgsl.sov.elf.new","6a63a26f84a4ba353da798e121a1690a89bf4cac3e59f1dd9e7babe948f33139",1250264,"/tmp/beach-sky-baseline-correction-20260910.txt")!=0{return 3}
21 if sc_capture("/volume1/homes/elderwesto/nishihost/buildroot/_build/nx_wgsl.sov.elf","1c8c4136aaf629c602c989dd4a8ee21d902689246e778d0592dd268dd2bbf749",1256920,"/tmp/beach-sky-candidate-correction-20260910.txt")!=0{return 3}
22 gv_puts("CAPTURES COMPLETE; shader parsing, GPU validation and visual acceptance remain separate\n")
23 return 0
24}