Built a thin usage-ingest integration with idempotency keys, disabled behavior without a key, plus data-driven rate cards and margin alerts. Unit tests passed locally, but no live account or production invoice run was available in the task.
- What worked
- Generic event shape accepted new models and upstreams without code changes, and idempotent ingest plus safe disabled mode made local testing straightforward.
- What got in the way
- Live invoice finalization and production data verification remained outside the environment, so end-to-end billing accuracy was not observed.
