Files
legal-ai/.claude/commands/draft-decision.md
Chaim a2236363d4 feat(mcp): FU-14 GAP-50 — deprecate draft_section לטובת get_block_context
INV-TOOL2. מיפוי הראה ש-6 כלי-הבלוק אינם כפילות מיותרת: write_block/
write_all_blocks/save_block_content/write_interim_draft משרתים זרימות שונות
(CLI/initial-draft מול תהליך-ה-writer "התיקון בקובץ, לא ב-DB"). הכפילות
האמיתית היחידה — draft_section (הקשר לפי-סעיף, granularity ישן) חופף ל-
get_block_context (לפי-בלוק, תואם 12-הבלוקים הקנוני).

הכרעת-יו"ר: draft_section סומן deprecated (docstring ב-server.py + drafting.py
מפנה ל-get_block_context; draft-decision.md עודכן). ללא הסרה, ללא מיזוג כלי-
הכתיבה — שמירת תהליך-הכתיבה המכוון.

בדיקות: 182/182 עוברים. GAP-49+50 סגורים.

Invariants: מקדם INV-TOOL2 + G2. מתועד ב-X9 (נסגר) + gap-audit פרוסה 9.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-06 18:57:02 +00:00

25 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
ניסוח החלטה מלאה לתיק ערר - סעיף אחר סעיף.
שאל את המשתמש על מספר התיק.
תהליך הניסוח:
1. שלוף את פרטי התיק עם case_get
2. שלוף את מדריך הסגנון עם get_style_guide
3. שלוף את תבנית ההחלטה עם get_decision_template
לכל סעיף:
4. השתמש ב-get_block_context(case_number, block_id) כדי לקבל הקשר מלא לבלוק (מסמכי התיק + תקדימים + סגנון). [draft_section הישן deprecated — GAP-50]
5. נסח את הסעיף בסגנון דפנה על בסיס ההקשר
6. הצג למשתמש ובקש אישור/עריכה לפני המשך לסעיף הבא
סדר הסעיפים:
- א. רקע עובדתי (facts)
- ב. טענות העוררים (appellant_claims)
- ג. טענות המשיבים (respondent_claims)
- ד. דיון והכרעה (legal_analysis)
- ה. מסקנה (conclusion)
- ו. החלטה (ruling)
בסיום, שמור את הטיוטה המלאה בקובץ drafts/decision.md בתיקיית התיק.