code wiki / _hdl_build / nx_dev_pipeline.nx
nx_dev_pipeline.nx
buildroot/runtime/_hdl_build/nx_dev_pipeline.nx
about
nx_dev_pipeline.nx -- the team's DEVELOPMENT PIPELINE as a mapped state machine (operator: encode the
flow like RACI so we keep refining; don't CONFLATE capabilities -- the Builder BUILDS and passes to the
Engineer for TESTING; testing is the Engineer's, never the Builder's). The flow:
BUILD(Builder) -> TEST(Engineer) -> [issue -> HEAL(Doctor, feedback to Builder, SLA <=1 step/<10s) ->
[builder-can't -> RESEARCH(Researcher: search space -> Library) -> SPEC(PM: spec + measure time/effort/
outcome + prioritize) -> BUILD(Builder) -> DOCTOR_USE(Doctor) -> RETEST(Engineer)]] -> COUNCIL(admit) ->
[arc-end -> REFEREE(benchmark vs S-class / tracks: beyond-toy?)] -> DONE. CONDUCTOR watches every stage
so nothing gets stuck silently or loudly. license_tier: ORIGINAL Composes nx_raci_collab + nx_maturity_auditor.
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: nx_dev_pipeline_test.nx
structs
| none |
consts
| 13 | const DP_BUILD: i64 = 1 |
| 14 | const DP_TEST: i64 = 2 |
| 15 | const DP_HEAL: i64 = 3 |
| 16 | const DP_RESEARCH: i64 = 4 |
| 17 | const DP_SPEC: i64 = 5 |
| 18 | const DP_DOCTOR_USE: i64 = 6 |
| 19 | const DP_RETEST: i64 = 7 |
| 20 | const DP_COUNCIL: i64 = 8 |
| 21 | const DP_REFEREE: i64 = 9 |
| 22 | const DP_DONE: i64 = 10 |
| 23 | const DP_FAILED: i64 = 0 |
| 26 | const DP_R_BUILDER: i64 = 1 |
| 27 | const DP_R_ENGINEER: i64 = 2 |
| 28 | const DP_R_DOCTOR: i64 = 3 |
| 29 | const DP_R_RESEARCHER:i64 = 4 |
| 30 | const DP_R_PM: i64 = 5 |
| 31 | const DP_R_COUNCIL: i64 = 6 |
| 32 | const DP_R_REFEREE: i64 = 7 |
| 33 | const DP_R_CONDUCTOR: i64 = 8 // owns the watchdog across ALL stages |
| 36 | const DP_OK: i64 = 1 |
| 37 | const DP_ISSUE: i64 = 2 |
| 38 | const DP_BUILDER_CANT:i64 = 3 |
| 39 | const DP_TIMEOUT: i64 = 4 |
functions
| 42 | func dp_owner(stage: i64) -> i64 called by 1: main |
| 56 | func dp_next(stage: i64, outcome: i64, post_spec: i64, arc_end: i64) -> i64 called by 1: main |
| 89 | func dp_sla_ok(steps: i64, seconds: i64) -> i64 { if steps <= 1 { if seconds < 10 { return 1 } } return 0 } called by 1: main |
| 92 | func dp_watchdog_stuck(elapsed_s: i64, budget_s: i64) -> i64 { if elapsed_s > budget_s { return 1 } return 0 } called by 1: main |
| 94 | func dp_stage_name(s: i64) -> *u8 called by 1: main |
| 107 | func dp_role_name(r: i64) -> *u8 |