code wiki / _hdl_build / nx_warden_build.nx
nx_warden_build.nx
buildroot/runtime/_hdl_build/nx_warden_build.nx
about
nx_warden_build.nx -- the WARDEN's ONE-COMMAND BUILD: spec in -> gated capability out, zero Claude in
the loop for covered shapes. The pieces existed separately (classifier routes, emitters author,
engineer_build_gate compiles+runs, build_pipeline decides) but a HAND still drove them between steps.
This organ EXECUTES the whole route: FEATURE VECTOR -> plc_classify -> emitter dispatch (the Builder
AUTHORS module+test to disk) -> eng_build_gate on the authored test (the ENGINEER's compile+link+run
with recompile-retry -- composed, not reimplemented: rule 15) -> bp_run (the RACI verdict) -> durable
line in knowledge/status/team_build.log. A NOVEL spec routes to NEEDS_TUTOR honestly -- measured,
never guessed. RACI: WARDEN routes, Builder authors, Engineer tests, nothing self-grades.
LAWS: struct-free, integer-only, flat ifs, <=6 args per func. license_tier: ORIGINAL
dependencies 14 imports · 2 importers
diagram shows first 10 each side; +4 more imports, +0 more importers in the complete lists below.
imports: nx_pattern_classify.nxnx_itoa_lib.nxnx_pattern_emit.nxnx_pattern_emit3.nxnx_pattern_emit4.nxnx_pattern_emit5.nxnx_pattern_emit7.nxnx_pattern_emit8.nxnx_pattern_emit6.nxnx_pattern_emit10.nxnx_pattern_emit11.nxnx_pattern_emit12.nxnx_engineer_build_gate.nxnx_build_pipeline.nx
imported by: nx_team_chain.nxnx_warden_build_test.nx
structs
| none |
consts
| 88 | const WB_DISPATCH_DEBT: i64 = 8 |
functions
| 25 | func wb_w(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 } |
| 30 | func wb_wn(fd: i64, v: i64) -> i64 { nxi_fd(fd, v); return 0 } |
| 31 | func wb_cat(dst: *u8, off: i64, s: *u8) -> i64 { var i: i64=0; while s[i]!=(0 as u8){ dst[off+i]=s[i]; i=i+1 } dst[off+i]=0 as u8; return off+i } |
| 35 | func wb_author(pattern: i64, name: *u8, p: *i64) -> i64 called by 1: wb_build calls 14: wb_catpe_authorpe_author_thresholdpe3_author_state_flowpe4_author_parserpe4_author_governor+8 |
| 70 | func wb_dispatchable(pattern: i64) -> i64 called by 1: wb_build |
| 78 | func wb_verify(name: *u8) -> i64 |
| 92 | func wb_build(f: *i64, name: *u8, p: *i64, out: *i64) -> i64 |
| 104 | func wb_report(name: *u8, pat: i64, stage: i64, testpass: i64) -> i64 |