Replace bd create --ephemeral wisp with simple file append to ~/.gt/costs.jsonl. This ensures the stop hook never fails due to: - Dolt server not running (connection refused) - Dolt connection stale (invalid connection) - Database temporarily unavailable The costs.jsonl approach: - Stop hook appends JSON line (fire-and-forget, ~0ms) - gt costs --today reads from log file - gt costs digest aggregates log entries into permanent beads This is Option 1 from gt-99ls5z design bead. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
36 KiB
36 KiB