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:
@@ -158,6 +158,18 @@ export default {
|
||||
"Polls legal-ai for case status changes and updates Paperclip issues",
|
||||
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