nx_teacher_coordinate.nx
buildroot/runtime/nx_teacher_coordinate.nx
about
nx_teacher_coordinate.nx -- the COORDINATOR: runs the Nishi TEACHER, TRAINER and PUBLISHER together,
in dependency order, through the ONE shared native capability store (the coordination medium).
Operator (2026-06-20): "see the nishi teacher and the nishi trainer and the nishi publisher
COORDINATING." Pipeline:
1. TEACHER -- tsyn_merge_cols x3: synthesize every insight ledger into knowledge/store/teacher-capability-
2. TRAINER -- trn_coverage / trn_due_count: schedule + measure over that store
3. PUBLISHER -- tpub_emit: emit the curriculum page reflecting BOTH (insights + coverage meter)
One SITREP + a durable coordination log. The handoff is through the store, not a private side-channel,
so each organ stays single-responsibility (#9) and the loop is re-runnable + idempotent (#10).
license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_teacher_publish.nxnx_syscalls.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
| none |
functions
| 15 | func co_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != 0 as u8 { n = n + 1 } sys_write(1, s, n); return 0 } |
| 16 | func co_putn(v: i64) -> i64 |
| 26 | func co_cat(dst: *u8, off: i64, s: *u8) -> i64 { var i: i64 = 0; while s[i] != 0 as u8 { dst[off + i] = s[i]; i = i + 1 } return off + i } called by 1: main |
| 27 | func co_catn(dst: *u8, off: i64, v: i64) -> i64 |
| 36 | func main() -> i64 |