The test was failing because CreateIssue() now validates that issue IDs match the configured prefix (bd-177). To simulate a corrupted database with multiple prefixes, the test now directly inserts issues via SQL instead of using CreateIssue(). This allows the test to verify the prefix repair functionality works correctly without triggering validation errors. Amp-Thread-ID: https://ampcode.com/threads/T-74d861bc-3abb-47f0-8080-64e46b452233 Co-authored-by: Amp <amp@ampcode.com>