nx_intake_handler.nx
buildroot/runtime/nx_intake_handler.nx
about
nx_intake_handler.nx -- R6 of THE NISHI SITUATION-MANAGEMENT arc: the INTAKE data path. Turns a person's
submitted form (a urlencoded POST body from the zero-JS intake form, behind the opaque wall) into a
sovereign content-addressed survey record (sv_record) -- so the whole system (climb-out plan, before-you-
buy guard, triage, accommodation) runs on THEIR real numbers instead of the demo profile. Reuses the
existing nx_http_form_get_field parser (DRY -- the same one the login route uses) + the R0 survey engine.
No floats, no hardware writes. The opaque route (POST /finance/intake) calls ih_record then redirects to
/finance; that route block is the coordinated deployment hook. license_tier: ORIGINAL
dependencies 4 imports · 3 importers
imports: nx_syscalls.nxnx_http_form.nxnx_survey.nxnx_intake_profile.nx
imported by: nx_intake_handler_gate.nxnx_intake_profile_gate.nxnx_opaque_login_routes.nx
structs
| none |
consts
| none |
functions
| 13 | func ih_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: ih_field |
| 16 | func ih_field(body: *u8, body_n: i64, name: *u8, scratch: *u8, scratch_cap: i64) -> i64 |
| 28 | func ih_field_cents(body: *u8, body_n: i64, name: *u8, scratch: *u8, scratch_cap: i64) -> i64 |
| 34 | func ih_record(prefix: *u8, respondent: *u8, body: *u8, body_n: i64, out_cid: *u8) -> i64 |