Search and the ⌘K omnibar now surface **every file in your project**,…#202
Merged
Conversation
…941) Extend the file index to admit all non-ignored files of every extension and make it the single source of truth for file-existence, propagating all-files coverage to search, the omnibar, MCP search, destination pickers, and dead-link resolution. Names/paths indexed for all files; full content for markdown only. ContentFilter kept; 50,000-entry cap on the name-only tier (OK_SEARCH_MAX_ENTRIES). - getFileIndex() inverted to markdown-only by default with an explicit getAllFilesIndex() opt-in (D12), gated by a caller coverage meta-test. - Secret-file floor: .env / private keys / .ssh / .aws / .gnupg etc. excluded from all surfaces independent of gitignore (case-insensitive). - O(1) workspace-search corpus fingerprint via the file-index generation counter. Implements PRD-7117 Part 2. GitOrigin-RevId: ef0f8223695e87f33550b90490949590315ecb5a
Contributor
There was a problem hiding this comment.
Automated approval from agents-private public-mirror-sync (run: https://github.com/inkeep/agents-private/actions/runs/27773254444). Source of truth is the monorepo; direct edits on inkeep/open-knowledge are overwritten on next sync.
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.
Search and the ⌘K omnibar now surface every file in your project, not just markdown notes. Part 1 made the sidebar tree show all files; this extends that to search so the two agree.
data.csv,FileTree.tsx, an image, a config file — regardless of type. Markdown is still ranked first; non-markdown files match by name and path.server/src) resolve..changeset/,.github/) are searchable (rank-deprioritized) without being sent to the embeddings provider.searchreturns all files by name/path and points agents atexecgrepfor exhaustive content search..env*, SSH private keys includingid_ed25519/id_ecdsa/id_dsa,.netrc/.npmrc/.pgpass/.git-credentials,*.pem/*.key/*.p12/*.pfx/*.keystore/*.jks/*.ppk, and the.ssh/.aws/.gnupg/.kube/.dockerdirectories) are excluded from all surfaces — the Part 1 "Show All Files" tree as well as search and/api/documents. The unauthenticated local HTTP API is bindable to non-loopback hosts; closing this name-egress channel is the floor whether or not.gitignorecovers the path.The file index now indexes names/paths for all files and full content for markdown only, with ContentFilter kept on (gitignored/build content stays out of search) and a 50,000-entry cap on the name-only tier (
OK_SEARCH_MAX_ENTRIES).