code wiki / _hdl_build / nx_teacher_hb.nx
nx_teacher_hb.nx
buildroot/runtime/_hdl_build/nx_teacher_hb.nx
about
nx_teacher.nx -- the NISHI TEACHER / TUTOR organ (operator: "maybe we need a nishi teacher or tutor
to partner and gracefully have you hand off what you do as we move towards s class"). The Teacher
manages the M0->M4 autonomy ladder PER capability: it decides when the team is ready to take a rung
from Claude, advances ONE rung at a time (never a reckless skip), and reports what Claude still owns
vs what has been handed off. As the team's grades climb, Claude's load shrinks toward zero -- the
whole point of the seed/spore north star. RACI: the Teacher partners with Claude (the tutor) and the
Examiner (the grader); it does not grade or build, it sequences the handoff. license_tier: ORIGINAL
M0 Claude does it; team cannot M3 team does it autonomously; Claude spot-checks
M1 Claude does it; team observes/learns M4 team fully owns it; Claude handed off
M2 team does it; Claude verifies
dependencies 1 imports · 0 importers
imports: nx_syscalls.nx
imported by: nobody (leaf or entry point)
structs
| none |
consts
| 15 | const TCH_M0: i64 = 0 |
| 16 | const TCH_M1: i64 = 1 |
| 17 | const TCH_M2: i64 = 2 |
| 18 | const TCH_M3: i64 = 3 |
| 19 | const TCH_M4: i64 = 4 |
functions
| 22 | func tch_claude_owns(level: i64) -> i64 { if level <= TCH_M1 { return 1 } return 0 } called by 1: tch_claude_load |
| 25 | func tch_can_advance(team_grade: i64, threshold: i64, regressed: i64) -> i64 called by 1: tch_next_level |
| 32 | func tch_next_level(current: i64, team_grade: i64, threshold: i64, regressed: i64) -> i64 calls 1: tch_can_advance |
| 39 | func tch_handed_off(levels: *i64, n: i64) -> i64 called by 1: tch_progress_permil |
| 46 | func tch_claude_load(levels: *i64, n: i64) -> i64 calls 1: tch_claude_owns |
| 53 | func tch_progress_permil(levels: *i64, n: i64) -> i64 calls 1: tch_handed_off |
| 59 | func tch_next_target(levels: *i64, grades: *i64, n: i64) -> i64 |
| 70 | func tch_premature(advanced: i64, sustained: i64) -> i64 called by 1: tch_rollback |
| 76 | func tch_rollback(current: i64, advanced: i64, sustained: i64) -> i64 calls 1: tch_premature |
| 82 | func tch_learned_threshold(base_threshold: i64, premature_count: i64, step: i64) -> i64 |
| 87 | func tch_got_stricter(old_threshold: i64, new_threshold: i64) -> i64 { if new_threshold > old_threshold { return 1 } return 0 } |