fix: stop ignoring corpus/ so refresh workflow can commit it (#1)

This commit was merged in pull request #1.
This commit is contained in:
2026-05-22 13:38:23 -04:00
parent 6b11993688
commit 21500b1aaa
+8 -2
View File
@@ -2,11 +2,17 @@
venv/
.venv/
# Regenerable from corpus + CI
corpus/
# Indexes are regenerated from corpus by `python -m rag.index --rebuild`
# (run in CI before docker build). Don't commit them.
chroma/
bm25/
# corpus/ IS committed — the weekly refresh workflow writes scraped
# pages here and `git add bundles.json corpus`s them. The image-only
# workflow then rebuilds indexes from the committed corpus without
# re-scraping. Earlier the .gitignore silently ate `git add corpus`
# and refresh.yml's commit step would always report "no changes".
# Python detritus
__pycache__/
*.py[cod]