nx_manga_charsheet_gate.nx
buildroot/runtime/nx_manga_charsheet_gate.nx
about
nx_manga_charsheet_gate.nx -- REFEREE for R4 (nx_manga_charsheet). END-TO-END: builds its own mesh by
forking nx_body_gen, writes its own sheet specs, forks the PROMOTED sheet elf, and reads the artifacts
back off disk. It measures the shipped binary, not a convenient in-process copy of the logic.
It proves the DONE-RULE pre-declared on /compare/mangagen before the organ existed:
"Legality-checked pose sweep, renders, sheet grid; identity judged per cell."
NEGATIVE CONTROLS, because a green that never had a red is unverified:
neg-control-white -- the ink counter must return ZERO on a blank buffer, so the drew-something
teeth cannot pass on any image at all.
neg-control-nomesh -- an unreadable mesh must REFUSE and leave no sheet.
neg-control-hole -- a view the renderer cannot satisfy must REFUSE, because the whole point is that
a sheet is never composed with a hole in it.
license_tier: ORIGINAL expect_exit: 0
dependencies 5 imports · 0 importers
imports: nx_str.nxnx_syscalls.nxnx_tool_run.nxnx_img_to_rgb.nxnx_gate_verdict.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
| 18 | const MCG_CAP: i64 = 65536 |
functions
| 19 | func mcg_write(path: *u8, s: *u8) -> i64 |
| 28 | func mcg_exists(p: *u8) -> i64 |
| 34 | func mcg_count(buf: *u8, n: i64, needle: *u8) -> i64 |
| 48 | func mcg_ink(rgb: *u8, w: i64, h: i64) -> i64 called by 1: main |
| 62 | func main(argc: i64, argv: *i64) -> i64 |