nx_climbout_progress.nx
buildroot/runtime/nx_climbout_progress.nx
about
nx_climbout_progress.nx -- R7 of THE NISHI SITUATION-MANAGEMENT arc: TRACK THE CLIMB. As a person
completes climb-out steps (pay the overdue bill, file the dispute, refinance, ...), record it so the
system shows PROGRESS toward financial peace and surfaces the next step. The "climb out to happiness"
made visible -- and especially motivating for ADHD (the done step disappears, progress is concrete, only
the next one shows). The done-state is a sovereign content-addressed record per respondent: a string of
'0'/'1', one char per step, in the seg-store keyed "progress:<respondent>" (last-wins). No bit-shifts,
no floats, no hardware writes. license_tier: ORIGINAL
dependencies 2 imports · 2 importers
imports: nx_syscalls.nxnx_seg_store.nx
imported by: nx_climbout_progress_gate.nxnx_finance_web.nx
structs
| none |
consts
| none |
functions
| 11 | func cp_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 14 | func cp_key(respondent: *u8, out: *u8) -> i64 |
| 26 | func cp_get(prefix: *u8, respondent: *u8, out: *u8, n: i64) -> i64 |
| 46 | func cp_mark(prefix: *u8, respondent: *u8, step: i64, n: i64) -> i64 |
| 60 | func cp_count(donestr: *u8, n: i64) -> i64 |
| 68 | func cp_pct(done_count: i64, n: i64) -> i64 |
| 74 | func cp_is_done(donestr: *u8, step: i64) -> i64 called by 1: main |
| 80 | func cp_next(donestr: *u8, order: *i64, n: i64) -> i64 |