nx_market_ladder.nx
buildroot/runtime/nx_market_ladder.nx
about
nx_market_ladder.nx -- THE MARKET-ENTRY VERDICT CLI over nx_market_ladder_lib (2026-08-24, /compare PT6).
license_tier: ORIGINAL No hw writes (Rule 26).
nx_market_ladder <domain> [compare_dir] (default buildroot/knowledge/compare/ -- the tree the regen reads;
the nishihost twin is NOT the publish source, see the two-trees law)
Prints one row per ladder level: the authored verdict word, the computed verdict, required/landed/unresolved
counts and the binding rung, then a canonical LAST line `verdict=ML ...`.
EXIT: 0 every authored verdict agrees with the computed one | 1 a DISAGREE exists (the page's prose is wrong: a
defect, printed by name) | 2 usage | 3 no ladder rows (nothing to judge -- never a pass)
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_market_ladder_lib.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
| 12 | const MC_EXIT_OK: i64 = 0 |
| 13 | const MC_EXIT_DISAGREE: i64 = 1 |
| 14 | const MC_EXIT_USAGE: i64 = 2 |
| 15 | const MC_EXIT_NONE: i64 = 3 |
| 16 | const MC_DIR_DEFAULT: *u8 = "buildroot/knowledge/compare/" |
| 17 | const MC_PATH_CAP: i64 = 1024 |
| 18 | const MC_FIELD_CAP: i64 = 4096 |
| 19 | const MC_F_LEVEL: i64 = 1 |
| 20 | const MC_F_VERDICT: i64 = 5 |
| 21 | const MC_F_REQ: i64 = 6 |
| 22 | const MC_SLOT: i64 = 8 |
| 23 | const MC_LADDER_KW_LEN: i64 = 6 |
functions
| 25 | func mc_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 26 | func mc_wn(v: i64) -> i64 |
| 39 | func mc_cat(d: *u8, o: i64, s: *u8) -> i64 { var i: i64 = 0; var p: i64 = o; while s[i] != (0 as u8) { d[p] = s[i]; p = p + 1; i = i + 1 } d[p] = 0 as u8; return p } called by 1: main |
| 41 | func main(argc: i64, argv: *i64) -> i64 |