code wiki / (root) / nx_mvault_caption.nx

nx_mvault_caption.nx

buildroot/runtime/nx_mvault_caption.nx

2613 B71 linesdepth 6pulls 9 transitivereach 1 importersview sourcekind librarytopic mvault
docsdependenciesstructsconstsfunctions

about

nx_mvault_caption.nx -- the comprehensive per-item CAPTURE assembler. This is the write-API the (future) NishiCaption tagger calls to persist its comprehensive first-pass output for ONE item: N measurements (95 axes) + M tags + K captions, all keyed under the item's CID on the sovereign seg-store with a per-item field index, so the whole capture is enumerable and NOTHING from the expensive VLM/math pass is lost. Additive (rule 13). entries: key = "cap:<cid>:<field>" value = the B7/B8 string index: "cap:<cid>:idx" newline-separated field list field convention: "meas:<axis>" | "tag:<n>" | "cap:<mode>" Composes nx_registry (reg_put/reg_get/reg_index) + nx_mvault_tag/measure. license_tier: ORIGINAL

dependencies 4 imports · 1 importers

nx_syscalls.nx nx_registry.nx nx_mvault_tag.nx nx_mvault_measure.nx nx_mvault_caption.nx nx_mvault_caption_gate.nx

imports: nx_syscalls.nxnx_registry.nxnx_mvault_tag.nxnx_mvault_measure.nx

imported by: nx_mvault_caption_gate.nx

structs

none

consts

none

functions

21func cp_cat(dst: *u8, off: i64, s: *u8) -> i64
28func mv_cap_kp(out: *u8, cid: *u8) -> i64
39func mv_cap_idxkey(out: *u8, cid: *u8) -> i64
49func mv_cap_put(prefix: *u8, cid: *u8, field: *u8, value: *u8, vlen: i64) -> i64
58func mv_cap_get(prefix: *u8, cid: *u8, field: *u8, outp: *i64, outl: *i64) -> i64
called by 1: main calls 3: sys_mmapmv_cap_kpreg_get
67func mv_cap_fields(prefix: *u8, cid: *u8, buf: *u8, cap: i64) -> i64
called by 1: main calls 3: sys_mmapmv_cap_idxkeyreg_index