code wiki / _hdl_build / nx_cms_builder_attempt.nx

nx_cms_builder_attempt.nx

buildroot/runtime/_hdl_build/nx_cms_builder_attempt.nx

5821 B104 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic cms
docsdependenciesstructsconstsfunctions

about

nx_cms_builder_attempt.nx -- the BUILDER ATTEMPTS the CMS backlog by COMPOSITION (operator: "make sure you arent doing but allowing the team to TRY and then if they RAISE THEIR HAND to tutor and build their capabilities in the right teammates"). For each CMS task (a type-spec in->out), the Builder SEARCHES its authored-primitive library for a chain using ONLY available primitives. COMPOSED = the team authored it itself (autonomous, Claude monitors only). RAISED-HAND = a required primitive is MISSING -> that, and only that, is the tutoring target, routed to the right teammate. This catches my own over-reach: I hand-authored the secure token, but the Builder can compose it from urandom+hex it ALREADY has. license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_cms_builder_attempt.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap ba_puts sys_write ba_try sys_mmap ↻ ba_reach ba_reach ↻ ba_puts ↻ sys_write ↻ sys_exit

structs

none

consts

13const T_NONE: i64 = 0
14const T_PATH: i64 = 1
15const T_BYTES: i64 = 2
16const T_HEX: i64 = 3
17const T_FIELD:i64 = 4
18const T_KDF: i64 = 5
19const T_SAFE: i64 = 6
20const T_DOM: i64 = 7
21const NTYPE: i64 = 8
24const NP: i64 = 8

functions

10func ba_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: ba_trymain calls 1: sys_write
28func ba_reach(cur: i64, target: i64, useunavail: i64, pin: *i64, pout: *i64, pav: *i64, used: *i64, vis: *i64) -> i64
called by 2: ba_reachba_try calls 1: ba_reach
49func ba_try(name: *u8, tin: i64, tout: i64, pin: *i64, pout: *i64, pav: *i64, pname: *i64) -> i64
called by 1: main calls 3: sys_mmapba_reachba_puts
71func main() -> i64