Architecture
Worker Config
Tenant worker control belongs to platform state and is managed from the control plane
Rule
Worker config belongs to the tenant record in platform control.
It is not runtime-local configuration and not a loose operational afterthought.
Managed fields
Worker config currently covers:
- billing enablement and interval
- prebill days
- usage aggregation enablement and interval
- aggregation batch limit
- invite cleanup enablement and interval
- billing observability cleanup enablement and interval
API
The control-plane endpoint is:
PATCH /api/v1/admin/tenants/{tenant_id}/worker-config
UI
Worker config should be edited through typed controls, not raw JSON.