code wiki / _hdl_build / nx_pattern_emit3_demo.nx

nx_pattern_emit3_demo.nx

buildroot/runtime/_hdl_build/nx_pattern_emit3_demo.nx

1439 B23 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind sketch/demotopic pattern
docsdependenciesstructsconstsfunctions

about

nx_pattern_emit3_demo.nx -- the TEAM authoring the STATE_FLOW core for the CMS arc (no Claude logic). The table IS the CMS publish lifecycle (ladder step 12, Craft model): states 0=DRAFT 1=PUBLISHED 2=ROLLED-BACK(serving prior revision); events 0=EDIT 1=PUBLISH 2=ROLLBACK. Rollback of a DRAFT is absent from the table -> the authored core refuses it (-1). Engineer verifies the authored test.

dependencies 2 imports · 0 importers

nx_pattern_emit3.nx nx_syscalls.nx nx_pattern_emit3_demo.nx

imports: nx_pattern_emit3.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 pe3_author_state_flow sys_openat_wr pe3_emit_state_flow pe_w sys_write pe_wn sys_mmap ↻ sys_write ↻ sys_close pe3_emit_state_flow_test pe_w ↻ pe_wn ↻ p3d_w sys_write ↻ sys_exit

structs

none

consts

none

functions

8func p3d_w(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
10func main() -> i64