nx_climbout.nx
buildroot/runtime/nx_climbout.nx
about
nx_climbout.nx -- R5 of THE NISHI SITUATION-MANAGEMENT arc: the CLIMB-OUT PLAN engine -- the capstone that
fuses the whole system into ONE prioritized, dollar-impact path from crisis to peace, then shows an
overwhelmed person just the next step. Each candidate ACTION comes from an engine already built this arc:
stabilize overdue bills (nx_bills) · recover overcharges (nx_fin_audit dispute) · cut the rate
(nx_fin_finance) · attack highest-APR debt (nx_debt avalanche) · build a buffer.
Ordered by the FINANCIAL ORDER OF OPERATIONS (a real framework): tier ascending = stabilize < recover-what-
is-owed-to-you < cut-ongoing-cost < attack-debt < build-buffer; within a tier, biggest dollar impact first.
Then `ac_load_budget` (nx_accommodate) decides HOW MANY steps to surface -- so an ADHD/low-energy person
sees ONE next step worth $X, not the whole wall. Exact no-float (nx_money). Advisory, no auto-action.
license_tier: ORIGINAL
dependencies 3 imports · 4 importers
imports: nx_syscalls.nxnx_money.nxnx_accommodate.nx
imported by: nx_climbout_gate.nxnx_climbout_real.nxnx_climbout_real_gate.nxnx_finance_web.nx
structs
| none |
consts
| 16 | const CO_STABILIZE: i64 = 0 // overdue bills / keep the lights on -- do first regardless of $ |
| 17 | const CO_RECOVER: i64 = 1 // money owed to YOU -- overbilling disputes |
| 18 | const CO_CUTCOST: i64 = 2 // cut ongoing cost -- refinance, cheaper insurance |
| 19 | const CO_ATTACKDEBT:i64 = 3 // attack the highest-APR debt |
| 20 | const CO_BUILD: i64 = 4 // build the emergency buffer |
functions
| 24 | func co_plan(tiers: *i64, impacts: *i64, n: i64, out_order: *i64) -> i64 |
| 49 | func co_total_impact(impacts: *i64, n: i64) -> i64 |
| 58 | func co_next_action(out_order: *i64, done: *i64, n: i64) -> i64 called by 1: main |