code wiki / _hdl_build / nx_conductor_recall_gate.nx

nx_conductor_recall_gate.nx

buildroot/runtime/_hdl_build/nx_conductor_recall_gate.nx

5875 B128 linesdepth 5pulls 10 transitivereach 0 importersview sourcekind gate/prooftopic conductor
docsdependenciesstructsconstsfunctions

about

nx_conductor_recall_gate.nx -- THE LOCK for rung 3 (recall wired into the live give-up path). Proves cond_recall_verdict converts a self-heal verdict correctly + honestly. HERMETIC: seeds its OWN catalogue (knowledge/store/kicgate-) with one non-reserved-keyword signatured fixture (C-SEGV), so it exercises the give-up->recall path that the production catalogue cannot yet (the only production signature, reserved-keyword, is already caught by the Doctor's PRIMARY classifier and never reaches give-up). No compiler is driven -- the decision layer is pure. G1 recall-rescues-giveup : (COND_UNFIXABLE, diag w/ C-SEGV signature) -> COND_SEEN, id=C-SEGV G2 honest-novel : (COND_UNFIXABLE, novel diag) -> COND_UNFIXABLE (no rubber-stamp) G3 passthrough-clean : (COND_CLEAN, anything) -> COND_CLEAN (recall never meddles) G4 passthrough-council : (arbitrary verdict 99, anything) -> 99 (only give-up is special-cased) G5 tamper : (COND_UNFIXABLE, diag w/ corrupted sig) -> COND_UNFIXABLE (real match) GREEN only if G1..G5 all hold. Evidence -> knowledge/status/conductor_recall.log. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_conductor_recall.nx nx_seg_store.nx nx_syscalls.nx nx_conductor_recall_gate.nx

imports: nx_conductor_recall.nxnx_seg_store.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap ss_begin ss_begin_cap sys_mmap ↻ cr_streq_store sys_mmap ↻ ss_get sys_mmap ↻ ss_scan sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn sys_mmap ↻ ss_cat ss_readall sys_munmap ss_scan_seglist ss_len sys_mmap ↻ ss_cat ↻ ss_readall ↻ ss_r32 cr_len ss_add ss_add2 ss_w32 ss_len ↻ cr_len ↻ ki_seg_next_p sys_mmap ↻ ss_manifest ss_manifest_file sys_mmap ↻ ss_cat ↻ ss_readall ↻ ss_commit ss_segid_ok sys_mmap ↻ ss_cat ↻

structs

none

consts

18const CR_LOG: *u8 = "knowledge/status/conductor_recall.log"
19const KICGATE_PREFIX: *u8 = "knowledge/store/kicgate-"

functions

21func cr_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 }
called by 2: cr_rowmain calls 1: sys_write
22func cr_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 2: cr_streq_storemain
24func cr_streq(a: *u8, b: *u8) -> i64
called by 1: main
34func cr_streq_store(key: *u8, val: *u8) -> i64
called by 1: main calls 3: sys_mmapss_getcr_len
47func cr_row(fd: i64, name: *u8, pass: i64) -> i64
called by 1: main calls 1: cr_w
53func main() -> i64