code wiki / _hdl_build / nx_site_intake_gate.nx

nx_site_intake_gate.nx

buildroot/runtime/_hdl_build/nx_site_intake_gate.nx

8571 B160 linesdepth 3pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic site
docsdependenciesstructsconstsfunctions

about

nx_site_intake_gate.nx -- proves the PUBLIC intake route core END-TO-END IN-PROCESS (the nx_fin_route_gate discipline: crafted raw requests -> si_route -> assert response bytes AND plane side-effects), on the nx_gate_verdict base class (L009/D001: new gates inherit, never hand-roll). Fixture paths are per-run epoch-suffixed /tmp files so the gate can never measure its own history (the office-intake T1 state-poisoning lesson). license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_site_intake.nx nx_gate_verdict.nx nx_site_intake_gate.nx

imports: nx_syscalls.nxnx_site_intake.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main gv_ctr sys_mmap gv_head gv_puts sys_write sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real sys_mmap ↻ si_cat si_putn sys_mmap ↻ si_route si_starts si_len si_resp_health si_cat ↻ si_resp si_cat ↻ sys_mmap ↻ si_len ↻ si_slug_ok si_len ↻ si_streq si_field sys_mmap ↻ nx_http_form_get_field nxf_decode_chunk nxf_hex_nibble si_len ↻ si_sanitize si_back_ok si_resp_303 si_cat ↻ sys_now_realtime_sec ↻ si_putn ↻ si_cat ↻ sys_openat_append sys_write ↻

structs

none

consts

10const SIG_BUF: i64 = 16384
11const SIG_BIG: i64 = 5000
12const SIG_B_A: i64 = 97

functions

14func sg_has(buf: *u8, n: i64, lit: *u8) -> i64
called by 1: main calls 1: si_len
21func sg_cnt(buf: *u8, n: i64, b: i64) -> i64
called by 1: main
27func sg_read(path: *u8, box: *i64) -> *u8
called by 1: main calls 1: sys_read_file
33func main(argc: i64, argv: *i64) -> i64