code wiki / _hdl_build / nx_pipeline_gate.nx

nx_pipeline_gate.nx

buildroot/runtime/_hdl_build/nx_pipeline_gate.nx

3622 B68 linesdepth 5pulls 6 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 5 imports · 0 importers

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

imports: nx_pipeline_spine.nxnx_workstream_store.nxnx_seg_store.nxnx_framed_append.nxnx_syscalls.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 pl_build_key ws_get_p ss_get sys_mmap ↻ ss_scan sys_mmap ↻ ss_manifest_dyn ss_scan_seglist ws_field 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 ws_put_p sys_mmap ↻ ws_len ss_get ↻ ss_begin ss_begin_cap sys_mmap ↻ ss_add ss_add2 ss_w32 ss_len ws_seg_next ss_next_segid sys_mmap ↻ ss_cat ss_readall sys_openat_rd

structs

none

consts

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

functions

14func 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
15func pgn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
25func main(argc: i64, argv: *i64) -> i64