docs(spec): FU-1 documented drift notes + mark TaskMaster #59 done

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-30 19:28:04 +00:00
parent 3c431403f6
commit 90728ccb3e
2 changed files with 14 additions and 5 deletions

View File

@@ -2007,7 +2007,7 @@
"description": "מאחד את ingest_precedent ו-ingest_internal_decision למסלול קנוני יחיד; מבטל את האסימטריות.",
"details": "מכסה GAP-01,02,04,05. מספק INV-ING1/ING3/G2/G4. severity: Critical. סוג: קוד. יסוד — FU-2/FU-3/FU-7 תלויים בו. מקור: docs/spec/gap-audit.md + 01-ingest.md.",
"testStrategy": "",
"status": "pending",
"status": "done",
"dependencies": [],
"priority": "high",
"subtasks": [
@@ -2017,7 +2017,7 @@
"description": "ביטול שני המסלולים המקבילים (precedent_library.py:88 vs internal_decisions.py:73); כל סוג = פרמטרים, לא פונקציה נפרדת.",
"dependencies": [],
"details": "INV-ING1/G2",
"status": "pending",
"status": "done",
"testStrategy": "",
"parentId": "59"
},
@@ -2027,7 +2027,7 @@
"description": "קריאה ל-request_metadata_extraction גם במסלול הפנימי (היום רק halacha, internal_decisions.py:208).",
"dependencies": [],
"details": "INV-ING3/DM1",
"status": "pending",
"status": "done",
"testStrategy": "",
"parentId": "59"
},
@@ -2037,7 +2037,7 @@
"description": "הוספת ולידציית practice_area/source_type למסלול הפנימי (כמו precedent_library.py:131-134).",
"dependencies": [],
"details": "INV-G4",
"status": "pending",
"status": "done",
"testStrategy": "",
"parentId": "59"
},
@@ -2047,7 +2047,7 @@
"description": "שאר 6 האסימטריות → פרמטרים של המסלול הקנוני (01-ingest §4).",
"dependencies": [],
"details": "INV-ING1",
"status": "pending",
"status": "done",
"testStrategy": "",
"parentId": "59"
}

View File

@@ -113,6 +113,15 @@ class IntakeSpec:
enums לא-חוקיים = **0**; multimodal: 14/56 יש (42 חסר → FU-3 #61.2). הריפקטור משנה רק התנהגות
*קדימה*; אינו נוגע בנתונים שמורים.
**Drift מתועד (זניח, מכוון — מסקירת-קוד סופית):**
- **empty-chunks early-return:** כשה-chunker מחזיר ריק על טקסט לא-ריק (נדיר), המקור הציב
`halacha_status=completed` ויצא בלי לתזמן; הקנוני נופל הלאה ומתזמן את שני החילוצים עם
`halacha_status=pending`. עקבי עם INV-ING3 (תיזמון אחיד) — שיפור, לא רגרסיה.
- **thumbnails של multimodal** להחלטות-ועדה יושבים תחת `precedent-library/thumbnails/`
(ממופתח לפי `case_law_id`) — מכוון, מתועד ב-docstring של `spec_thumb_dir`.
- **`queue_halachot`** הוסר כליל (wrapper + `migrate_from_style_corpus`) — הדגל איבד משמעות
תחת INV-ING3; אומת שאין caller שמעביר אותו.
## 7. אסטרטגיית בדיקה
pytest offline עם monkeypatch לכל גבולות-ה-I/O (db, embeddings, chunker, extractor) — כתבנית