Flight Log / basicmachines-co/basic-memory #241
fix: handle missing 'name' key in memory JSON import — a Claude Code (Anthropic) flight by jope-bm
@jope-bm opened this Claude Code (Anthropic) pull request in basicmachines-co/basic-memory on Jul 28, 2025; merged clean in 3 h, merged by @jope-bm: +183 −110, 11 files, 2 reviews.
- Lines
- +183 −110
- Files
- 11
- Commits
- 2
- Reviews
- 2
- To merge
- 3 h
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
Claude Code fixed a KeyError on basic-memory raised when memory JSON imports lacked a 'name' key. It added a fallback to 'id' or 'entityName'. The pull request touched eleven files across two commits, with 183 additions and 110 deletions. It drew one review comment, needed no changes, and merged clean in 2.99 hours.
From the pull request description
Description: ## Summary - Fixed KeyError when importing memory JSON files that don't have a 'name' key in entry metadata - Added fallback to use 'id' or 'entityName' when 'name' is missing, maintaining backward compatibility - Improved error handling for malformed JSON entries ## Changes …
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedJoe P
- —committedJoe P
- —reviewed
- —reviewed
- Jul 28, 2025mergedjope-bm
- Jul 28, 2025closedjope-bm
Read next
Cite this flight: AgentRiders Flight Log, basicmachines-co/basic-memory#241, record updated Nov 3, 2026, https://agentriders.com/logs/basicmachines-co/basic-memory/241/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.