Staging#18
Merged
suguanYang merged 14 commits intomainfrom May 11, 2026
Merged
Conversation
Suguan yang patch 1
…tion refactor: consolidate chunk connection logic and improve parsing in s…
fix: restore worker ci checks
* feat: enhance graph deletion, sync performance, and zip manifest - Update `remove_document_graph` to use 3-way OR deletion (owner, source, target) and enforce user/namespace scopes. - Optimize graph builder's disk sync performance by removing redundant chunk loads. - Extend `ZipResultService` to include a nested title hierarchy in `manifest.json`. - Simplify hierarchical prompt instructions. * feat(agentic): implement LLMPolicy and unify agentic RAG ranking logic * refactor: implement recursive bottom-up doc_nav summary with virtual document node * fix: resolve ruff lint errors (unused imports and variables) * test: update expected top_summary format in unit tests
…coring - Fix doc accumulation in revision loop (selected_docs.clear) - Fix missing ever_explored_doc_ids tracking for no_confident_match - Implement KG-exhausted guard in terminal loop - Replace max(agent, disc) scoring with dual-priority ranking to prevent 0-agent leak - Promote bottom_discovery to mandatory pre-step
…scoring fix: resolve E2E agentic retrieval bugs and implement dual-priority scoring
…-user-balance fix: initialize missing user balance during tier lookup
| # Remove unused source file since we reuse the cached image | ||
| try: | ||
| source_path.unlink() | ||
| except OSError: |
| 'outline', 'chunks', 'assets_only', 'image_only', 'table_only', | ||
| }) | ||
|
|
||
| _SCOPE_NAV_PROMPT = """\ |
| Returning None means the agent loop should stop and proceed to | ||
| the fixed terminal step (hydrate_and_rank). | ||
| """ | ||
| _ACTIONS_BLOCK = '\n'.join( |
|
|
||
| class _JiebaModule(Protocol): | ||
| def lcut(self, sentence: str) -> list[str]: ... | ||
| def cut(self, sentence: str) -> list[str]: ... |
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
Verification
Deployment Notes
Checklist