fix(search,navigator,layout): fix live search retrieval, add full doc reader, resolve UI collisions, and eliminate mock test theatre - #32
Merged
Conversation
added 3 commits
September 29, 2026 18:18
… reader, resolve UI collisions, and eliminate mock test theatre
…sts, enforce navigator in test:layout CI script
…F search; memoize outline symbols
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
This PR addresses the root causes behind broken live search and document inspection discovered during live demo usage:
Live Search Failure & DB Isolation:
index_cache.db), overridingvector_store_storage_pathto point to a deleted temporary pytest directory (/tmp/pytest-of-steve/...) and resetting the collection tocoll_v2.conftest.pyviaisolate_test_dbfixture and dynamic SQLite engine path resolution inapp/services/database/connection.py.doc_type == 'doc'now match bothdocandpdftypes instead of silently omitting indexed PDFs.test_execute_hybrid_search_end_to_end_real) testing real vector and lexical BM25 indexing and retrieval.Full Document Reader in Code Navigator:
resolve_safe_path()inapp/services/file_reader.pyto support root-level project documentation (e.g.README.md) whenrepo == '__all__'.NavigatorDocReader.tsxwith Markdown formatting (headers, inline code, fenced syntax blocks, lists, blockquotes) and raw source table view with line numbers and file statistics.NavigatorInspector.tsxwith tab toggling betweenSymbol IntelligenceandFull File Content, auto-rendering the document reader for non-code files.NavigatorOutline.tsx.Responsive UI Layout & Zero Collisions:
playwright-layout-inspectorchecks across desktop and mobile in bothe2e/navigator.spec.tsande2e/layout-inspector.spec.ts, assertingtoHaveNoLayoutOverflow()andtoHaveNoElementCollisions().Eliminating Mock Test Theatre: