code wiki / _hdl_build / _sponsor_review_gate_authored.nx

_sponsor_review_gate_authored.nx

buildroot/runtime/_hdl_build/_sponsor_review_gate_authored.nx

8233 B196 linesdepth 5pulls 7 transitivereach 0 importersview sourcekind tooltopic sponsor
docsdependenciesstructsconstsfunctions

about

_sponsor_review_gate_authored.nx -- gate for the executive-sponsor loop. Proves the FULL subjective lifecycle on a scratch queue with the REAL reconcile elf and the sponsor core -- no mocks: 1. CTRL (TODO, MARK green, NO ASK) -> reconcile -> DONE (objective rows never wait for the sponsor: the doctrine's other half) 2. SV1 (TODO, MARK green, ||ASK=result) -> reconcile -> VIEW not DONE 3. APPROVE SV2 (VIEW) -> DONE 4. DENY SV3 <feedback> (VIEW) -> NOVEL + PREF row appended 5. APPROVE SV4 (TODO) -> REFUSED (illegal transition) 6. APPROVE NOSUCH -> REFUSED (unknown id) 7. SV5 (NOVEL ||ASK=spec) -> SPONSOR-SPEC census row 8. re-run -> idempotent (applied=0, no duplicate PREF row) Markers: SRG-*; final SPONSORGATE row -> knowledge/status/sponsor_review.log license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_sponsor_core.nx _sponsor_review_gate_authored.

imports: nx_sponsor_core.nx

imported by: nobody (leaf or entry point)

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

main srg_p srg_seed_queue srg_f srg_f ↻ srg_reconcile srg_status_of sr_status an_newcx sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable nxa_dump_sizes an_find an_streq an_id_at srg_chk srg_p ↻ srg_seed_decisions srg_f ↻ srg_count sr_run sr_line sr_skipws sr_apply sr_status ↻ sr_pref_append wd_w wd_w ↻ sr_askspec an_newcx ↻

structs

none

consts

none

functions

19func srg_p(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 2: srg_chkmain
20func srg_f(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 }
22func srg_chk(label: *u8, ok: i64, bad: *i64) -> i64
called by 1: main calls 1: srg_p
29func srg_seed_queue(qp: *u8) -> i64
called by 1: main calls 1: srg_f
48func srg_seed_decisions(dp: *u8) -> i64
called by 1: main calls 1: srg_f
66func srg_status_of(qp: *u8, id: *u8) -> i64
called by 1: main calls 1: sr_status
70func srg_count(path: *u8, pat: *u8) -> i64
called by 1: main
90func srg_reconcile(qp: *u8) -> i64
called by 1: main
107func main() -> i64