code wiki / _hdl_build / nx_atlas_discover_gate.nx
nx_atlas_discover_gate.nx
buildroot/runtime/_hdl_build/nx_atlas_discover_gate.nx
about
nx_atlas_discover_gate.nx -- gate for atlas recombination discovery (authored ON nx_gate_verdict
per the migrate-on-touch law). Per-run-unique /tmp fixture planes:
T1 proposes novel MCP-live pairs above minscore (data-adjacent + cross-owner scoring)
T2 EXCLUDES the already-composed pair (both organs in the exclusion plan = no proposal)
T3 EXCLUDES non-mcp-live organs (internal/GAP rows never proposed)
T4 deterministic (two runs -> byte-identical discovery plane)
T5 unseeded catalog -> fail-closed nonzero exit
license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0
dependencies 5 imports · 0 importers
imports: nx_store_seed_lib.nxnx_seg_store.nxnx_deploy_lib.nxnx_gate_verdict.nxnx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 15 | const AG_CAP: i64 = 262144 |
| 16 | const AG_PFX: i64 = 128 |
functions
| 18 | func ag_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: ag_has |
| 19 | func ag_has(q: *u8, n: i64, s: *u8) -> i64 |
| 32 | func ag_mkpfx(dst: *u8, stem: *u8, epoch: i64) -> i64 |
| 40 | func main() -> i64 |