Skip to content

Fix live main limit capacity pooling#91

Merged
cbusillo merged 1 commit into
mainfrom
fix/live-main-limit-capacity
May 22, 2026
Merged

Fix live main limit capacity pooling#91
cbusillo merged 1 commit into
mainfrom
fix/live-main-limit-capacity

Conversation

@cbusillo
Copy link
Copy Markdown
Owner

Summary

  • exclude failed/stale/expired buckets from live main-limit capacity math
  • exclude shorter-window buckets when the same account is blocked by an exhausted longer main window
  • use live buckets for burn-rate estimates and preserve observed burn-rate copy in OpenAI guardrail forecasts
  • document the live-capacity rule

Verification

  • swift test --filter 'mainLimitSummaries|observedBurnRate|capacityPortfolioDetailKeepsBurnRate|openAIFastModeForecastHelper'
  • scripts/commit-gate.sh
  • scripts/context-panel-runtime-baseline.sh install --launch
  • scripts/context-panel-runtime-baseline.sh check

Notes

  • JetBrains changed-file inspection only reported spelling warnings for the canonical bundle identifier com.shinycomputers.contextpanel.

@cbusillo cbusillo merged commit e1fd00e into main May 22, 2026
3 checks passed
@cbusillo cbusillo deleted the fix/live-main-limit-capacity branch May 22, 2026 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant