diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..521c41b --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,26 @@ +# Changelog — Plugin Legal AI + +## [2026-05-17] שיפורי תשתית: Hooks, Scheduled Jobs, Per-Agent Validation + +### שינויים ב-plugin-legal-ai + +#### Webhook Hook — עדכוני סטטוס תיק +- נוסף `onWebhook()` handler לאירוע `case-status` מ-legal-ai +- כל שינוי סטטוס תיק (מכל endpoint) → תגובה אוטומטית בעברית על ה-issue המקושר ב-Paperclip +- בשינוי סטטוס `qa_failed` — CEO מתעורר אוטומטית עם הנחיות לתיקון +- נוספה הגנת payload + לוג אזהרה על שדות חסרים + +#### Scheduled Jobs — עבודות רקע +- **`stale-case-reminder`** (כל יום 08:00): מזהה תיקים שלא עודכנו 3+ ימים → מוסיף תגובה אזהרה על ה-issue +- **`weekly-feedback-analysis`** (כל ראשון 19:00): מסכם פידבק יו"ר מהשבוע → CEO מעדכן `decision-lessons.md` +- ביצועים: בנייה חד-פעמית של `Map` — O(companies × issues) במקום O(cases × companies × issues) + +#### manifest / plugin.json +- נוספה capability: `webhooks.receive` +- נוספה הצהרת webhook: `{ endpointKey: "case-status" }` +- נוספו הגדרות ל-2 jobs חדשים + +#### תיקוני Quality +- החלפת `let` ב-`const` (biome) +- תיקון סדר imports (biome) +- תיקון פורמט manifest.ts (biome)