Under high concurrency (17+ agents), the bd version check spawns multiple git subprocesses per invocation, causing timeouts when 85-120+ git processes compete for resources. This fix: - Caches successful version checks to ~/.cache/gastown/beads-version.json - Uses cached results for 24 hours to avoid subprocess spawning - On timeout, uses stale cache if available or gracefully degrades - Prints warning when using cached/degraded path Fixes: https://github.com/steveyegge/gastown/issues/503 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6.6 KiB
6.6 KiB