Skip to content

chore: point CodeRabbit at this repository's own conventions - #402

Merged
btravers merged 3 commits into
mainfrom
chore/coderabbit
Aug 26, 2026
Merged

chore: point CodeRabbit at this repository's own conventions#402
btravers merged 3 commits into
mainfrom
chore/coderabbit

Conversation

@btravers

@btravers btravers commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Adds a .coderabbit.yaml now that CodeRabbit is installed on the org.

It points at this repository's spec rather than restating it. The
conventions are already written down and already reviewed; a second copy in
YAML would be a fifth copy with no gate, which is the drift this org keeps
meeting. So path_instructions say read the spec file, hold the diff to it,
and spell out only the handful of things a generic reviewer gets actively
wrong — the ones where a suggestion is not debatable but simply not how this
codebase works.

path_filters keep generated output and the lockfile out of what it reads.

Nothing else is configured. Every other key stays at its default, deliberately:
profile: chill, no poem, no request_changes_workflow, no tools block —
the linters CodeRabbit runs are the ones whose config it finds, and this repo's
gate already runs them in CI.

Two knobs worth knowing about rather than setting blind:

  • reviews.profile: assertive raises the nitpick volume. Worth trying once
    there is a review or two to judge it against.
  • reviews.request_changes_workflow: true makes CodeRabbit block a PR until
    its comments are resolved. Off by default, and it should probably stay off
    until the instructions have been tuned.

The GitHub App install itself is a click in the CodeRabbit dashboard — this file
does nothing until the app can see the repository.

Summary by CodeRabbit

  • Chores
    • Added project review guidelines covering TypeScript conventions, error handling, imports, comments, and specification validation.
    • Excluded generated files, build output, and lockfiles from automated review.

A `.coderabbit.yaml` whose `path_instructions` name the spec file rather than
restating it, so there is one copy of the rules and it is the one already
under review. The `path_filters` keep generated output and the lockfile out
of the diff it reads.
@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

Next included review available in 35 minutes.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: cb89b7bd-8772-4f5e-8d61-5156d0aba2de

📥 Commits

Reviewing files that changed from the base of the PR and between 153324c and 9de3a2b.

📒 Files selected for processing (1)
  • .coderabbit.yaml

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 9a9cdf34-c5d0-481f-a99f-6ac131cd6cd8

📥 Commits

Reviewing files that changed from the base of the PR and between 48d1338 and 153324c.

📒 Files selected for processing (1)
  • .coderabbit.yaml

Included review availability: Your plan provides up to 10 included reviews per hour; 4 remain after this review.


📝 Walkthrough

Walkthrough

The pull request adds .coderabbit.yaml. The configuration defines review exclusions and project-specific guidance for TypeScript and specification files.

Changes

CodeRabbit Configuration

Layer / File(s) Summary
Review filters and project guidance
.coderabbit.yaml
Adds review path filters and documents conventions for Result/AsyncResult, error handling, combinators, types, imports, comments, and specification validation.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to 15332

This change only adds repository-specific review guidance and excludes generated files and the lockfile; no actionable merge-blocking risk remains beyond normal checks and review.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: configuring CodeRabbit to use this repository's conventions.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/coderabbit

Comment @coderabbitai help to get the list of available commands.

CodeRabbit auto-detects them as code guidelines. Naming them in
`path_instructions` tells it to REVIEW those files rather than USE them, which
is the opposite of what the entry was for — and it made the rest of the
instructions redundant, since auto-detection was already loading the spec.

The claim check the entry existed for moves onto the code's own glob, where
it belongs: when a diff changes the spec alongside the code, hold the spec to
the code.
Every `path_filter` except the lockfile named a path git already ignores —
`src/generated/**`, `.vitepress/dist/**`, `.vitepress/cache/**` — so none of
them could ever appear in a diff for CodeRabbit to filter. Checked with
`git ls-files` across all seven repositories: zero tracked files behind any of
them. `pnpm-lock.yaml` is the one that is tracked, and the one worth filtering.
@btravers
btravers merged commit a2d7514 into main Aug 26, 2026
13 checks passed
@btravers
btravers deleted the chore/coderabbit branch August 26, 2026 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant