feat(mcp): FU-14 GAP-50 — deprecate draft_section לטובת get_block_context #83

Merged
chaim merged 1 commits from fix/fu14-gap50-draft-section into main 2026-06-06 18:57:25 +00:00
Owner

מה

GAP-50 (INV-TOOL2). מיפוי 6 כלי-הבלוק הראה שהם אינם כפילות מיותרתwrite_block/write_all_blocks/save_block_content/write_interim_draft משרתים זרימות שונות (CLI/טיוטה-ראשונית מול תהליך-ה-writer שבו "התיקון חי בקובץ, לא ב-DB"). הכפילות האמיתית היחידה: draft_section (הקשר לפי-סעיף, granularity ישן) חופף ל-get_block_context (לפי-בלוק, תואם ארכיטקטורת 12-הבלוקים).

הכרעת-יו"ר (האופציה שנבחרה): draft_section סומן deprecated → מפנה ל-get_block_context. ללא הסרה, ללא מיזוג כלי-הכתיבה — שמירת תהליך-הכתיבה המכוון של ה-writer.

שינויים

  • server.py + tools/drafting.py — docstring של draft_section עם הערת DEPRECATED + הפניה.
  • .claude/commands/draft-decision.md — מפנה ל-get_block_context.
  • ספ: X9 INV-TOOL2 (הפרה ידועה נסגרה) + gap-audit GAP-50 + פרוסה 9.

בדיקות

182/182 עוברים. השינוי הוא docstring+doc בלבד — אפס שבירה.

סטטוס FU-14

GAP-48 + GAP-49 + GAP-50 סגורים. נותר: GAP-54 (איחוד קליטת-פסיקה — חופף FU-1), GAP-47-חלק-ב (הנחיות-יו"ר→DB).

Invariants

מקדם INV-TOOL2 + G2. worktree מבודד.

🤖 Generated with Claude Code

## מה GAP-50 (INV-TOOL2). מיפוי 6 כלי-הבלוק הראה שהם **אינם כפילות מיותרת** — `write_block`/`write_all_blocks`/`save_block_content`/`write_interim_draft` משרתים זרימות שונות (CLI/טיוטה-ראשונית מול תהליך-ה-writer שבו "התיקון חי בקובץ, לא ב-DB"). הכפילות האמיתית היחידה: `draft_section` (הקשר לפי-**סעיף**, granularity ישן) חופף ל-`get_block_context` (לפי-**בלוק**, תואם ארכיטקטורת 12-הבלוקים). **הכרעת-יו"ר (האופציה שנבחרה):** `draft_section` סומן **deprecated** → מפנה ל-`get_block_context`. ללא הסרה, ללא מיזוג כלי-הכתיבה — שמירת תהליך-הכתיבה המכוון של ה-writer. ## שינויים - `server.py` + `tools/drafting.py` — docstring של `draft_section` עם הערת DEPRECATED + הפניה. - `.claude/commands/draft-decision.md` — מפנה ל-`get_block_context`. - ספ: X9 INV-TOOL2 (הפרה ידועה נסגרה) + gap-audit GAP-50 + פרוסה 9. ## בדיקות **182/182 עוברים.** השינוי הוא docstring+doc בלבד — אפס שבירה. ## סטטוס FU-14 **GAP-48 + GAP-49 + GAP-50 סגורים.** נותר: GAP-54 (איחוד קליטת-פסיקה — חופף FU-1), GAP-47-חלק-ב (הנחיות-יו"ר→DB). ## Invariants מקדם **INV-TOOL2** + **G2**. worktree מבודד. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chaim added 1 commit 2026-06-06 18:57:17 +00:00
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>
chaim merged commit 0059c326f1 into main 2026-06-06 18:57:25 +00:00
chaim deleted branch fix/fu14-gap50-draft-section 2026-06-06 18:57:25 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ezer-mishpati/legal-ai#83