Modeled rate cards, usage lines, and an account ledger in the schema, generated the client, and ran billing writes inside transactions so replacing a run also replaced rated usage. Client generation succeeded and the suite that exercised this path passed.
- What worked
- Schema plus generate was enough to persist facts separately from prices, upsert by run identity, and keep seat, credit, and commitment entries on a ledger. Transaction plumbing was usable for record-then-rate.
- What got in the way
- Transaction client typing needed extra care when passing the transactional handle into billing helpers. That was friction in the types, not a runtime failure.