diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..35bdb5d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,49 @@ +name: Feature request +description: Suggest a capability or input for the Signetry Admission action. +labels: [enhancement] +body: + - type: markdown + attributes: + value: | + This repo is the **GitHub Action** (Apache-2.0) — inputs, outputs, the + composite steps, SARIF upload, the PR comment, runner/sandbox setup. + Changes to the governance logic itself (contract, injection quarantine, + required checks, verifier, earned authority, receipts) belong in + [signetry-core](https://github.com/Signetry/core/issues). + - type: textarea + id: problem + attributes: + label: The problem + description: What can't you do today? Describe the workflow you are trying to build, not just the feature you have in mind. + validations: + required: true + - type: textarea + id: proposal + attributes: + label: What you'd like the action to do + description: If it's a new input or output, name it and give its default. If it changes when the check fails, say so explicitly. + validations: + required: true + - type: textarea + id: workflow + attributes: + label: How it would look in a workflow + render: yaml + placeholder: | + - uses: Signetry/action@v1 + with: + min-authority: "1" + - type: textarea + id: alternatives + attributes: + label: Alternatives you considered + description: Including anything you can already do with existing inputs, or by wrapping the action in your own steps. + - type: checkboxes + id: scope + attributes: + label: Scope check + options: + - label: This is about the Action, not the governance logic in signetry-core. + required: true + - label: It does not require the Action to merge a PR (`auto_merge` is always false by design — Signetry governs the agent; a human merges). + required: true diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index 8f04c9d..7bc9bab 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -4,7 +4,9 @@ name: CLA # before their pull request can be merged. Runs entirely in this repo's Actions — # no third-party OAuth app. Signatures are recorded in signatures/cla.json on this # repo, so there is a durable, auditable record that each contributor assigned -# copyright/ownership of their contribution to the Owner. +# copyright of their contribution to the Owner. This repository is Apache-2.0; the +# CLA is kept because Signetry is open core and code may need to be relicensed to +# move across that line (see CLA.md section 3). # # A contributor signs by commenting the exact statement below on their PR: # I have read the CLA Document and I hereby sign the CLA @@ -48,7 +50,7 @@ jobs: path-to-document: "https://github.com/Signetry/action/blob/main/CLA.md" branch: "cla-signatures" allowlist: "dependabot[bot],bkd-dotcom" - custom-notsigned-prcomment: "Thanks for your contribution! Before it can be merged, please read the **[Contributor License Agreement](https://github.com/Signetry/action/blob/main/CLA.md)** — Signetry is **All Rights Reserved**, and by signing you assign copyright/ownership of your contribution to the Owner (you may not use, sell, or commercialize it yourself). To agree, reply with exactly:" + custom-notsigned-prcomment: "Thanks for your contribution! Before it can be merged, please read the **[Contributor License Agreement](https://github.com/Signetry/action/blob/main/CLA.md)** — this repo is **Apache-2.0**, and signing does not take away any of the rights that licence gives you. It assigns copyright of your contribution to the Owner so it can be relicensed across Signetry's open-core line (e.g. moved into the BUSL-1.1 engine) without asking every contributor again. To agree, reply with exactly:" custom-pr-sign-comment: "I have read the CLA Document and I hereby sign the CLA" custom-allsigned-prcomment: "All contributors have signed the CLA. ✅" lock-pullrequest-aftermerge: false diff --git a/.github/workflows/reviewer.yml b/.github/workflows/reviewer.yml index c6f5610..8b8b375 100644 --- a/.github/workflows/reviewer.yml +++ b/.github/workflows/reviewer.yml @@ -34,7 +34,7 @@ jobs: with: python-version: "3.12" - name: Install signetry-reviewer - # source-available (All Rights Reserved); install from source, not PyPI. + # signetry-reviewer is installed from its source repo, not PyPI. run: pip install "signetry-reviewer @ git+https://github.com/Signetry/reviewer@v0.2.0" - name: Compute the PR diff env: diff --git a/CHANGELOG.md b/CHANGELOG.md index 455e99b..7616443 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,29 @@ Pin `@v1` (moving) or an exact `@v0.1.3+` tag. ## [Unreleased] +### Changed — licensing (open core) + +- **This Action is now open source under Apache-2.0.** A real `LICENSE` file is in + the repo root. The previous "All Rights Reserved" notice is withdrawn: you may + use, fork, modify, distribute, and commercialize this Action, including in + commercial and closed-source products, with no permission needed. +- Signetry moved to an **open-core** model: the whole integration surface (this + Action, the editor/agent plugins, the pre-commit guard, the eval suite) is + Apache-2.0, while the engine + [`signetry-core`](https://github.com/Signetry/core) is source-available under + **BUSL-1.1** and converts to Apache-2.0 on **2030-08-31**. See + [LICENSING.md](https://github.com/Signetry/signetry/blob/main/LICENSING.md). +- **The CLA is unchanged and still required.** Open core needs relicensing rights + so a contribution made here can later move into the engine; signing takes away + none of the rights Apache-2.0 grants you. `CLA.md`, `CONTRIBUTING.md`, + `CONTRIBUTORS.md`, and the docs were rewritten to say so accurately. +- **The CLA's fallback licence grant is now non-exclusive.** It previously granted the + Owner an *exclusive* licence where copyright assignment is not permitted by law, which + would have stripped contributors of the right to use their own contribution — directly + contradicting the rights the LICENSE grants everyone. The CLA text is now identical + across all Signetry repositories (bar the engine/integration licence wording) so the + legal terms cannot drift per-repo again. See [CLA.md](CLA.md) §2–3. + ### Changed — Signetry naming - The Marketplace listing name is **Signetry Admission** (tagline: "Seal every diff --git a/CLA.md b/CLA.md index 07c0cbc..f89b32e 100644 --- a/CLA.md +++ b/CLA.md @@ -1,6 +1,10 @@ # Signetry Contributor License Agreement (CLA) -**Copyright (c) 2026 Binay Dalai. All rights reserved.** +**Copyright (c) 2026 Binay Dalai.** This repository is licensed under +**[Apache-2.0](LICENSE)** as part of Signetry's +[open-core model](https://github.com/Signetry/signetry/blob/main/LICENSING.md). This +Agreement governs what You grant the Owner when You contribute; it does not reduce the +rights the Apache-2.0 licence gives You (and everyone else) in this code. Thank you for your interest in contributing to Signetry ("the Project"), owned by Binay Dalai ("the Owner"). This Contributor License Agreement ("Agreement") @@ -26,21 +30,33 @@ Your Contribution. You agree that the Owner is the sole and exclusive owner of t Contribution once merged into the Project. To the extent any rights cannot be assigned by law, You grant the Owner a -**perpetual, worldwide, exclusive, irrevocable, royalty-free, sublicensable, and +**perpetual, worldwide, non-exclusive, irrevocable, royalty-free, sublicensable, and transferable license** to use, reproduce, modify, prepare derivative works of, publicly display, publicly perform, distribute, **sell, and commercialize** Your Contribution, in whole or in part, in any form and for any purpose. -## 3. The Owner's exclusive rights +Nothing in this section removes Your own ability to use Your Contribution: once it is +released as part of this repository it is available to You, as to anyone, under +[Apache-2.0](LICENSE), and You retain any rights You independently hold in the +underlying ideas and techniques. + +## 3. Why the Owner needs this (open core) You acknowledge and agree that: -- The Owner alone retains the right to **use, license, sell, and monetize** the - Project, including Your Contribution. -- You obtain **no right** to use, copy, modify, distribute, sell, or commercialize - the Project or Your Contribution for Your own personal or commercial purposes, - except as expressly permitted in writing by the Owner. -- The Project is **not open source** and is licensed "All Rights Reserved." +- **You keep the licence's rights.** This repository is released under + [Apache-2.0](LICENSE), so You may use, copy, modify, distribute, and commercialize + it — including Your own Contribution — on exactly the same terms as any other user. + No separate written permission is required. +- **The Owner may relicense.** The assignment above lets the Owner use, license, sell, + and monetize the Project, including Your Contribution, and release it under other + terms. +- **Code may move across the open-core line.** Signetry's integration surface is + Apache-2.0 while the engine + ([`Signetry/core`](https://github.com/Signetry/core)) is source-available under + BUSL-1.1, converting to Apache-2.0 on 2030-08-31. A Contribution accepted here may + later be moved into the engine, or engine code moved out to an Apache-2.0 repo. The + CLA is what makes that possible without asking every past contributor again. ## 4. Recognition of Contributors (credit, not rights) @@ -50,8 +66,8 @@ of Your work. This recognition is **attribution only**. It does **not**: -- grant You any ownership, license, or right to use, copy, sell, sublicense, or - commercialize the Project or Your Contribution; +- grant You ownership of the Project, or any rights beyond those the Project's + licence already grants everyone; - entitle You to represent the Project, or any part of it, as Your own work, product, or property, or to market or sell it under Your own name or brand; or - create any partnership, employment, or revenue-sharing relationship with the Owner. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9f91869..0dbee30 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,25 +1,104 @@ -# Contribution Agreement +# Contributing -By submitting a Pull Request to this repository, you agree to assign and transfer all copyright and ownership of your contributed code to the repository owner. The owner retains the exclusive right to monetize, use, and control the entire codebase. +Thanks for wanting to improve **Signetry Admission**. This repository is the +GitHub Action — the integration surface — and it is +[Apache-2.0](LICENSE): use it, fork it, ship it commercially, no strings. -## Signing the CLA (required before merge) +## What the licence lets you do -This is enforced by a bot. When you open a pull request, the **CLA Assistant** check -will ask you to sign the [Contributor License Agreement](CLA.md). Reply on the PR -with exactly: +Apache-2.0 gives you a patent grant and the right to use, copy, modify, +distribute, and commercialize this Action, including in closed-source and +commercial products. You do not need our permission and you do not owe us +anything. Keep the `LICENSE` and the attribution notices when you redistribute, +and note your changes — that is the whole obligation. + +This repo is part of Signetry's +[open-core model](https://github.com/Signetry/signetry/blob/main/LICENSING.md): +every integration (this Action, the editor and agent plugins, the pre-commit +guard, the eval suite) is Apache-2.0, while the engine +([`Signetry/core`](https://github.com/Signetry/core)) is source-available under +BUSL-1.1 and converts to Apache-2.0 on 2030-08-31. + +## The CLA still applies — and why + +A PR **cannot be merged** until you sign the +[Contributor License Agreement](CLA.md). It is enforced by a bot: when you open a +pull request, the **CLA Assistant** check asks you to reply on the PR with exactly: ``` I have read the CLA Document and I hereby sign the CLA ``` -Your acceptance is recorded in `signatures/cla.json`. A PR **cannot be merged** until -the CLA is signed. Signetry is **not open source** (All Rights Reserved) — by signing -you assign copyright/ownership of your contribution to the Owner and gain no right to -use, sell, or commercialize it yourself. +Your acceptance is recorded in `signatures/cla.json`. + +The CLA is not about withholding rights from you — Apache-2.0 already grants you +everything above, and signing does not take it away. It exists because code moves +across the open-core line. A well-built adapter that starts here as Apache-2.0 +may later belong in the BUSL-1.1 engine, and Signetry needs the relicensing +rights to move it without tracking down every past contributor for permission. +It also lets us dual-license and defend the project if that is ever necessary. + +## Getting started + +There is no build step and no compiled artifact. The Action is a **composite +action defined entirely in [`action.yml`](action.yml)** — a series of `shell: bash` +steps that install `signetry-core` from its source repo and run +`signetry admit` / `signetry scan` / `signetry comment`. Editing this repo means +editing that YAML (or the workflows in `.github/workflows/`) and the docs. + +To exercise a change, point a workflow in a scratch repository at your branch: + +```yaml + - uses: Signetry/action@my-branch # or your-fork/action@my-branch + with: + min-authority: "1" +``` + +…then open a PR in that scratch repo and read the run log, the verdict comment, +and the uploaded receipt artifact. + +Two workflows run on every PR here: + +- **CLA** (`.github/workflows/cla.yml`) — the signature gate described above. +- **Reviewer** (`.github/workflows/reviewer.yml` + `reviewer-comment.yml`) — an + advisory `signetry-reviewer` pass that posts one recommendation comment. It is + advisory only: it never merges and never fails the PR. + +### Where a change belongs + +- **This repo** — action inputs and outputs, the composite steps, SARIF upload, + the PR comment plumbing, runner/sandbox setup, docs. +- **[`Signetry/core`](https://github.com/Signetry/core)** — the governance logic + itself: the contract, injection quarantine, required checks, the independent + verifier, earned authority, and receipt signing. If the verdict is wrong, the + bug is almost certainly there, not here. + +### Things to keep in mind + +`action.yml` is a security-critical surface, and `.github/CODEOWNERS` routes it +for review accordingly: + +- Never interpolate `${{ inputs.* }}` or `${{ github.event.* }}` directly into a + `run:` body — pass it through `env:` and read the variable, as the existing + steps do. That was a real script-injection vulnerability in `v0.1.0`–`v0.1.2` + (see [SECURITY.md](SECURITY.md)). +- Do not add `pull_request_target` with a checkout of PR head, and do not give a + job that executes PR code a writable token. The split between `reviewer.yml` + (untrusted code, read-only) and `reviewer-comment.yml` (trusted, writable, never + checks out PR code) is deliberate — the header comments in both files explain it. +- Fail closed, not open. A step that cannot verify something should refuse, not + wave the change through. +- Update [`CHANGELOG.md`](CHANGELOG.md) under `## [Unreleased]` for anything a + user would notice. + +Found a vulnerability? Do not open a public issue — use +[private reporting](https://github.com/Signetry/action/security/advisories/new). +See [SECURITY.md](SECURITY.md). + +By participating you agree to the [Code of Conduct](CODE_OF_CONDUCT.md). ## Credit Contributors are **acknowledged** in [CONTRIBUTORS.md](CONTRIBUTORS.md), the Git -history, and release notes. This is attribution only — you may truthfully say you -contributed, but it grants no ownership and no right to use, sell, or rebrand the -project as your own. See the "Recognition of Contributors" clause in [CLA.md](CLA.md). +history, and release notes. See the "Recognition of Contributors" clause in +[CLA.md](CLA.md). diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 38dcd13..d14be14 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,14 +1,16 @@ # Contributors -Signetry is **owned by Binay Dalai** and is **All Rights Reserved** (not open source). +This repository is **[Apache-2.0](LICENSE)** and maintained by Binay Dalai as part of +Signetry's [open-core model](https://github.com/Signetry/signetry/blob/main/LICENSING.md). The people below are gratefully acknowledged for contributions accepted under the [Contributor License Agreement](CLA.md). -**Credit, not ownership.** Being listed here recognizes a person's contribution. It -does **not** grant any right to use, copy, sell, sublicense, or commercialize the -project, and does **not** entitle anyone to present the project (in whole or in part) -as their own work, product, or brand. All such rights remain exclusively with the -owner. +**Credit, not ownership.** Being listed here recognizes a person's contribution. +Everyone — contributors included — already has the right to use, modify, and +commercialize this code under Apache-2.0. Listing here does **not** additionally grant +ownership of the project, and does **not** entitle anyone to present the project (in +whole or in part) as their own work, product, or brand, or to use the Signetry name to +endorse their own products. ## Owner / maintainer diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..118c83c --- /dev/null +++ b/LICENSE @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2026 Binay Dalai + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + diff --git a/MARKETPLACE.md b/MARKETPLACE.md index 225a6d2..e2b48ef 100644 --- a/MARKETPLACE.md +++ b/MARKETPLACE.md @@ -161,7 +161,8 @@ governance layer between them. Injection detection is layered and defense-in-dep (on-disk quarantine + contract + independent verifier + earned-authority cap), so safety does not depend on catching every phrasing. Check isolation is the strongest tier that preflights on your runner and is recorded truthfully in every -receipt. All Rights Reserved (not open source). +receipt. This Action is open source under Apache-2.0; the `signetry-core` engine it +wraps is source-available under BUSL-1.1 and converts to Apache-2.0 on 2030-08-31. --- @@ -195,5 +196,5 @@ from the source repo; not on PyPI). ``` Signetry Admission is live on the GitHub Marketplace: a required check that governs any coding agent's PR — Claude Code, Codex, Cursor, Copilot, Devin — with a -signed receipt. Nothing merges without one. All Rights Reserved. +signed receipt. Nothing merges without one. Apache-2.0. ``` diff --git a/README.md b/README.md index 7f6631c..947e4f5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Signetry Admission — GitHub Action [![GitHub Marketplace](https://img.shields.io/badge/Marketplace-Signetry%20Admission-purple?logo=github)](https://github.com/marketplace/actions/signetry-admission) +[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md) [![Latest release](https://img.shields.io/github/v/release/Signetry/action?sort=semver)](https://github.com/Signetry/action/releases) @@ -83,7 +84,7 @@ jobs: | `require-sandbox` | `false` | Fail closed if code-executing checks (npm/pip install, go/cargo build) can't run in a real filesystem/network sandbox. | | `scan` | `false` | Also run the **SAST detection engine** over the checkout and upload SARIF to code scanning (7 languages, cross-file taint, deterministic/offline; needs `signetry-core >= 0.5.0`). | | `scan-fail-on` | `""` | With `scan`, fail the check if any finding is at/above this severity (`critical`/`high`/`medium`/`low`/`info`). Blank = report-only. | -| `signetry-version` | latest | Pin a specific `signetry-core` version **tag** installed from source (blank installs the latest hardened release). signetry-core is source-available and not on PyPI. | +| `signetry-version` | latest | Pin a specific `signetry-core` version **tag** installed from source (blank installs the latest hardened release). signetry-core is BUSL-1.1 (source-available, converting to Apache-2.0 on 2030-08-31) and is installed from its source repo, not PyPI. | | `python-version` | `3.12` | Python to run on. | ## Outputs @@ -97,8 +98,8 @@ jobs: ## How it works -This action is a thin wrapper over `signetry-core` (source-available; installed from -its source repo, not PyPI). It stages the +This action is Apache-2.0 and is a thin wrapper over `signetry-core` (BUSL-1.1, +source-available; installed from its source repo, not PyPI). It stages the PR's change as a working-tree diff, runs `signetry admit`, and enforces the earned authority. On Linux runners it installs bubblewrap so required checks run under a real filesystem/network **sandbox** (the tier is recorded truthfully in every @@ -110,4 +111,12 @@ Part of the [Signetry platform](https://github.com/Signetry/signetry) — see th ## License -**Copyright (c) 2026 Binay Dalai. All rights reserved.** This code is not open source. You may not use, copy, modify, distribute, or commercialize it for your own personal or commercial purposes without explicit written permission from the author, who alone retains the right to use and monetize this project. See [CONTRIBUTING.md](CONTRIBUTING.md). +[Apache-2.0](LICENSE). Use it, fork it, ship it commercially — no strings. + +This repository is part of Signetry's [open-core model](https://github.com/Signetry/signetry/blob/main/LICENSING.md): +the **integration surface is Apache-2.0** so anyone can add an agent, an editor, or a +CI adapter, while the engine ([`Signetry/core`](https://github.com/Signetry/core)) is +source-available under BUSL-1.1 and converts to Apache-2.0 on 2030-08-31. + +Contributions are accepted under the [CLA](CLA.md) — it lets us move a well-built +adapter into the engine later without asking every contributor for permission again. diff --git a/action.yml b/action.yml index 4546b24..92b4ece 100644 --- a/action.yml +++ b/action.yml @@ -23,7 +23,7 @@ inputs: required: false default: "" signetry-version: - description: "Version tag of signetry-core to install from source (e.g. '0.5.3'). Blank installs the latest hardened release. signetry-core is source-available (All Rights Reserved) and installed from its source repo, not PyPI." + description: "Version tag of signetry-core to install from source (e.g. '0.5.3'). Blank installs the latest hardened release. signetry-core is source-available under BUSL-1.1 (converting to Apache-2.0 on 2030-08-31) and is installed from its source repo, not PyPI." required: false default: "" require-sandbox: @@ -104,10 +104,11 @@ runs: # Install the pinned tag from the source repository. pip install "signetry-core @ git+https://github.com/Signetry/core@v$VER" else - # signetry-core is distributed from its source repository (All Rights Reserved; - # not published to PyPI). Install the latest release tag. 0.5.0+ carries the - # capability graph, G1/G2/G3 gates, the `signetry comment` renderer, and the - # SAST detection engine (needed for `scan: true`). + # signetry-core is distributed from its source repository (source-available + # under BUSL-1.1; not published to PyPI). Install the latest release tag. + # 0.5.0+ carries the capability graph, G1/G2/G3 gates, the + # `signetry comment` renderer, and the SAST detection engine (needed for + # `scan: true`). pip install "signetry-core @ git+https://github.com/Signetry/core@v0.7.0" fi