add logic model for workScope - #107
Conversation
🦋 Changeset detectedLatest commit: 678de97 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 |
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughReplaces simple workScope strongRefs with an AST-based work scope logic system: adds workScopeAll/workScopeAny/workScopeNot/workScopeAtom in defs, introduces a reusable workScopeTag record, and updates activity.workScope to accept the new union-based AST (breaking change; migration required). Changes
Sequence Diagram(s)(omitted) Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 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.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In @.changeset/add-work-scope-logic.md:
- Around line 9-25: The changeset text refers to a non-existent `workScopeExpr`
alias and implies activity `workScope` references it; update the release notes
to match the implemented schema by either (A) replacing all mentions of
`workScopeExpr` with the actual union members `workScopeAll`, `workScopeAny`,
`workScopeNot`, and `workScopeAtom` and state that
`org.hypercerts.claim.activity#workScope` references the union of those types,
or (B) add a schema alias named `workScopeExpr` that points to the union of
`workScopeAll/Any/Not/Atom`; reference the symbols `workScopeAll`,
`workScopeAny`, `workScopeNot`, `workScopeAtom`, and
`org.hypercerts.claim.activity#workScope` so readers can find the exact
definitions.
362726a to
678de97
Compare
Summary by CodeRabbit
New Features
Breaking Changes
✏️ Tip: You can customize this high-level summary in your review settings.