code wiki / _hdl_build / nx_cms_arc_pipeline.nx

nx_cms_arc_pipeline.nx

buildroot/runtime/_hdl_build/nx_cms_arc_pipeline.nx

9500 B164 linesdepth 5pulls 6 transitivereach 0 importersview sourcekind tooltopic cms
docsdependenciesstructsconstsfunctions

about

nx_cms_arc_pipeline.nx -- the WARDEN routes the CMS/WYSIWYG arc's rungs (pm_plan arc=CMS) through the team's CLEAN RACI. Evidence-driven exactly like nx_browser_arc_pipeline: a rung's stage is DERIVED from the Engineer's durable gate log (knowledge/status/cms_gate.log), never asserted. A rung whose named gate row PASSES is ADMITTED; a FAILING row routes to the Doctor (HEAL-QUEUED); an ABSENT row is a fresh assignment -- pattern-covered core = SCAFFOLD-READY (team authors hands-off), novel core = NEEDS_TUTOR (the honest, MEASURED Claude dependency). The arc's autonomy permil is the fraction the team can advance without Claude (ADMITTED + SCAFFOLD-READY + HEAL-QUEUED, since healing is the team's Doctor too) -- driven UP only by adding pattern emitters or landing gates, never by hiding the gap. Composes nx_build_pipeline (Warden) + nx_build_raci (RACI). LAWS: struct-free, integer-only, no shell. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_build_pipeline.nx nx_itoa_lib.nx nx_syscalls.nx nx_cms_arc_pipeline.nx

imports: nx_build_pipeline.nxnx_itoa_lib.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 sys_mmap sys_openat_rd sys_read sys_close sys_openat_wr ca_fputs sys_write ca_row_status ca_find_last ca_rung_stage br_decide br_separation_ok br_roles_correct raci_clean bp_core_autonomous ca_autonomous ca_stage_name ca_fputn nxi_fd sys_mmap ↻ ccz_cat_num sys_write ↻ sys_munmap sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real sys_exit

structs

none

consts

14const K_MAGIC_262144: i64 = 262144

functions

17func ca_find_last(buf: *u8, len: i64, pat: *u8) -> i64
called by 1: ca_row_status
38func ca_row_status(buf: *u8, len: i64, rowpat: *u8, passpat: *u8) -> i64
called by 1: main calls 1: ca_find_last
54func ca_rung_stage(pattern_id: i64, row_status: i64) -> i64
called by 1: main calls 2: br_decidebp_core_autonomous
67func ca_stage_name(stage: i64) -> *u8
called by 1: main
79func ca_autonomous(stage: i64) -> i64
called by 1: main
86func ca_fputs(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd,s,n); return 0 }
called by 1: main calls 1: sys_write
91func ca_fputn(fd: i64, v: i64) -> i64 { nxi_fd(fd, v); return 0 }
called by 1: main calls 1: nxi_fd
93func main() -> i64