nx_mvault_tag.nx
buildroot/runtime/nx_mvault_tag.nx
about
nx_mvault_tag.nx -- extensible, searchable metadata planes for vault items.
DESIGN (operator 2026-07-17: "hammer searchability + extensibility BEFORE the
heavy reclassify ... performer/pose/body-type ... booru but far beyond ...
lossless language aka hip-to-waist ratios ... feed the future joy classifier"):
three ADDITIVE planes over the immutable core record, so new auto-tag
capabilities slot in with ZERO schema migration --
FACETS numeric fields (size/recency/popularity/dims) -> SORT KEYS for
fast large/recent/popular finding (byte-lex order == numeric).
TAGS booru-style OPEN namespaces "ns:value" (performer:/pose:/hair:/
body:/ethnicity:/nipple:/cup:...) -> inverted index per namespace.
ATTRS lossless quantitative "key=ivalue/scale" (hip_waist_ratio=700/1000
= exact 0.700, no-float) -> range-searchable. The booru-beyond bit.
All CID-keyed + additive; searchability rides the librarian info-finding index
(coordinate, don't rebuild). This module is deliberately OPEN -- it hardcodes
NO tag list, so performer/pose/body/etc. are just data. license_tier: ORIGINAL
dependencies 1 imports · 6 importers
imports: nx_syscalls.nx
imported by: nx_mvault.nxnx_mvault_caption.nxnx_mvault_caption_gate.nxnx_mvault_fetch.nxnx_mvault_measure.nxnx_mvault_tag_gate.nx
structs
| none |
consts
| none |
functions
| 22 | func mv_u_dec(dst: *u8, off: i64, v: i64) -> i64 |
| 36 | func mv_tag_make(out: *u8, ns: *u8, value: *u8) -> i64 |
| 48 | func mv_tag_ns_len(tag: *u8) -> i64 called by 1: main |
| 60 | func mv_attr_make(out: *u8, key: *u8, ivalue: i64, scale: i64) -> i64 |
| 76 | func mv_facet_key(out: *u8, field: *u8, uvalue: i64) -> i64 called by 1: main |
| 91 | func mv_bcmp(a: *u8, b: *u8, n: i64) -> i64 called by 1: main |