chore: promote main to staging - #425
Merged
Merged
Conversation
…alidation - Added normalization functions for DOCX and XLSX variants to handle non-standard containers. - Integrated office compatibility normalization into the source preparation process, updating job metadata accordingly. - Improved office container validation by replacing zipfile checks with a more robust inspection method. - Updated job metadata schema to include office compatibility information for better tracking of conversion processes.
…rmalize feat: normalize non-standard DOCX/XLSX before parse
python-docx rejects .docm content types even when the upload is named .docx. Rewrite the OOXML main content type in-process so parse and page estimation keep working without LibreOffice. Co-authored-by: Cursor <cursoragent@cursor.com>
fix(parser): open macro-enabled Word packages as docx
The planner nested from documents and filtered every in-scope chunk, skipping idx_document_chunks_content_trgm. Match set and current-revision scope are unchanged. Co-authored-by: Cursor <cursoragent@cursor.com>
fix(retrieval): use content trigram index for corpus.grep
- Replaced `safe_dispose_engine` with `dispose_all_engines` for better engine management during application shutdown. - Enhanced `ToolContext` to include `db_factory` for improved database session handling. - Introduced new context manager `get_db_context_with_timeouts` to manage sessions with specific timeouts. - Updated various tools to utilize the new `db_factory` parameter for database operations, ensuring consistent session management across the application.
perf(retrieval): keep agent explore results, cut DB waits
Stop empty grep/node_filter calls from a mismatched schema and loop contract, and pass an optional model name through the query so evals can switch Cursor models without a redeploy. Co-authored-by: Cursor <cursoragent@cursor.com>
…rsor-model feat(retrieval): switchable agent_explore Cursor model
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
main(including feat(retrieval): switchable agent_explore Cursor model #424 agent_explore Cursor model override and grep/node_filter loop-contract fixes) ontostagingfor the staging deploy path.Test plan
agent_explore_modelMade with Cursor