fix(X13): ניתוב לפי פורמט-נט; טיפול-שגיאות חסין באחזור #124
Reference in New Issue
Block a user
Delete Branch "worktree-court-fetch-routing"
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?
למה (תוקן מ-drain חי)
ה-drain האוטומטי על דאטה אמיתי חשף 3 באגים:
h2(httpx http2) שלא הותקן → כל אחזור-עליון נכשל מיד. נוסף ל-extra[court-fetch].classify()מחלץ את שלישיית תיק-חודש-שנה גם לקידומות-עליון.running. בלוק-ה-fetch קולט עכשיו כל Exception →_record_failure(INV-CF2/CF3) — job תמיד מגיע למצב-סופי.אימות
pytest test_court_citation.py— 11/11 (כוללtest_supreme_with_net_format_triple).נשאר פתוח (Tier-0 בלבד)
פורטל supremedecisions עדיין לא מפוענח (SearchVerdicts מחזיר לא-JSON) — עע"מ/בר"מ בפורמט-סדרתי (NNNN/YY, בלי חודש) יוסלמו ל-
manualעד שיפוענח. רוב תיקי-התכנון הם district/עליון-בפורמט-נט → עובדים דרך Tier-1.🤖 Generated with Claude Code
Live drain surfaced three issues: 1. Tier-0 needed `h2` (httpx http2) — added to the court-fetch extra. 2. Supreme cases that carry a נט-format number (e.g. בר"מ 72182-06-25) were routed to the unvalidated Tier-0 and failed, even though נט המשפט serves Supreme cases too. classify() now parses the file-month-year triple for Supreme prefixes; the orchestrator routes by triple-availability: נט-format present → Tier-1 (validated, all courts) serial-only Supreme (עע"מ 5886/24) → Tier-0 neither → clear "no public route" failure Validated live: בר"מ 72182-06-25 fetched via Tier-1 (5-page PDF). 3. A non-`RuntimeError` fetch exception (the h2 import error) left jobs stuck in 'running'. The fetch block now catches any Exception → _record_failure (INV-CF2/CF3), so a job always reaches a terminal state. + test_supreme_with_net_format_triple. Suite 11/11. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>