code wiki / _hdl_build / nx_editor_board.nx

nx_editor_board.nx

buildroot/runtime/_hdl_build/nx_editor_board.nx

16505 B310 linesdepth 5pulls 6 transitivereach 0 importersview sourcekind tooltopic editor
docsdependenciesstructsconstsfunctions

about

nx_editor_board.nx -- F795 THE EDITOR COVERAGE BOARD (ecosystem-as-editor law, operator 2026-07-20: the ecosystem is the EDITOR that lifts any-model seats to award-winning -- Marcia Lucas pattern; known model failure modes must be covered STRUCTURALLY and the coverage must be a VISIBLE, supervised surface). PURE RENDERER (model-card discipline): every byte of content comes from the sovereign plane knowledge/store/editcover- (rows: id | failure-mode | covering-capability | evidence | status | note). Status vocabulary: COVERED (structural organ + evidence) / PARTIAL (organ live, sweep open) / GAP (no structural tooth -- F795 LAW: every GAP row must carry a filed F-rung; the board renders GAPs fail-visible so an uncovered failure mode can never hide). nx_editor_board -> ATOMIC emit to sites/nishifamily/editor.html (beat mode) nx_editor_board emit <outpath> -> ATOMIC emit (tmp + renameat) to <outpath> nx_editor_board selftest -> in-memory emit + substring teeth, exit 0/3 ENVELOPE (declared in page): plane cap 256KB, out cap 128KB, 64 rows; plane content operator-trusted (no HTML-escape pass; plane vocabulary carries no < > &). license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0

dependencies 2 imports · 0 importers

nx_store_seed_lib.nx nx_syscalls.nx nx_editor_board.nx

imports: nx_store_seed_lib.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap sts_load ss_open_cached ssc_init sys_mmap ↻ ssc_sig_of ss_cat sys_fstatat ssc_streq ss_open ss_open2 sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn ss_cat ↻ ss_loadfile sys_map_file ss_readall ss_load_aux2 sys_mmap ↻ ss_cat ↻ ss_loadfile ↻ ss_r32 sys_munmap ssl_total_keys ss_r32 ↻ ssl_pow2 ssl_build ss_r32 ↻ ssl_hash_entry ssl_key_eq ss_r32 ↻ ssl_lookup ssl_hash_entry ↻ ssl_key_eq ↻ ss_manifest_free sys_munmap ↻ sys_munmap ↻ ssc_retire_handle

structs

none

consts

18const EB_PREFIX: *u8 = "knowledge/store/editcover-" as *u8
19const EB_DEFOUT: *u8 = "sites/nishifamily/editor.html" as *u8
20const EB_PLANECAP: i64 = 262144
21const EB_OUTCAP: i64 = 131072
22const EB_NL: i64 = 10
23const EB_TAB: i64 = 9
24const EB_MODE: i64 = 0x1a4
25const EB_NCOLMAX: i64 = 8
26const EB_PAIR: i64 = 2
27const EB_SPB: i64 = 128
28const EB_MINBYTES: i64 = 2000
29const EB_EXIT_SELF: i64 = 3
30const EB_EXIT_EMPTY: i64 = 1
31const EB_SLACK: i64 = 4096

functions

33func eb_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
34func eb_werr(s: *u8) -> i64 { sys_write(2, s, eb_slen(s)); return 0 }
called by 3: eb_bodyeb_emitmain calls 2: sys_writeeb_slen
35func eb_puts(b: *u8, off: i64, s: *u8) -> i64 { var o: i64 = off; var j: i64 = 0; while s[j] != (0 as u8) { b[o] = s[j]; o = o + 1; j = j + 1 } return o }
36func eb_putsl(b: *u8, off: i64, q: *u8, a: i64, e: i64) -> i64 { var o: i64 = off; var i: i64 = a; while i < e { b[o] = q[i]; o = o + 1; i = i + 1 } return o }
called by 2: eb_rendereb_frag
37func eb_puti(b: *u8, off: i64, v: i64) -> i64
49func eb_cols(q: *u8, ls: i64, le: i64, sp: *i64) -> i64
called by 2: eb_rendereb_frag
64func eb_span_is(q: *u8, a: i64, b: i64, s: *u8) -> i64
called by 2: eb_rendereb_frag calls 1: eb_slen
71func eb_find(hay: *u8, n: i64, needle: *u8) -> i64
called by 1: main calls 1: eb_slen
85func eb_render(q: *u8, qn: i64, out: *u8) -> i64
151func eb_frag(q: *u8, qn: i64, out: *u8) -> i64
217func eb_body(path: *u8) -> i64
244func eb_emit(path: *u8) -> i64
270func main(argc: i64, argv: *i64) -> i64