Repository navigation
fix(code-intel): FTS5 search, dead-code false positives, index skip files - #462
Merged
Merged
Conversation
…iles Issues: #451 #452 #453 #453 — Fix should_skip_file glob handling & sticky skip patterns - Rewrite should_skip_file() with 4 glob pattern types - Add schema v6 migration: index_config_hash column on projects - Add index_project_with_skip() with config hash invalidation - Wire config loading into cora index command #451 — Fix FTS5 returning 0 results for camelCase queries - Recreate FTS5 virtual table in v6 migration to add file column - Add split_camel_case() for identifier decomposition - Enhance sanitize_fts_query() with OR expansion of sub-words - Update FTS5 insert triggers to include file path - 12 new tests for camelCase splitting and FTS query expansion #452 — Reduce dead-code detection false positives - Add FRAMEWORK_ENTRY_PREFIXES (30+ framework lifecycle names) - Add FRAMEWORK_ENTRY_SUFFIXES (12 common suffixes) - Add SQL exclusion for // cora: keep suppression markers - Add AnalysisConfig with entry_point_patterns config knob - Wire analysis config into cora dead-code CLI command - Post-filter respects user-configured patterns
This was referenced Aug 3, 2026
Closed
Closed
Closed
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
Fixes #451, #452, #453 — Code intelligence improvements for v0.13.0.
#453 — Fix
should_skip_fileglob handling & sticky skip patternsshould_skip_file()with 4 glob pattern types (**/name/*,**/dir/**,**/name,*.ext)index_config_hashcolumn onprojectstableindex_project_with_skip()with config hash invalidation — re-indexes when skip patterns changecora indexcommand#451 — Fix FTS5 returning 0 results for camelCase queries
filecolumn (content-synced, safe rebuild)split_camel_case()for identifier decomposition (camelCase, PascalCase, acronyms, numbers)sanitize_fts_query()with OR expansion of sub-words (camelCase→"camelCase" OR "camel" OR "Case")#452 — Reduce dead-code detection false positives (~82% → <5%)
on_,handle_,get_,set_,fetch_,resolve_,validate_,process_,transform_,build_,configure_,execute_,dispatch_,mount_,render_,connect_,subscribe_,middleware_,plugin_,before_,after_, etc.Handler,Listener,Callback,Hook,Middleware,Controller,Resolver,Guard,Interceptor// cora: keepsuppression markers — symbols with this in their signature are excludedanalysis.entry_point_patternsconfig knob — users can add custom patterns in.cora.yamlQA Results
cargo checkcargo fmtcargo clippycargo testcargo build --releaseFiles Changed (8 files, +565 −43)
src/engine/index_scanner.rs— glob rewrite + 8 testssrc/index/schema.rs— v6 migration (config_hash + FTS5 recreate)src/index/mod.rs—index_project_with_skip+ FTS5 triggerssrc/index/symbols.rs—split_camel_case+ enhanced FTS query + 12 testssrc/index/graph.rs— framework exclusions + suppression + configsrc/config/schema.rs—AnalysisConfigstruct + CoraFile mergesrc/main.rs— wired config to index + dead-code commandssrc/mcp/tools.rs— updatedDeadCodeOptionsconstructionCloses #451, closes #452, closes #453