Repository navigation
v0.40.5 — decompose projectSeason + API consistency
Tech-debt batch 5a (epic #161). Behavior-preserving; no schema change.
- #158 — decomposed
projectSeasoninto pure helpers (resolvePricingMode/priceSeasonMonth/combineAnnualBand) + 10 hand-calc tests; existing seasonProjection test unchanged (byte-identical proof). - #159 — uniform error envelope via
withAccount; export routes usewithAccount;bills/[date]/pdfhonors?accountId=. Secrets unaffected.
Verified: Docker test 983; build green;/api/verify50/50 on staging; routes smoke-tested; dashboard renders clean.