-
Notifications
You must be signed in to change notification settings - Fork 3
Add org.hypercerts.claim.acknowledgement sidecar lexicon #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 3a549bc The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThis PR introduces a new acknowledgement lexicon as a sidecar record to track acknowledgements or consents, removing the project dataclass from the schema and establishing a new data structure that shares the same TID as activity records. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Possibly related PRs
Suggested reviewers
Poem
Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error)
✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
🤖 Fix all issues with AI agents
In `@ERD.puml`:
- Around line 321-323: The ERD references an undefined entity: change the
invalid relation "acknowledgement::contexts --> project" to point at the correct
sidecar entity or remove it; specifically update the acknowledgement::contexts
relation to reference collectionProject if acknowledgement contexts should
target the former project sidecar, otherwise delete the
acknowledgement::contexts --> project line so acknowledgement::contexts only
links to existing entities like collection.
In `@README.md`:
- Around line 641-642: Remove the duplicate horizontal rule in README.md by
deleting one of the two consecutive '---' separators so only a single horizontal
rule remains; locate the consecutive '---' entries and remove the redundant one
to restore proper section separation.
🧹 Nitpick comments (1)
ERD.puml (1)
192-214: Consider adding sidecar relationships to collection entity for consistency.The
acknowledgemententity shows an explicit sidecar relationship toactivity(line 321), but the collection sidecar entities (collectionLocation,collectionProject,collectionHyperboard) don't show their relationship to thecollectionentity.For diagram clarity and consistency, consider adding dotted relationships:
collectionLocation .. collection : "sidecar (same TID)" collectionProject .. collection : "sidecar (same TID)" collectionHyperboard .. collection : "sidecar (same TID)"
README.md
Outdated
|
|
||
| --- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove duplicate horizontal rule.
There are two consecutive --- separators here.
✏️ Proposed fix
**Sidecar Pattern**: This record shares the same TID as its parent collection record but uses a different collection namespace. This allows hyperboard-specific user/contributor displays to be added to collections for sponsorship billboard functionality.
---
----
-
### org.hypercerts.acknowledgement (Sidecar)🤖 Prompt for AI Agents
In `@README.md` around lines 641 - 642, Remove the duplicate horizontal rule in
README.md by deleting one of the two consecutive '---' separators so only a
single horizontal rule remains; locate the consecutive '---' entries and remove
the redundant one to restore proper section separation.
f985703 to
2a10d1c
Compare
…rts.acknowledgement (clean)
2a10d1c to
3a549bc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@README.md`:
- Around line 452-465: The README's acknowledgement sidecar text mentions
"collections or projects" but the ERD/schema only links
acknowledgement::contexts to collections; update to keep docs and schema aligned
by either (A) removing "projects" from the Sidecar Pattern and the Properties
description for the contexts field (`contexts`, `acknowledgement::contexts`) so
it only references collections, or (B) extend the ERD/schema to permit project
targets and document that change (update `acknowledgement::contexts` schema and
any ERD links to include project target type). Locate the `contexts` property
and the "Sidecar Pattern" paragraph in the README and apply the chosen
consistent change.
Summary
This PR introduces the
org.hypercerts.claim.acknowledgementlexicon, which facilitates explicit approval for associating records (subjects) with a specific context (e.g., activity-project inclusion, collection membership).Key Changes
New Lexicon: org.hypercerts.claim.acknowledgement for tracking approvals and association consents.
Flexible Subjects: Supports multiple subjects being approved for a single context.
Contextual Approval: Explicitly links approval to a target record via the context field.
Auto-generated Types: Updated API and TypeScript types to include the new lexicon.
Use Case Example
A user provides acknowledgement for their Hypercert Activity (subject) to be included within another user's Collection (context).
Summary by CodeRabbit
New Features
Documentation
Chores
✏️ Tip: You can customize this high-level summary in your review settings.