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 6/6. Advertised tools 15 → 12 (target). Folds search + deep_reference + cross_reference + contradictions into one mode-dispatched tool: mode = lookup (DEFAULT) | reason | contradictions HOT-PATH INVARIANT: with no `mode` set, `recall` is a zero-overhead pass-through to search_unified::execute — plain recall never pays the 5–10× reasoning cost. Only mode='reason' runs spreading activation + FSRS trust scoring. Verified by test_recall_lookup_matches_search_shape (recall default == search byte-for-byte). - Schema derived from search_unified::schema() so every lookup param carries through; the global `required: ["query"]` is dropped (contradictions uses `topic`) and validated per-mode at runtime; mode/depth/topic/since/min_trust added. - `recall` becomes the primary retrieval verb and first advertised tool. The old `recall`/`semantic_search`/`hybrid_search` search aliases now redirect to it; search/deep_reference/cross_reference/contradictions are hidden warn!+redirect aliases (removed v2.3.0). - Size annotation moved search (300k) → recall, synced across loop, helper, and both annotation tests. test_meta_wire_shape updated to probe `recall`. - emit_tool_event normalizes `recall` → SearchPerformed only on lookup; reason/contradictions do not emit. - Tests: count 15→12, 4 negatives, recall modes/aliases + lookup-shape tests. Final advertised surface (12): recall, memory, codebase, intention, smart_ingest, source_sync, memory_status, dedup, graph, maintain, session_start, suppress. Gates: cargo test --workspace (435 mcp tests green), cargo clippy -D warnings. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| vestige-core | ||
| vestige-mcp | ||