code wiki / (root) / nx_dr_conductor_cli.nx

nx_dr_conductor_cli.nx

buildroot/runtime/nx_dr_conductor_cli.nx

4425 B92 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind tooltopic dr
docsdependenciesstructsconstsfunctions

about

nx_dr_conductor_cli.nx -- callable MCP/API surface for the Co-Scientist conductor (DR-4). Runs the whole deterministic research loop (verify-yield -> Elo tournament -> opp-cost budget dispatch) over N candidate research vectors and emits the ranked plan + which vectors earn deep compute. nx_dr_conductor <budget> [supported total cost]... per vector: 3 ints e.g. nx_dr_conductor 8 8 10 3 2 10 2 9 10 5 0 10 1 -> {"selected":2,"spent":8,"vectors":[{"rank":1,"id":0,"quality":800,"rating":..,"selected":1},...]} license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0

dependencies 2 imports · 0 importers

nx_dr_conductor.nx nx_syscalls.nx nx_dr_conductor_cli.nx

imports: nx_dr_conductor.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 cd_puts sys_write cd_key cd_q sys_mmap sys_write ↻ cd_puts ↻ cd_q ↻ sys_exit cd_atoi sys_mmap ↻ cond_run cond_quality el_make_etab sys_mmap ↻ sys_mmap ↻ el_run_tournament el_expected el_update ocm_priority ocm_rank sys_mmap ↻ ocm_select cd_num sys_mmap ↻ sys_write ↻

structs

none

consts

none

functions

12func cd_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 2: cd_keymain calls 1: sys_write
13func cd_q() -> i64 { let b: *u8 = sys_mmap(1); b[0] = 34 as u8; sys_write(1, b, 1); return 0 }
called by 2: cd_keymain calls 2: sys_mmapsys_write
14func cd_key(name: *u8) -> i64 { cd_q(); cd_puts(name); cd_q(); cd_puts(":" as *u8); return 0 }
called by 1: main calls 2: cd_qcd_puts
15func cd_num(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
27func cd_atoi(a: *u8) -> i64
called by 1: main
37func main(argc: i64, argv: *i64) -> i64