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 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_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_journal sys_openat_append sys_mmap ↻ gv_catn sys_mmap ↻ sys_munmap ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real gv_cat

structs

none

consts

none

functions

10func main() -> i64