code wiki / (root) / nx_workflow_gate.nx

nx_workflow_gate.nx

buildroot/runtime/nx_workflow_gate.nx

2775 B50 linesdepth 5pulls 6 transitivereach 0 importersview sourcekind gate/prooftopic workflow
docsdependenciesstructsconstsfunctions

about

nx_workflow_gate.nx -- gates the consolidated workflow tool on a REAL fixture WMS store (authored via the canonical ss_* + the FIXED ws_seg_next): board walks the ws:ids index with correct per-state totals; show returns labeled fields with found/tombstoned/absent discriminated honestly. Runner must clean /tmp/wfgate first. Exit 0 only on all-PASS. license_tier: ORIGINAL expect_exit: 0

dependencies 1 imports · 0 importers

nx_workflow_lib.nx nx_workflow_gate.nx

imports: nx_workflow_lib.nx

imported by: nobody (leaf or entry point)

structs

none

consts

7const GATE_CHECKS: i64 = 5
8const DIR_MODE: i64 = 0x1ed // 0755
9const FIX_WS: i64 = 2 // workstreams authored (alpha ACTIVE, beta BLOCKED)
10const TOMB_KIND: i64 = 2 // seg-store tombstone record kind

functions

12func wg_check(name: *u8, ok: i64, pass: *i64) -> i64
17func wg_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
18func wg_put(prefix: *u8, key: *u8, val: *u8, kind: i64) -> i64
24func main(argc: i64, argv: *i64) -> i64