code wiki / _hdl_build / nx_evclass_route.nx

nx_evclass_route.nx

buildroot/runtime/_hdl_build/nx_evclass_route.nx

11198 B266 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_evclass_route.nx -- route DERIVED oracle rows to the DOMAINS that actually earned them. THE DEFECT THIS CLOSES (measured 2026-08-01): nx_evoracle_sweep correctly derives third-party oracle rows -- RFC 9807, RFC 7748, RFC 9497, FIPS 180-4 -- and writes them ALL to knowledge/status/ evclass_sovereign.conf. But `sovereign` IS NOT A DOMAIN (no sovereign.matrix), while nx_sota_status reads evclass_<domain>.conf per domain. So 7 genuine third-party attestations landed in a file NO CONSUMER READS, and PROVEN stayed 0/41 with the evidence sitting right there. ★★★★★A NEAR-ZERO MATCH MEANS A WRONG JOIN KEY, NOT A MISSING POPULATION. The derivation was never the problem; the rows simply were not addressed to anyone. THE JOIN: every derived row carries `gate=<name>`, and knowledge/compare/<domain>.gates names the gates a domain claims. So gate -> domain is a real, checkable key, not an inference. OUTCOMES ARE NEVER COLLAPSED (the sweep's own law): ROUTED / ALREADY / UNROUTED are counted and named separately -- a row nobody claims and a row already present must never look the same. ⚠These rows remain UNSIGNED. at_verify_row refuses them until an operator-held key exists. This organ supplies ADDRESSING; it does not and cannot supply ATTRIBUTION. nx_evclass_route [srcfile] default knowledge/status/evclass_sovereign.conf license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0

dependencies 2 imports · 0 importers

nx_gateorder_lib.nx nx_estate_path.nx nx_evclass_route.nx

imports: nx_gateorder_lib.nxnx_estate_path.nx

imported by: nobody (leaf or entry point)

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

main ep_anchor sys_openat_rd sys_close sys_chdir sys_mmap er_init go_puts sys_write go_strlen er_read_into sys_read er_collect_domains sys_getdents64 go_match_at go_strlen ↻ go_kv go_puts ↻ go_puti sys_mmap ↻ sys_write ↻ go_match_at ↻ er_path_for go_first go_match_at ↻ sys_openat_append

structs

none

consts

24const ER_MAGIC_65536: i64 = 65536
26const ER_CAP: i64 = 262144
27const ER_PATH: i64 = 512
28const ER_NAMEW: i64 = 96
29const ER_MAXDOM: i64 = 128

functions

40func er_init()
called by 1: main
51func er_read_into(path: *u8, buf: *u8, cap: i64) -> i64
called by 1: main calls 1: sys_read
71func er_collect_domains()
called by 1: main calls 2: sys_getdents64go_match_at
114func er_path_for(pre: *u8, dom: *u8, suf: *u8, out: *u8)
called by 1: main
139func main(argc: i64, argv: *i64) -> i64