FU-3: re-index on content change (GAP-09) #14
Reference in New Issue
Block a user
Delete Branch "fix/fu3-reindex-on-change"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
אוכף re-index בשינוי-תוכן (INV-DM3/G6/ING4) שם ש-embedding לא יכול להיות GENERATED. מאמת מול 3+ מקורות (content-hash change detection > timestamp; RAG re-embed-on-edit).
content_hash(SHA-256 של full_text, נכתב בכניסת create של case_law) +indexed_hash(ה-hash שעליו נבנו ה-embeddings הנוכחיים). stale ⇔ השניים שונים.reindex_case_law(id)— re-chunk+re-embed מ-full_text שמור (בלי re-OCR — feedback_no_reocr_retrofit; בלי LLM/CLI — voyage בלבד). idempotent. מאפשר תיקון drift בלי הקובץ המקורי (42 רשומות אין להן קובץ).mark_indexedמסמן indexed_hash=content_hash אחרי כל store מוצלח (בקליטה + ב-reindex).stale_embedding_case_law(אחות ל-non_searchable/stale_blocks מ-FU-2a/FU-7).precedent_reindex.Boundary / scope
case_lawבלבד (לא טבלתcases— אין לה embeddings).Test Plan
🤖 Generated with Claude Code