Skip to content

feat(rag): index managed repos and exclude private from search - #3895

Merged
dan-petty merged 5 commits into
mainfrom
feat/1389-rag-ingest
Nov 7, 2026
Merged

dan-petty merged 5 commits into
mainfrom
feat/1389-rag-ingest

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Nothing ingests the managed repositories into the RAG vector index. A person must run devops ai rag index manually. Two of the eight managed repositories are private, and an unscoped search returns their chunks into search results that could be quoted in public contexts. Issue #1389 delivers devops ai rag ingest, which runs one pass over service.repos, records each point's visibility, and excludes private chunks from searches that do not name a project. The pass runs from a workstation with the operator's own git and GitHub credentials. This change fits in one pull request.

Closes #1389

Change: openspec/changes/archive/2026-11-07-1389-rag-ingest/

@dan-petty dan-petty added type/feature Type feature: a new function scope/rag The RAG index, retrieval and the knowledge base labels Nov 7, 2026
Issue #1389: Ingest managed git repositories configured in service.repos
into the Qdrant vector index and exclude private repositories from unscoped
semantic searches.

Deliver devops ai rag ingest to sequentially index repositories, store
chunk visibility in point payloads, update shallow checkouts, and clean up
removed repositories. Exclude private chunks in SemanticRetriever queries
that omit an explicit project.

Closes #1389

Change:
openspec/changes/archive/2026-11-07-1389-rag-ingest/
…e ignores

Catch specific exceptions and read subprocess return code in ingest.py.
Link AI and RAG cheatsheet in README.md and docs/index.md.
Remove type ignore suppressions in tests/ai/rag/test_rag_ingest.py.
@dan-petty
dan-petty force-pushed the feat/1389-rag-ingest branch from fef8b78 to 5ccb41f Compare November 7, 2026 02:59
@dan-petty
dan-petty marked this pull request as ready for review November 7, 2026 03:14
@dan-petty
dan-petty merged commit 3cd4eba into main Nov 7, 2026
24 checks passed
@dan-petty
dan-petty deleted the feat/1389-rag-ingest branch November 7, 2026 04:24
dan-petty pushed a commit that referenced this pull request Nov 7, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.77.0](v0.76.2...v0.77.0)
(2026-11-07)


### Features

* **ai:** web search falls back to DuckDuckGo
([#3900](#3900))
([61b5c43](61b5c43))
* **k8s:** add warnings and errors above logs, narrow both by pod
([#3886](#3886))
([6d105c2](6d105c2))
* **k8s:** Name one chat model for every slot of the Service
([#3891](#3891))
([4189c93](4189c93))
* **rag:** index managed repos and exclude private from search
([#3895](#3895))
([3cd4eba](3cd4eba)),
closes [#1389](#1389)


### Bug Fixes

* **roadmap:** name the reason of a failed intake write
([#3879](#3879))
([a341524](a341524))
* **roadmap:** reset a head that the agent moved
([#3883](#3883))
([0ff477f](0ff477f)),
closes [#3575](#3575)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/rag The RAG index, retrieval and the knowledge base type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(rag): Index managed repos, exclude private from unscoped search

1 participant