code wiki / _hdl_build / nx_dedupe_source_gate.nx

nx_dedupe_source_gate.nx

buildroot/runtime/_hdl_build/nx_dedupe_source_gate.nx

2509 B42 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_dedupe_source_gate.nx -- D001 gate for the sovereign dual-copy reconcile (gv-verdict anchored). Proves the RESOLUTION of the seq207 hazard is safe + discriminating on hermetic CWD kat files (never touches buildroot): a divergent shadow is soft-deleted (renamed, bytes preserved) leaving one copy; a missing shadow is a benign no-op; a missing canonical SSOT is REFUSED (never reconcile toward a missing truth); the op is idempotent. NO real source is mutated by this gate. license_tier: ORIGINAL expect_exit: 0

dependencies 2 imports · 0 importers

nx_dedupe_source_lib.nx nx_gate_verdict.nx nx_dedupe_source_gate.nx

imports: nx_dedupe_source_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 ↻ ds_write_kat sys_openat_wr sys_write ↻ sys_close ds_reconcile ds_exists sys_openat_rd sys_close ↻ ds_cat sys_renameat gv_check gv_puts ↻ ds_exists ↻ ds_selftest sys_mmap ↻ ds_write_kat ↻ ds_reconcile ↻ ds_exists ↻ gv_verdict gv_note_bare_rate

structs

none

consts

none

functions

10func main() -> i64