code wiki / _hdl_build / nx_pipeline_gate.nx

nx_pipeline_gate.nx

buildroot/runtime/_hdl_build/nx_pipeline_gate.nx

4070 B76 linesdepth 5pulls 7 transitivereach 0 importersview sourcekind gate/prooftopic pipeline
docsdependenciesstructsconstsfunctions

about

nx_pipeline_gate.nx -- proves the R1 pipeline spine. T1 a work-item advances IN ORDER to EXCEEDED; T2 (load-bearing neg-control) a skip is REFUSED and the stage is unchanged (fabricated completion is mechanically impossible); T3 a never-seeded id is honestly UNKNOWN (0). GREEN iff all three. Uses a scratch prefix (cleaned by the harness before each run). license_tier: ORIGINAL

dependencies 6 imports · 0 importers

nx_pipeline_spine.nx nx_workstream_store.nx nx_seg_store.nx nx_framed_append.nx nx_syscalls.nx nx_gate_verdict.nx nx_pipeline_gate.nx

imports: nx_pipeline_spine.nxnx_workstream_store.nxnx_seg_store.nxnx_framed_append.nxnx_syscalls.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

main pl_seed_p pl_stage_p sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ pl_build_key pl_atoi sys_mmap ↻ pl_build_key ↻ pl_build_rec fa_cat fa_catn sys_mmap ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real pl_advance_p pl_stage_p ↻ sys_mmap ↻ pl_field_p sys_mmap ↻ pl_build_key ↻ pl_build_key ↻ pl_build_rec ↻ sys_now_realtime_sec ↻ pl_stage_p ↻ pg

structs

none

consts

12const PG_PREFIX: *u8 = "knowledge/store/plgate-"
13const PG_LOG: *u8 = "knowledge/status/pipeline_gate.log"

functions

15func pg(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: main calls 1: sys_write
16func pgn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
26func main(argc: i64, argv: *i64) -> i64