- Previous filter only checked e.recordedAt < currentPeriodStart - Now also checks e.recordedAt >= prevPeriodStart (lower bound) - Prevents entries from periods before the previous one from inflating the spent amount, which would reduce the rollover incorrectly - 12 ai-budgets tests passing |
||
|---|---|---|
| .. | ||
| repository.test.ts | ||
| repository.ts | ||
| routes.test.ts | ||
| routes.ts | ||
| types.ts | ||