docs: add changelog for hooks/jobs/sync improvements (2026-05-17)
This commit is contained in:
26
CHANGELOG.md
Normal file
26
CHANGELOG.md
Normal file
@@ -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<caseNumber, {issueId, companyId}>` — 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)
|
||||||
Reference in New Issue
Block a user