code wiki / _hdl_build / nx_office_gate.nx
nx_office_gate.nx
buildroot/runtime/_hdl_build/nx_office_gate.nx
about
nx_office_gate.nx -- the OFFLINE gate for Nishi Office v1 (consumes the pure core nx_office_serve, no sockets).
Runs the full selftest against a FRESH throwaway root (/tmp, unique by now_us): create doc/sheet/deck through
of_handle with real HTTP request bytes, prove additive versioning (v1 bytes untouched after v2), byte-identical
downloads, computed spreadsheet formulas in the preview, and LOUD refusals (bad name / kind flip / missing
version / cross-origin POST). GREEN = exit 0. Runs the REAL format organs (_offc/nx_docx|nx_xlsx|nx_pptx.elf)
via fork+exec, so it must run from the nxc2 root. license_tier: ORIGINAL expect_exit: 0
dependencies 1 imports · 0 importers
imports: nx_office_serve.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
| 9 | func main() -> i64 |