code wiki / _hdl_build / nx_game_gate_register.nx

nx_game_gate_register.nx

buildroot/runtime/_hdl_build/nx_game_gate_register.nx

5163 B89 linesdepth 4pulls 6 transitivereach 0 importersview sourcekind tooltopic game
docsdependenciesstructsconstsfunctions

about

nx_game_gate_register.nx -- GOVERNED registration of the game-engine evidence gate (operator: "keep building the team to build this"). ENGINEER verdict = run the gate twice and require DISCRIMINATION: (a) with the UNFIXED _offc/nx_cc_sovereign.elf the gate must FAIL >=1 module (it must catch the known unterminated-block miscompile via nx_term_kat + nx_tictactoe_test); (b) the gate must judge by RAW wait status (signal-aware) and exit with the fails count -- a gate that can't go red is not a gate. If a FIXED compiler candidate is present at /tmp/nx_cc_fixed_oracle.elf the Engineer also requires it to gate GREEN (fails=0). license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_cap_register.nx nx_pm_review_log.nx nx_syscalls.nx nx_game_gate_register.nx

imports: nx_cap_register.nxnx_pm_review_log.nxnx_syscalls.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_rd sys_close ggr_run1 sys_fork sys_openat_wr sys_dup3 sys_mmap sys_execve sys_exit sys_wait4 cr_w sys_write cr_wn sys_mmap ↻ sys_write ↻ ig_engineer ig_documented ig_council ig_decision pm_open sys_openat_append pm_deliverable pm_flag pm_w sys_write ↻ pm_cstr_len pm_gap pm_flag ↻ sys_exit ↻ cr_can_register sml_check_cap sml_layer_valid sml_status_valid sys_openat_append ↻ cr_write_entry cr_w ↻ cr_wn ↻

structs

none

consts

16const GGR_LAYER: i64 = 4 // CON -- build/test orchestration (same shelf as nx_sov_build_run)
17const GGR_STATUS: i64 = 2 // ECO_PROVEN
18const GGR_IDX: i64 = 216
19const GGR_NLAYERS: i64 = 6

functions

22func ggr_run1(path: *u8, arg1: *u8) -> i64
38func main() -> i64