Home / Product / Development preview

Development preview · not releasedUsage plans and metering

Make finite product usage explainable.

The current source explores one path from plan membership to admission, measured cost, limits, completion, and recorded usage—so a product can answer who may consume a service and what happened afterward.

Before workDecide whether the request belongs and fits.
During workKeep consumption tied to a product identity.
After workRecord actual usage and finish the reservation.
Why this direction matters

A limit is useful only when the whole lifecycle agrees.

A product that offers storage, provider calls, AI work, or another finite service needs more than a counter. It needs to know which plan applies, whether the person belongs to it, how much a request may cost, whether capacity should be reserved, and how actual use is recorded.

The post-release source work connects those decisions instead of leaving admission, accounting, and completion as unrelated checks. Expression-based costs can relate product inputs to usage while plan membership and quota state provide the customer context.

The intended result is an explainable product rule: why a request began or was declined, whose allowance it used, what it consumed, and what remains.

What the source work connects

From promise to measured outcome.

These are development areas visible after v0.12.36, not current-release commitments.

BelongPlan and membership

Relate an account or group to the product allowance intended for them.

AdmitQuota and expected cost

Decide whether finite work may begin before expensive execution starts.

MeasureUsage and dimensions

Record consumption in the terms the product understands.

CompleteReconcile the outcome

Close reservations and apply post-use behavior after success or failure.

Release boundary

Evaluate the code, not a release promise.

This capability is not presented as available in Daptin v0.12.36. Data models, cost behavior, quota guarantees, concurrency handling, and integration points may change before a containing release. Do not promise billing or enforcement behavior from this page.