Skip to content

Staging - #376

Merged
suguanYang merged 19 commits into
stagingfrom
main
Sep 1, 2026
Merged

Staging#376
suguanYang merged 19 commits into
stagingfrom
main

Conversation

@suguanYang

Copy link
Copy Markdown
Contributor

No description provided.

suguanYang and others added 16 commits September 1, 2026 15:49
This commit introduces a node filtering feature to enhance the retrieval process. Key additions include configuration options for enabling node filtering, setting filter parameters, and updating relevant functions to support filtering logic. The changes also include updates to the decision trace to log node filter actions and their outcomes, ensuring better tracking of retrieval decisions. Additionally, tests have been added to validate the new functionality.
…eatures

This commit refactors the navigation configuration by removing unused parameters and features, including `navigate_max_steps`, `enable_depth0_oversize_to_dispatch`, and `depth0_oversize_char_limit`. The `RegionReport` class has also been eliminated, simplifying the codebase. Additionally, adjustments have been made to the decision trace and related functions to reflect these changes, ensuring a cleaner and more efficient navigation process.
This commit refines the TOC anchoring logic by ensuring that only resolvable outline destinations are consumed, improving the handling of null-page entries. The `_find_toc_text_matches` function is updated to match TOC keywords based on line-level containment rather than whole-line equality, enhancing accuracy. Additionally, the outline processing functions are restructured to retain no-page destinations, ensuring they are correctly represented in the output. Debugging and persistence mechanisms for outline roots are also introduced to support Stage-2 processing.
This commit updates the instructions for deriving the semantic title body from the given title. The changes emphasize the importance of stripping leading prefixes and trailing metadata qualifiers while ensuring that the semantic body is prioritized over any metadata-only queries. This refinement aims to enhance the accuracy of title processing in the document agent's structure.
…stat-readers

fix(retrieval): use token hashes for map-unit frequency lookup
feat: TOC outline keep/null-page react + nav node filter
…cy-query

perf(retrieval): drive frequency lookup from token hash
This commit removes the `filter_submap_char_limit` parameter from the navigation configuration and related functions, streamlining the retrieval process. Additionally, updates to the `render_submap_observation` function reflect this change by eliminating the character limit logic, ensuring that all matched nodes are displayed without truncation. Tests have been adjusted accordingly to validate the new behavior.
…-feedback

fix: node-filter scope feedback and prompt cleanup
…y query logic

This commit removes the `n_chunks` attribute from various classes and functions related to navigation and retrieval, streamlining the codebase. Additionally, it updates the frequency query logic to drive lookups from `document_map_unit_tokens`, enhancing performance and clarity in the retrieval process. Tests have been adjusted to reflect these changes.
Defer corpus map scoring until after the planner emits subgoals, cache those
scores for harvest, and keep refine map-aware after lighting.

Co-authored-by: Cursor <cursoragent@cursor.com>
…en-score

refactor(retrieval): plan query-only then light from retrieval_query
Comment thread packages/shared-python/shared/services/retrieval/nav/nav_compose.py Fixed
suguanYang and others added 3 commits September 1, 2026 20:03
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…memory

fix(deploy): keep production API at 2 GiB
@suguanYang
suguanYang merged commit ba1225e into staging Sep 1, 2026
6 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.

3 participants