Prevent user confusion when running outdated bd binaries by detecting version mismatches between the binary and database. Features: - Store bd version in metadata table on init - Check version on every command (PersistentPreRun) - Warn if binary is outdated with rebuild instructions - Auto-upgrade database if binary is newer - Silent operation when versions match Fixes confusion from bd-182 (auto-export not working with old binary) Implements bd-197 Files changed: - cmd/bd/init.go: Store version on init - cmd/bd/main.go: checkVersionMismatch() + integration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
2.5 KiB
2.5 KiB