code wiki / _hdl_build / nx_gonogo_gate.nx

nx_gonogo_gate.nx

buildroot/runtime/_hdl_build/nx_gonogo_gate.nx

5186 B67 linesdepth 9pulls 13 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_gonogo_gate.nx -- GATE for the dmkt GO/NO-GO decision core (F317 / M9). Every tooth ships with its OPPOSITE, because the failure mode this gate exists to prevent is a decision organ that quietly resolves an unknown into a confident answer. Verdict emission INHERITS nx_gate_verdict (D001) so nx_gate_green can judge it and it lands a harness frame. license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_gonogo.nx nx_gate_verdict.nx nx_gonogo_gate.nx

imports: nx_syscalls.nxnx_gonogo.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

main gv_ctr 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 ↻ sys_mmap ↻ ggt_chk sys_write ↻ gg_decide gv_verdict gv_note_bare_rate gv_bare_rate gv_at gv_obj_has_n gv_at ↻ gv_puts sys_write ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_puts ↻ gv_num ↻ gv_journal sys_openat_append sys_mmap ↻ gv_catn sys_mmap ↻

structs

none

consts

11const GGT_MARGIN_OK: i64 = 500
12const GGT_MARGIN_FLOOR: i64 = 300
13const GGT_MARGIN_BAD: i64 = 100
14const GGT_RISK_OK: i64 = 30
15const GGT_RISK_CEIL: i64 = 50
16const GGT_RISK_BAD: i64 = 90
17const GGT_COV_OK: i64 = 900
18const GGT_COV_FLOOR: i64 = 800
19const GGT_COV_BAD: i64 = 100
20const GGT_DOM_OK: i64 = 400
21const GGT_DOM_FLOOR: i64 = 100
22const GGT_DOM_BAD: i64 = 50
23const GGT_DISABLED: i64 = 0

functions

25func ggt_chk(name: *u8, got: i64, want: i64, ctr: *i64) -> i64
called by 1: main calls 1: sys_write
35func main(argc: i64, argv: *i64) -> i64