feat: provide typed engagement message contracts - #1727
Conversation
|
Warning Review limit reached
Next review available in: 57 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (48)
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 |
📊 Benchmark Results✅ All benchmarks passed
Updated: 2026-08-08T07:32:16.883Z · Commit: 448e004 |
d87168f to
ea21687
Compare
|
Caution Failed to replace (edit) comment. This is likely due to insufficient permissions or the comment being deleted. Error details |
ea21687 to
90eff86
Compare
|
Caution Failed to replace (edit) comment. This is likely due to insufficient permissions or the comment being deleted. Error details |
90eff86 to
c88322f
Compare
c88322f to
7885461
Compare
7885461 to
38bf06b
Compare
Outcome
Adds @croco/engagement-core with Zod-backed message descriptors, fixed channel contracts, decorator-bound renderer registration, and runtime validation before rendering. It ships inspectable registry metadata and stable Problems for invalid definitions or bindings.
Fixes #1530
Verification
Review notes
TypeScript does not contextually infer parameters of legacy class methods from implements. Strict examples therefore use MessageContext, which infers data and avoids repeating a per-channel generic.