feat(ceo): wire party-claims executive summary as chair-requestable stage (#202 follow-up)
The summarize_party_claims tool (#202) generated a distilled executive summary of party claims but was orphaned: not granted to any agent and no CEO trigger. Wire it parallel to the interim-draft (שלב H). - Grant mcp__legal-ai__summarize_party_claims in legal-ceo.md frontmatter. - Add שלב H2 (סיכום מנהלים) mirroring שלב H: side-quest (no cases.status change, no sub-agent issues), in_progress → run tool → in_review + notify. Two triggers: chair comment ("סיכום מנהלים"/"סיכום טענות"/"סיכום לקראת דיון"/"executive summary") OR structured action $PAPERCLIP_WAKE_PAYLOAD_JSON action == "party_claims_summary". - Add structured-action trigger to שלב H (interim draft): action == "interim_draft" — same deterministic UI-button path. - שלב 0 + HEARTBEAT.md: route structured actions deterministically. - Spec note in docs/spec/04-analysis-writing.md §1.4. Invariants: G2 (reuse existing summarize_party_claims tool/path, no parallel route), G10 (chair-requested side-quest). Agent-prompt/docs only — no app code. Note: CEO prompt is shared across CMP+CMPA via instructionsFilePath; after merge the host tree needs `git pull` (agents run host-side reading .claude/agents/*.md). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -86,6 +86,8 @@
|
||||
|
||||
**1.5א. אם `$PAPERCLIP_WAKE_PAYLOAD_JSON` מכיל comment חדש מחיים** — התייחס אליו ב-comment הראשון שלך ("ראיתי שביקשת X — מבצע Y") **לפני** עבודה רחבה. זה מבטיח שחיים יודע שקלטת.
|
||||
|
||||
**1.5א2. פעולות סטרוקטורליות (כפתורי-UI עתידיים, CEO בלבד).** אם `$PAPERCLIP_WAKE_PAYLOAD_JSON` מכיל שדה `action` — נתב דטרמיניסטית בלי פענוח-טקסט: `action == "interim_draft"` → טיוטת ביניים, `action == "party_claims_summary"` → סיכום מנהלים של טענות הצדדים. פירוט: `legal-ceo.md` שלב 0 + שלבים H/H2.
|
||||
|
||||
**1.5ב. תמיד לקרוא `heartbeat-context`** — לא רק מה ש-skill ממליץ ("Prefer"). אצלנו ה-`attachments` המוחזרים חיוניים (חיים מעלה DOCX/PDF דרך comments). ראה §2.
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user