code wiki / _hdl_build / nx_https_ladder_gate.nx

nx_https_ladder_gate.nx

buildroot/runtime/_hdl_build/nx_https_ladder_gate.nx

5279 B51 linesdepth 21pulls 147 transitivereach 0 importersview sourcekind gate/prooftopic https
docsdependenciesstructsconstsfunctions

about

nx_https_ladder_gate.nx -- teeth for the TLS-1.3 -> Chrome-hello -> TLS-1.2 fetch ladder's ONE decision, ff_leg_verdict in nx_https_fetch_follow.nx (2026-09-17). THE DEFECT IT GUARDS: the ladder's leg rule was hand-written in BOTH _best twins and both carried the same error -- only a 2xx counted as an answer -- so a COMPLETE 404 from the 1.3 legs fell through to the TLS-1.2 leg, a 1.3-only host refused that leg, the 1.2 leg zeroed out_status on entry, and the 404 body was handed back under status=0. The mirror lane (nx_research_fetch) reads status<=0 as "no HTTP answer, transient" and retried a definitive 404 (about.marginalia-search.com, twice). One decision function now serves both twins; this gate pins its truth table so neither twin can drift back. IN-PROCESS BY CONSTRUCTION: it imports nx_https_fetch_follow.nx and calls ff_leg_verdict directly with the four inputs the ladder reads (leg, byte count, status, body state), so it exercises the code the transport runs, needs no network, and has no NOT-DEPLOYED failure mode.

dependencies 2 imports · 0 importers

nx_https_fetch_follow.nx nx_gate_verdict.nx nx_https_ladder_gate.nx

imports: nx_https_fetch_follow.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 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 ↻ gv_check_eq gv_check gv_puts sys_write ↻ gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_check ↻ gv_kv gv_puts ↻ gv_num ↻ gv_exit sys_exit_group gv_verdict gv_note_bare_rate gv_bare_rate gv_at gv_obj_has_n gv_at ↻ gv_puts ↻ gv_num ↻

structs

none

consts

none

functions

17func main(argc: i64, argv: *i64) -> i64