chore: add Apache-2.0 LICENSE and community-health files#16
Conversation
📝 WalkthroughWalkthroughAdds GitHub community health files, licensing metadata, and an npm badge update for the repository. ChangesRepository Community Files
Estimated code review effort: 1 (Trivial) | ~5 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Not up to standards ⛔🔴 Issues
|
| Category | Results |
|---|---|
| Security | 1 high |
🟢 Metrics 0 complexity · 0 duplication
Metric Results Complexity 0 Duplication 0
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Greptile SummaryThis PR formalizes the Apache-2.0 license that was already declared in all 8 sub-packages and the README by adding a root
Confidence Score: 5/5Documentation and community-health files only — no runtime code changes; safe to merge. All changed files are documentation, license text, and GitHub community-health metadata. All internal cross-references (docs/EMULATOR-CONVENTIONS.md, packages/emulate/src/registry.ts, mise run ci task) were verified to exist in the repository. The Apache-2.0 license text is canonical, the NOTICE correctly attributes the upstream project, and the package.json license field aligns with the 8 sub-packages that already declared it. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
subgraph Root["Repository Root (new files)"]
LICENSE["LICENSE\nApache-2.0 full text\nCopyright 2026 Passion Factory"]
NOTICE["NOTICE\nAttribution to vercel-labs/emulate\nChris Tate, Copyright 2025"]
COC["CODE_OF_CONDUCT.md\nContributor Covenant 2.1\nconduct@pleaseai.dev"]
CONTRIB["CONTRIBUTING.md\nmise install + bun install\nmise run ci"]
SEC["SECURITY.md\nGitHub private reporting\nsecurity@pleaseai.dev"]
end
subgraph GH[".github/"]
PR_TPL[".github/PULL_REQUEST_TEMPLATE.md"]
BUG[".github/ISSUE_TEMPLATE/bug_report.md"]
FEAT[".github/ISSUE_TEMPLATE/feature_request.md"]
CFG[".github/ISSUE_TEMPLATE/config.yml\nblank_issues_enabled: false"]
end
subgraph Changed["Modified files"]
PKG["package.json\nadded license: Apache-2.0"]
README["README.md\nadded npm + license badges"]
end
LICENSE -->|required by| NOTICE
SEC -->|cross-references| CFG
CONTRIB -->|cross-references| COC
CONTRIB -->|cross-references| SEC
%%{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
subgraph Root["Repository Root (new files)"]
LICENSE["LICENSE\nApache-2.0 full text\nCopyright 2026 Passion Factory"]
NOTICE["NOTICE\nAttribution to vercel-labs/emulate\nChris Tate, Copyright 2025"]
COC["CODE_OF_CONDUCT.md\nContributor Covenant 2.1\nconduct@pleaseai.dev"]
CONTRIB["CONTRIBUTING.md\nmise install + bun install\nmise run ci"]
SEC["SECURITY.md\nGitHub private reporting\nsecurity@pleaseai.dev"]
end
subgraph GH[".github/"]
PR_TPL[".github/PULL_REQUEST_TEMPLATE.md"]
BUG[".github/ISSUE_TEMPLATE/bug_report.md"]
FEAT[".github/ISSUE_TEMPLATE/feature_request.md"]
CFG[".github/ISSUE_TEMPLATE/config.yml\nblank_issues_enabled: false"]
end
subgraph Changed["Modified files"]
PKG["package.json\nadded license: Apache-2.0"]
README["README.md\nadded npm + license badges"]
end
LICENSE -->|required by| NOTICE
SEC -->|cross-references| CFG
CONTRIB -->|cross-references| COC
CONTRIB -->|cross-references| SEC
Reviews (4): Last reviewed commit: "chore: restore canonical Apache-2.0 lice..." | Re-trigger Greptile |
There was a problem hiding this comment.
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 `@LICENSE`:
- Around line 185-188: The LICENSE file currently includes extra employer-IP
guidance mixed into the Apache-2.0 boilerplate, which makes it no longer match
the standard text. Remove that note from LICENSE or move it to separate
documentation, and keep the Apache-2.0 appendix text verbatim; use the existing
LICENSE content near the appended boilerplate to locate the offending paragraph.
🪄 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: fe5c07c6-8d26-4569-84fc-e487a0c6dae3
📒 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.mdCODE_OF_CONDUCT.mdCONTRIBUTING.mdLICENSENOTICEREADME.mdSECURITY.mdpackage.json
There was a problem hiding this comment.
1 issue found across 11 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="LICENSE">
<violation number="1" location="LICENSE:185">
P2: Keep the Apache 2.0 appendix boilerplate verbatim. This custom employer-IP sentence alters the canonical license text and can create ambiguity about the applied license terms.</violation>
</file>
Architecture diagram
sequenceDiagram
participant Repo as Repository
participant GitHub as GitHub platform
participant npm as npm registry
participant Dev as Contributors
Note over Repo,Dev: PR adds standard OSS files (no code change)
Dev->>GitHub: Opens issue using NEW: issue template
GitHub->>Repo: Renders template (bug/feature/security)
Repo-->>GitHub: Template fields
Dev->>GitHub: Submits PR using NEW: PR template
Repo-->>GitHub: LICENSE + NOTICE metadata
GitHub->>Repo: Reads CODE_OF_CONDUCT + SECURITY for enforcement
Repo-->>GitHub: Enforcement contacts + reporting channel
npm->>Repo: Reads license field (NEW: root package.json)
Repo-->>npm: "Apache-2.0" + LICENSE file
Dev->>npm: Queries package version via badge (NEW: npm badge)
npm-->>Dev: Latest version
Note over Repo,Dev: No runtime request/data flow changes
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Satisfies the jsonc/sort-keys lint rule from @pleaseai/eslint-config, which was failing CI (Lint step) on this branch.
Restores three operative-term wordings that upstream vercel-labs/emulate had
altered from the canonical text ("submitted to Licensor", "received by
Licensor", "excluding those notices"). The LICENSE body is now byte-for-byte
identical to https://www.apache.org/licenses/LICENSE-2.0.txt except the
appendix copyright line (Copyright 2026 Passion Factory).
|



Summary
Adds the open-source community-health files this repo was missing and formalizes the license (which was already declared Apache-2.0 in all 8 packages and the README, but had no root LICENSE file or root license field).
Copyright 2026 Passion Factory.vercel-labs/emulate(Chris Tate), which this project is derived from."license": "Apache-2.0"to the root manifest (sub-packages already declared it).mise install,bun install,mise run ci), Conventional Commits + release-please note, "adding a new service" pointer.@pleaseai/emulate) and Apache-2.0 license badge to the existing badge row.Related issue
Checklist
Summary by cubic
Formalizes Apache-2.0 licensing and adds standard OSS community-health files. Restores the root
LICENSEto the canonical Apache-2.0 text (verbatim, with appendix copyright).Adds root
NOTICE,CODE_OF_CONDUCT.md,SECURITY.md,CONTRIBUTING.md, and GitHub issue/PR templates (disable blank issues; add Discussions/security links); sets rootpackage.json"license": "Apache-2.0" and sorts it after "packageManager" to satisfy@pleaseai/eslint-configsort-keys; adds npm/license badges toREADME.md(@pleaseai/emulate); no runtime code changes.Written for commit 1c9fa42. Summary will update on new commits.
Summary by CodeRabbit