code wiki / _hdl_build / nx_wflow_obs_gate.nx

nx_wflow_obs_gate.nx

buildroot/runtime/_hdl_build/nx_wflow_obs_gate.nx

4652 B105 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic wflow
docsdependenciesstructsconstsfunctions

about

nx_wflow_obs_gate.nx -- R6 RUN OBSERVABILITY gate: the board + 0-JS HTML run page are derived ENTIRELY by replaying the event-sourced run ledger (nothing self-reported). Builds a mixed ledger through REAL engine calls (one DONE run, one FAILED run, one PARKED-on-approval run, one synthetic in-flight RUNNING), then asserts the derived states, the totals, and the real page bytes (title + states present, zero <script, DOCTYPE-led). Neg-controls: empty ledger reports 0 runs (no fabrication); nonsense state absent. ZERO forks. license_tier: ORIGINAL expect_exit: 0

dependencies 1 imports · 0 importers

nx_wflow_engine.nx nx_wflow_obs_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 wf_fire wf_evid slen p sys_write slen ↻ wf_readall p ↻ wf_match pipe_field seq wf_has slen ↻ pipe_field ↻ wf_cat ↻ wf_lines_with2 wf_has_rng slen ↻ wf_emit wf_cat ↻ wf_catn ↻ wf_append p ↻ slen ↻ wf_emit_ver wf_cat ↻ wf_catn ↻ wf_append ↻ wf_bind_event wf_emit_var wf_cat ↻ wf_append ↻ wf_run_from

structs

none

consts

none

functions

9func og_file_has(path: *u8, needle: *u8) -> i64
called by 1: main calls 2: wf_readallwf_lines_with2
17func main() -> i64