Storage quotas
Storage quotas limit durable data held by the Host for an account. The Host enforces quotas on durable write paths, and Apps cannot bypass them. A write denied for exceeding quota returns a typed error. These quotas are separate from Wasm CPU and memory limits.
Usage accounting
The account is charged for durable Host-held bytes associated with it:
- Dataset records and blobs for Datasets the account owns.
- Other durable App storage that the Host attributes to the account.
- Retained logs for that account’s App installations.
Disposable client cache, ephemeral Wasm memory, and in-flight notification payloads do not count toward the quota.
For a Dataset with multiple Owners the primary or creating Owner is charged. Co-Owners and Grant subjects are not charged again for the same bytes.
Limits and enforcement
Every account has a quota. An Instance may also have an overall storage ceiling. The admin sets account defaults, may set per-account overrides, and controls the optional Instance limit. Accounts cannot raise their own quotas.
When an account reaches its limit, the Host denies writes that would grow its durable storage. Reads and deletes remain available. The Shell should warn as usage approaches the limit, with a tentative watermark or notification e.g. around 80%, and alert the admin when the instance limit is reached.
Usage views
Admins can see per-account usage aggregates and the Instance total, without access to other accounts’ Dataset contents. Each account can see its own usage and quota.
Any example storage limits are illustrative. Exact defaults remain configurable and may be tuned later.