code wiki / (root) / nx_climbout_progress.nx

nx_climbout_progress.nx

buildroot/runtime/nx_climbout_progress.nx

3253 B88 linesdepth 3pulls 3 transitivereach 8 importersview sourcekind librarytopic climbout
docsdependenciesstructsconstsfunctions

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

nx_syscalls.nx nx_seg_store.nx nx_climbout_progress.nx nx_climbout_progress_gate.nx nx_finance_web.nx

imports: nx_syscalls.nxnx_seg_store.nx

imported by: nx_climbout_progress_gate.nxnx_finance_web.nx

structs

none

consts

none

functions

11func cp_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
14func cp_key(respondent: *u8, out: *u8) -> i64
called by 2: cp_getcp_mark
26func cp_get(prefix: *u8, respondent: *u8, out: *u8, n: i64) -> i64
46func cp_mark(prefix: *u8, respondent: *u8, step: i64, n: i64) -> i64
60func cp_count(donestr: *u8, n: i64) -> i64
called by 2: mainfw_render
68func cp_pct(done_count: i64, n: i64) -> i64
called by 2: mainfw_render
74func cp_is_done(donestr: *u8, step: i64) -> i64
called by 1: main
80func cp_next(donestr: *u8, order: *i64, n: i64) -> i64