Skip to content

docs: contributor onboarding path + CODEOWNERS for bus-factor mitigation#132

Closed
clean6378-max-it wants to merge 1 commit into
masterfrom
docs/contributor-onboarding
Closed

docs: contributor onboarding path + CODEOWNERS for bus-factor mitigation#132
clean6378-max-it wants to merge 1 commit into
masterfrom
docs/contributor-onboarding

Conversation

@clean6378-max-it

@clean6378-max-it clean6378-max-it commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add docs/onboarding.md with first-PR walkthrough (fork → branch → dev setup → full local gate → PR), suggested reading order (architecture → jsonl_parser → dispatch → SPA), good-first-issue links, and bus-factor mitigation context.
  • Add .github/CODEOWNERS naming @clean6378-max-it with documented review expectation (no self-merge without approval).
  • Cross-link from CONTRIBUTING.md, README.md (brief bus-factor note), and docs/architecture.md.

Docs/process only — no source-behavior change.

Fixes #129

Test plan

  • ruff check . green (docs-only; no Python source changes)
  • Manual: verified relative links in docs/onboarding.md, CONTRIBUTING.md, and README.md resolve
  • Manual: .github/CODEOWNERS syntax follows GitHub code owners format
  • CI green on PR (lint-and-audit, pytest, integration, js-tests)

Made with Cursor

Summary by CodeRabbit

  • Documentation
    • Added a contributor onboarding guide with setup instructions, suggested reading order, PR workflow, review expectations, and good-first-issue guidance.
    • Updated development documentation to link to the onboarding guide.
    • Added onboarding guidance to related architecture documentation.
  • Chores
    • Added repository ownership and review rules for documentation and workflow files.

Add docs/onboarding.md with first-PR walkthrough, reading order, and full
local gate commands. Wire .github/CODEOWNERS for review routing and record
bus-factor risk + mitigation in README with cross-links from CONTRIBUTING
and architecture docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Adds a contributor onboarding guide, links it from existing documentation, documents maintainer coverage, and introduces CODEOWNERS rules for repository, documentation, and GitHub configuration paths.

Changes

Contributor process

Layer / File(s) Summary
Contributor onboarding path
docs/onboarding.md, CONTRIBUTING.md, docs/architecture.md
Adds a first-PR workflow, suggested reading order, local validation commands, reviewer expectations, good-first-issue links, and cross-references to the onboarding guide.
Ownership and maintainer coverage
.github/CODEOWNERS, README.md
Defines default and path-specific code ownership rules and documents maintainer coverage with links to CODEOWNERS and onboarding guidance.

Estimated code review effort: 1 (Trivial) | ~5 minutes

🚥 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 docs-only onboarding and CODEOWNERS changes.
Linked Issues check ✅ Passed The PR adds the onboarding guide, CODEOWNERS, bus-factor note, and doc cross-links required by #129.
Out of Scope Changes check ✅ Passed The changes stay within documentation and review-routing scope with no source-behavior edits.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/contributor-onboarding

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

@clean6378-max-it clean6378-max-it deleted the docs/contributor-onboarding branch July 14, 2026 13:53

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
.github/CODEOWNERS (1)

7-16: 📐 Maintainability & Code Quality | 🔵 Trivial

Add backup ownership if this is intended to mitigate bus factor.

Every rule routes to @clean6378-max-it, so this provides deterministic routing but no reviewer redundancy. Consider adding a second maintainer/team owner or documenting an escalation path.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/CODEOWNERS around lines 7 - 16, Add backup ownership to the
CODEOWNERS rules by assigning a second maintainer or team alongside
`@clean6378-max-it`, or document an explicit escalation path if backup ownership
is handled elsewhere. Apply the chosen redundancy consistently to the default,
documentation, and CI/workflow rules.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/onboarding.md`:
- Around line 63-87: Update the “Run the full local gate” section to match CI:
state that only applicable checks run on each platform rather than claiming all
commands run on Ubuntu, Windows, and macOS; replace the mypy command with the
production package checks for api, utils, and models plus the separate tests
check using mypy-tests.ini and follow-imports skip; and include
tests/test_search.py alongside tests/test_api_integration.py in the integration
command.

---

Nitpick comments:
In @.github/CODEOWNERS:
- Around line 7-16: Add backup ownership to the CODEOWNERS rules by assigning a
second maintainer or team alongside `@clean6378-max-it`, or document an explicit
escalation path if backup ownership is handled elsewhere. Apply the chosen
redundancy consistently to the default, documentation, and CI/workflow rules.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 45d96ac3-075d-4250-b0bf-ba98c6f08e5b

📥 Commits

Reviewing files that changed from the base of the PR and between f294fb9 and 91d0640.

📒 Files selected for processing (5)
  • .github/CODEOWNERS
  • CONTRIBUTING.md
  • README.md
  • docs/architecture.md
  • docs/onboarding.md

Comment thread docs/onboarding.md
Comment on lines +63 to +87
### 5. Run the full local gate

CI runs these on Ubuntu, Windows, and macOS. Run them locally before opening a PR:

```bash
# Lint + format (required)
ruff check .
ruff format --check .

# Type check (Ubuntu CI job; run locally before Python-heavy changes)
mypy -p api -p utils -p models -p scripts

# Security audit (production deps)
pip-audit -r requirements.txt

# Python tests (full suite)
pytest -q

# Integration subset (also run in CI)
pytest tests/test_api_integration.py -v

# Frontend — only if you changed static/js/
npm ci
npm test
```

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Align the documented local gate with CI.

This section currently differs from the supplied CI contract:

  • CI runs mypy -p api -p utils -p models, then separately checks tests with mypy tests --config-file mypy-tests.ini --follow-imports skip; it does not run mypy -p scripts.
  • The integration job runs both tests/test_api_integration.py and tests/test_search.py, but this guide omits the search tests.
  • Mypy is documented as an Ubuntu-only CI check elsewhere, so “these” should not claim every command runs on all three operating systems.

Please update the commands and platform wording so contributors can reproduce the actual gate.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/onboarding.md` around lines 63 - 87, Update the “Run the full local
gate” section to match CI: state that only applicable checks run on each
platform rather than claiming all commands run on Ubuntu, Windows, and macOS;
replace the mypy command with the production package checks for api, utils, and
models plus the separate tests check using mypy-tests.ini and follow-imports
skip; and include tests/test_search.py alongside tests/test_api_integration.py
in the integration command.

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.

claude-code-chat-browser: contributor onboarding path + CODEOWNERS for bus-factor mitigation

2 participants