code wiki / _hdl_build / nx_cms_draft_team.nx
nx_cms_draft_team.nx
buildroot/runtime/_hdl_build/nx_cms_draft_team.nx
about
nx_cms_draft_team.nx -- the TEAM authoring the DRAFT-PREVIEW core for the CMS arc (C9, no Claude
logic). The table IS the draft lifecycle: states 0=CLEAN (no pending draft; the public page serves
the published content) 1=DRAFTED (a pending draft exists alongside the published page); events
0=SAVE_DRAFT 1=PUBLISH_DRAFT 2=DISCARD_DRAFT. PUBLISH_DRAFT and DISCARD_DRAFT from CLEAN are absent
from the table -> the authored core refuses them (-1) and the admin answers 409. Engineer verifies
the authored test. Same hands-off division as _pe_pub (CAPREG241): table = spec, emitter = author.
dependencies 2 imports · 0 importers
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
structs
| none |
consts
| none |
functions
| 10 | func cdt_w(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 12 | func main() -> i64 |