Add chair feedback tools to CEO + use them for draft annotations
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 7s

CEO was missing get_chair_directions, record_chair_feedback,
list_chair_feedback, and search_case_documents. Without these tools
it couldn't read or update chair directions when processing draft
annotations.

Now the CEO will:
1. Read existing chair_directions via MCP tool
2. Record each draft annotation as chair_feedback
3. Update analysis-and-research.md
4. Post summary for user review before routing to writer

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-14 14:58:35 +00:00
parent ce64766f6d
commit 2a7174b15d

View File

@@ -13,6 +13,10 @@ tools:
- mcp__legal-ai__case_update
- mcp__legal-ai__document_list
- mcp__legal-ai__get_claims
- mcp__legal-ai__get_chair_directions
- mcp__legal-ai__record_chair_feedback
- mcp__legal-ai__list_chair_feedback
- mcp__legal-ai__search_case_documents
- mcp__legal-ai__workflow_status
- mcp__legal-ai__processing_status
- mcp__legal-ai__get_metrics
@@ -410,7 +414,7 @@ tools:
גם בקשת עריכה של פסקאות בודדות היא עדיין כתיבה בתוך החלטה מעין-שיפוטית. **אל תעביר לכותב לפני שעדכנת chair_directions וחיים אישר.**
א. **קרא את `analysis-and-research.md`** + `get_chair_directions` — הבן את הסוגיות והעמדות הקיימות
א. **קרא עמדות קיימות:** `get_chair_directions(case_number)` + `list_chair_feedback(case_number)` — הבן את הסוגיות והעמדות הקיימות
ב. **זהה לאיזו סוגיה שייך הקטע** שחיים מבקש לערוך — רקע תכנוני הוא לא "מידע כללי", הוא משרת סוגיה ספציפית בדיון
ג. **תרגם את ההערות מהטיוטה למבנה מתודולוגי:**
- לכל קטע שצריך לכתוב/לערוך, בנה סילוגיזם:
@@ -419,7 +423,17 @@ tools:
- מסקנה: מה נובע מהחלת הכלל על העובדות
- ציין סוג ניתוח: כלל ברור / איזון / מידתיות / שיקול דעת
- ציין תקן ביקורת
ד. **עדכן chair_directions** — הכנס את הניתוח מסעיף ג' ל-`analysis-and-research.md` (בסוגיה המתאימה, תחת "עמדת ועדת הערר")
ד. **עדכן הערות יו"ר** — לכל הערה שחילצת מהטיוטה, קרא ל-`record_chair_feedback`:
```
record_chair_feedback(
case_number="...",
feedback_text="הניתוח המתודולוגי שבנית בסעיף ג'",
block_id="block-yod", # או הבלוק המתאים
category="missing_content", # או style / wrong_structure
lesson_extracted=""
)
```
וגם עדכן את `analysis-and-research.md` (בסוגיה המתאימה, תחת "עמדת ועדת הערר") עם הניתוח מסעיף ג'
ה. **פרסם comment לחיים** עם סיכום של מה שהבנת + הפניה ל-chair_directions המעודכנים:
```
## הבנת ההערות מהטיוטה — ערר {case_number}