Skip to content

chore: promote main to staging - #425

Merged
EricNGOntos merged 10 commits into
stagingfrom
main
Sep 17, 2026
Merged

EricNGOntos merged 10 commits into
stagingfrom
main

Conversation

@EricNGOntos

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • Staging build-and-deploy workflow runs after merge
  • Staging retrieval query accepts agent_explore_model

Made with Cursor

EricNGOntos and others added 10 commits September 14, 2026 17:12
…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
@EricNGOntos
EricNGOntos merged commit 2c21c2f into staging Sep 17, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants