Skip to content

chore: add OSS community-health scaffold and badges#14

Merged
amondnet merged 2 commits into
mainfrom
chore/oss-scaffold
Jul 1, 2026
Merged

chore: add OSS community-health scaffold and badges#14
amondnet merged 2 commits into
mainfrom
chore/oss-scaffold

Conversation

@amondnet

@amondnet amondnet commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the OSS community-health scaffold and standard badges for @pleaseai/cli-toolkit.

  • LICENSE — MIT, Copyright (c) 2026 Passion Factory (consistent with package.json "license": "MIT").
  • CONTRIBUTING.md — bun-based local setup (bun install, bun run lint, bun test, bun run type-check, bun run build); Conventional Commits guidance.
  • CODE_OF_CONDUCT.md — Contributor Covenant 2.1 (contact: conduct@pleaseai.dev).
  • SECURITY.md — private vulnerability reporting (contact: security@pleaseai.dev).
  • .github/PULL_REQUEST_TEMPLATE.md and .github/ISSUE_TEMPLATE/ (bug_report, feature_request, config.yml).
  • orca.yaml + .worktreeinclude — bun-only worktree setup (no mise, no submodules): bunx @pleaseai/worktreeinclude then bun install --frozen-lockfile.
  • README — added a License: MIT badge.

Notes

  • The README already had an npm-version badge (via badge.fury.io), so only the License badge was added — no duplicate npm badge.
  • Existing codecov.yml and sonar-project.properties were left untouched.
  • All documentation is written in English.

Summary by cubic

Adds OSS community-health files and a MIT License badge for @pleaseai/cli-toolkit, plus a Bun-only worktree setup for consistent local development.

  • New Features
    • Community health: MIT LICENSE, Contributor Covenant 2.1 (conduct@pleaseai.dev), SECURITY.md with private reporting (security@pleaseai.dev), and CONTRIBUTING.md (Bun workflow + Conventional Commits). Adds a License badge to the README.
    • Templates: PR template; issue templates for bugs and features; blank issues disabled; Discussions and Security advisory links added.
    • Dev tooling: orca.yaml and .worktreeinclude to bootstrap worktrees with bunx @pleaseai/worktreeinclude and bun install --frozen-lockfile.

Written for commit 5b7db67. Summary will update on new commits.

Summary by CodeRabbit

  • Documentation
    • Added GitHub issue templates for bug reports and feature requests, plus an issue template configuration to improve reporting and point users to the right channels.
    • Added a pull request template with a review/testing checklist.
    • Published code of conduct, contributing, and security policy docs; updated the README with a MIT license badge.
  • Chores
    • Improved development worktree setup by introducing worktree inclusion rules for local environment/settings files and an automated worktree initialization hook.

- LICENSE (MIT, Copyright (c) 2026 pleaseai)
- CONTRIBUTING.md (bun-based local setup)
- CODE_OF_CONDUCT.md (Contributor Covenant 2.1, conduct@pleaseai.dev)
- SECURITY.md (private reporting, security@pleaseai.dev)
- .github/PULL_REQUEST_TEMPLATE.md
- .github/ISSUE_TEMPLATE/{bug_report,feature_request,config}
- orca.yaml + .worktreeinclude (bun-only worktree setup)
- README: add License MIT badge
@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown

Review Change Stack

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: 7c799f86-d9b0-408c-a217-5e45e23eba2d

📥 Commits

Reviewing files that changed from the base of the PR and between 7ca4cc9 and 5b7db67.

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

📝 Walkthrough

Walkthrough

This PR adds repository governance and community files: GitHub issue and PR templates, CODE_OF_CONDUCT.md, CONTRIBUTING.md, SECURITY.md, an MIT LICENSE, a README license badge, and worktree automation files for new git worktrees.

Changes

Community docs and repo templates

Layer / File(s) Summary
Issue and PR templates
.github/ISSUE_TEMPLATE/bug_report.md, .github/ISSUE_TEMPLATE/feature_request.md, .github/ISSUE_TEMPLATE/config.yml, .github/PULL_REQUEST_TEMPLATE.md
Adds bug and feature request issue templates, disables blank issues, adds discussion and security contact links, and adds a PR template with title conventions and checklist.
Code of Conduct
CODE_OF_CONDUCT.md
Adds a Contributor Covenant-based policy covering pledge, standards, enforcement responsibilities, and attribution.
Contributing guide
CONTRIBUTING.md
Documents setup, development workflow checks, commit conventions, PR guidelines, and bug, feature, and security reporting links.
Security policy
SECURITY.md
Defines supported versions, private vulnerability reporting instructions, and response expectations.
License and README badge
LICENSE, README.md
Adds MIT license text and a README badge linking to it.
Worktree setup automation
.worktreeinclude, orca.yaml
Lists gitignored files to copy into new worktrees and defines an Orca setup script that copies them and runs bun install --frozen-lockfile.

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

