Initial Commit
This commit is contained in:
27
openspec/archive/2026-04-19-enterprise-dedup/tasks.md
Normal file
27
openspec/archive/2026-04-19-enterprise-dedup/tasks.md
Normal 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.
|
||||
Reference in New Issue
Block a user