Skip to content

fix(kb): make paper search evidence-safe - #542

Merged
GTC2333 merged 1 commit into
devfrom
codex/paper-search-contract
Aug 25, 2026
Merged

fix(kb): make paper search evidence-safe#542
GTC2333 merged 1 commit into
devfrom
codex/paper-search-contract

Conversation

@GTC2333

@GTC2333 GTC2333 commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • return a structured paper-search status envelope and distinguish recoverable misses from infrastructure failures
  • normalize title and phrase matching without erasing semantic symbols, while keeping exact matches first
  • keep metadata search metadata-only and preserve full-text recall in full-paper mode
  • bound topk, report missing/unreadable text and unavailable pages, and prevent zero-hit keyword-only results
  • document the updated English and Chinese contracts

Compatibility

  • searchPapers is internal to Runtime and has no public package export or additional direct callers
  • search_papers_local continues to return JSON text, now as an explicit object with status and results

Validation

  • Runtime build: passed
  • Runtime typecheck: passed
  • Focused search/tool tests: passed
  • Full test suite: 107 files, 1133 tests passed

@GTC2333
GTC2333 merged commit 8e2b882 into dev Aug 25, 2026
1 check passed
@GTC2333
GTC2333 deleted the codex/paper-search-contract branch August 25, 2026 18:49
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