feat(plugin): סגירה אוטומטית של issue שטן-מליץ אחרי ריצה מוצלחת (legal-ai #892) #17
Reference in New Issue
Block a user
Delete Branch "feat/devil-issue-autoclose"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
הבעיה (תיק 8165-11-25): שטן-מליץ רץ בלי shell (#872) ולכן לא סוגר את ה-issue שלו; Paperclip מעיר את ה-CEO רק על issue_children_completed, והילד נשאר blocked — ה-CEO לא התעורר והתהליך נתקע.
התיקון: handler על agent.run.finished: אם הריצה (status=succeeded) של שטן-מליץ של אותה חברה, ה-issue שלו פתוח, וקיים critique-gemini.md עדכני (>=2KB, אחרי יצירת ה-issue) — מעבירים את ה-issue ל-done (בלי comment, שמעיר את ה-CEO פעם שנייה). כשל גישה/קובץ חסר → נשאר פתוח (fail-safe). 11 בדיקות יחידה, tsc ו-biome נקיים.
🤖 Generated with Claude Code
https://claude.ai/code/session_01PRePqBSqn3kjwjg9puEJZz