Files
Garry TanandClaude Fable 5 980de2a424 fix(config): configDir honors $HOME over Bun's cached os.homedir()
The gbrainDir()->configDir() unification dropped preferences.ts's
process.env.HOME fallback; Bun caches homedir()'s initial value and
ignores later HOME mutations, so per-test HOME isolation broke and
test/migration-resume.test.ts leaked ledger entries across tests.
Restore the env-first fallback in the one shared place.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-22 10:50:19 -07:00
..