Skip to content

docs: add CONTRIBUTING.md, issue templates, and PR template#10

Open
evanofficial wants to merge 2 commits into
mainfrom
docs/contributor-scaffold
Open

docs: add CONTRIBUTING.md, issue templates, and PR template#10
evanofficial wants to merge 2 commits into
mainfrom
docs/contributor-scaffold

Conversation

@evanofficial

@evanofficial evanofficial commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator

Closes #4.

What

Adds the standard contributor-facing scaffold the repo was missing:

  • CONTRIBUTING.md (repo root) — build & test (./gradlew :core:test, JDK 17 auto-provisioned via foojay-resolver), :core-only scope, the verify-after-write + rollback contract PRs must not weaken, the two CI jobs (core-test + the fsck.fat -n oracle), test-style pointers (InMemoryBlockDevice / Fat12ImageBuilder), a link to the version-pinned golden-image procedure in testdata/README.md, and Apache-2.0 / license expectations (LICENSE / NOTICE / PROVENANCE.md).
  • .github/ISSUE_TEMPLATE/bug_report.md and feature_request.md — both include a "correctness-contract impact" prompt and a scope check.
  • .github/PULL_REQUEST_TEMPLATE.md — checklist: tests added, :core test green, no weakening of the write/rollback contract without justification, goldens unchanged, one focused change.

Notes

  • Pure documentation — no code paths touched.
  • Everything is grounded in the actual ci.yml, testdata/README.md, and license files rather than generic boilerplate.
  • As you noted in the issue, CONTRIBUTING.md encodes project conventions — this is a starting draft, so edit anything that doesn't match how you want the project run. The issue/PR templates are the more newcomer-oriented part.

Summary by CodeRabbit

  • Documentation

    • Added/updated contributor guidance covering build/test steps, repository scope, correctness-contract expectations, CI behavior, and golden image rules.
    • Added structured issue templates for bug reports (including FAT12 engine guidance) and feature requests.
    • Added a pull request template with required sections and correctness-contract checklist.
  • Chores

    • Improved submission workflow consistency with standardized templates and contributor checklists.

Scaffold the standard contributor-facing docs the repo was missing:

- CONTRIBUTING.md — build/test (./gradlew :core:test, JDK 17 auto-provisioned),
  :core-only scope, the verify-after-write + rollback contract PRs must not
  weaken, the two CI jobs (core-test + fsck.fat -n oracle), the test-style
  pointers, the version-pinned golden-image procedure, and Apache-2.0 / DCO
  expectations (LICENSE / NOTICE / PROVENANCE.md).
- .github/ISSUE_TEMPLATE/bug_report.md and feature_request.md.
- .github/PULL_REQUEST_TEMPLATE.md with a checklist (tests added, :core test
  green, no weakening of the write/rollback contract without justification,
  goldens unchanged).

Fixes #4
@coderabbitai

coderabbitai Bot commented Jun 28, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

.coderabbit.yaml has a parsing error

The CodeRabbit configuration file in this repository has a parsing error and default settings were used instead. Please fix the error(s) in the configuration file. You can initialize chat with CodeRabbit to get help with the configuration file.

💥 Parsing errors (1)
Validation error: Too big: expected string to have <=250 characters at "tone_instructions"
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 4ba67819-c8fa-4e03-93db-051d4c7d1d91

📥 Commits

Reviewing files that changed from the base of the PR and between c0a47b1 and b343d43.

📒 Files selected for processing (1)
  • .github/PULL_REQUEST_TEMPLATE.md
✅ Files skipped from review due to trivial changes (1)
  • .github/PULL_REQUEST_TEMPLATE.md

📝 Walkthrough

Walkthrough

Adds CONTRIBUTING.md, a pull request template, and bug-report and feature-request issue templates under .github/. The changes add contributor guidance for build/test steps, scope, correctness-contract expectations, and issue/PR submission structure.

Changes

Contributor Documentation Scaffold

Layer / File(s) Summary
CONTRIBUTING.md and PR template
CONTRIBUTING.md, .github/PULL_REQUEST_TEMPLATE.md
CONTRIBUTING.md documents build/test commands, repository scope, the write-path correctness/rollback contract, CI jobs, golden-image rules, PR style, and licensing. The PR template adds checklist items for tests, ./gradlew :core:test, scope, golden-image stability, and the correctness contract.
Issue templates
.github/ISSUE_TEMPLATE/bug_report.md, .github/ISSUE_TEMPLATE/feature_request.md
The bug-report template prompts for reproduction steps, expected and actual behavior, environment details, and correctness-contract impact. The feature-request template prompts for summary, motivation, proposed API/change, scope check, alternatives, and additional context.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Poem

🐇 I hopped through the repo with a clipboard bright,
Found templates and docs that felt just right.
Bugs now have prompts and PRs have a guide,
A tidy little warren for folks who abide.

🚥 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 documentation-only changes to CONTRIBUTING.md and GitHub templates.
Linked Issues check ✅ Passed The PR adds all required docs and templates and covers the requested build, scope, rollback, CI, and provenance guidance.
Out of Scope Changes check ✅ Passed The changes stay within contributor documentation and templates with no unrelated code or feature work.
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-scaffold

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

@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

🤖 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 @.github/PULL_REQUEST_TEMPLATE.md:
- Line 29: The checkbox text in the pull request template uses wording that
doesn’t match the repository docs for the Android demonstrator. Update the
wording in the template to use the repo’s terminology for the Android
demonstrator instead of calling it a separate repo, keeping the scope guidance
accurate and aligned with the rest of the docs.
🪄 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 Plus

Run ID: 0d6b5604-c21d-4f15-a446-55fa390a2704

📥 Commits

Reviewing files that changed from the base of the PR and between d5f998f and c0a47b1.

📒 Files selected for processing (4)
  • .github/ISSUE_TEMPLATE/bug_report.md
  • .github/ISSUE_TEMPLATE/feature_request.md
  • .github/PULL_REQUEST_TEMPLATE.md
  • CONTRIBUTING.md

Comment thread .github/PULL_REQUEST_TEMPLATE.md Outdated
Match the README's phrasing — the Android demonstrator is 'separate and not
part of this repository' — rather than asserting it is a separate repo.

Addresses CodeRabbit review feedback on this PR.
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.

Add contributor docs: CONTRIBUTING.md, issue templates, PR template

1 participant