code wiki / _hdl_build / nx_wflow_connect_gate.nx

nx_wflow_connect_gate.nx

buildroot/runtime/_hdl_build/nx_wflow_connect_gate.nx

6705 B150 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic wflow
docsdependenciesstructsconstsfunctions

about

nx_wflow_connect_gate.nx -- R3 CONNECTOR layer gate: the exec-organ action over the GREEN fail-closed connector catalog (rows name<TAB>elf<TAB>GREEN, the tool_allowlist.conf shape). Proves: a workflow step runs a REAL blessed organ (nx_tool_argecho + nx_vizsla_ics composing an actual .ics export), child exit 0 = step OK; unknown connector / RED flag / missing catalog all refuse FAIL-CLOSED (run FAILED, no fork); a dead elf path exits 127 = honest step failure. Kept to 3 forks total (the degraded-box ~5-fork flake lesson: fork-heavy gates stay SMALL). license_tier: ORIGINAL expect_exit: 0

dependencies 1 imports · 0 importers

nx_wflow_engine.nx nx_wflow_connect_gate.nx

imports: nx_wflow_engine.nx

imported by: nobody (leaf or entry point)

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

main wf_now sys_now_realtime_sec sys_mmap sys_clock_gettime_real wf_cat wf_catn cg_row wf_cat ↻ wf_append p sys_write slen slen ↻ wf_load pipe_field wf_atoi p ↻ wf_action_ok seq seq ↻ sr_valid seq ↻ wf_fire wf_evid slen ↻ p ↻ wf_readall p ↻ wf_match pipe_field ↻ seq ↻ wf_has slen ↻ pipe_field ↻ wf_cat ↻ wf_lines_with2 wf_has_rng slen ↻ wf_emit

structs

none

consts

none

functions

10func cg_row(conf: *u8, name: *u8, elf: *u8, flag: *u8) -> i64
called by 1: main calls 2: wf_catwf_append
26func cg_n(led: *u8, ridtok: *u8, st: *u8) -> i64
called by 1: main calls 2: wf_readallwf_lines_with2
32func cg_file_has(path: *u8, needle: *u8) -> i64
called by 1: main calls 2: wf_readallwf_lines_with2
40func main() -> i64