nx_forge_engine_gate.nx
buildroot/runtime/nx_forge_engine_gate.nx
about
nx_forge_engine_gate.nx -- gate for the assembled autonomous-coding engine. Deterministic,
NO model: the raceless bind-pre-fork stub maker serves scripted /gen responses + captures
request bodies. Proves the two-stage engine:
T1 GREEN at loop stage (good candidate -> rc=1; sampling never engaged)
T2 GREEN at sample stage: loop exhausts (broken, maxc=1) -> sample1 broken -> sample2 good
-> rc=102 (100+k). The free-verifier best-of-N lever, mechanized.
T2b sample requests carry "temp" + DETERMINISTIC per-sample seeds (11001, 11002)
T2c loop-stage request has NO "temp" key (greedy preserved) AND sample requests carry NO
repair header (independence between samples)
T3 NEG: everything broken -> rc=-40 (exhausted, never a fake GREEN)
Fixture JSONs built at gate time from the SAME flp_* fixture programs (never drift).
license_tier: ORIGINAL expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_forge_engine.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
| none |
functions
| 16 | func feg_bind(port: i64) -> i64 |
| 34 | func feg_serve(lfd: i64, n: i64, resps: *i64, caps: *i64) -> i64 |
| 70 | func feg_mkjson(progpath: *u8, outpath: *u8) -> i64 |
| 92 | func feg_case(organ: *u8, n: i64, resps: *i64, caps: *i64, port: i64, maxc: i64, nsamples: i64, temp_pm: i64) -> i64 |
| 110 | func feg_cap_has(cappath: *u8, needle: *u8) -> i64 |
| 119 | func main(argc: i64, argv: *i64) -> i64 |