Repository navigation
Record command provenance at edit planning - #169
Conversation
|
Warning Review limit reached
More reviews will be available in 34 minutes. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more credits in the billing tab to continue. ⌛ How to resolve this issue?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 credits. 🚦 How do rate 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 see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (6)
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 |
Summary
This PR closes #168 by recording command provenance as an immutable edit-planning artifact instead of reconstructing it later from mutable editor state.
What changed
pendingCommandEventandlastCommandEventon opened text authority.:whyto prefer stored request-matched command evidence.lastVimEdit, stale receipt posture, and drift before settlement do not corrupt command attribution.Why
PR #167 made
:whyuseful, but review found the fragile class underneath it: command facts could be reconstructed from whatever the editor or authority happened to remember later. This patch keeps command evidence attached to the edit request that produced it.Validation
Passed locally:
npm run buildnpm run --silent qualitynpm run checkgit diff --checkLatest full check:
Review focus
Please review especially:
pendingCommandEvent/lastCommandEvent;:whyfallback behavior when no stored event exists;