Related Issues: None specified

Related PRs: None specified

Suggested labels: documentation, chore

Suggested reviewers: None specified

Poem:
A rabbit hops through docs anew,
Templates, badges, policies too.
Code of Conduct, License bright,
Worktrees copied left and right.
Contributing guide in tidy rows —
This burrow's rules, now everyone knows! 🐇📄

🚥 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 accurately summarizes the main change: adding OSS community-health docs, templates, and a license badge.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/oss-scaffold

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

@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request establishes the repository's community, contribution, and development tooling foundation. It adds issue and pull request templates, a Code of Conduct, contributing guidelines, an MIT license, a security policy, and worktree setup configurations (.worktreeinclude and orca.yaml) for automated development environments. There are no review comments, and I have no feedback to provide.

@greptile-apps

greptile-apps Bot commented Jul 1, 2026

Copy link
Copy Markdown

Greptile Summary

This PR adds the standard OSS community-health scaffold — MIT LICENSE, CONTRIBUTING.md, CODE_OF_CONDUCT.md (Contributor Covenant 2.1), SECURITY.md, GitHub issue/PR templates, and a License badge in the README — along with orca.yaml and .worktreeinclude for Bun-only worktree setup.

  • Community files (LICENSE, CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, templates) are well-written, internally consistent, and follow GitHub conventions; the Bun workflow commands match the scripts in package.json.
  • Worktree tooling (orca.yaml, .worktreeinclude) introduces a reproducible local-environment setup via bunx @pleaseai/worktreeinclude + bun install --frozen-lockfile; minor hardening gaps noted (see inline comments).

Confidence Score: 5/5

Safe to merge — all changes are documentation and dev-tooling scaffolding with no impact on the published package.

Every changed file is a community health document, GitHub template, or worktree-setup config; none of them affect the built library or CI pipeline. The two minor issues found (missing set -u in the Orca setup script and an omitted type-check step in the PR template) are quality-of-life improvements for contributors and have no runtime consequences.

No files require special attention; orca.yaml and .worktreeinclude have small hardening suggestions but are not blocking.

Important Files Changed

Filename Overview
.github/ISSUE_TEMPLATE/bug_report.md Standard bug report template with environment, reproduction steps, and expected behavior sections — well-structured.
.github/ISSUE_TEMPLATE/config.yml Disables blank issues and links to Discussions and the security advisory form — correct setup.
.github/ISSUE_TEMPLATE/feature_request.md Standard feature request template covering problem, solution, and alternatives — clean.
.github/PULL_REQUEST_TEMPLATE.md PR checklist aligns with Conventional Commits and bun workflow, though bun run type-check from CONTRIBUTING.md is omitted from the checklist.
.worktreeinclude Lists env files and .claude/settings.local.json for worktree copying; the latter is only gitignored via .git/info/exclude (not committed .gitignore), so copying will be machine-dependent.
CODE_OF_CONDUCT.md Verbatim Contributor Covenant 2.1 with conduct@pleaseai.dev as the enforcement contact — correct.
CONTRIBUTING.md Bun-based setup guide with Conventional Commits guidance; commands match package.json scripts.
LICENSE MIT License with year 2026 and "Passion Factory" as copyright holder (name diverges from package.json "PleaseAI" — noted in prior review).
README.md Adds a License: MIT badge with an absolute GitHub link — one-line change, clean.
SECURITY.md Standard security policy directing reporters to GitHub private advisories or security@pleaseai.dev — complete and clear.
orca.yaml Worktree setup script using set -e but not set -u; if ORCA_ROOT_PATH or ORCA_WORKTREE_PATH are unset, empty strings are silently passed to bunx. Unpinned bunx version noted in prior review.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Orca creates new worktree] --> B["orca.yaml scripts.setup runs"]
    B --> C["set -eu"]
    C --> D["bunx @pleaseai/worktreeinclude\n$ORCA_ROOT_PATH → $ORCA_WORKTREE_PATH"]
    D --> E{".worktreeinclude patterns\nAND git-ignored?"}
    E -->|Yes| F["Copy .env / .env.local\n.env.*.local files"]
    E -->|".claude/settings.local.json\n(only if .git/info/exclude set)"| G["Copy .claude/settings.local.json\n⚠ machine-dependent"]
    F --> H["bun install --frozen-lockfile"]
    G --> H
    H --> I[Worktree ready]
