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 sys_openat_wr srg_f sys_openat_append srg_f ↻ srg_reconcile sys_fork sys_execve sys_wait4 srg_status_of sr_status an_newcx sys_mmap an_find an_streq an_id_at srg_chk srg_p ↻ srg_seed_decisions sys_openat_wr ↻ srg_f ↻ srg_count sys_read wd_at sr_run sys_openat_append ↻ sys_read ↻ sr_line wd_at ↻ sr_skipws sr_apply sr_status ↻ wd_flip_status sys_mmap ↻ sys_openat_rd sys_read ↻ sys_close wd_at ↻

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 2: sys_openat_wrsrg_f
48func srg_seed_decisions(dp: *u8) -> i64
called by 1: main calls 2: sys_openat_wrsrg_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 calls 2: sys_readwd_at
90func srg_reconcile(qp: *u8) -> i64
called by 1: main calls 3: sys_forksys_execvesys_wait4
107func main() -> i64