Initial Commit

This commit is contained in:
2026-05-27 23:29:53 +01:00
commit fbc70f96e6
10000 changed files with 1102152 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
# Tasks: enterprise-dedup
## 1. Scaffold
- [x] 1.1 `universal/data/dedup/`; 100/100/100/100; guard tests; CLAUDE/README/FOLDERS.
## 2. Errors + schemas
- [x] 2.1 `src/errors/dedup-error.ts` — codes.
- [x] 2.2 Zod schemas.
## 3. Scoring
- [x] 3.1 `src/core/scoring/similarity.ts` — `exactMatch`, `computeSimilarity`, `jaroWinklerSimilarity`, `levenshteinDistance`.
- [x] 3.2 Property tests.
## 4. Engine
- [x] 4.1 `src/core/engine/dedup-engine.ts` — `DedupEngine` (detect + merge dispatch).
- [x] 4.2 OTel counter + histogram.
## 5. Merge strategies
- [x] 5.1 `src/core/merge/merge-strategy.ts` — `latestWinsStrategy`, `manualStrategy`, `scoredMergeStrategy`.
## 6. Docs / barrel / exports / README
## 7. Benchmarks
- [x] 7.1 `detect.bench.ts` on 10 k / 100 k entities.
## 8. Ship gate
- [x] 8.1 Verification sequence; fold + archive.