feat: add stale-case-reminder and weekly-feedback-analysis jobs
Declare two new cron jobs in plugin.json and manifest.ts, and implement their handlers in worker.ts. stale-case-reminder runs daily at 08:00 and posts a warning comment on any Paperclip issue linked to a legal-ai case that has not been updated in 3+ days. weekly-feedback-analysis runs every Sunday at 19:00, fetches the weekly chair-feedback summary from legal-ai, and invokes the CEO agent to update decision-lessons.md with new lessons.
This commit is contained in:
12
plugin.json
12
plugin.json
@@ -63,6 +63,18 @@
|
||||
"displayName": "סנכרון סטטוס תיקים",
|
||||
"description": "סנכרון סטטוס בין legal-ai ל-Paperclip כל 15 דקות",
|
||||
"schedule": "*/15 * * * *"
|
||||
},
|
||||
{
|
||||
"jobKey": "stale-case-reminder",
|
||||
"displayName": "תזכורת תיקים תקועים",
|
||||
"description": "מזהה תיקים שלא עודכנו 3+ ימים ומוסיף תגובה ל-issue",
|
||||
"schedule": "0 8 * * *"
|
||||
},
|
||||
{
|
||||
"jobKey": "weekly-feedback-analysis",
|
||||
"displayName": "ניתוח פידבק שבועי",
|
||||
"description": "מסכם פידבק יו\"ר מהשבוע האחרון ומעדכן את decision-lessons.md",
|
||||
"schedule": "0 19 * * 0"
|
||||
}
|
||||
],
|
||||
"webhooks": [
|
||||
|
||||
Reference in New Issue
Block a user