halkyon/packages/halkyon_base_server/migrations/migration_registry.txt
Tizian 「ティツィアーン」 24ed63585e
feat(base)!: one budget per person for all their assistants, the effort each takes, the operator's lists by page
A grant now says only which assistant a person may use, and keeps their
agreement; the limits are the person's (assistant_budget): one per UTC
day and month in money and in tokens, each optional, money counting the
assistants with prices, tokens every one (Halkyon Learn's ADR 0021, D58,
D59). assistantOperator.grant gives several people several assistants
with one budget, change sets one person's exactly, revoke takes back
everything; grantees and granteesOf list people with their assistants,
budget and use, 50 at a time. The migration carries each person's grant
limits into a budget: per unit, their sum, a grant without a limit making
it none.

assistants.env gives each assistant a default and a highest effort
(_EFFORT, _MAX_EFFORT; refused at start where the provider takes none);
ask takes one within that range, refusing another (invalidEffort), and
caps the output at its ceiling (D63).

instanceOperator.waiting and accounts come 50 at a time from an offset,
and counts gives the rows of the operator's screen (D62).

BREAKING CHANGE: the offer, the grants and the operator's lists changed
shape; Learn's server now asks for build 25.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-10-26 16:21:53 +01:00

23 lines
847 B
Text

### AUTOMATICALLY GENERATED DO NOT MODIFY
###
### This file is generated by Serverpod when creating a migration, do not modify it
### manually. If a collision is detected in this file when doing a code merge, resolve
### the conflict by removing and recreating the conflicting migration.
20261019115750898
20261019200558685
20261019202835333-deletion-notices
20261020111123780-passwords
20261020124836165-sessions-ended
20261020185619505-recovery-proof-key
20261020194005842-second-factor-waits
20261020204618337-session-code-tries
20261020211224310-email-code-purpose
20261021100319502-session-ended-warning
20261021110159448-second-factor-paths
20261021134802955-reset-hold-outs
20261023181809816-oidc-module
20261023192912859-simplelogin-keys
20261025135744270-waiting-accounts
20261025165102522-assistants
20261026140329453-assistant-budgets