Skip to content

v0.2.0 — Critical bug fixes

Latest

Choose a tag to compare

@toroleapinc toroleapinc released this 07 May 04:20
· 4 commits to main since this release

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 add aborted on the missing path, nothing got staged, git commit reported "nothing to commit" and exited cleanly. Auto-sync looked healthy but no commits ever landed.
  • Encryption flag silently flipped to false on every push. register-machine.sh rewrote ~/.claude/brain-config.json from scratch on each call, hardcoding encryption.enabled: false unless --encrypt was passed. Users who initialized with /brain-init --encrypt had their flag flipped on the next SessionEnd.

Other fixes

  • Plugin failed to load skills and sync after fresh install (#31)
  • Sync timestamps lost on re-registration; macOS sed errors (#30)
  • macOS compatibility: sed -i, ARG_MAX, .env leak (#40)
  • MCP servers now read/written from ~/.claude.json instead of settings.json (#27)
  • POSIX portability fixes for import, semantic merge (#26, #25)
  • Cross-platform test failures on Alpine, Ubuntu, and WSL
  • Bash local outside functions; CLAUDE_DIR env var now respected
  • Skills, agents, hooks now declared in plugin.json (#28)

Changes

  • merge-semantic: --max-turns 1 → 10
  • max_budget_usd default: 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.