code wiki / _hdl_build / nx_dedupe_source.nx
nx_dedupe_source.nx
buildroot/runtime/_hdl_build/nx_dedupe_source.nx
about
nx_dedupe_source.nx -- CLI: resolve a seq207/seq169 dual-copy source divergence the sovereign way.
The RESOLUTION half of the mgmt build guard's DETECTION (ma_build_dup_divergent). Reusable ecosystem-wide.
usage: nx_dedupe_source --kat (self-test: reconcile/no-op/refuse/idempotent oracle)
nx_dedupe_source <target> [canonical_dir] [shadow_dir]
nx_dedupe_source check <target> [canonical_dir] [shadow_dir]
The directory pair is OPTIONAL and defaults to the historical _hdl_build <- runtime pair, so every
existing caller is unchanged. It exists because the DETECTOR (nx_dup_source_check) discovers ~13
source trees while this reconciler knew only two -- hazards in bin/, _retired/ or a nested
runtime/runtime/ reported dual_copy:0 and could never be cleared, leaving the board permanently RED.
license_tier: ORIGINAL expect_exit: 0 genealogy: seq207 dual-copy class
dependencies 1 imports · 0 importers
imports: nx_dedupe_source_lib.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 13 | func main(argc: i64, argv: *i64) -> i64 |