code wiki / _hdl_build / nx_genui_capability_census.nx

nx_genui_capability_census.nx source

↩ module page · 81 lines · 7773 B

1// nx_genui_capability_census.nx -- GEN-AI PRODUCT-UI capability census (operator 2026-07-05: creativefabrica 2// 3d-print-generator + myimg.ai + cling-ai image and others -- gain those UI capabilities AND surface them as 3// APIs for the synthetic-human/Elara workstream). GROUNDED in the banked rival pages (nx_genui_sota_fetch 12/12 4// GREEN -> knowledge/fetched/gui_*.raw, real bytes over sovereign TLS) + our REAL organ/gate/artifact standing. 5// Each row = a capability the RIVAL UIs prove exists as a product; the grade = OUR standing on it. 6// LIAR-KILL: "our /gen UI already offers Meshy+MyIMG-class breadth today" must grade GAP. 7// license_tier: ORIGINAL expect_exit: 0 8import "nx_syscalls.nx" 9 10func cw(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } 11func cn(v: i64) -> i64 { 12 let b: *u8 = sys_mmap(32) as *u8 13 var x: i64 = v 14 var i: i64 = 31 15 if x == 0 { b[i] = 48 as u8; i = i - 1 } 16 while x > 0 { b[i] = (48 + x % 10) as u8; x = x / 10; i = i - 1 } 17 sys_write(1, (b as i64 + i + 1) as *u8, 31 - i) 18 return 0 19} 20func gs(g: i64) -> *u8 { 21 if g == 2 { return "HAVE " as *u8 } 22 if g == 1 { return "PARTIAL" as *u8 } 23 return "GAP " as *u8 24} 25func row(t: *i64, cell: *u8, g: i64, ev: *u8) -> i64 { 26 cw(" ["); cw(gs(g)); cw("] "); cw(cell); cw("\n "); cw(ev); cw("\n" as *u8) 27 t[g] = t[g] + 1 28 return 0 29} 30 31func main() -> i64 { 32 let t: *i64 = sys_mmap(8 * 8) as *i64 33 cw("=== nx_genui_capability_census -- do WE offer what the rival gen-AI product UIs offer, as UI + API? ===\n" as *u8) 34 cw("(bar = knowledge/fetched/gui_*.raw, 12/12 banked live 2026-07-05: cf_3dprint/myimg/cling_image +\n" as *u8) 35 cw(" meshy/tripo/rodin/luma_genie + krea/leonardo/ideogram + replicate/fal. leonardo+ideogram = 403 walls\n" as *u8) 36 cw(" [challenge pages banked, product claims NOT usable as evidence]. cling = JS-thin, only generic tokens.)\n" as *u8) 37 38 cw("-- IMAGE lane (bar: myimg 7 named generators, krea 11 enhance tokens, cling AI-Image suite) --\n" as *u8) 39 row(t, "t2i generation UI, batch -> gallery " as *u8, 2, "HAVE: /gen LIVE at nishifamily.com (OPAQUE-gated), nx_gen_orchestrator gates 3/3 + realpipe GREEN, batch CIDs + /api/recent + GENREC-stamped PNGs on the 5080 worker" as *u8) 40 row(t, "persona-freedom adult suite (myimg bar) " as *u8, 1, "PARTIAL: gui_myimg.raw names 7 one-click generators (clothes-remover/nude/kissing/twerk/comics); OURS = nsfw-capable model (zimage_turbo_nsfw) + persona wardrobe-arc but PROMPT-only, no one-click edit ops" as *u8) 41 row(t, "i2i EDIT ops (inpaint/region-edit/outpaint) " as *u8, 0, "GAP: 41 edit-op tokens across 9 rival raws (myimg/krea/fal lead); NO sovereign mask-edit/inpaint organ exists in runtime/" as *u8) 42 row(t, "upscale / enhance " as *u8, 1, "PARTIAL: nx_galx_upscale sovereign bilinear 2x-4x LIVE (GET /upscale/CID, fork-per-request RSS-bounded); AI super-resolution = GPU/diffusion path unbuilt (krea bar = realtime enhance)" as *u8) 43 row(t, "style presets / one-click templates " as *u8, 1, "PARTIAL: persona visual-arc odometer (14x8x8=896 grounded looks, identity-const) is RICHER than a preset dropdown but companion-scoped -- /gen UI itself has no preset system" as *u8) 44 45 cw("-- 3D lane (bar: cf_3dprint = printable-models-from-text; 19 image-to-3d tokens in meshy/tripo/rodin/fal) --\n" as *u8) 46 row(t, "t2mesh surfaced in a product UI (CF studio bar) " as *u8, 2, "HAVE (G2 shipped 2026-07-05): /gen serves the 3D section LIVE -- POST /gen/api/mesh + GET /gen/mesh/<obj>.stl proven by nx_gen_mesh_gate 5/5 AND nx_gen_live_probe rows 5/6 on the DEPLOYED NAS stack (200 snowman + model/stl) = the CF capability (printable models from a text description)" as *u8) 47 row(t, "i2mesh (image -> 3D) " as *u8, 1, "PARTIAL: nx_i2mesh v0 silhouette-inflation (mask -> chamfer DT -> field -> surface-nets; knowledge/i2m_circle.stl) proven on SYNTHETIC masks; real Z-Image PNG -> mask wire + multi-view = open (bar: meshy 2 / rodin 5 / fal 10 image-to-3d tokens)" as *u8) 48 row(t, "print-ready export formats (STL/OBJ/GLB) " as *u8, 1, "PARTIAL: watertight STL proven (closed-manifold Euler) AND download-served live (/gen/mesh/<obj>.stl, model/stl); OBJ/GLB/FBX + binary STL = still missing (8 format tokens in cf/meshy/rodin/tripo raws)" as *u8) 49 row(t, "texture / PBR emit onto emitted mesh " as *u8, 0, "GAP: gen3d ladder R4 unbuilt; skin is procedural in nx_sdfrender, not emitted UV/albedo/PBR maps (15 texture/PBR tokens in meshy/rodin/fal raws)" as *u8) 50 row(t, "auto-rig / animate emitted objects " as *u8, 0, "GAP as EMIT: skeleton/morph/IK substrate exists (charlab) but no auto-rig-per-emitted-mesh (gen3d R5); 41 rig/animate tokens across rival raws incl cf 4 + krea 11" as *u8) 51 52 cw("-- API lane (bar: replicate/fal = EVERY capability is a callable endpoint with a schema) --\n" as *u8) 53 row(t, "capabilities-as-APIs (tool registry + invoke) " as *u8, 1, "PARTIAL: nx_tools_api LIVE (/api/tools + /mcp, cap-token REAL exec, allowlist fail-closed) but the gen/3D capabilities are NOT in the tool registry -- an orchestrating agent cannot DISCOVER them (replicate.raw 174KB + fal.raw 3.4MB = the bar)" as *u8) 54 row(t, "Elara behavior range via tool-calls " as *u8, 1, "PARTIAL: photo-share WIRED (companion_share_photo -> /gen/api/generate, gate 3/3, memory records what she shared); 3D-object share / edit-ops / print-a-gift NOT wired as callable behaviors" as *u8) 55 56 // liar-kill 57 let pre: i64 = t[2] 58 row(t, "our /gen UI already matches Meshy+MyIMG breadth (FAKE)" as *u8, 0, "/gen now serves t2i + t2mesh-STL, but edit-ops/i2mesh-upload/texture/rig/AI-upscale remain unshipped -- breadth parity is NOT reached. If this grades HAVE the census lies" as *u8) 59 var liar_ok: i64 = 0 60 if t[2] == pre { liar_ok = 1 } 61 62 let cells: i64 = t[0] + t[1] + t[2] 63 let score: i64 = (t[2] * 2 + t[1]) * 500 / cells 64 cw("--- TALLY --- HAVE " as *u8); cn(t[2]); cw(" PARTIAL " as *u8); cn(t[1]); cw(" GAP " as *u8); cn(t[0]) 65 cw(" cells " as *u8); cn(cells); cw(" score " as *u8); cn(score); cw("permille liar-kill=" as *u8) 66 if liar_ok == 1 { cw("YES\n" as *u8) } else { cw("NO -- INVALID\n" as *u8) } 67 cw("VERDICT (honest): t2i AND text->STL are now LIVE product surfaces at /gen (G2 shipped 2026-07-05,\n" as *u8) 68 cw(" probe-proven on the deployed NAS). Remaining gap = edit-ops lane, i2mesh-from-real-image, texture/rig\n" as *u8) 69 cw(" emit, AI upscale, and the LIVE tool-registry flip so agents (Elara) can discover+invoke these.\n" as *u8) 70 cw("LADDER (surface-then-deepen; critic + gates on every rung):\n" as *u8) 71 cw(" G1 DONE 07-05: gen capabilities registered in nx_tool_registry (local SSOT; LIVE NAS registry flip\n" as *u8) 72 cw(" stays operator-gated) ->\n" as *u8) 73 cw(" G2 DONE 07-05 (LIVE): 3D section in /gen -- POST /api/mesh + GET /mesh/<obj>.stl + UI; i2mesh-from-\n" as *u8) 74 cw(" upload deliberately NOT shipped until G3 lands real-image masks (no dead buttons) ->\n" as *u8) 75 cw(" G3 REAL-IMAGE i2mesh: Z-Image PNG -> mask -> field -> mesh (close the CF studio loop) + OBJ/GLB ->\n" as *u8) 76 cw(" G4 EDIT ops lane: sovereign inpaint/region-edit organ, then the persona-safe suite ops (myimg bar) ->\n" as *u8) 77 cw(" G5 texture/PBR emit (gen3d R4) -> G6 auto-rig emit (R5) -> G7 Elara tool-call behaviors\n" as *u8) 78 cw(" (share-3D-object / print-a-gift / edit-my-photo = the wide behavior range, via /mcp cap-gated).\n" as *u8) 79 if liar_ok == 1 { return 0 } 80 return 1 81}