code wiki / (root) / nx_cite_redline_gate.nx

nx_cite_redline_gate.nx

buildroot/runtime/nx_cite_redline_gate.nx

6286 B116 linesdepth 8pulls 15 transitivereach 0 importersview sourcekind gate/prooftopic cite
docsdependenciesstructsconstsfunctions

about

nx_cite_redline_gate.nx -- F993 PRODUCT SURFACE: document-level citation redline. A chatbot verifies one quote; a drafting tool must verify EVERY citation in a filed paragraph and strike the ones that cannot be grounded. This proves the whole-document scanner catches a real mix -- a good cite, a fabricated cite, a made-up source, and the malformed-citation dodge -- and that the document-level green light (cite_doc_clean) refuses a paragraph carrying even one bad citation. license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0

dependencies 2 imports · 0 importers

nx_cite_lib.nx nx_gate_verdict.nx nx_cite_redline_gate.nx

imports: nx_cite_lib.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main gv_ctr 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 sys_write ↻ nxa_dump_sizes sys_write ↻ gv_head gv_puts sys_write ↻ rl_id mt_catcopy mt_catn nxi_buf cite_source_put canon_encode sys_mmap ↻ cc_cmp cc_w32 cc_len sys_munmap reg_put reg_put_x sts_lock sts_mm sys_mmap ↻ sts_werr sys_exit ↻ ss_cat sys_openat_append

structs

none

consts

none

functions

12func rl_ck(cnt: *i64, name: *u8, got: i64, want: i64) -> i64
called by 1: main calls 3: gv_checkgv_putsgv_num
21func rl_id(tag: *u8, nonce: i64, out: *u8) -> i64
called by 1: main calls 2: mt_catcopymt_catn
28func main(argc: i64, argv: *i64) -> i64