Fix the flaky billing test

Agent run · queued

  1. Reading the failing test and the module it covers

  2. Patching roundToPeriod() and adding a regression test

  3. npm test -- billing

Turn tickets into changes

An agent that reads the code, makes the change, runs the tests and opens a pull request you can actually review.