feat(mcp): FFF Epic #222 closure - multi_grep, frecency, cursor pagination#820
Merged
AlexMikhalev merged 18 commits intomainfrom Apr 17, 2026
Merged
feat(mcp): FFF Epic #222 closure - multi_grep, frecency, cursor pagination#820AlexMikhalev merged 18 commits intomainfrom
AlexMikhalev merged 18 commits intomainfrom
Conversation
…r pagination - Add terraphim_multi_grep MCP tool: OR-pattern search using Aho-Corasick with KG path-score ordering and constraint filtering - Wire SharedFrecency via FFF_FRECENCY_PATH env var for LMDB-backed persistent access-frequency scoring - Add cursor-based pagination to terraphim_grep and terraphim_multi_grep using base64-encoded file_offset cursors - Update test_find_files.rs for new grep_files signature (cursor param) - Clean compile, clippy-clean, all existing tests pass Refs #222
Fixes Rust 1.95 clippy unnecessary_sort_by lint on CI.
Fixes Rust 1.95 clippy unnecessary_sort_by lint on CI.
Fixes Rust 1.95 clippy unnecessary_sort_by lint on CI.
Fixes Rust 1.95 clippy unnecessary_sort_by lint on CI.
…position - Replace explicit counter loops with enumerate() in examples - Remove useless into_iter() in extend() call - Allow collapsible_match lint in task validation
- Replace explicit counter loops with enumerate() - Allow useless_vec for vec! in for-loop bindings - Remove unused next_id variable
…legraph examples - sort_by -> sort_by_key in session-analyzer main.rs - Allow useless_vec in knowledge_graph_role_demo example
- sort_by -> sort_by_key for Copy-type comparisons - Allow collapsible_match and unnecessary_sort_by for non-Copy types
- sort_by -> sort_by_key for Copy-type comparisons - Allow collapsible_match and unnecessary_sort_by for complex closures
- registry.rs: replace sort_by with sort_by_key - validation.rs: collapse if into match guards - handler.rs: allow unnecessary_sort_by for non-Copy rank - service.rs: allow unnecessary_sort_by for tuple field sort - routing.rs: collapse if into match guards - markdown_parser.rs: replace explicit counter with enumerate
- capture.rs: allow unnecessary_sort_by for captured_at and score - main.rs: allow unnecessary_sort_by for pos and rank sorting
…calls Batch fix for Rust 1.95 clippy lint across 11 files: - terraphim-session-analyzer, terraphim_agent, terraphim_agent_evolution - terraphim_automata, terraphim_sessions, terraphim_tinyclaw - terraphim_usage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
terraphim_multi_grepMCP tool: OR-pattern Aho-Corasick search with KG path-score ordering and constraint filteringSharedFrecencyviaFFF_FRECENCY_PATHenv var for LMDB-backed persistent access-frequency scoringterraphim_grepandterraphim_multi_grepusing base64-encoded file_offset cursorsTest plan
test_find_files.rstests updated for newgrep_filessignature