fix(sweep): route-pending-comments לוקח חברות מ-CEO_AGENT_IDS ולא מ-companies.list (legal-ai#1280) #25
Reference in New Issue
Block a user
Delete Branch "fix/legal-ai-1280-sweep-company-ids"
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?
מה
ב-
route-pending-commentsמחליפיםawait ctx.companies.list()ב-Object.keys(CEO_AGENT_IDS).למה
companies.listדורש scope של instance והמארח דוחה אותו באקראי בג'וב מתוזמן: 305 כשלונות מול 1,135 הצלחות ב-48 שעות (invalidInvocationScope, legal-ai #1280/#637). הלולאה ממילא מדלגת על חברה בלי CEO ממופה, ולכן הרשימה זהה. אותו דפוס כבר קיים ב-knownCompanyIdsשלresolveApiBase.בדיקות
tsc --noEmitנקי,biome checkנקי. אימות בפרודקשן: 30 ריצות רצופות בליfailedב-plugin_job_runsאחרי deploy.לא בהיקף
weekly-feedback-analysisקורא גם הוא ל-companies.list(שורה ~1202); נשאר ל-#1124.🤖 Generated with Claude Code
https://claude.ai/code/session_01JVyJoEa3s1vA9XeNE6WyDu