code wiki / _hdl_build / nx_elara_prompt_probe.nx
nx_elara_prompt_probe.nx
buildroot/runtime/_hdl_build/nx_elara_prompt_probe.nx
about
nx_elara_prompt_probe.nx -- GPU-FREE verification of the chat photo-prompt composition.
Runs the REAL composer (go_compose_photo_prompt: trigger -> camera -> body, SHARED with the daemon) against the REAL
data files, so it proves the CODE and the DATA together. Run it from /volume1/ai/gen (the daemon's
cwd) -- the loaders read elara_appearance.txt / elara_shots.txt / elara_quality.txt RELATIVE to cwd,
so running it anywhere else silently exercises the baked defaults instead of what actually ships.
license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_companion_identity.nxnx_companion_wardrobe.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 10 | const K_MAGIC_16384: i64 = 16384 |
functions
| 12 | func pr(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1, s, n); return n } |
| 13 | func pr_num(v: i64) -> i64 { let t: *u8 = sys_mmap(28); var m: i64 = v; var k: i64 = 0; if m==0 { t[0]=48 as u8; k=1 } while m>0 { t[k]=(48+(m%10)) as u8; m=m/10; k=k+1 } let o: *u8 = sys_mmap(28); var q: i64 = 0; while k>0 { k=k-1; o[q]=t[k]; q=q+1 } o[q]=0 as u8; return pr(o) } |
| 15 | func compose(scene: *u8, seed: i64, out: *u8) -> i64 |
| 23 | func main() -> i64 |