code wiki / _hdl_build / nx_team_train.nx

nx_team_train.nx

buildroot/runtime/_hdl_build/nx_team_train.nx

7560 B78 linesdepth 2pulls 2 transitivereach 1 importersview sourcekind librarytopic team
docsdependenciesstructsconstsfunctions

about

nx_team_train.nx -- the CONSTANT team-training capability (operator: "constantly training our team to be growing to your capabilities ... engineer doctor adversarial whatever ... be able to do it and even improve"). Claude is the TUTOR (not the doer); this turns "how Claude did it" into a GROUNDED, per-ROLE curriculum the TEAM runs to grow toward -- and past -- Claude. Design = the PROVEN nx_cap_gap_sov ladder pattern (build-status DERIVED from real organ existence, neg-controlled, frontier + next + RACI) EXTENDED from LLM-rungs to METHODS: * each method is tied to a REAL demonstrating organ (the team studies that organ to learn the method) * a fresh Claude reference (fresh=1) is OWNED once the team REPRODUCES it -- its own organ for that method exists on disk (repro). An established team method (fresh=0) is owned when its organ exists. => the frontier CLIMBS as the team builds reproductions = the loop closing, grounded (un-fakeable). * a measured IMPROVEMENT over the reference is detectable = the team EXCEEDING the tutor (no-wave doctrine) Roles: engineer / doctor / adversarial / researcher. Sovereign. license_tier: ORIGINAL

dependencies 1 imports · 1 importers

nx_syscalls.nx nx_team_train.nx nx_team_train_gate.nx

imports: nx_syscalls.nx

imported by: nx_team_train_gate.nx

structs

none

consts

14const TT_ENG: i64 = 0
15const TT_DOC: i64 = 1
16const TT_ADV: i64 = 2
17const TT_RES: i64 = 3

functions

19func tt_role_name(r: i64) -> *u8
called by 1: main
28func tt_organ_exists(name: *u8) -> i64
46func tt_load(roles: *i64, methods: *i64, organs: *i64, fresh: *i64, repro: *i64) -> i64
called by 1: main
67func tt_owned(organs: *i64, fresh: *i64, repro: *i64, k: i64) -> i64
71func tt_role_total(n: i64, roles: *i64, role: i64) -> i64 { var c: i64=0; var k: i64=0; while k<n { if roles[k]==role { c=c+1 } k=k+1 } return c }
called by 1: main
72func tt_role_owned(n: i64, roles: *i64, organs: *i64, fresh: *i64, repro: *i64, role: i64) -> i64 { var c: i64=0; var k: i64=0; while k<n { if roles[k]==role { if tt_owned(organs,fresh,repro,k)==1 { c=c+1 } } k=k+1 } return c }
called by 1: main calls 1: tt_owned
74func tt_next(n: i64, roles: *i64, organs: *i64, fresh: *i64, repro: *i64, role: i64) -> i64 { var k: i64=0; while k<n { if roles[k]==role { if fresh[k]==1 { if tt_owned(organs,fresh,repro,k)==0 { return k } } } k=k+1 } return 0-1 }
called by 1: main calls 1: tt_owned
76func tt_all_grounded(n: i64, organs: *i64) -> i64 { var k: i64=0; while k<n { if tt_organ_exists(organs[k] as *u8)==0 { return 0 } k=k+1 } return 1 }
called by 1: main calls 1: tt_organ_exists
78func tt_improved(ref_margin: i64, team_margin: i64) -> i64 { if team_margin > ref_margin { return 1 } return 0 }
called by 1: main