When the Dolt database connection is temporarily unavailable (e.g., stale connection, server restart), GetCustomTypes() and GetCustomStatuses() now fall back to reading from config.yaml instead of failing. This matches the SQLite storage behavior and fixes the stop hook failure where `gt costs record` would fail with "invalid issue type: event" when the Dolt connection was broken. The fallback is checked in two cases: 1. When database query returns an error 2. When database has no custom types/statuses configured Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
22 KiB
22 KiB