code wiki / _hdl_build / nx_sponsor_review.nx

nx_sponsor_review.nx source

↩ module page · 20 lines · 883 B

1// nx_sponsor_review.nx -- the EXECUTIVE SPONSOR's decision organ (thin 2// real-paths main; policy in nx_sponsor_core.nx, gate drives the core on 3// scratch). One call per pulse beat: apply sponsor_decisions.tsv rows 4// (APPROVE: VIEW->DONE, DENY: VIEW->NOVEL + planning_prefs learning row), 5// REFUSE illegal transitions loudly, and print the SPONSOR-SPEC co-spec 6// batch (NOVEL rows tagged ||ASK=spec -- the work that needs sponsor+tutor 7// together). Objective rows never touch this organ: evidence law runs them. 8// license_tier: ORIGINAL 9 10import "nx_sponsor_core.nx" 11 12func main() -> i64 { 13 let rc: i64 = sr_run( 14 "knowledge/registry/assignment_queue.tsv" as *u8, 15 "knowledge/registry/sponsor_decisions.tsv" as *u8, 16 "knowledge/registry/planning_prefs.tsv" as *u8, 17 "knowledge/status/sponsor_review.log" as *u8) 18 sys_exit(rc) 19 return rc 20}