code wiki / _hdl_build / nx_office_snapshot.nx

nx_office_snapshot.nx

buildroot/runtime/_hdl_build/nx_office_snapshot.nx

3622 B56 linesdepth 8pulls 16 transitivereach 0 importersview sourcekind tooltopic office
docsdependenciesstructsconstsfunctions

about

nx_office_snapshot.nx -- deterministic page snapshots of the Nishi Office surface for the UI judge fleet (feedback-ui-quality-is-not-presence: every family surface is MEASURED by nx_ui_judge/nx_uxcx_grade/ nx_ui_contrast via ui_ship.conf rows, BEFORE any SOTA claim). No sockets: drives the pure core of_handle against a throwaway /tmp root with the SAME sample content as the gate (doc with table + sheet with a real formula + deck), then writes the response BODIES to web_assets/office_home_snap.html + office_doc_snap.html. The driver copies them to *_before/*_after around a retrofit so the improvement is a NUMBER. Must run from the nxc2 root (forks _offc format elfs). license_tier: ORIGINAL expect_exit: 0

dependencies 1 imports · 0 importers

nx_office_serve.nx nx_office_snapshot.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 sn_save of_cat ↻ of_catn ↻ 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 ↻

structs

none

consts

9const K_MAGIC_1048576: i64 = 1048576
10const K_MAGIC_131072: i64 = 131072
11const K_MAGIC_262144: i64 = 262144

functions

14func sn_save(root: *u8, base: *u8, bod: *u8, req: *u8, out: *u8, body: *u8) -> i64
26func sn_dump(out: *u8, n: i64, path: *u8) -> i64
called by 1: main calls 1: of_write_file
36func main() -> i64