Files
member-portal/tests
inference-bot ca336a3115
ci/woodpecker/push/woodpecker Pipeline was canceled
credits: only charge spend incurred while credits were available (#12 follow-up)
close_credit_cycles drew max(0, cycle_spend - allowance) capped by the
pack's current balance, so a pack bought mid-cycle was charged for spend
that predated it. Split the cycle at the first grant: allowance is consumed
first, then credits cover only the spend after they became available.
apply_cycle_draw takes the eligible figure; the ledger reason records it.
Correction rows for the six over-drawn clawback cycles are separate.
2026-12-02 15:32:34 +00:00
..