code wiki / _hdl_build / nx_sponsor_page.nx

nx_sponsor_page.nx

buildroot/runtime/_hdl_build/nx_sponsor_page.nx

7856 B172 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind tooltopic sponsor
docsdependenciesstructsconstsfunctions

about

nx_sponsor_page.nx -- the EXECUTIVE SPONSOR'S COCKPIT page (X-I3 rung 1; operator: "interact on something like nishifamily.com/sponsor behind authentication so i can start flagging the novel"). Renders the ACTIONABLE sponsor view from the queue, console-pattern (sovereign NishiLang->HTML, every line derived from the durable queue, atomic write, hot-servable): VIEW queue -- deliverables awaiting a viewpoint, each with the four paste-ready decision lines (APPROVE/REWORK/RESTART/DENY) CO-SPEC batch-- NOVEL rows tagged ||ASK=spec (needs sponsor+tutor) RAISED HANDS -- every NOVEL row with its DENY line (flag no-ROI novel BEFORE tutor time burns; DENY-on-NOVEL is gate-proven) SECURITY HONESTY: this rung renders evidence + paste-ready lines; the authed GET route + POST /sponsor/decide handler are X-I3-002/003 (filed, exact contract in the rows) -- decisions move ONLY via the repo decision file until those land, and the page says so. argv[1]=output path override, argv[2]=queue override (gates use scratch). license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_itoa_lib.nx nx_assign_core.nx nx_sponsor_page.nx

imports: nx_syscalls.nxnx_itoa_lib.nxnx_assign_core.nx

imported by: nobody (leaf or entry point)

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

main an_newcx sys_mmap an_load sys_mmap ↻ sys_openat_rd sys_read sys_close an_id_at an_deps_at an_gate_at an_title_at sp_w sys_write sys_exit sys_openat_wr sp_view_section sp_w ↻ an_id_at ↻ an_title_at ↻ sp_decision_line sp_w ↻ an_id_at ↻ sp_cospec_section sp_w ↻ sp_gate_has an_gate_at ↻ an_id_at ↻ an_title_at ↻ sp_novel_section sp_w ↻ an_id_at ↻ an_title_at ↻ sp_decision_line ↻ sp_wn nxi_fd sys_mmap ↻ ccz_cat_num sys_write ↻ sys_munmap

structs

none

consts

none

functions

23func sp_w(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd,s,n); return 0 }
28func sp_wn(fd: i64, v: i64) -> i64 { nxi_fd(fd, v); return 0 }
called by 1: main calls 1: nxi_fd
31func sp_gate_has(cx: *i64, r: i64, pat: *u8) -> i64
called by 1: sp_cospec_section calls 1: an_gate_at
50func sp_decision_line(fd: i64, verb: *u8, cx: *i64, r: i64) -> i64
60func sp_view_section(fd: i64, cx: *i64) -> i64
87func sp_cospec_section(fd: i64, cx: *i64) -> i64
111func sp_novel_section(fd: i64, cx: *i64) -> i64
133func main(argc: i64, argv: *i64) -> i64