code wiki / (root) / nx_dr_route_gate.nx

nx_dr_route_gate.nx

buildroot/runtime/nx_dr_route_gate.nx

2954 B65 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic dr
docsdependenciesstructsconstsfunctions

about

nx_dr_route_gate.nx -- KAT + neg-control for the web-vs-private router (DR-7). Proves coverage, all four route outcomes, the uses_web/uses_private predicates, boundary inclusivity, and the CENTRAL neg-control encoding DRBench's dominant failure fix: a query whose private coverage is BELOW threshold is NEVER routed private-only -- it always involves the web (WEB_ONLY or ESCALATE_WEB), so the agent can never dead-end. DRY verdict lib.

dependencies 2 imports · 0 importers

nx_dr_route.nx nx_gate_verdict.nx nx_dr_route_gate.nx

imports: nx_dr_route.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_head gv_puts sys_write ↻ rt_coverage gv_check gv_puts ↻ rt_route rt_uses_web rt_uses_private gv_verdict gv_note_bare_rate gv_bare_rate gv_at gv_obj_has_n gv_at ↻ gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_puts ↻ gv_num ↻ gv_journal

structs

none

consts

none

functions

9func main() -> i64