Skip to content

fix(mcp): hard-cut search cursor placeholders#1732

Merged
earayu merged 1 commit into
mainfrom
fix/mcp-hard-cut
Apr 27, 2026
Merged

fix(mcp): hard-cut search cursor placeholders#1732
earayu merged 1 commit into
mainfrom
fix/mcp-hard-cut

Conversation

@earayu
Copy link
Copy Markdown
Collaborator

@earayu earayu commented Apr 27, 2026

Summary

  • Remove unimplemented cursor placeholders from collection-scoped MCP search tools.
  • Treat graph/fulltext index availability as collection state instead of client capability metadata.
  • Harden read primitive cache keys and invalidation for outline depth and scoped chunk reads.

Test plan

  • uv run --extra test python -m pytest tests/unit_test/mcp tests/unit_test/cache/test_read_primitive_cache.py tests/unit_test/cache/test_invalidation.py tests/unit_test/service/test_pagination_helper.py tests/unit_test/test_mcp_server.py tests/unit_test/test_mcp_contract.py -q
  • uv run --extra dev ruff check aperag/mcp aperag/cache aperag/sdk/capability_filter.py tests/unit_test/mcp tests/unit_test/cache/test_read_primitive_cache.py tests/unit_test/cache/test_invalidation.py
  • git diff --check

Made with Cursor

Keep MCP search tools honest until pagination exists, and align capability metadata with client-runtime features rather than collection index state.

Made-with: Cursor
@earayu earayu merged commit a7c8f2f into main Apr 27, 2026
3 checks passed
@earayu earayu deleted the fix/mcp-hard-cut branch April 27, 2026 08:30
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