Hoist agentStore to outer scope so the finally block can close it before removing the temp dir, preventing leaked SQLite handles when the test errors mid-try. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Hoist agentStore to outer scope so the finally block can close it before removing the temp dir, preventing leaked SQLite handles when the test errors mid-try. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>