acme/subscriptions-api #214main ← claude/usage-based-billingby sam-okaforOpen on host Review main whole
Hold
feat(billing): usage-based billing with Meterly
Do not merge yet
16 files changed (+254 −5). 65 of 259 lines carry the risk; read them in about 20 minutes, and skim or skip the other 194. Partly written by Claude Code.
- Adds 2 outbound destinations, 1 unrecognised: api.meterly.io.
- Opens 2 inbound doors.
- Beyond its description: Schema migrations.
- 3 source files changed with no test change, led by usage.ts.
+254−516 filesAssisted by Claude CodeTriage: P0, look at it now
Says vs does
Does more than it saysSays
feat(billing): usage-based billing with Meterly
Names Payments, Database access, Network calls, Infrastructure, Public API, Tests.
Does
- Changes Other code (7 files), Public API (3 files), Payments (4 files), Database access (2 files), Schema migrations (1 file).
- Calls 1 new outbound destination: api.meterly.io.
- Builds 1 outbound address at run time.
- Opens 2 new inbound doors.
- Changes the database schema in 1 migration.
- 3 of 11 changed source files come with no test change.
Does without saying
- Schema migrations. 10 changed lines in 1 file the description does not mention.
- New outbound calls. Calls api.meterly.io, which the description does not name and the review does not recognise.
To add to the description: This change also includes schema migrations (1 file); calls to api.meterly.io.
Why hold: 3 source files changed without a matching test change. Design: 1 new import against the layer order: adapters/stripe → api/usage.
Policy applied: .visualdiff.json (base branch).Review from 20, hold from 60.5 rules fired, 2 blocking.How policies work
You have 20 minutes
A careful read of everything: 78 min65 lines to read166 to skim28 to skip