code wiki / _hdl_build / nx_dmkt_ideator.nx

nx_dmkt_ideator.nx

buildroot/runtime/_hdl_build/nx_dmkt_ideator.nx

7172 B183 linesdepth 5pulls 6 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_dmkt_ideator.nx -- DMKT product-mode recombination (F310): match product NEEDS against a capability CATALOG and emit scored need->capability HYPOTHESES to a discovery plane (status=proposed). Promotion happens ONLY after a plan run PROVES the combo (honest exceed discipline; mirrors nx_atlas_discover but PRODUCT-mode: need-id substring in capability-note = a candidate composition edge the eco-graph cannot see). Widens input beyond commontask (seq81 finding) to real product needs. nx_dmkt_ideator [needs-prefix] [catalog-prefix] [out-prefix] [minscore] defaults: knowledge/store/dmktneeds- knowledge/store/dmktcap- knowledge/store/dmktideas- 1 row cols (nx_store_put plane): col0=id col6=note ; out: IDEA<n> need->organ score proposed dmkt ... license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0

dependencies 3 imports · 0 importers

nx_store_seed_lib.nx nx_seg_store.nx nx_syscalls.nx nx_dmkt_ideator.nx

imports: nx_store_seed_lib.nxnx_seg_store.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 di_atoi 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 ↻

structs

none

consts

14const DI_CAP: i64 = 1048576
15const DI_NL: i64 = 10
16const DI_TAB: i64 = 9
17const DI_MAXCOL: i64 = 16
18const DI_PAIR: i64 = 2
19const DI_SPB: i64 = 256
20const DI_MAXN: i64 = 64
21const DI_MAXOUT: i64 = 256
22const DI_STDERR: i64 = 2
23const DI_EXIT_IO: i64 = 1
24const DI_ZERO: i64 = 48
25const DI_NINE: i64 = 57
26const DI_B10: i64 = 10
27const DI_COLID: i64 = 0
28const DI_COLNOTE: i64 = 6

functions

30func di_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 1: di_werr
31func di_werr(s: *u8) -> i64 { sys_write(DI_STDERR, s, di_slen(s)); return 0 }
called by 1: main calls 2: sys_writedi_slen
32func di_cols(q: *u8, ls: i64, le: i64, sp: *i64) -> i64
called by 1: main
47func di_has_slice(q: *u8, a: i64, b: i64, r: *u8, ka: i64, kb: i64) -> i64
called by 1: main
60func di_atoi(s: *u8) -> i64
called by 1: main
66func di_cat_slice(d: *u8, o: i64, q: *u8, a: i64, b: i64) -> i64
called by 1: main
73func main(argc: i64, argv: *i64) -> i64