nx_twinreport_gate.nx
buildroot/runtime/nx_twinreport_gate.nx
about
nx_twinreport_gate.nx -- gate for the card-to-visible-result call (aesthetictwin AT42, 2026-09-17). In-process over
nx_twinreport_lib, composed with nx_compare_results_lib so the rows this organ writes are held to the grammar the results
page actually parses: a planted card is fitted, rendered from three views and appended; a card with no known axis and an
empty seed range refuse without writing; a repeated append supersedes itself on the page. Scratch lives in /tmp.
license_tier: ORIGINAL No hw writes (Rule 26).
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_gate_verdict.nxnx_twinreport_lib.nxnx_compare_results_lib.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
| 11 | const RG_DIR: *u8 = "/tmp/nx_twinreport_gate" |
| 12 | const RG_TARGET: *u8 = "/tmp/nx_twinreport_gate/planted.target" |
| 13 | const RG_EMPTY_TARGET: *u8 = "/tmp/nx_twinreport_gate/empty.target" |
| 14 | const RG_RESULTS: *u8 = "/tmp/nx_twinreport_gate/gate.results" |
| 15 | const RG_HREF: *u8 = "/compare/fixtureboard/results/img/" |
| 16 | const RG_SLUG: *u8 = "planted_card" |
| 17 | const RG_CLOSE_PNG: *u8 = "/tmp/nx_twinreport_gate/planted_card_close.png" |
| 18 | const RG_SEED_PNG: *u8 = "/tmp/nx_twinreport_gate/seed_3.png" |
| 19 | const RG_MODE755: i64 = 493 |
| 20 | const RG_MODE644: i64 = 420 |
| 21 | const RG_PNG_SIG0: i64 = 137 |
| 22 | const RG_PNG_SIG1: i64 = 80 |
| 23 | const RG_VIEWS: i64 = 3 |
| 24 | const RG_SEED: i64 = 3 |
| 25 | const RG_PAGE_CAP: i64 = 262144 |
| 26 | const RG_REACHED: i64 = 4 |
| 27 | const RG_BYTE: i64 = 255 |
functions
| 29 | func rg_write(path: *u8, s: *u8) -> i64 |
| 37 | func rg_size(path: *u8) -> i64 |
| 44 | func rg_is_png(path: *u8) -> i64 |
| 54 | func main(argc: i64, argv: *i64) -> i64 |