code wiki / (root) / nx_climbout_gate.nx

nx_climbout_gate.nx

buildroot/runtime/nx_climbout_gate.nx

4420 B82 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic climbout
docsdependenciesstructsconstsfunctions

about

nx_climbout_gate.nx -- R5 GATE: proves the climb-out plan engine fuses the arc into ONE prioritized plan and shows an overwhelmed person the one right next step. Actions (each from an engine built this arc): stabilize: pay overdue HOA ($35 late fee avoided) tier 0 recover: dispute medical overbilling ($2,650) tier 1 cut-cost: shop cheaper auto insurance ($600) tier 2 (listed first, smaller) cut-cost: refinance to 9% CDFI ($10,136.96) tier 2 (listed second, bigger) attack: avalanche the 24% card ($727.25) tier 3 build: build a $1,000 buffer ($0 direct) tier 4 Order-of-operations (tier asc) + impact-desc within a tier => [stabilize, recover, refinance, insurance, avalanche, buffer]; total climb-out = $14,149.21; ADHD sees ONLY the first step. Exits 0 iff ALL pass. license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_money.nx nx_accommodate.nx nx_climbout.nx nx_climbout_gate.nx

imports: nx_syscalls.nxnx_money.nxnx_accommodate.nxnx_climbout.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap seti co_plan g_puts sys_write g_putn sys_write ↻ sys_mmap ↻ chk g_puts ↻ g_putn ↻ co_total_impact mny_add co_next_action ac_load_budget

structs

none

consts

none

functions

17func g_puts(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 2: chkmain calls 1: sys_write
18func g_putn(v: i64) -> i64
called by 2: chkmain calls 2: sys_writesys_mmap
27func chk(name: *u8, got: i64, want: i64, st: *i64) -> i64
called by 1: main calls 2: g_putsg_putn
32func seti(a: *i64, i: i64, v: i64) -> i64 { a[i] = v; return 0 }
called by 1: main
34func main() -> i64