You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(budget): make local spend caps configurable across platforms #107
#104 allows a zero daily spend cap in Worker mode. The local settings schema and CLI still reject zero. Windows local mode also needs a budget-only configuration path that leaves the existing protection for credential-routing settings in place.
Scope
Allow zero for local daily spend only. Keep monthly and per-request spend, daily request count, concurrency, and recorded request accounting intact.
Provide a narrow environment override for daily and monthly spend that also works on Windows. Keep Worker bindings independent.
Verify the local CLI and SQLite runtime can use a $150 monthly cap and 50,000-token profiles for GPT-6.2 Astra and Claude Fable 5.2. Keep existing defaults and document the new behavior in the four configuration guides.
Acceptance criteria
Existing local settings continue to work. Invalid environment values fail before reserving or calling a provider, and the local override has no effect on Worker mode.
Packaged CLI, local budget enforcement, and the Windows package probe cover the configuration paths with fixtures or mocked providers.
Independent review and CI pass before the fix is included in the 0.6.1 release.
Activity