fix: Use correct backend hive name 'org_notes' for note commands#266
Merged
fix: Use correct backend hive name 'org_notes' for note commands#266
Conversation
The note shortcut command was passing 'note' as the hive name to the SDK's Hive class, which hits the REST API at /hive/note/... — but the backend hive is named 'org_notes'. This caused UNKNOWN_HIVE errors when using the SDK directly (not through the CLI gateway which may translate names). Also fixes the _KNOWN_HIVE_TYPES list and explain text. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
8ec29dc to
bf74615
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
noteshortcut command passed"note"as the hive name toHive(), but the backend hive is"org_notes"UNKNOWN_HIVEerrors when the SDK'sHiveclass hit the API directly at/hive/note/...make_hive_group("note", "org_notes", "note")innote.py_KNOWN_HIVE_TYPESlist and explain text inhive.pyHow it was found
The ai-sessions project uses the Python SDK's
Hiveclass directly to persist Claude Code memories as org_notes. Everyhive.set()call returnedUNKNOWN_HIVE.Test plan
limacharlie note liststill workslimacharlie note set --key test --input-file ...creates a recordlimacharlie hive list --hive-name org_notesmatcheslimacharlie note list🤖 Generated with Claude Code