Skip to content

docs: slim CONTRIBUTING.md to the essentials - #40272

Merged
AmethystLiang merged 4 commits into
mainfrom
docs/slim-contributing-guide
Nov 9, 2026
Merged

AmethystLiang merged 4 commits into
mainfrom
docs/slim-contributing-guide

Conversation

@AmethystLiang

@AmethystLiang AmethystLiang commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

AI agents load CONTRIBUTING.md often, and it had grown to 298 lines that were mostly reference material and internals. It is now 73 lines covering what a contributor needs to get a PR merged. The setup details that still matter are in a 53-line docs/development.md, and the rest is gone. Total: 126 lines, down from 298.

Files Added Deleted Net
Test 0 0 0 0
Prod 4 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​92 $\color{#cf222e}{\Huge{\mathbf{−}}}$​257 $\color{#cf222e}{\Huge{\mathbf{−}}}$​165

What Changed

  • .github/CONTRIBUTING.md (298 → 73 lines) keeps setup and dev commands, branch naming, code guidelines, the checks CI runs, targeted test commands, PR expectations (matching the PR template), and where to get help (new: Discord and issues).
  • New docs/development.md (53 lines) holds what people actually run into:
    • per-OS native prerequisites
    • the Corepack/Windows EPERM workaround
    • dev profile flags and seeding
    • the pnpm global virtual store opt-out and the stray ~/node_modules warning
    • install:release before cross-arch builds
    • Docker for Linux builds
    • a short troubleshooting list of env toggles
  • README: adds the release-candidate Homebrew cask (stablyai/orca/orca@rc) next to the stable install line. CONTRIBUTING.md was its only mention.
  • .gitignore: allowlists docs/development.md (docs/** is ignored by default).

Why

Cut:

  • Internals no contributor acts on: the Node 18/24 launcher split, test-worker isolation mechanics, typecheck cache internals, bundled-dev-mode internals, and pnpm virtual-store linking details.
  • The maintainer release-process write-up. It was already stale: it misses the workflow's dry-run, prerelease-identifier, and exact-version inputs. The Cut Release workflow documents itself, and CONTRIBUTING links to it.
  • PR guidance that repeated pull_request_template.md, plus the X-handle request, which pointed to an "Author" section the template no longer has.
  • The stale config/scripts/orca-dev.mjs path.

Unchanged:

  • The anchors other files link to, #targeting-local-tests (AGENTS.md) and #type-declarations-prefer-ts-over-dts (pr.yml), still resolve.
  • Every kept command exists in package.json, and every kept path exists in the repo.

Linked Issue

Maintainer request (Slack).

Visual Proof

N/A: docs only, no visual or interaction change.

Testing

  • pnpm check:changed passes (format, README local links, changed-code quality).

Risk

Level: Low. Docs only. To back it out, revert the PR.

Move dev-environment reference into docs/development.md and the maintainer
release process into docs/releasing.md.
@coderabbitai

coderabbitai Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The contribution guide is reorganized to cover local setup, code guidelines, testing, pull requests, release versions, and getting help. A new development document describes prerequisites, profiles, installation, builds, and troubleshooting. The README adds instructions for installing the Homebrew release-candidate cask and notes its conflict with the stable cask. The ignore rules allow the new development document.

Merge Risk: Minimal · up to 4cd4a

This is a documentation-only change that slims the contributor guide and adds a development setup doc. It has no runtime impact and can be merged.

Pre-merge checks: Passed 5

Check name Status Explanation
Title check Passed The title clearly summarizes the main change: reducing CONTRIBUTING.md to essential guidance.
Description check Passed The description is mostly complete. It explains the change and reason, describes visual impact, reports testing, and states risk and rollback. Some template sections are blank or incomplete, including…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
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: Description check

Explanation

The description is mostly complete. It explains the change and reason, describes visual impact, reports testing, and states risk and rollback. Some template sections are blank or incomplete, including Review, the upstream-boundary checkbox, Notes, and several checklist items.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ab0a2dc1-919b-49ba-b047-7dcfed259e01
Commits

Reviewing files that changed from the base of the PR and between 39d5bb8 and 4cd4ab5.

Files selected for processing: 1

  • docs/development.md
Files skipped from review as they are similar to previous changes: 1

  • docs/development.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 53cd3cd8-4ea0-4d01-b9c9-9b6acf00a384
Commits

Reviewing files that changed from the base of the PR and between f10be53 and 3c46ffb.

Files selected for processing: 4

  • .github/CONTRIBUTING.md
  • .gitignore
  • docs/development.md
  • docs/releasing.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.

Comment thread .github/CONTRIBUTING.md Resolved
Trim docs/development.md to the setup steps people actually hit, drop
docs/releasing.md in favor of the self-documenting Cut Release workflow,
and move the RC Homebrew cask into the README.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0c7957a9-478f-48a2-bd42-945dce7bdb22
Commits

Reviewing files that changed from the base of the PR and between def1084 and 39d5bb8.

Files selected for processing: 4

  • .github/CONTRIBUTING.md
  • .gitignore
  • README.md
  • docs/development.md
Files with no reviewable changes: 1

  • .gitignore

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.

Comment thread docs/development.md Resolved
@AmethystLiang
AmethystLiang merged commit 2fca8c3 into main Nov 9, 2026
35 checks passed
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