Repository navigation
Muse Code quota disappears while the 5-hour window is idle #4002
Copy link
Copy link
Closed
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.User-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Description
Activity
Metadata
Metadata
Assignees
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:ux-frictionUser-facing flow adds avoidable confusion or support burden without fully blocking progress.User-facing flow adds avoidable confusion or support burden without fully blocking progress.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Summary
Muse Code usage disappears from CodexBar whenever the 5-hour window is idle, even when the weekly limit has real usage.
POST https://api.meta.ai/muse-code/key(the endpoint both the Muse CLI and the bundledmuseplugin read) omitssubs_usageentirely while the 5-hour window is idle. The Muse CLI's own/usagethen shows "Currently unavailable", and CodexBar showsQuota: Not included in this login responsewith no bars — so the weekly limit is invisible between sessions.Evidence (one Muse Code Everyday Usage account, CodexBar 0.66.0, Muse Code 1.4.0-R4161.1)
/muse-code/keydev.meta.aiusage pagesubs_usagesubs_usagesubs_usagepresent: 6% / 17%subs_usageThe response is otherwise healthy: HTTP 200,
is_subs_active: true, plan name present. So this is Meta's response shape, not a login or Keychain failure.The
dev.meta.ai/usagepage gets the same subscription quota from plain JSONGETendpoints authenticated by thellama_dev_sessbrowser cookie:GET /api/portal/teamsGET /api/portal/teams/{team_id}/subscription-quota→window_weighted_used/limit,weekly_weighted_used/limit,weekly_resets_at, andwindow_resets_atonly while the 5-hour window is active.No form-encoded GraphQL, CSRF tokens, or build-specific Server Action IDs are involved, so it fits the bundled plugin host's
browser-cookies+ JSON HTTP capabilities.Existing coverage searched
Also reported to Meta via the Muse CLI
/feedback.