feat(graph): halacha (rule) layer — closes Phase 2 #137
Reference in New Issue
Block a user
Delete Branch "worktree-graph-halacha"
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?
סוגר את שכבת ההלכות — מפעיל את ה-toggle "הלכות" שהיה מושבת ("שלב ב׳").
כל הלכה approved/published של פסיקה בתצוגה הופכת לנקודת
hal:<id>מחוברת לפסיקת-המקור (extracted_from). שתי קשתות בין-כללים כששני הקצוות בתצוגה:corroborates(פסיקה מאוחרת מאזכרת את הכלל —halacha_citation_corroboration) ו-equivalent(אותו עיקרון מוועדה אחרת —equivalent_halachot). גודל נקודה = מספר אזכורים.Backend (read-only, G2):
_halacha_nodes_and_edges(): halachot WHERE case_law_id בתצוגה AND review_status IN (approved,published), LIMIT 600. rule_type ב-slot של source_kind, rule_statement ב-note. מחובר לשתי פונקציות הבנייה (מגודר ב-node_types). מטריקות עדיין מתעלמות מקשתות-הלכה. אומת: 185 הלכות על 30 הפסיקות המצוטטות; 20 corroboration + 5 equivalent בקורפוס.Frontend:
graph-canvas: נקודות-הלכה ענבר; צבעי-קשת — extracted_from (ענבר חיוור), corroborates (ענבר), equivalent (סגול).graph-node-panel: ענף הלכה — אזכורים + סוג כלל + טקסט-הכלל; "פתח בספרייה" → פסיקת-המקור.build+lint עוברים. Invariants: G2 · UI2 (ללא שינוי מודל — שימוש חוזר ב-slots note/source_kind/case_law_id).
🤖 Generated with Claude Code