Skip to content

chore: add open-source policy files (NOTICE, SECURITY, CONTRIBUTING) - #122

Merged
kjgbot merged 4 commits into
mainfrom
chore/oss-readiness-files
Nov 4, 2026
Merged

kjgbot merged 4 commits into
mainfrom
chore/oss-readiness-files

Conversation

@kjgbot

@kjgbot kjgbot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

What

Open-source readiness prep (part of the self-host open-source review, 2026-11-03). This PR changes no runtime code.

  • SECURITY.md: private disclosure through GitHub private vulnerability reporting or security@agentrelay.com, response targets, scope.

  • CONTRIBUTING.md: how to build and test, PR expectations (no secrets, customer data or production identifiers in fixtures), and the inbound=outbound Apache-2.0 contribution terms.

  • package.json license fields: "license": "Apache-2.0" on each workspace package and the matching `package-lock.json` workspace entries (no dependency changes). The published npm packages currently carry no license metadata.

  • CI hardening: contract.yml gets an explicit top-level permissions: contents: read, so it no longer inherits the default token scope on pull requests.

  • NOTICE: not added. This repo has no third-party attributions, and a NOTICE would oblige every redistributor to carry it. Published packages instead ship a LICENSE copy (canonical Apache-2.0 text).

Not in this PR (needs an admin)

Branch protection / rulesets on main, environment protection rules, and enabling private vulnerability reporting are repository settings; they are listed in the open-source readiness report for Khaliq.

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Prepare the repository for open source: a NOTICE with the copyright
holder, a security policy with a private disclosure route
(GitHub private vulnerability reporting and security@agentrelay.com),
and contributor guidelines.
Declare Apache-2.0 in each package.json (and the matching lockfile
entries) so published packages carry license metadata.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7a0c18df-3ab3-4518-9dca-24d3b3aa016f
  • 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

@greptile-apps

greptile-apps Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Adds open-source policy documents, Apache-2.0 package metadata, and package license files.

  • RelayAuth packages now identify themselves as Apache-2.0 licensed.
  • Security reports now have a private route and a clear response timeline.
  • Contributors now have a guide for building, testing, and sending changes.
  • The contract-check workflow now uses read-only repository access.

Reviews (4) · Last reviewed commit: "docs: package LICENSE copies use the can..." · Reviewed by Greptile

Comment thread CONTRIBUTING.md Resolved
cubic-dev-ai[bot]

This comment was marked as resolved.

- SECURITY.md: email is the preferred channel until GitHub private
  vulnerability reporting is enabled; supported-versions wording fits
  what this repo ships.
- CONTRIBUTING.md: describe what CI and fork pull requests actually do.
- Drop NOTICE: this repo has no third-party attributions to carry, so a
  NOTICE would only add a redistribution obligation.
- Copy LICENSE into each published package so npm tarballs carry it.

- README: the license is Apache-2.0 (it said MIT).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@devin-ai-integration devin-ai-integration 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.

Devin Review found 1 potential issue.

1 flag not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)

Devin Review

@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.

All reported issues were addressed across 11 files (changes from recent commits).

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

View guided diff | Re-trigger cubic

Comment thread packages/sdk/typescript/LICENSE Resolved
Comment thread packages/ai/LICENSE Resolved
- CONTRIBUTING: the no-secrets guarantee applies to fork pull requests.
- Package LICENSE copies carry the copyright line (root LICENSE verbatim
  where it has one).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@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.

All reported issues were addressed across 8 files (changes from recent commits).

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

View guided diff | Re-trigger cubic

Comment thread packages/ai/LICENSE Resolved
Comment thread packages/core/LICENSE Resolved
Comment thread packages/types/LICENSE Resolved
Comment thread packages/ai/LICENSE Resolved
Comment thread packages/server/LICENSE Resolved
The root LICENSE here is a trimmed variant (no appendix, reworded
definition). Ship the unmodified apache.org text in each package, with
the copyright line filled in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kjgbot
kjgbot merged commit 832111c into main Nov 4, 2026
7 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