fix(precedents): ועדת ערר decisions are never binding (is_binding=false)

מסך העלאת הפסיקה הציג צ'קבוקס "הלכה מחייבת" עם ברירת מחדל true גם
להחלטות ועדת ערר (isCommittee), כך שהלכות שחולצו מהחלטה לא-מחייבת
תויגו rule_type='binding' — בסתירה להגדרה הדוקטרינרית (ועדת ערר =
persuasive בלבד, לא binding כמו עליון/מנהלי).

- מסלול ההגשה של החלטות ועדת ערר שולח כעת is_binding=false תמיד
- הצ'קבוקס ננעל (disabled+unchecked) כשזוהתה החלטת ועדת ערר, עם
  הסבר שההלכות יסומנו persuasive

יישור דוקטרינרי בלבד — אין השפעה downstream על ranking/injection;
rule_type הוא תווית תצוגה, והשער הפונקציונלי הוא review_status.

TaskMaster #73

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-05-31 20:39:59 +00:00
parent e712573766
commit 1b62fa4af8

View File

@@ -129,7 +129,8 @@ export function PrecedentUploadSheet({ open, onOpenChange }: Props) {
practice_area: practiceArea,
appeal_subtype: appealSubtype.trim(),
subject_tags: tags,
is_binding: isBinding,
// החלטות ועדת ערר אינן מהוות הלכה מחייבת לפי הגדרה (persuasive בלבד) — לעולם לא binding.
is_binding: false,
summary: headnote.trim(),
});
setTaskId(res.task_id);
@@ -329,12 +330,17 @@ export function PrecedentUploadSheet({ open, onOpenChange }: Props) {
placeholder="תקציר חופשי שיוצג ברשימה" disabled={isProcessing} dir="rtl" />
</div>
<label className="flex items-center gap-2 cursor-pointer">
<input type="checkbox" checked={isBinding}
<label className={`flex items-center gap-2 ${isCommittee ? "cursor-not-allowed opacity-60" : "cursor-pointer"}`}>
<input type="checkbox" checked={isCommittee ? false : isBinding}
onChange={(e) => setIsBinding(e.target.checked)}
disabled={isProcessing} />
disabled={isProcessing || isCommittee} />
<span className="text-sm">הלכה מחייבת</span>
</label>
{isCommittee && (
<p className="text-[0.72rem] text-ink-muted">
החלטות ועדת ערר אינן מהוות הלכה מחייבת ההלכות שיחולצו יסומנו כ&quot;משכנעת&quot; (persuasive).
</p>
)}
</div>
</details>