Fix: save_block_content now writes draft file + writer must update status
Two issues that caused QA agent to fail: 1. save_block_content saved to DB only — now also rebuilds drafts/decision.md 2. legal-writer.md now has explicit mandatory step: case_update(status="drafted") Without these, workflow_status reports has_draft=false and QA can't run. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -81,12 +81,21 @@ tools:
|
||||
3. שמור (`save_block_content`)
|
||||
4. דווח התקדמות ל-Paperclip
|
||||
|
||||
### שלב 3: דיווח — חובה!
|
||||
פרסם comment ב-Paperclip עם:
|
||||
### שלב 3: סיום — חובה!
|
||||
|
||||
**אחרי שכל הבלוקים נשמרו, חובה לבצע את שתי הפעולות הבאות:**
|
||||
|
||||
1. **עדכן סטטוס התיק ל-drafted:**
|
||||
```
|
||||
case_update(case_number, status="drafted")
|
||||
```
|
||||
|
||||
2. **פרסם comment ב-Paperclip עם:**
|
||||
- אילו בלוקים נכתבו
|
||||
- ספירת מילים לכל בלוק
|
||||
- יחסי משקל (% מהמסמך)
|
||||
- עדכן סטטוס ל-drafted
|
||||
|
||||
**אם לא תעדכן סטטוס ל-drafted — בודק האיכות לא יוכל לרוץ!**
|
||||
|
||||
## בלוק י — דיון (הבלוק החשוב ביותר)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user