code wiki / _hdl_build / nx_office_gate.nx

nx_office_gate.nx

buildroot/runtime/_hdl_build/nx_office_gate.nx

932 B17 linesdepth 8pulls 16 transitivereach 0 importersview sourcekind gate/prooftopic office
docsdependenciesstructsconstsfunctions

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

nx_office_serve.nx nx_office_gate.nx

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

main of_cat of_catn nxi_buf sys_now_us sys_mmap sys_clock_gettime_mono of_selftest p of_handle of_handle_auth of_meref of_cat ↻ of_slen of_seq of_hdr_get of_slen ↻ of_memhas of_slen ↻ of_do_share of_deny_write of_form_get of_slen ↻ of_hexval of_name_ok of_tok_ok of_docref of_cat ↻ rb_obj_has_owner sys_mmap ↻ ss_manifest_dyn rb_cat ss_readall ss_r32 rb_iskind rb_field rb_seq rb_check sys_mmap ↻ rb_otype

structs

none

consts

none

functions

9func main() -> i64