mirror of
https://github.com/samvallad33/vestige.git
synced 2026-07-02 22:01:01 +02:00
Tool Consolidation v2.2.0, Layer 1 commit 1/6. Advertised tools 34 → 27.
Folds find_duplicates + the 7 Phase-3 merge/supersede tools
(merge_candidates, plan_merge, plan_supersede, apply_plan, merge_undo,
protect, merge_policy) into a single action-dispatched `dedup` tool:
action = scan (default) | plan_merge | plan_supersede | apply | undo
| protect | policy
- `scan` combines cosine-similarity duplicate clusters with Fellegi-Sunter
merge candidates in one read-only payload.
- The mutate/preview/reverse actions delegate to merge::execute verbatim,
preserving plan_id → apply → undo, confirm-gating, and
bitemporal-never-delete byte-for-byte.
- All 8 old names remain dispatchable as hidden warn!+redirect aliases
(≥1 minor release, removed v2.3.0) but drop off the advertised tools/list.
- Size annotation: dedup=150_000 (scan payload). expected_max_result_size
+ both annotation tests kept in sync.
- Tests: count assert 34→27, 8 negative asserts, new
test_deprecated_dedup_aliases_redirect verifying old names still dispatch.
Gates: cargo test --workspace (all green), cargo clippy -D warnings (clean).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| vestige-core | ||
| vestige-mcp | ||