docs(calendar): confirm scope before editing recurring events - #2119
Conversation
Promote the recurring-event rule to a pre-routing gate so it is read before the specific operation flow, and require confirming the scope (this event / all / this-and-following) when the user is ambiguous instead of defaulting to this-event-only. Removes the redundant and conflicting "edit existing event" row that hard-coded the single- instance default.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughChangesRecurring calendar guidance
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
🚀 PR Preview Install Guide🧰 CLI updatenpm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@7d650d026a5e9831dda0110085de875442744222🧩 Skill updatenpx skills add larksuite/cli#docs/calendar-recurring-confirm-scope -y -g |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2119 +/- ##
==========================================
- Coverage 75.25% 75.24% -0.01%
==========================================
Files 916 916
Lines 97173 97255 +82
==========================================
+ Hits 73123 73175 +52
- Misses 18437 18463 +26
- Partials 5613 5617 +4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
When editing a recurring event with an ambiguous scope (e.g. "add a meeting room to tomorrow's event"), the skill previously defaulted to the single-instance ("this event only") behavior, so the agent never asked the user which scope they meant. This change makes scope confirmation a pre-routing gate.
Changes
this event / all / this-and-following) when the user is ambiguous, instead of silently defaulting to this-event-only.event_id— that default was the root cause of the missed confirmation.lark-calendar-recurring.mdas a concrete "scope unclear → must ask" case.Test Plan
skills/lark-calendar/SKILL.mdandreferences/lark-calendar-recurring.md; verified rendered Markdown and internal linksRelated Issues
Summary by CodeRabbit