Loading
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
    A[Orca creates new worktree] --> B["orca.yaml scripts.setup runs"]
    B --> C["set -eu"]
    C --> D["bunx @pleaseai/worktreeinclude\n$ORCA_ROOT_PATH → $ORCA_WORKTREE_PATH"]
    D --> E{".worktreeinclude patterns\nAND git-ignored?"}
    E -->|Yes| F["Copy .env / .env.local\n.env.*.local files"]
    E -->|".claude/settings.local.json\n(only if .git/info/exclude set)"| G["Copy .claude/settings.local.json\n⚠ machine-dependent"]
    F --> H["bun install --frozen-lockfile"]
    G --> H
    H --> I[Worktree ready]
Loading

Reviews (2): Last reviewed commit: "chore: apply AI code review suggestions" | Re-trigger Greptile

Comment thread LICENSE
Comment thread orca.yaml
Comment thread README.md Outdated

@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: 2

🤖 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 `@orca.yaml`:
- Line 16: The worktree setup command in the Orca bootstrap config uses an
unpublished package, so it will fail at runtime. Replace the bunx invocation of
`@pleaseai/worktreeinclude` in the orca.yaml setup step with the correct available
tool or script, keeping the same ORCA_ROOT_PATH and ORCA_WORKTREE_PATH arguments
so the worktree creation flow still works.

In `@SECURITY.md`:
- Around line 5-12: The supported-version policy in SECURITY.md is ambiguous
because the prose suggests older versions may still get fixes while the table
marks them unsupported. Update the wording in the security policy text and the
supported matrix so they consistently state that only the latest released major
version is in scope for security fixes, and older versions are not supported
except at maintainers’ discretion if you want that exception explicitly called
out.
🪄 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: f8d65335-bd48-441c-b5bf-9c3375d1b509

📥 Commits

Reviewing files that changed from the base of the PR and between cf508f1 and 7ca4cc9.

📒 Files selected for processing (11)
  • .github/ISSUE_TEMPLATE/bug_report.md
  • .github/ISSUE_TEMPLATE/config.yml
  • .github/ISSUE_TEMPLATE/feature_request.md
  • .github/PULL_REQUEST_TEMPLATE.md
  • .worktreeinclude
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • LICENSE
  • README.md
  • SECURITY.md
  • orca.yaml

Comment thread orca.yaml
Comment thread SECURITY.md

@cubic-dev-ai cubic-dev-ai 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.

1 issue found across 11 files

Architecture diagram
sequenceDiagram
    participant Dev as Developer
    participant Repo as GitHub Repository
    participant GH as GitHub Issues/PRs
    participant CI as CI Pipeline
    participant Local as Local Env (Bun Worktree)

    Note over Dev,Local: NEW: OSS Community-Health Scaffold & Worktree Setup

    Dev->>Repo: Clone repo & checkout branch

    Repo->>Local: Read orca.yaml + .worktreeinclude
    Local->>Local: Run bunx @pleaseai/worktreeinclude
    Local->>Local: Copy .env, .env.*.local, settings.local.json
    Local->>Local: Run bun install --frozen-lockfile

    Dev->>Local: Run bun run lint / bun test / bun run type-check / bun run build
    Local-->>Dev: Lint/test/type-check/build results

    Dev->>GH: Open PR (uses PULL_REQUEST_TEMPLATE)
    GH->>Repo: Validate PR title follows Conventional Commits
    opt PR checklist
        GH->>GH: Check tests pass, lint passes, docs updated
    end

    alt Bug report
        Dev->>GH: Submit bug_report.md (with steps, env, logs)
        GH->>Repo: Labels issue "bug"
    else Feature request
        Dev->>GH: Submit feature_request.md (with problem, solution, alternatives)
        GH->>Repo: Labels issue "enhancement"
    else Security report
        Dev->>Repo: Use SECURITY.md private channel (security@pleaseai.dev)
        Repo->>Repo: Notify maintainers (within 72h)
    end

    Note over Dev,CI: NEW: Contribution lifecycle with conduct/code expectations

    Dev->>Repo: Submit contribution
    Repo->>GH: Enforce CODE_OF_CONDUCT.md (conduct@pleaseai.dev)
    alt Violation detected
        GH->>Repo: Community leader review
        Repo->>Dev: Warning / temporary ban / permanent ban
    end

    Repo->>CI: Trigger CI on PR
    CI->>CI: Run tests (bun test), lint (bun run lint), type-check, build
    CI-->>Dev: CI results (green/red)

    Dev-->>Repo: Merge PR (squash commit with Conventional Commits title)

    Note over Repo: README displays License: MIT badge (via shields.io)
Loading

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread orca.yaml
@sonarqubecloud

sonarqubecloud Bot commented Jul 1, 2026

Copy link
Copy Markdown

@amondnet
amondnet merged commit f1d2c29 into main Jul 1, 2026
9 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