code wiki / _hdl_build / nx_resgov_gate.nx

nx_resgov_gate.nx

buildroot/runtime/_hdl_build/nx_resgov_gate.nx

7584 B93 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_resgov_gate.nx -- PROVE THE GOVERNOR IS PROACTIVE, DEFAULT-COVERED, AND CANNOT KILL AN INNOCENT. Every tooth asserts BOTH polarities: the thing it must do, and the thing it must REFUSE. license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_gate_verdict.nx nx_resgov_core.nx nx_resgov_gate.nx

imports: nx_syscalls.nxnx_gate_verdict.nxnx_resgov_core.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 gv_head gv_puts sys_write rg_footprint_kb rg_level rg_footprint_kb ↻ rg_eta_s gv_check gv_puts ↻ rg_velocity_kb_s rg_eta_s ↻ rg_system_pressured rg_headroom_permil rg_cooldown_ok gv_verdict gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_journal sys_openat_append sys_mmap ↻ gv_catn sys_mmap ↻ sys_munmap ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real gv_cat sys_write ↻ sys_close sys_munmap ↻ sys_exit

structs

none

consts

8const GB: i64 = 1048576 // kB in a GiB

functions

10func main(argc: i64, argv: *i64) -> i64