code wiki / (root) / nx_gfx_gates_beat.nx

nx_gfx_gates_beat.nx

buildroot/runtime/nx_gfx_gates_beat.nx

4097 B102 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic gfx
docsdependenciesstructsconstsfunctions

about

nx_gfx_gates_beat.nx -- THE ROSTER BEAT for the 2026-08-12 graphics/procgen gate set (the wiring half of debt 1786563155): a gate nobody re-runs is a comment; this beat runs the rostered gates on the clock so EROSION is visible. Each gate journals itself (gv_journal -> knowledge/status/harness.jrnl), so fleet publishing is DERIVED; this organ appends its own one-line-per-gate summary to knowledge/status/gfxgates.jrnl (epoch TAB gfxgates TAB gate TAB verdict TAB exit). Composes gk_run_capture_ms (the estate's bounded runner -- the pipe-deadline and watchdog lessons live THERE, never re-implemented). An ABSENT gate elf is REPORTED, never silently skipped. Verdict classes: GREEN(0) SKIP(3, tolerated -- gv_need preconditions) RED(other) ABSENT(no elf). exit 0 = no RED/ABSENT; exit 1 otherwise. license_tier: ORIGINAL expect_exit: 0

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_gatekit_lib.nx nx_gfx_gates_beat.nx

imports: nx_syscalls.nxnx_gatekit_lib.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_openat_append gxb_one sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ gxb_cat sys_openat_rd sys_close gk_run_capture_ms gk_run_cap3 sys_mmap ↻ sys_pipe2 sys_fork sys_close ↻ sys_setpgid sys_openat_rd ↻ sys_dup3 sys_execve sys_exit ↻ sys_sleep_ms sys_mmap ↻ sys_munmap nx_kill sys_now_realtime_ms sys_mmap ↻ sys_clock_gettime_real sys_poll

structs

none

consts

13const GXB_MS: i64 = 60000
14const GXB_CAP: i64 = 65536
15const GXB_MODE: i64 = 0x1a4
16const GXB_TAB: i64 = 9
17const GXB_NL: i64 = 10

functions

19func gxb_s(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: main calls 1: sys_write
20func gxb_cat(d: *u8, o: i64, s: *u8) -> i64 { var i: i64 = 0; var p: i64 = o; while s[i] != (0 as u8) { d[p] = s[i]; p = p + 1; i = i + 1 } return p }
called by 1: gxb_one
21func gxb_catn(d: *u8, o: i64, v: i64) -> i64
called by 2: gxb_onemain calls 1: sys_mmap
35func gxb_one(name: *u8, jfd: i64) -> i64
78func main() -> i64