Repository navigation
Description
Problem
Nothing stores web research. The same question is searched again every round and a result is lost when a job ends (#3877). The Qdrant payload has no source URL, fetch date, hash or expiry. index_doc_chunks has no caller outside tests, so crawled docs never reach Qdrant.
Expected
A module and a Qdrant collection (devops_research with the default collection prefix) as ADR 0028 defines the research index: one point for each fetched page, with the fields source_url, fetch_date, content_hash, expiry, question and text, and no other field. Functions: upsert (one point for each source_url; the same hash updates fetch_date and expiry, a new hash replaces the text), search (a vector search of the question that reads no expired point and leaves out a page whose text holds an injection pattern), expire (delete by filter). index_doc_chunks is either used here or deleted.
Decision of the owner, 2026-11-18: this text follows ADR 0028. An earlier text of this item named fifteen fields (kind, component, source_id, source_license, severity, exploited, untrusted, injection_flag, reported_issue and others), an equal hash that writes nothing, and a lookup by kind and component. ADR 0028 has none of them, so they are removed from this item.
Acceptance criteria
- Tests that fail on the base: the same page fetched again updates fetch_date and expiry; a changed hash replaces the text; an expired point is removed by the sweep; a search returns the point with its URL and date.
- A test: a point without source_url or fetched_at is refused.
- A test: a search reads no expired point.
- A test: text with an injection pattern is left out of the search for the agent.
devops ai rag statusshows the collection.index_doc_chunkshas a caller, or it is removed with its tests (no dead code stays).- The Qdrant address comes from the settings, or an error names the setting (no fallback URL).
Existing tool considered
qdrant-client and the embedder of the RAG indexer, the LibraryVectorStore pattern, the DocsIngester chunker. A second vector database is rejected.
Related
Part of the research agent plan. Related: #1389, #1653, #3877.
Part of the research agent plan of 2026-11-07 (design by the research-agent design workflow; the ADR is delivered through #3877).
Alternatives check of 2026-11-18: in-use.
The repository already uses this tool.
Tool: qdrant-client (https://pypi.org/project/qdrant-client), Apache-2.0, last activity 2026-10-22, maintained.
Reason: Searches found qdrant-client, which gives collection creation, payload filters, vector search and delete by filter, but it has no research payload schema, hash no-write rule, expiry sweep, provenance refusal or injection flag.
Covers:
- Collection creation and point upsert
- Payload filters on kind and component
- Vector search and delete by filter
Lacks:
- No research payload schema or provenance refusal
- No equal-hash no-write rule
- No expiry sweep or injection flag
- No
devops ai rag statusrow
Proposed design
Problem statement
Web research results are not stored. The same question is searched again every round, and a result is lost when a job ends. The Qdrant payload has no source URL, fetch date, hash or expiry. The change adds a research store and the devops_research collection. It stores one point for each fetched page and searches without expired or injected pages.
Acceptance criteria
Requirement: Six-field research payload
The research store SHALL write each point with exactly the fields source_url, fetch_date, content_hash, expiry, question and text.
Scenario: Payload holds six ADR 0028 fields
- WHEN upsert stores a fetched page for a question.
- THEN the test asserts the payload keys equal the six fields and hold no other key.
Requirement: One point for each source URL
The research store SHALL keep one point for each source_url.
Scenario: Repeated URL updates one point
- WHEN upsert stores two pages with the same
source_url. - THEN the test asserts the collection holds one point for that URL.
Requirement: Provenance refusal
The research store MUST refuse a page that lacks source_url or fetch_date.
Scenario: Missing provenance is refused
- WHEN upsert receives a page with no
source_urlor nofetch_date. - THEN the test asserts a validation error and no point is written.
Requirement: Same hash refreshes dates
The research store SHALL update fetch_date and expiry when a source_url has the same content_hash.
Scenario: Same hash refreshes dates
- WHEN upsert receives a page whose URL exists with the same content hash.
- THEN the test asserts
fetch_dateandexpirychange and the stored text and vector do not change.
Requirement: New hash replaces text
The research store SHALL replace the stored text and vector when a source_url has a new content_hash.
Scenario: New hash replaces text
- WHEN upsert receives a page whose URL exists with a different content hash.
- THEN the test asserts the point holds the new text, hash, fetch date and expiry.
Requirement: Search returns provenance
The research store SHALL search by the question vector and return the source_url and fetch_date of each match.
Scenario: Search returns URL and date
- WHEN search runs for a question with a matching stored page.
- THEN the test asserts the result holds the URL and the fetch date.
Requirement: Expired points are not searched
The research store MUST exclude each expired point from search results.
Scenario: Expired point is not returned
- WHEN search runs and a matching point has an
expirybefore the current time. - THEN the test asserts the result list does not hold that point.
Requirement: Expiry sweep deletes points
The research store SHALL delete each expired point by a filter.
Scenario: Expiry sweep deletes expired points
- WHEN expire runs with points before and after their expiry.
- THEN the test asserts the delete filter removes only the expired point.
Requirement: Injection text is not searched
The research store MUST leave out of search results each page whose text scan_injection_text flags.
Scenario: Injection text is not returned
- WHEN search runs and a matching page text gives a finding to
scan_injection_text. - THEN the test asserts the result list does not hold that page.
Requirement: Default research collection
The research store SHALL use the devops_research collection by default.
Scenario: Default collection name
- WHEN the store is built with the default configuration.
- THEN the test asserts the collection name is
devops_research.
Requirement: Research collection status row
The devops ai rag status command SHALL show the devops_research collection and its point count.
Scenario: Status shows research collection
- WHEN
devops ai rag statusruns with a seededdevops_researchcollection. - THEN the test asserts the output holds
devops_researchand the seeded point count.
Requirement: Qdrant address from settings
The research store MUST take the Qdrant address from the settings and MUST raise an error that names the setting when it is unset.
Scenario: Missing Qdrant setting names the setting
- WHEN the store is built with no
qdrant.urlsetting and no client. - THEN the test asserts
ConfigurationErrornamesqdrant.urland no fallback URL is used.
Requirement: No dead doc chunk indexer
The change MUST leave no definition or import of index_doc_chunks under src or tests.
Scenario: No dead doc chunk indexer remains
- WHEN the test searches
srcandtestsforindex_doc_chunks. - THEN the test asserts no match exists.
Existing Tool Considered
qdrant-client, verdict in-use. The repository already uses this tool. The alternatives check in the issue body lists what qdrant-client covers and lacks. The proposal uses qdrant-client for the operations that the check lists as covered, and adds the research payload schema, hash refresh rule, expiry sweep, provenance refusal and injection exclusion that the check lists as lacking. It adds no second vector database.
Key questions
- Which payload fields does a research point hold?: The point holds exactly
source_url,fetch_date,content_hash,expiry,questionandtext. It stores no other field, includingkind,component,source_id,source_license,severity,exploited,untrusted,injection_flagandreported_issue. (best practice) [sources: openspec/changes/3906-keep-research-results-in-qdrant/tasks.md:20, openspec/changes/3906-keep-research-results-in-qdrant/proposal.md:11]- Chosen: Six ADR 0028 fields. ADR 0028 and the owner decision of 2026-11-18 fix the six fields.
- Rejected: Fifteen earlier fields. The owner removed these fields because ADR 0028 has none of them.
- Rejected: Six fields plus
injection_flag. The reply says search usesscan_injection_textand stores no flag.
- How does the store identify a point and handle a repeated fetch?: The store keeps one point for each
source_url. The samecontent_hashrefreshesfetch_dateandexpiry. A newcontent_hashreplaces the stored text and vector and keeps the URL. (best practice) [sources: openspec/changes/3906-keep-research-results-in-qdrant/tasks.md:20, openspec/changes/3906-keep-research-results-in-qdrant/design.md:12]- Chosen: One point per
source_url. The body expected text and the owner decision say one point for eachsource_url. - Rejected: One point per
source_urlandcontent_hash. The ADR text has both rules, but the owner decision and the plan key one point to the URL. - Rejected: Equal hash writes nothing. The owner decision says the same hash refreshes
fetch_dateandexpiry. - Rejected: New hash appends a second point. The owner decision says the new hash replaces the text and keeps the URL.
- Chosen: One point per
- How does search exclude expired and injected pages?: Search uses the question vector and a filter that reads no point with
expirybefore the current time. It then leaves out each page whose text gives a finding toscan_injection_text. It stores noinjection_flag. (best practice) [sources: openspec/changes/3906-keep-research-results-in-qdrant/design.md, openspec/changes/3906-keep-research-results-in-qdrant/tasks.md:20]- Chosen: Filter expiry and scan text at search. The owner decision and ADR 0028 say search reads no expired point and leaves out an injection pattern.
- Rejected: Store
injection_flagat upsert. The owner decision removedinjection_flagfrom the payload. - Rejected: Filter expiry only. The body requires the search to leave out text with an injection pattern.
- Which field name marks the fetch time?: The field is
fetch_date. Thefetched_atname in the older acceptance text is not an ADR 0028 field. [sources: openspec/changes/3906-keep-research-results-in-qdrant/tasks.md:20, openspec/changes/3906-keep-research-results-in-qdrant/proposal.md:11] - How does the store get the Qdrant address and collection name?: The store uses
resolve_rag_componentsfromsrc/devops_cli/ai/rag/indexer.py. The default collection constant isDEFAULT_RAG_RESEARCH_COLLECTIONwith valuedevops_research. A missingqdrant.urlraisesConfigurationErrorthat namesqdrant.url, and no fallback URL exists. (best practice) [sources: openspec/changes/3906-keep-research-results-in-qdrant/proposal.md:47, openspec/changes/3906-keep-research-results-in-qdrant/tasks.md:20, openspec/changes/3906-keep-research-results-in-qdrant/design.md:12]- Chosen: Reuse
resolve_rag_componentsand a default constant. The existing RAG indexer builds the client and embedder from settings, and ADR 0028 fixes the collection name. - Rejected: Hard-code a Qdrant URL. The body forbids a fallback URL and requires the setting or an error that names it.
- Rejected: Add a research-specific setting. The ADR fixes the 30-day value and the collection name, so no new setting is needed.
- Chosen: Reuse
- What happens to
index_doc_chunks?:index_doc_chunksis already absent fromsrcandtests. The change adds no caller and removes no code. The test asserts that no definition or import remains. [sources: openspec/changes/3906-keep-research-results-in-qdrant/proposal.md:18, openspec/changes/3906-keep-research-results-in-qdrant/design.md:16]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 7, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
featprefix of the title gives the type.research, and .github/labels.yml declares no scope/research label. Add the label to the file to give the scope to this item.Planned feature with no active failure; part of a multi-step research agent plan.Prevents redundant web searches and data loss between job rounds.Requires a new module, collection, three functions, tests, and integration of index_doc_chunks.#3877 delivers the ADR investigation; this candidate implements the Qdrant storage layer that ADR designs.dan-petty commentedon Nov 7, 2026
ADD to Expected, after the payload list:
"The payload holds no field of a search result: no title, snippet, description, rank or age. source_url is the URL that the fetch tool used for the page text. Upsert refuses a record whose text did not come from a fetch of the project."
ADD to Acceptance criteria:
ADD to Related: the chain item (feat(ai): search the web through a chain of providers) and its parameter keep.
dan-petty commentedon Nov 7, 2026
Plan note of 2026-11-07 (owner decision): the Brave Search API is not used. Its terms (1 Sep 2026) forbid storing results and it has no free tier. This replaces the part of the earlier plan note that mentions Brave:
searxng,duckduckgo,firecrawl. There is no keyed provider for now, and noBRAVE_SEARCH_API_KEY.keepparameter and theallows_keepflag are dropped from the design of the chain (they existed only because of the Brave terms). Every provider's hits may be kept.devops-cli-service commentedon Nov 7, 2026
Status set to Ready at d6c2297 (see proposed design in issue body).
devops-cli-service commentedon Nov 9, 2026
Alternatives check: in-use
Reason: Searches and the package/repository facts confirm qdrant-client as the open, maintained Apache-2.0 Python client for the Qdrant vector database, which supplies collection management, upsert, payload filters, vector search and delete by filter. It covers only the storage layer of the issue: the research payload schema, hash-equal no-write rule, expiry sweep, provenance refusals, injection flag, status row and settings-derived address all have to be written as a thin module on top of it, which is what the issue proposes.
The item already names this tool.
Tool: qdrant/qdrant-client (https://github.com/qdrant/qdrant-client)
Covers:
Lacks:
devops ai rag statusrow for the collection and its point countTools considered:
Searches run:
Sources:
Checked on 2026-11-09. A person decides what this means for the item. The check changes no label and closes no issue.
devops-cli-service commentedon Nov 17, 2026
Staged: branch
feat/3906-keep-research-results-in-qdrant, draft pull request #6172. The pull request plans the item and closes no issue.The task groups, with the tokens of the inputs of each step, for a budget of 64000 tokens:
A model review of the plan found these points. They stop no draft, and a person judges them:
criterion_droppedat issue (Refuse text with no fetch): The plan has no task and no spec requirement that refuses a record whose text did not come from a fetch; upsert accepts any text that carries a source_url and a fetched_at, so a record built from a search hit is stored. Evidence: "Upsert SHALL refuse a record whose text did not come from a fetch of the project."false_premiseat spec research-store (Research payload): The plan calls its fifteen fields "the ADR payload fields", but the ADR in force delivered through docs(ai): investigate a web research agent with RAG ingestion #3877/docs(ai): Record the research agent decision in an ADR #6147 names six fields with different names, so the plan stores a payload the ADR it cites does not define. Evidence: "Its fields aresource_url,fetch_date,content_hash,expiry,questionandtext."false_premiseat proposal (feasibility): The plan says LibraryVectorStore builds a client and an embedder, but the class takes both as constructor arguments; build_library_vector_store builds them, so the pattern the plan says it reuses is not the class's. Evidence: "qdrant_client: Any = None,"spec_delta_wrongat spec research-store (Refuse text with no fetch): The added scenario's THEN says the error names the missing fetch, but group 3 raises the error with the fieldpage, so a test can assert only the 'writes no point' part of the THEN and not the wording the requirement asks for. Evidence: "upsert raises ResearchStoreError with the field page before it writes anything"The runs of the planner and the review made 107 model request(s), and used 9146726 input tokens and 270782 output tokens. The tool calls, in order:
search_code({"text":"index_doc_chunks"})search_code({"text":"devops_research"})list_files({"directory":"src/devops_cli/ai"})list_files({"directory":"src/devops_cli/ai/rag"})list_files({"directory":"src/devops_cli/ai/research"})read_file({"path":"src/devops_cli/ai/rag/__init__.py"})read_file({"path":"src/devops_cli/ai/rag/ingest.py"})search_code({"text":"index_docs"})search_code({"text":"rag status"})search_code({"text":"docs_collection"})read_file({"path":"src/devops_cli/ai/rag/library_store.py","start_line":320,"end_line":345})search_code({"text":"injection_flag"})search_code({"text":"qdrant_url"})read_file({"path":"src/devops_cli/ai/research/models.py"})read_file({"path":"src/devops_cli/commands/rag.py","start_line":400,"end_line":540})search_code({"text":"prompt_injection"})file_symbols({"path":"src/devops_cli/ai/rag/qdrant.py"})read_file({"end_line":1010,"path":"src/devops_cli/ai/rag/qdrant.py","start_line":860})read_file({"end_line":810,"path":"src/devops_cli/ai/rag/qdrant.py","start_line":700})file_symbols({"path":"tests/support/fakes/qdrant.py"})read_file({"end_line":160,"path":"src/devops_cli/ai/rag/qdrant.py","start_line":106})read_file({"end_line":315,"path":"tests/support/fakes/qdrant.py","start_line":25})read_spec({"capability":"rag-ingest"})read_spec({"capability":"ai-rag-dashboard"})read_spec({"capability":"prompt-injection-detection"})read_spec({"capability":"research-inventory"})list_files({"directory":"tests/ai/rag"})read_file({"end_line":560,"path":"src/devops_cli/ai/rag/indexer.py","start_line":486})search_code({"text":"def scan_injection_text"})search_code({"text":"class QdrantConfig"})search_code({"text":"def resolve_qdrant_client"})read_file({"end_line":300,"path":"src/devops_cli/security/prompt_injection.py","start_line":210})read_file({"end_line":470,"path":"src/devops_cli/config/settings.py","start_line":436})read_file({"end_line":486,"path":"src/devops_cli/ai/rag/indexer.py","start_line":443})read_file({"end_line":175,"path":"tests/commands/test_rag.py","start_line":130})file_symbols({"path":"tests/ai/rag/test_rag_qdrant.py"})read_file({"end_line":70,"path":"tests/ai/rag/test_rag_component_wiring.py","start_line":1})file_symbols({"path":"tests/support/fakes/embedder.py"})search_code({"text":"def embedder("})read_file({"end_line":585,"path":"src/devops_cli/commands/rag.py","start_line":538})file_symbols({"path":"tests/commands/test_rag.py"})list_files({"directory":"src/devops_cli/ai/research"})list_files({"directory":"tests/ai/research"})search_code({"text":"index_doc_chunks"})search_code({"text":"devops_research"})read_file({"path":"src/devops_cli/config/defaults.py","start_line":225,"end_line":275})read_file({"path":"src/devops_cli/config/settings.py","start_line":415,"end_line":470})read_file({"path":"src/devops_cli/ai/rag/library_store.py","start_line":320,"end_line":345})search_code({"text":"DEFAULT_QDRANT_URL"})file_symbols({"path":"src/devops_cli/ai/rag/qdrant.py"})search_code({"text":"No Qdrant vector store URL configured"})list_files({"directory":"tests/ai/rag"})read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":440,"end_line":495})file_symbols({"path":"src/devops_cli/commands/rag.py"})search_code({"text":"def scan_injection_text"})read_file({"path":"tests/support/fakes/qdrant.py","start_line":1,"end_line":80})read_file({"end_line":150,"path":"src/devops_cli/ai/rag/qdrant.py","start_line":115})read_file({"end_line":558,"path":"src/devops_cli/commands/rag.py","start_line":436})read_file({"end_line":240,"path":"src/devops_cli/security/prompt_injection.py","start_line":210})read_file({"end_line":60,"path":"src/devops_cli/ai/research/models.py","start_line":1})read_spec({"capability":"research-inventory"})read_spec({"capability":"research-sweep"})read_spec({"capability":"ai-rag-dashboard"})search_code({"text":"rag status"})read_file({"path":"tests/commands/test_rag.py","start_line":1,"end_line":40})search_code({"text":"QdrantProtocol"})list_files({"directory":"tests/support/fakes"})file_symbols({"path":"tests/support/fakes/embeddings.py"})read_issue({"number":3877})read_issue({"number":1389})find_issues({"terms":"devops_research qdrant research store"})list_files({"directory":"docs/adr"})search_code({"text":"source_license"})search_code({"text":"fetched_at"})search_code({"text":"expires_at"})file_symbols({"path":"src/devops_cli/ai/research/models.py"})search_code({"text":"ResearchStore"})file_symbols({"path":"src/devops_cli/ai/rag/qdrant.py"})search_code({"text":"class QdrantClient"})read_file({"path":"src/devops_cli/ai/rag/qdrant.py","start_line":395,"end_line":410})search_code({"text":"test_lookup_hides_a_flagged_page_from_the_agent"})search_code({"text":"test_research_store"})list_files({"directory":"src/devops_cli/ai/research"})file_symbols({"path":"src/devops_cli/ai/rag/qdrant.py"})search_code({"text":"class QdrantClient"})read_file({"path":"src/devops_cli/config/defaults.py","start_line":238,"end_line":252})search_code({"text":"DEFAULT_RAG_RESEARCH_COLLECTION"})search_code({"text":"devops_research"})search_code({"text":"index_doc_chunks"})read_file({"path":"src/devops_cli/ai/page_text.py","start_line":50,"end_line":75})read_file({"path":"tests/ai/rag/test_rag_qdrant.py","start_line":15,"end_line":30})read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":455,"end_line":480})read_file({"path":"tests/ai/rag/test_knowledge_base_sync.py","start_line":190,"end_line":215})search_code({"text":"a-research-agent-composes-open-tools"})search_code({"text":"def scan_injection_text"})file_symbols({"path":"src/devops_cli/commands/rag.py"})file_symbols({"path":"src/devops_cli/ai/rag/qdrant.py"})file_symbols({"path":"src/devops_cli/ai/rag/qdrant.py"})search_code({"text":"QdrantClient"})read_file({"path":"src/devops_cli/ai/rag/qdrant.py","start_line":396,"end_line":410})read_file({"path":"src/devops_cli/ai/rag/qdrant.py","start_line":268,"end_line":302})search_code({"text":"index_doc_chunks"})list_files({"directory":"src/devops_cli/ai/research"})read_spec({})search_code({"text":"delete_points_by_expiry"})list_files({"directory":"src/devops_cli/ai/rag"})list_files({"directory":"tests/commands"})search_code({"text":"LibraryVectorStore"})search_code({"text":"devops_research"})search_code({"text":"def resolve_qdrant_client"})search_code({"text":"DEFAULT_QDRANT_URL"})search_code({"text":"def scan_injection_text"})search_code({"text":"def status_cmd"})read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":400,"end_line":500})read_file({"path":"src/devops_cli/commands/rag.py","start_line":470,"end_line":640})search_code({"text":"def count_points"})search_code({"text":"def delete_points_by_project"})search_code({"text":"def scroll_points"})search_code({"text":"class QdrantProtocol"})read_file({"end_line":360,"path":"src/devops_cli/ai/rag/qdrant.py","start_line":260})read_file({"end_line":960,"path":"src/devops_cli/ai/rag/qdrant.py","start_line":800})search_code({"text":"rag status displays points"})search_code({"text":"class QdrantClient"})read_spec({"capability":"research-sweep"})search_code({"text":"def qdrant("})read_file({"end_line":560,"path":"tests/support/fakes/qdrant.py","start_line":500})read_file({"end_line":260,"path":"src/devops_cli/security/prompt_injection.py","start_line":210})read_file({"end_line":260,"path":"src/devops_cli/config/defaults.py","start_line":238})search_code({"text":"class QdrantConfig"})search_code({"text":"rag.app"})list_files({"directory":"tests/ai/research"})read_file({"end_line":240,"path":"tests/ai/rag/test_knowledge_base_sync.py","start_line":185})search_code({"text":"test_research_store"})search_code({"text":"def create_embedder"})read_file({"end_line":470,"path":"src/devops_cli/config/settings.py","start_line":435})read_file({"end_line":230,"path":"tests/support/fakes/qdrant.py","start_line":190})read_file({"end_line":500,"path":"src/devops_cli/ai/rag/indexer.py","start_line":497})search_code({"text":"QdrantProtocol"})search_code({"text":"source_license"})search_code({"text":"fetched_at"})search_code({"text":"DEFAULT_RAG_DOCS_COLLECTION"})read_file({"end_line":360,"path":"src/devops_cli/ai/rag/library_store.py","start_line":300})read_file({"end_line":240,"path":"src/devops_cli/ai/rag/library_store.py","start_line":180})find_issues({"terms":"research store qdrant"})find_issues({"terms":"devops_research"})read_issue({"number":3906})references({"name":"index_doc_chunks"})read_spec({"capability":"ai-fetch-page"})read_file({"path":"src/devops_cli/ai/research/__init__.py"})read_file({"end_line":80,"path":"src/devops_cli/ai/rag/__init__.py","start_line":1})list_files({"directory":"docs/adr"})search_code({"text":"__all__"})search_code({"text":"ai/research/"})read_file({"end_line":120,"path":"tests/ai/rag/test_codebase_hygiene_and_shims.py","start_line":1})search_code({"text":"ai.research"})read_file({"end_line":660,"path":"tests/ai/rag/test_rag_ingest.py","start_line":590})search_code({"text":"isinstance(.*QdrantProtocol"})read_file({"end_line":480,"path":"src/devops_cli/ai/rag/embeddings.py","start_line":380})search_code({"text":"def install_embedder"})read_spec({"capability":"ai-rag-dashboard"})read_spec({"capability":"rag-ingest"})list_files({"directory":"src/devops_cli/ai/research"})list_files({"directory":"tests/ai/research"})search_code({"text":"index_doc_chunks"})file_symbols({"path":"src/devops_cli/ai/page_text.py"})read_file({"path":"src/devops_cli/ai/page_text.py","start_line":40,"end_line":100})file_symbols({"path":"src/devops_cli/ai/research/models.py"})file_symbols({"path":"src/devops_cli/ai/rag/qdrant.py"})read_file({"path":"src/devops_cli/ai/rag/qdrant.py","start_line":899,"end_line":970})file_symbols({"path":"src/devops_cli/commands/rag.py"})file_symbols({"path":"tests/support/fakes/qdrant.py"})read_file({"path":"src/devops_cli/commands/rag.py","start_line":436,"end_line":560})search_code({"text":"DEFAULT_RAG_DOCS_COLLECTION"})search_code({"text":"def resolve_qdrant_client"})read_spec({"capability":"research-inventory"})read_spec({"capability":"rag-ingest"})read_file({"end_line":150,"path":"src/devops_cli/ai/rag/qdrant.py","start_line":106})read_file({"end_line":30,"path":"tests/ai/rag/test_rag_qdrant.py","start_line":1})list_files({"directory":"tests/ai/rag"})search_code({"text":"DEFAULT_QDRANT_URL"})read_file({"end_line":490,"path":"src/devops_cli/ai/rag/indexer.py","start_line":443})read_file({"end_line":215,"path":"tests/ai/rag/test_knowledge_base_sync.py","start_line":185})list_files({"directory":"tests/commands"})search_code({"text":"doc_chunks"})file_symbols({"path":"src/devops_cli/ai/research/crawler.py"})file_symbols({"path":"src/devops_cli/security/prompt_injection.py"})read_file({"end_line":320,"path":"tests/support/fakes/qdrant.py","start_line":195})read_file({"end_line":240,"path":"src/devops_cli/security/prompt_injection.py","start_line":207})file_symbols({"path":"src/devops_cli/ai/web_search.py"})search_code({"text":"def create_embedder"})read_file({"end_line":115,"path":"src/devops_cli/ai/web_search.py","start_line":70})list_files({"directory":"docs/adr"})read_file({"path":"src/devops_cli/ai/research/__init__.py"})search_code({"text":"devops_research"})read_issue({"number":3877})find_issues({"terms":"research store qdrant"})read_issue({"number":1389})read_issue({"number":1653})search_code({"text":"injection_flag"})search_code({"text":"expires_at"})search_code({"text":"reported_issue"})search_code({"text":"index_doc_chunks"})read_file({"path":"src/devops_cli/ai/rag/library_store.py","start_line":300,"end_line":400})search_code({"text":"delete_points_by_project"})search_code({"text":"def delete_points"})read_file({"path":"src/devops_cli/ai/rag/qdrant.py","start_line":290,"end_line":340})read_file({"path":"src/devops_cli/ai/rag/qdrant.py","start_line":860,"end_line":980})search_code({"text":"def create_embedder"})read_file({"path":"src/devops_cli/ai/rag/indexer.py","start_line":430,"end_line":500})read_file({"path":"src/devops_cli/config/defaults.py","start_line":235,"end_line":255})read_file({"path":"src/devops_cli/ai/rag/qdrant.py","start_line":395,"end_line":415})search_code({"text":"_render_collections_table"})search_code({"text":"def status_cmd"})read_file({"path":"src/devops_cli/commands/rag.py","start_line":470,"end_line":600})search_code({"text":"Active Vector Collections"})search_code({"text":"rag_status_table_displays_collection_metadata"})read_file({"path":"tests/ai/rag/test_knowledge_base_sync.py","start_line":180,"end_line":260})read_spec({})read_file({"path":"src/devops_cli/ai/page_text.py","start_line":55,"end_line":70})read_file({"path":"src/devops_cli/ai/web_search.py","start_line":70,"end_line":85})search_code({"text":"def scan_injection_text"})read_file({"path":"src/devops_cli/security/prompt_injection.py","start_line":210,"end_line":255})search_code({"text":"devops_research"})read_file({"path":"tests/ai/rag/test_qdrant_server_label.py","start_line":230,"end_line":320})read_file({"path":"tests/ai/rag/test_rag_ingest.py","start_line":600,"end_line":650})search_code({"text":"def qdrant("})search_code({"text":"set_qdrant_client_override"})read_file({"path":"tests/support/fakes/qdrant.py","start_line":500,"end_line":600})search_code({"text":"fakes.qdrant import"})search_code({"text":"def embedder("})search_code({"text":"injection_flag"})list_files({"directory":"src/devops_cli/ai/research"})search_code({"text":"pytest_plugins"})read_file({"path":"tests/ai/research/__init__.py"})search_code({"text":"def test_cmd"})search_code({"text":"ci test"})search_code({"text":"ResearchRecord"})search_code({"text":"ResearchHit"})search_code({"text":"expires_at"})search_code({"text":"DatetimeRange"})read_file({"path":"tests/support/fakes/qdrant.py","start_line":190,"end_line":270})search_code({"text":"DEFAULT_RAG_DOCS_COLLECTION"})search_code({"text":"DEFAULT_RAG_LIBRARIES_COLLECTION"})search_code({"text":"QdrantProtocol"})search_code({"text":"must_not"})read_file({"path":"src/devops_cli/ai/research/__init__.py"})read_file({"path":"tests/ai/rag/test_rag_qdrant.py","start_line":150,"end_line":200})read_file({"path":"src/devops_cli/ai/rag/qdrant.py","start_line":790,"end_line":860})search_code({"text":"install_qdrant_client"})search_code({"text":"autouse"})find_issues({"terms":"research store"})find_issues({"terms":"devops_research"})read_file({"path":"src/devops_cli/ai/rag/qdrant.py","start_line":260,"end_line":290})read_file({"path":"src/devops_cli/ai/rag/library_store.py","start_line":180,"end_line":240})Tool calls: file_symbols=22 (empty=0), find_issues=6 (empty=0), list_files=21 (empty=0), read_file=84 (empty=1), read_issue=6 (empty=0), read_spec=15 (empty=0), references=1 (empty=0), search_code=99 (empty=24)
The stage job read the open pull requests and their files in 1 GraphQL request(s).
Warnings:
tests/ai/research/test_research_store.pydoes not exist.31 remaining items
feat(research): Search the research index and leave out an expired pa…
feat(research): Sweep the expired research points (#3906)
wip: 1 of 2 tasks of group 6, Build the research store from the setti…
feat(research): Build the research store from the settings (#3906)
wip: 1 of 2 tasks of group 7, Show the research collection in the RAG…
feat(research): Show the research collection in the RAG status (#3906)
docs(openspec): archive the change (#3906)
devops-cli-service commentedon Nov 18, 2026
Pull request #6301 is ready for review. The checks passed.
Spend: 277 model requests, 21285985 input tokens, 100410 output tokens.
devops-cli-service commentedon Nov 18, 2026
Released in v0.177.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.177.0
devops-cli-service commentedon Nov 18, 2026
Live since 2026-11-18 16:28 UTC