nx_gaps_pass_gate.nx
buildroot/runtime/nx_gaps_pass_gate.nx
about
nx_gaps_pass_gate.nx -- GATE for gaps_pass (ecosystem EC38): the ONE renderer of the record census feed
(knowledge/recordgaps.conf.rows + its sibling .stamp) in the compare base lib, driven IN-PROCESS on a planted fixture
tree under /tmp/nx_gaps_pass_gate. The gate chdirs into the fixture root so the lib's estate-path probe resolves the feed
INSIDE the fixture (as-given wins over ../ and the roots) and never renders the real census. Controls: a board renders
ONLY its own directive rows plus the estate-wide organ COUNT; the ecosystem hub renders the un-boarded organs in full;
a MALFORMED row is counted and never rendered; an angle bracket in a name is escaped; a STALE stamp renders its rows
under the STALE state (a stale census is never "no gaps"); a BLIND stamp says sources read of declared; a FRESH one
says FRESH. The absent-feed tooth is named WEAK on purpose: the resolver probes the estate roots ABSOLUTELY, so on the
NAS an absent fixture feed legitimately falls through to the production feed -- the tooth accepts either outcome and
says so. Every fixture asserts it reached its condition before any outcome is judged. No network. license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_gatekit_lib.nxnx_swcompare_lib.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
structs
| none |
consts
| 16 | const X_ROOT: *u8 = "/tmp/nx_gaps_pass_gate" |
| 17 | const X_KDIR: *u8 = "/tmp/nx_gaps_pass_gate/knowledge" |
| 18 | const X_FEED: *u8 = "/tmp/nx_gaps_pass_gate/knowledge/recordgaps.conf.rows" |
| 19 | const X_STAMP: *u8 = "/tmp/nx_gaps_pass_gate/knowledge/recordgaps.conf.stamp" |
| 20 | const X_EMPTY: *u8 = "/tmp/nx_gaps_pass_gate_empty" |
| 21 | const X_EMPTY_K: *u8 = "/tmp/nx_gaps_pass_gate_empty/knowledge" |
| 22 | const X_A_HTML: *u8 = "/tmp/nx_gaps_pass_gate/a.html" |
| 23 | const X_A_JSON: *u8 = "/tmp/nx_gaps_pass_gate/a.json" |
| 24 | const X_HUB_HTML: *u8 = "/tmp/nx_gaps_pass_gate/hub.html" |
| 25 | const X_HUB_JSON: *u8 = "/tmp/nx_gaps_pass_gate/hub.json" |
| 26 | const X_STALE_HTML: *u8 = "/tmp/nx_gaps_pass_gate/stale.html" |
| 27 | const X_FRESH_HTML: *u8 = "/tmp/nx_gaps_pass_gate/fresh.html" |
| 28 | const X_ABS_JSON: *u8 = "/tmp/nx_gaps_pass_gate/abs.json" |
| 29 | const X_MODE_RW: i64 = 420 |
| 30 | const X_MODE_RWX: i64 = 493 |
| 31 | const X_CAP: i64 = 262144 |
| 32 | const X_CADENCE: i64 = 86400 |
| 33 | const X_STALE_BEATS: i64 = 5 |
| 34 | const X_TOTAL: i64 = 4 |
| 35 | const X_READ_BLIND: i64 = 3 |
| 36 | const X_DECLARED: i64 = 4 |
| 38 | const X_ROWS: *u8 = "# comparegaps rows ts=1 total=4 organ=2 directive=2 sources_read=3 sources_declared=4\norgan|nx_orphan_q|UNASSIGNED|invoked|count=3\norgan|nx_x<y|UNASSIGNED|invoked|count=1\ndirective|qq_sym|a|plan-queue|rung=A1\ndirective|zz_sym|b|plan-queue|rung=B1\nbad|row\n" |
functions
| 40 | func x_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 41 | func x_put(path: *u8, body: *u8) -> i64 |
| 49 | func x_find(buf: *u8, n: i64, needle: *u8) -> i64 |
| 57 | func x_render(dom: *u8, mode: i64, out: *u8, buf: *u8) -> i64 |
| 69 | func main(argc: i64, argv: *i64) -> i64 |