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

Merged
justin merged 1 commits from fix/gitignore-corpus into main 2026-05-22 13:38:23 -04:00
Owner

Without this, refresh.yml scrapes successfully then commits nothing because git add corpus is a no-op against the gitignore. chroma/ and bm25/ stay ignored (rebuilt by rag.index --rebuild at CI time).

Without this, refresh.yml scrapes successfully then commits nothing because `git add corpus` is a no-op against the gitignore. chroma/ and bm25/ stay ignored (rebuilt by `rag.index --rebuild` at CI time).
justin added 1 commit 2026-05-22 13:38:23 -04:00
PLAN.md's design has corpus/ committed and chroma/+bm25/ regenerated
at CI time. The scaffold's .gitignore over-ignored corpus/, which
meant refresh.yml's `git add bundles.json corpus` silently dropped
the corpus and the changed-detection logic always reported "no
changes — skipping reindex and image build". Net result: refresh
would scrape successfully and then ship nothing.

chroma/ and bm25/ stay ignored — those are rebuilt by
`python -m rag.index --rebuild` before docker build copies them.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
justin merged commit 21500b1aaa into main 2026-05-22 13:38:23 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: justin/hvm-docs#1