code wiki / (root) / nx_clm_gate.nx

nx_clm_gate.nx

buildroot/runtime/nx_clm_gate.nx

6912 B111 linesdepth 8pulls 15 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_clm_gate.nx -- F996 INDEPENDENT GATE: contract lifecycle + auto-renewal-trap detection. Proves the notice deadline math, the three renewal states (open/missed/renewed), that a contract with unknown terms is flagged for review (never silently safe), and the obligation-overdue counter. license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0

dependencies 2 imports · 0 importers

nx_clm_lib.nx nx_gate_verdict.nx nx_clm_gate.nx

imports: nx_clm_lib.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 ↻ gv_head gv_puts sys_write ↻ lg_ck gv_check gv_puts ↻ gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap clm_notice_deadline clm_renewal_state clm_is_safe clm_renewal_state ↻ clm_days_to_act lg_id mt_catcopy mt_catn nxi_buf clm_obligation_put mt_catcopy ↻ mt_catn ↻

structs

none

consts

none

functions

20func lg_ck(cnt: *i64, name: *u8, got: i64, want: i64) -> i64
called by 1: main calls 3: gv_checkgv_putsgv_num
27func lg_id(tag: *u8, nonce: i64, out: *u8) -> i64
called by 1: main calls 2: mt_catcopymt_catn
34func main(argc: i64, argv: *i64) -> i64