feat: expose external_id in EntityResponse and link resolver#569
feat: expose external_id in EntityResponse and link resolver#569phernandez merged 2 commits intomainfrom
Conversation
Add external_id to V1 EntityResponse schema so consumers can reference
notes by their stable UUID. Add UUID detection to link resolver so
GET /{project}/knowledge/entities/{external_id} and
GET /{project}/resource/{external_id} work out of the box.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Drew Cain <groksrc@gmail.com>
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2f7359631e
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Address PR #569 feedback: - Canonicalize parsed UUID to lowercase-hyphen form before lookup so uppercase or unhyphenated UUIDs also resolve correctly - Add 4 tests for UUID resolution: valid ID, uppercase, nonexistent, fallthrough Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Claude finished @groksrc's task in 1m 17s —— View job Updated Review: PR #569 ✅Todo List
Review SummaryExcellent work! All blocking issues from my previous review have been addressed. The implementation is clean, follows Basic Memory conventions, and now includes comprehensive test coverage for the UUID resolution functionality. Changes Since Last Review
Code Quality & Standards ✅
Testing & Documentation ✅
Basic Memory Architecture ✅
Security & Performance ✅
Compatibility ✅
Recommendation✅ Ready to merge! All previous blocking issues have been resolved:
The implementation is solid and addresses both the original PR goals (exposing external_id in EntityResponse and link resolver) and the Codex feedback about UUID canonicalization. |
Add external_id to V1 EntityResponse schema so consumers can reference notes by their stable UUID. Add UUID detection to link resolver so GET /{project}/knowledge/entities/{external_id} and GET /{project}/resource/{external_id} work out of the box.