Add formatter guardrails and contributor docs - #8
Conversation
|
Warning Review limit reached
More reviews will be available in 18 minutes and 56 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ 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: CHILL Plan: Pro Run ID: 📒 Files selected for processing (14)
✨ 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 |
|
This PR adds RuboCop guardrails, EditorConfig, and contributor docs that the repo needed. The rubocop config passes cleanly against the existing tree, the EditorConfig is sensible, and CONTRIBUTING.md is clear. Four issues to address before merge: 1. Two AGENTS.md seam keys are now stale
2.
|
Address-review summaryScan scope: full PR history; no prior address-review summary cutoff. Mattered
Optional
Skipped
Validation after fixes:
Next default scan starts after this comment. Say |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 444382cabf
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Code Review: Add formatter guardrails and contributor docsThis PR adds 1. RuboCop runs twice on every PR (medium)
Pick one of:
The current belt-and-suspenders approach doubles CI cost and surfaces two identical status checks per PR. 2. RuboCop version pinned in two separate files (medium)
Fix: a repository-level Actions variable ( 3.
|
Address-review summaryScan scope: review activity after 2026-06-25T08:03:20Z. Mattered
Optional
Skipped
Validation:
Next default scan starts after this comment. Say |
Review: Add formatter guardrails and contributor docsThis PR cleanly introduces RuboCop enforcement, EditorConfig, and contributor docs. The Findings (most severe first): 1. CI pins 2. CHANGELOG.md uses Keep a Changelog convention is 3. CONTRIBUTING.md redundant The 'Before Opening A PR' checklist says 'Run rubocop after Ruby helper or test changes' but 4.
Out of scope / refuted:
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4b72426238
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Address-review summaryScan scope: review activity after 2026-06-25T08:20:25Z. Mattered
Optional
Skipped
Validation:
Next default scan starts after this comment. Say |
Code ReviewThis PR wires RuboCop 1.87.0 into the validation pipeline, adds Six findings inline; summary below ranked by severity. Must fixCHANGELOG.md — two entries violate the
CHANGELOG.md — version diff links missing Should fix
Consider
|
Address-review summaryScan scope: review activity after 2026-06-25T08:34:16Z. Mattered
Optional
Skipped
Validation:
Next default scan starts after this comment. Say |
Review: Add formatter guardrails and contributor docsThis PR adds RuboCop 1.87.0 with a double-quote style policy, Issues found (inline comments below):
|
Address-review summaryScan scope: review activity after 2026-06-25T08:52:37Z. Mattered
Optional
Skipped
Validation state for 3be08e5:
Next default scan starts after this comment. Say |
Summary
.rubocop.ymlthat pins Ruby string literals to double quotes while disabling only the existing-tree cops needed for read-only RuboCop to pass..editorconfig,CONTRIBUTING.md, and aCHANGELOG.mdseeded from merged PRs Fix seam-doctor crash under a non-UTF-8 locale #1, Harden pack Ruby tools against non-UTF-8 locales #3, Add CI workflow to run bin/validate #4, and Port pr-security-preflight review-thread resolution to the pack #5.Lintworkflow that installs RuboCop 1.87.0 and runsrubocopon pull requests.Validation
rubocop-> 15 files inspected, no offenses detected.bin/validate->PASS agent-workflows validation.git diff --check-> clean.codex review --base origin/main-> no actionable bugs found. The review sandbox could not runbin/validatebecause it was read-only and had no writable temp directory; the normal localbin/validaterun above passed.Formatter Diagnostic
After adding
.rubocop.yml, I created a temporarytmp_formatter_probe.rbthrough the edit path withputs "double quote probe". The file stayed double-quoted in the diff, then I removed it before commit. That suggests the repo RuboCop config tames the edit-time formatter in this environment.