Skip to content

Merge pull request #199 from Ontos-AI/main#204

Closed
suguanYang wants to merge 18 commits into
mainfrom
staging
Closed

Merge pull request #199 from Ontos-AI/main#204
suguanYang wants to merge 18 commits into
mainfrom
staging

Conversation

@suguanYang

Copy link
Copy Markdown
Contributor

Summary

  • describe the change
  • describe any API, worker, deployment, or migration impact
  • link the related issue or task

Verification

  • list the commands you ran
  • list any manual API, worker, or local-dev checks you performed
  • note anything intentionally not tested

Deployment Notes

  • note new or changed environment variables
  • note database migrations, queue changes, storage changes, or release-order requirements
  • note backwards compatibility or rollback concerns

Checklist

  • Tests were added or updated when behavior changed
  • Public docs, examples, or OpenAPI contracts were updated when needed
  • Database migrations are idempotent and safe to deploy
  • Logs, errors, and validation paths avoid leaking secrets or user data
  • The pull request description explains any breaking or user-visible change

EricNGOntos and others added 18 commits June 3, 2026 23:31
…ine collection, and fallback auto-collect (#125)

* feat: enhance navigation state with error handling, custom tool parameters, and improved workflow plan caching

* feat(retrieval): enhance agentic navigation with scope tracking, outline collection, and fallback auto-collect

- Replace scope_stack with flat current_scope for cleaner BACK/DRILL navigation
- Add structured exit_reason tracking across all navigation exit paths
- Implement fallback auto-collect when navigation interrupted by budget/latency/max_steps
- Fix outline collections to not exclude children from future navigation
- Add BACK target validation with path-parent fallback
- Fix evidence tree indentation for nested sections
- Fix pyright type errors in plan_service by using explicit kwargs
- Fix lint: remove extraneous f-string prefixes in asset tools
* feat: inject discovery signals as advisory hints into agent document selection prompts

* fix(agentic): resolve evidence tree orphan nesting, outline leakage, and enforce English agent reasoning

- Fix _build_outline_subtree to reparent existing children under newly
  created parent nodes, preventing orphan depth errors (Bug 1)
- Filter outline_items in _hydrate_collected to exclude ancestor/sibling
  context from load_child_sections, eliminating echo structures (Bug 1)
- Change render_evidence guard from has_content() to has_leaf_content(),
  skipping documents with outline-only trees when no chunks were
  collected (Bug 2)
- Add English language requirement to COLLECTOR_PROMPT and _PLANNER_PROMPT
  for agent-generated free-text fields like reason and reasoning_summary (Bug 3)
- Remove unused imports flagged by ruff lint

Closes #117

* refactor: remove inspect tool, update asset search with optional VLM, and improve navigation stop/fallback logic

* feat: implement H2-aware shard refinement logic to improve document splitting granularity and adherence to size constraints.

* test(contract): update discovery selection contract tests to match id_to_path signature
…actor (#128)

- Remove image_topic_hints / table_topic_hints params from build_asset_tools_block
  (hints were never used in the new prompt format)
- Remove dead load_asset_topic_hints function from assets.py
- Remove hint-loading block and wasted DB queries from navigate_step in tools.py
…-staging

Route oversized PDF shards through S3 for MinerU
…model upgrade (#133)

- Add Phase 2.5 discovery fallback for unnavigated documents that have
  bottom-discovery hits but were missed by KG document selection
- Add adjust_budget_snapshot() to pre-adjust budget state shown to LLM
- Update prompt_service with model-specific formatting (DeepSeek/Qwen)
- Upgrade IMAGE_MODEL to qwen2.5-vl-72b-instruct for better VLM quality
- Remove unused DocTreeNode import (lint fix)
- Clean up navigation tools dead code

Closes #132
* refactor: remove legacy retrieval routes and standardize agentic orchestration with enhanced decision tracing and token tracking

* feat: implement structured DecisionTraceStep tracking and refine agentic navigation prompt constraints

* feat(agentic): reconcile navigation asset search flow
* fix: route oversized pdf shards through s3

* Revert "Route oversized PDF shards through S3 for MinerU"

* ci: move production release flow to tags

* docs: detail contribution release workflow

* ci: skip deployment image builds on pull requests

* ci: trigger production deploy from releases

* docs: hide internal environment branch from public flow

* docs: remove release flow from public docs

---------

Co-authored-by: suguanYang <wangbinqi77@gmail.com>
Co-authored-by: suguanYang <suguanyang@ylioo.com>
…staging-20260617

chore: sync main into staging
Resolve Issue #158: Page-Memory PR4 modules, Excel table pathing, evidence renderer optimization (#159)
@suguanYang suguanYang closed this Jul 5, 2026
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