nx_incumbents.nx
buildroot/runtime/nx_incumbents.nx
about
nx_incumbents.nx -- CLI over nx_incumbent_lib (engineshift ES28): build the incumbent index, or answer a board's rung
contracts from it. The clock runs the bare form daily (nx_clockjob put incumbentidx 86400 nx_incumbents).
nx_incumbents -> build the index (roots probed from the CWD: buildroot/runtime, else runtime) and print
the envelope
nx_incumbents index -> the same
nx_incumbents <domain> [rung] -> one INCUMBENTS(...) line per rung| row of the domain's plan (or the one rung), the
envelope, and a verdict LAST. The CLI knows no matrix, so nothing is excluded here;
the ranker excludes the rung's own organ.
exit: 0 answered or built | 1 index STALE or MALFORMED (present but refused as an answer) | 2 usage | 3 index ABSENT,
plan unreadable in both trees, or build failed
license_tier: ORIGINAL Writes only knowledge/status/incumbent_index.txt (atomic). No hw writes (Rule 26).
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_incumbent_lib.nxnx_barfresh_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
| 16 | const NIC_ARG_VERB: i64 = 1 |
| 17 | const NIC_ARG_RUNG: i64 = 2 |
| 18 | const NIC_EXIT_OK: i64 = 0 |
| 19 | const NIC_EXIT_REFUSED: i64 = 1 |
| 20 | const NIC_EXIT_USAGE: i64 = 2 |
| 21 | const NIC_EXIT_ABSENT: i64 = 3 |
| 22 | const NIC_STDOUT: i64 = 1 |
| 23 | const NIC_OUT_CAP: i64 = 16384 |
| 24 | const NIC_VERB_INDEX: *u8 = "index" |
| 25 | const NIC_RUNG_TAG: *u8 = "rung|" |
| 26 | const NIC_F_ID: i64 = 1 |
| 27 | const NIC_F_TITLE: i64 = 2 |
| 28 | const NIC_F_SYM: i64 = 3 |
| 29 | const NIC_F_NOTE: i64 = 4 |
functions
| 31 | func nic_w(s: *u8) -> i64 { return sys_write(NIC_STDOUT, s, inc_slen(s)) } |
| 32 | func nic_wn(v: i64) -> i64 |
| 38 | func nic_field(buf: *u8, p: i64, e: i64, k: i64, dst: *u8, cap: i64) -> i64 |
| 49 | func main(argc: i64, argv: *i64) -> i64 |