Repository navigation
claude-brain v0.2.0 — Critical bug fixes
Anyone running 0.1.0 should upgrade. Two silent-failure bugs in 0.1.0 made auto-sync look healthy while doing nothing, and silently disabled encryption for users who opted in.
Headline fixes
- SessionEnd push silently did nothing when
shared/directory didn't exist.git addaborted on the missing path, nothing got staged,git commitreported "nothing to commit" and exited cleanly. Auto-sync looked healthy but no commits ever landed. - Encryption flag silently flipped to
falseon every push.register-machine.shrewrote~/.claude/brain-config.jsonfrom scratch on each call, hardcodingencryption.enabled: falseunless--encryptwas passed. Users who initialized with/brain-init --encrypthad their flag flipped on the nextSessionEnd.
Other fixes
- Plugin failed to load skills and sync after fresh install (#31)
- Sync timestamps lost on re-registration; macOS
sederrors (#30) - macOS compatibility:
sed -i,ARG_MAX,.envleak (#40) - MCP servers now read/written from
~/.claude.jsoninstead ofsettings.json(#27) - POSIX portability fixes for
import, semantic merge (#26, #25) - Cross-platform test failures on Alpine, Ubuntu, and WSL
- Bash
localoutside functions;CLAUDE_DIRenv var now respected - Skills, agents, hooks now declared in
plugin.json(#28)
Changes
merge-semantic:--max-turns1 → 10max_budget_usddefault: 0.50 → 3.00- Age encryption now uses
-a(ASCII armor) for portability
Upgrading
Marketplace installs will pick up the new version automatically. No config changes needed — existing brain-config.json is preserved on the next push.
Thanks to @blowenstein0 for filing #42 and the careful root-cause writeup.