Overview
Extend the simili index command to optionally index pull requests into a dedicated Qdrant collection, and add a simili pr-duplicate CLI command to detect duplicate PRs against both issues and PRs.
Scope
- Add
--include-prs flag to simili index to index PR metadata (title, description, changed file paths, linked issues) into a separate collection
- Add
QDRANT_PR_COLLECTION / qdrant.pr_collection config option for the dedicated PR collection
- Add
simili pr-duplicate CLI command to query both collections and run LLM duplicate detection
processPullRequest worker: fetch PR details + file paths, build metadata text, embed and upsert
- Dry-run support for PR indexing
Acceptance Criteria
Notes
Extracted from PR #40. Implementation reference: nick1udwig/simili-bot@index-and-query-prs.
Depends on: #42 (OpenAI provider support) or can be implemented independently with Gemini only.
Overview
Extend the
simili indexcommand to optionally index pull requests into a dedicated Qdrant collection, and add asimili pr-duplicateCLI command to detect duplicate PRs against both issues and PRs.Scope
--include-prsflag tosimili indexto index PR metadata (title, description, changed file paths, linked issues) into a separate collectionQDRANT_PR_COLLECTION/qdrant.pr_collectionconfig option for the dedicated PR collectionsimili pr-duplicateCLI command to query both collections and run LLM duplicate detectionprocessPullRequestworker: fetch PR details + file paths, build metadata text, embed and upsertAcceptance Criteria
simili index --include-prsindexes PRs into the configured PR collectionsimili pr-duplicate --repo owner/repo --number 123returns duplicate candidates from both collectionsNotes
Extracted from PR #40. Implementation reference:
nick1udwig/simili-bot@index-and-query-prs.Depends on: #42 (OpenAI provider support) or can be implemented independently with Gemini only.