code wiki / _hdl_build / nx_featuremine.nx
nx_featuremine.nx
buildroot/runtime/_hdl_build/nx_featuremine.nx
about
nx_featuremine.nx -- FEATURES-CLASS MINER over the frontier- plane (miner-sota F1016, 2026-07-23).
The census (nx_minecov MC05) measured features COVERED-but-UNMINED: nx_frontier_board derives CPM
(ES/EF/float/critical-path/READY/BLOCKED) over the DAG, but nobody mines the BACKLOG ITSELF. The
signal CPM does not give is DEPENDENCY IN-DEGREE: which feature BLOCKS THE MOST OTHERS. A row with
float 0 is on the critical path; a row with in-degree 9 is a BOTTLENECK -- different questions, and
the second is what tells a PM where to put people. Also: per-owner load with a real done-rate,
status distribution, unowned rows, and BLOCKED (a dep that is not yet D) kept distinct from READY.
★HONEST LIMIT DECLARED IN THE OUTPUT: frontier ids are F-numbers, NOT epochs, so AGE IS NOT
DERIVABLE from this plane -- the organ reports aging_available:0 rather than inventing a number.
Composes nx_sovjson_lib (sj_*). Read-only. No hw writes (Rule 26).
mine <source> [loader|-] [minsup] -> JSON: status/owner/dep-bottleneck/blocked + declared limits
selftest <scratch-prefix> -> gate T1..T8
row cols: id TAB title TAB w TAB _ TAB owner TAB status(T|D|X) TAB deps TAB lane TAB milestone
license_tier: ORIGINAL
dependencies 4 imports · 0 importers
imports: nx_sovjson_lib.nxnx_syscalls.nxnx_gate_verdict.nxnx_tool_run.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 19 | const FM_MAGIC_4088: i64 = 4088 |
| 21 | const FM_CAP: i64 = 1048576 |
| 22 | const FM_OUT: i64 = 65536 |
| 23 | const FM_PATH: i64 = 512 |
| 24 | const FM_ROWS: i64 = 1024 |
| 25 | const FM_OWNERS: i64 = 256 |
| 26 | const FM_TOPN: i64 = 15 |
| 27 | const FM_ALLOW: i64 = 131072 |
| 28 | const FM_PERMIL: i64 = 1000 |
| 29 | const FM_NAME_MAX: i64 = 120 |
| 30 | const FM_MODE_644: i64 = 420 |
functions
| 32 | func fm_read(path: *u8, buf: *u8, cap: i64) -> i64 |
| 41 | func fm_find(q: *u8, n: i64, lit: *u8) -> i64 |
| 55 | func fm_allow_path(name: *u8, outp: *u8) -> i64 { return sj_allow_path(name, outp) } |
| 56 | func fm_key(d: *u8, o: i64, name: *u8) -> i64 |
| 66 | func fm_absent(q: *u8, s: i64, e: i64) -> i64 called by 1: fm_mine_json |
| 71 | func fm_span_eq(q: *u8, a: i64, ae: i64, b: i64, be: i64) -> i64 called by 1: fm_mine_json |
| 77 | func fm_load(src: *u8, loader: *u8, buf: *u8, lcx: *i64) -> i64 |
| 98 | func fm_mine_json(src: *u8, loader: *u8, minsup: i64, d: *u8) -> i64 |
| 306 | func fm_selftest(prefix: *u8) -> i64 |
| 367 | func main(argc: i64, argv: *i64) -> i64 |