Skip to content

fix: node-filter scope feedback and prompt cleanup - #374

Merged
EricNGOntos merged 1 commit into
mainfrom
fix/wuchengke/node-filter-scope-feedback
Sep 1, 2026
Merged

fix: node-filter scope feedback and prompt cleanup#374
EricNGOntos merged 1 commit into
mainfrom
fix/wuchengke/node-filter-scope-feedback

Conversation

@EricNGOntos

Copy link
Copy Markdown
Contributor

Summary

  • WHERE 修正环默认只看筛后子图;过窄时用显式 widen 再看全图;去掉子图/全图字符硬截断与 tighten 催促
  • 种子阶段提示词动态只暴露 path;修正阶段才开放 path|summary;加自然语言词软约束(不硬禁章节号)
  • Trace 记录真实动作(filter|done|widen|fallback|max_rounds),定稿结果单独落在 result.decision;删除无用的 filter_submap_char_limit

Test plan

  • make check (ruff + pyright)
  • focused: test_nav_scope_filter / test_nav_node_filter / test_nav_node_filter_wire / test_nav_plan_node_filter / test_nav_trace_map (22 passed)
  • real-DB E2E: 两份长河坝可研,水土保持…防治/监测 → 1 轮 path:1.13donecollect_all,证据路径正确

Made with Cursor

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.
@EricNGOntos
EricNGOntos merged commit 7b18e02 into main Sep 1, 2026
6 checks passed
@EricNGOntos
EricNGOntos deleted the fix/wuchengke/node-filter-scope-feedback branch September 1, 2026 09:42
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.

1 participant