code wiki / _hdl_build / nx_meet_http_gate.nx

nx_meet_http_gate.nx

buildroot/runtime/_hdl_build/nx_meet_http_gate.nx

5612 B76 linesdepth 7pulls 10 transitivereach 0 importersview sourcekind gate/prooftopic meet
docsdependenciesstructsconstsfunctions

about

nx_meet_http_gate.nx -- liar-kill gate for P2's live-route brain. Feeds fixture HTTP requests through meet_http_handle and asserts: a clean apply POST is parsed + url-decoded + SCREENED + persisted (200 + thanks), a honeypot-filled POST and an AI-slop POST are FLAGGED, a /request-talent POST routes to hire + SCREENED, a GET is refused (405), and a %0D%0A URL-encoded CRLF injection is stripped in the PERSISTED record. expect_exit: 0

dependencies 6 imports · 0 importers

nx_syscalls.nx nx_meet_lib.nx nx_meet_curate.nx nx_meet_http.nx nx_meet_store.nx nx_gate_verdict.nx nx_meet_http_gate.nx

imports: nx_syscalls.nxnx_meet_lib.nxnx_meet_curate.nxnx_meet_http.nxnx_meet_store.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 mputs sys_write mlen sys_mmap nxa_die sys_write ↻ sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ meet_http_handle http_is_post mcat http_path_is mlen ↻ http_body_off sys_mmap ↻ form_get mlen ↻ url_decode hx curate_screen_posting mlen ↻ trust_is_ghost_posting trust_posting_score mlen ↻ sys_mmap ↻ trust_lc trust_has mlen ↻ trust_has_digit

structs

none

consts

none

functions

12func has(hay: *u8, n: i64, needle: *u8) -> i64
called by 2: stored_hasmain calls 1: mlen
18func slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
called by 1: main
20func stored_has(id: *u8, needle: *u8) -> i64
called by 1: main calls 3: sys_mmapmeet_store_gethas
27func main() -> i64