Release merge for the next 0.1.0 release candidate. Brings PR 100 from develop: a budget can count over a UTC week (Monday to Monday), the refusal at a limit names the limit, the amount and the day it starts again, a ceiling on the cost limit that may be saved (budgetCostLimitCeilingUsd), and the save rule checks assistant.admin.
The tree is develop's except the version line, which stays the release branch's until the build bumps it.
Release merge for the next 0.1.0 release candidate. Brings PR 100 from develop: a budget can count over a UTC week (Monday to Monday), the refusal at a limit names the limit, the amount and the day it starts again, a ceiling on the cost limit that may be saved (budgetCostLimitCeilingUsd), and the save rule checks assistant.admin.
The tree is develop's except the version line, which stays the release branch's until the build bumps it.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
A budget (Assistant > Budgets) can count over a WEEK: the ISO week in UTC,
Monday 00:00:00 UTC up to the next Monday 00:00:00 UTC. DAY and MONTH are
unchanged and there is no schema change (period is text).
The refusal at a limit now says which limit, how much, when the count starts
again and who can change it: "The assistant has reached the weekly limit of
$500.00 of the budget 'Everyone, a week'. It starts again on Monday 19 October
2026 at 00:00 UTC. An administrator can raise the limit or grant an override."
The warning says "weekly" for a weekly budget.
New config budgetCostLimitCeilingUsd (default 1,000,000, null for none): a
cost budget above it is refused when saved. A budget is created or changed
only by a session that holds assistant.admin; the save rule now checks it as
it already did for overrides, besides the table's permission rules.
Budgets are read from their table at every evaluation and are not cached, so
a changed limit applies to the next question. That was already so; it is now
stated and tested.
Tests (BudgetServiceTest): the week boundary in UTC, including a Sunday
evening in Chicago that is Monday in UTC and a week across a year end; the
micro-USD to dollar conversion at the limit (499,999,999 micros warn, one more
refuses); the refusal sentence and HTTP 429 BUDGET for a new question; a
changed limit taking effect on the running service; the ceiling; and a person
without assistant.admin refused by the table's permission and by the save.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Release merge for the next 0.1.0 release candidate. Brings PR 100 from develop: a budget can count over a UTC week (Monday to Monday), the refusal at a limit names the limit, the amount and the day it starts again, a ceiling on the cost limit that may be saved (budgetCostLimitCeilingUsd), and the save rule checks assistant.admin.
The tree is develop's except the version line, which stays the release branch's until the build bumps it.
🤖 Generated with Claude Code