code wiki / _hdl_build / nx_link_auto.nx

nx_link_auto.nx

buildroot/runtime/_hdl_build/nx_link_auto.nx

6843 B126 linesdepth 7pulls 12 transitivereach 1 importersview sourcekind librarytopic link
docsdependenciesstructsconstsfunctions

about

nx_link_auto.nx -- LIB: SELF-POPULATING unifier (R-LINK-R1). Instead of hand-registering each item's facets, AUTO-DETECT them by probing each store for the item's canonical key: impact (food:impact:<id>:nishi), price (any observation in the area), swap (swap:species:<id>). So adding an item to ANY catalog/store makes it appear in the unified view automatically -- derive from the SSOT, don't hand-maintain. Renders a browsable index that links each item to its R-LINK view. HONEST: a facet absent from its store -> "-" (auto, never fabricated); the lineage facet stays explicit (bio org-ids are per-individual, not the canonical name). Composes nx_link. Sovereign seg-store (knowledge/store/link-*). license_tier: ORIGINAL

dependencies 3 imports · 1 importers

nx_link.nx nx_seg_store.nx nx_syscalls.nx nx_link_auto.nx nx_link_auto_gate.nx

imports: nx_link.nxnx_seg_store.nxnx_syscalls.nx

imported by: nx_link_auto_gate.nx

structs

none

consts

none

functions

13func lk_has_impact(food_pfx: *u8, canonical: *u8) -> i64
called by 2: lk_auto_registermain calls 1: im_field_int
17func lk_has_price(price_pfx: *u8, canonical: *u8, area: *u8) -> i64
22func lk_has_swap(swap_pfx: *u8, canonical: *u8) -> i64
32func lk_auto_register(link_pfx: *u8, food_pfx: *u8, price_pfx: *u8, swap_pfx: *u8, canonical: *u8, display: *u8, area: *u8, bio_hint: *u8) -> i64
44func lka_split(buf: *u8, len: i64, out: *i64) -> i64
67func lk_auto_from_tier(link_pfx: *u8, food_pfx: *u8, price_pfx: *u8, swap_pfx: *u8, tier_key: *u8, area: *u8) -> i64
83func lk_render_index(link_pfx: *u8, food_pfx: *u8, tier_key: *u8, title: *u8, out: *u8) -> i64
120func lk_badge(out: *u8, off: i64, label: *u8, on: i64) -> i64
called by 1: lk_render_index calls 1: as_append