nx_purchase_gate.nx
buildroot/runtime/nx_purchase_gate.nx
about
nx_purchase_gate.nx -- R4 GATE: proves the Nishi browser's "before you buy" pipeline end-to-end. A
product page -> detect the price -> show WHAT YOU HAVE vs WHAT IT TRULY COSTS + the OPPORTUNITY COST,
all exact. Scenario: a $200 gadget while carrying $20,000 of 24% debt ($600/mo), $500 discretionary,
$25/hr, $1,000 buffer goal. Exact anchor: putting $200 (or more) on the debt clears interest exactly
(R4-gated nx_debt). Exits 0 iff ALL pass. license_tier: ORIGINAL
dependencies 6 imports · 0 importers
imports: nx_syscalls.nxnx_money.nxnx_debt_payoff.nxnx_adhd.nxnx_purchase.nxnx_price_extract.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 13 | func 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 } |
| 14 | func g_putn(v: i64) -> i64 |
| 23 | func chk(name: *u8, got: i64, want: i64, st: *i64) -> i64 |
| 28 | func slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: main |
| 30 | func main() -> i64 |