docs: add codebase minimization guideline to AGENTS.md#661
Conversation
|
Warning Review limit reached
Next review available in: 16 minutes Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab. 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. WalkthroughAGENTS.md adds a convention favoring unified cross-platform functions and methods over duplicated platform-specific helpers. ChangesProject conventions
Estimated code review effort: 1 (Trivial) | ~2 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 |
Vasanthdev2004
left a comment
There was a problem hiding this comment.
Trivial docs change — adds one bullet to the AGENTS.md example conventions block encouraging contributors to unify cross-platform helpers instead of duplicating per-platform. It's reasonable, reads in the same imperative voice as the surrounding bullets, and names no external tools or competitors. Merges clean. Approving.
|
please fix conflict @euxaristia |
4b02dda to
7af0831
Compare
7af0831 to
180a909
Compare
|
Rebased onto main (was 7 commits behind) and force-pushed. Checked with git merge-tree beforehand: there was no actual content conflict, it resolved cleanly. The one-line AGENTS.md addition applies as-is on top of current main. |
Add a project convention encouraging contributors and agents to unify functions/methods where possible, preferring a single cross-platform function with conditional checks over duplicating helpers per platform.
This principle was validated in PR #660 where we consolidated windowsSandboxChildEnv and sandboxEnvironmentForCommand into a single unified function, saving ~19 lines of code without removing any functionality.
Summary by CodeRabbit