fix(halacha): split authority (derived) from rule_role — stop source-conflation (INV-DM7) #112
Reference in New Issue
Block a user
Delete Branch "worktree-halacha-authority-split"
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?
מה ולמה
ניתוח קפדני של מדגם-הזהב חשף ש-
rule_typeשל ההלכות מערבב שני צירים אורתוגונליים, וזה שורש רעש-הסיווג (התאמה לתיוג-אנושי 58% בלבד):binding, ועדה→persuasive) — הוכחה חותכת:bindingהופיע על 19/19 פסקים חיצוניים ו-0 ועדות;persuasiveעל 13/13 ועדות ו-0 חיצוניים.הפתרון (INV-DM7) — שני צירים נפרדים
case_law.precedent_level(לא מאוחסן, לא LLM)binding(עליון/מנהלי) ·persuasive(ועדת_ערר_מחוזית)holding·interpretive·procedural·application·obiterhalacha_quality.derive_authority()— pure, מקור-אמת יחיד; נחשף read-only ב-list_halachot/goldset_list/חיפוש._coerce_halachaכבר לא גוזר rule_type מהמקור (fold: binding→holding, persuasive→interpretive לבטיחות).מיגרציה (אחרי deploy)
scripts/halacha_rule_role_backfill.py— מסווג-מחדש 276 שורות-קדם-פיצול לתפקיד אמיתי דרך claude_session המקומי (אפס עלות; backup CSV; dry-run כברירת-מחדל).correct_type/ai_correct_type:binding→holdingב-SQL.מקורות (≥3, מדיניות החלטות-ארכיטקטורה)
appliesAuthority/Strengthכ-metadata אורתוגונלי, נפרד מלוגיקת-הכלל.Invariants
docs/spec/02-data-model.md).בדיקות
derive_authorityו-_coerce_halachafold.tsc --noEmitנקי +next buildעבר (כל 16 המסלולים).🤖 Generated with Claude Code