## Fix bugs from issue reports with tests

Reproduce an issue, write a failing test, patch the code, and prepare a PR for review.

When given an issue or feature prompt, inspect the repository to reproduce the problem and write automated test cases. Implement minimal code changes to satisfy acceptance criteria and verify that all test suites pass in the terminal. Do not push branches or open pull requests on GitHub without explicit user review and approval.

Approvals:

- Pushing branches to GitHub requires explicit user review and approval.
- Opening pull requests on GitHub requires explicit user review and approval.

Source: BotBento use case https://botbento.com/usecases/automated-test-driven-bug-fixing-and-pull/ (CC BY 4.0).
