code wiki / _hdl_build / nx_site_factory_census.nx

nx_site_factory_census.nx

buildroot/runtime/_hdl_build/nx_site_factory_census.nx

13289 B112 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic site
docsdependenciesstructsconstsfunctions

about

nx_site_factory_census.nx -- HONEST HAVE-vs-GAP census for the SOVEREIGN SITE FACTORY: the team's capability to AUTONOMOUSLY emit whole s-class-exceed SITES (not just homepages -- full sitemap, shared nav, internal links, the Amazon 3-step conversion flow) from CAPTURED requirements (no LLM, or the smallest one only for context), and PUBLISH them live with rollback BY CONSTRUCTION (deploy without hesitation). Archetypes span brochure -> ecommerce -> social -> video/cam -> game -> resume -> the gallery media-web-app (gen/download/translate/watch/upscale, Jellyfin-class). Same auditor discipline as nx_fin_census: HAVE iff a clean sovereign organ actually OPENS on disk (ax_have opens the REAL file -- no-false-green); GAP = a capability the team must still build, and the GAP row NAMES the exact organ path to create, so this census doubles as the build map. permille = have*1000/tot. This grades COVERAGE (the organ exists), not per-organ correctness -- QUALITY is the later ratchet (existence != full-correctness), exactly like the finmkt census. PLACEMENT (ecosystem, not a fork): the factory ASSEMBLES organs that already exist -- nx_sclass_kit (component library), nx_sitegen/nx_web_builder/nx_site_compose/nx_site_pages (data-driven emitter that already REFUSES any blueprint failing wb_ux_compliant = CTA + on-site search + trust + <=3 steps), the nx_uxcx/ui_judge/ui_exceed graders, and the nx_hostctl/nx_aw_send/nx_proxy_route/nx_fin_serve deploy + rollback spine. The gaps are the ASSEMBLY layer: a whole-site model, funnels, a one-call publisher with auto-revert, a template pattern-corpus, a requirements compiler, and archetype breadth. LADDER the GAP cells map to: R1 whole-site model (nav+links+sitemap emission) -> R2 funnels -> R3 autonomous publish + auto-revert -> R4 pattern corpus (consume templates: structure/flow, not files) -> R5 requirements compiler -> R6 archetype breadth incl. the media-web-app. Composes nx_gate (gw/gn). license_tier: ORIGINAL expect_exit: 0

dependencies 1 imports · 0 importers

nx_gate.nx nx_site_factory_census.nx

imports: nx_gate.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main gw sys_write ax ax_have gw ↻ gn sys_write ↻ sys_mmap

structs

none

consts

none

functions

27func ax_have(path: *u8) -> i64 { let fd: i64=sys_openat_rd(path); if fd<0 { return 0 } sys_close(fd); return 1 }
called by 1: ax
28func ax(label: *u8, path: *u8, note: *u8) -> i64
called by 1: main calls 2: ax_havegw
35func main() -> i64
calls 3: gwaxgn