fix(supervisor): gate + display weekly-Sonnet instead of weekly-Opus #246

Merged
chaim merged 1 commits from worktree-supervisor-sonnet into main 2026-06-13 10:58:24 +00:00
Owner

בחשבון הזה הקאפ הפר-מודלי השבועי המאוכלס הוא Sonnet; seven_day_opus הוא null (אין קאפ-Opus נפרד). לכן quota_available() מגדר עכשיו על five_hour + seven_day + seven_day_sonnet (במקום seven_day_opus שלעולם לא חסם), ו-status מדפיס שבועי-Sonnet. הקאפ הכללי seven_day נשאר ה-backstop לשימוש-Opus בכל מקרה. תואם לתצוגת /operations (#245). host-only — בלי deploy.

אימות: ast.parse עובר; בדיקה חיה: quota_available()=True, sonnet util=0%.

🤖 Generated with Claude Code

בחשבון הזה הקאפ הפר-מודלי השבועי המאוכלס הוא **Sonnet**; `seven_day_opus` הוא `null` (אין קאפ-Opus נפרד). לכן `quota_available()` מגדר עכשיו על `five_hour + seven_day + seven_day_sonnet` (במקום `seven_day_opus` שלעולם לא חסם), ו-`status` מדפיס שבועי-Sonnet. הקאפ הכללי `seven_day` נשאר ה-backstop לשימוש-Opus בכל מקרה. תואם לתצוגת /operations (#245). host-only — בלי deploy. אימות: `ast.parse` עובר; בדיקה חיה: `quota_available()`=True, sonnet util=0%. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chaim added 1 commit 2026-06-13 10:58:17 +00:00
fix(supervisor): gate + display weekly-Sonnet, not weekly-Opus
All checks were successful
G12 Leak-Guard / leak-guard (pull_request) Successful in 8s
eac4dd3ac9
On this claude.ai account the populated per-model weekly cap is Sonnet;
seven_day_opus is null (no separate Opus cap). So quota_available() now gates on
five_hour + seven_day + seven_day_sonnet (was seven_day_opus, which never bound),
and `status` prints weekly-Sonnet. The all-models seven_day cap remains the
backstop for Opus usage regardless. Matches the /operations display (#245).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
chaim merged commit 4dce06c04a into main 2026-06-13 10:58:24 +00:00
chaim deleted branch worktree-supervisor-sonnet 2026-06-13 10:58:25 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ezer-mishpati/legal-ai#246