You are reviewing the following code for correctness, clarity, and
potential issues. Be direct and specific.

Please identify:
- Bugs and edge cases not handled
- Unclear or misleading code that could trip up a future maintainer
- Opportunities to reduce complexity without losing readability

Skip: minor stylistic preferences, bikeshedding.

## Scope

{{task}}

## Code

{{bundle}}
