From 98ad496e7653ab3358359ac5e75a070129b160d5 Mon Sep 17 00:00:00 2001 From: carlos-alm <127798846+carlos-alm@users.noreply.github.com> Date: Mon, 2 Mar 2026 04:29:08 -0700 Subject: [PATCH 1/3] docs: add Contributor License Agreement (CLA) --- CLA.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 CLA.md diff --git a/CLA.md b/CLA.md new file mode 100644 index 00000000..4c9b6e91 --- /dev/null +++ b/CLA.md @@ -0,0 +1,41 @@ +# Contributor License Agreement (CLA) + +In order to clarify the intellectual property license granted with Contributions from any person or entity, Optave AI Solutions Inc. ("Optave") must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as well as the protection of Optave; it does not change your rights to use your own Contributions for any other purpose. + +You accept and agree to the following terms and conditions for Your present and future Contributions submitted to Optave. Except for the license granted herein to Optave and recipients of software distributed by Optave, You reserve all right, title, and interest in and to Your Contributions. + +## Definitions + +**"You" (or "Your")** shall mean the copyright owner or legal entity authorized by the copyright owner that is making this Agreement with Optave. For legal entities, the entity making a Contribution and all other entities that control, are controlled by, or are under common control with that entity are considered to be a single Contributor. 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. + +**"Contribution"** shall mean any original work of authorship, including any modifications or additions to an existing work, that is intentionally submitted by You to Optave for inclusion in, or documentation of, any of the products owned or managed by Optave (the "Work"). For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to Optave 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, Optave for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by You as "Not a Contribution." + +## Grant of Copyright License + +Subject to the terms and conditions of this Agreement, You hereby grant to Optave and to recipients of software distributed by Optave 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 Your Contributions and such derivative works. + +## Grant of Patent License + +Subject to the terms and conditions of this Agreement, You hereby grant to Optave and to recipients of software distributed by Optave 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 You that are necessarily infringed by Your Contribution(s) alone or by combination of Your Contribution(s) with the Work to which such Contribution(s) was submitted. If any entity institutes patent litigation against You or any other entity (including a cross-claim or counterclaim in a lawsuit) alleging that your Contribution, or the Work to which you have contributed, constitutes direct or contributory patent infringement, then any patent licenses granted to that entity under this Agreement for that Contribution or Work shall terminate as of the date such litigation is filed. + +## Representations + +You represent that you are legally entitled to grant the above license. If your employer(s) has rights to intellectual property that you create that includes your Contributions, you represent that you have received permission to make Contributions on behalf of that employer, that your employer has waived such rights for your Contributions to Optave, or that your employer has executed a separate Corporate CLA with Optave. + +You represent that each of Your Contributions is Your original creation (see section 7 for submissions on behalf of others). You represent that Your Contribution submissions include complete details of any third-party license or other restriction (including, but not limited to, related patents and trademarks) of which you are personally aware and which are associated with any part of Your Contributions. + +## Support + +You are not expected to provide support for Your Contributions, except to the extent You desire to provide support. You may provide support for free, for a fee, or not at all. Unless required by applicable law or agreed to in writing, You provide Your 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. + +## Third-Party Submissions + +Should You wish to submit work that is not Your original creation, You may submit it to Optave separately from any Contribution, identifying the complete details of its source and of any license or other restriction (including, but not limited to, related patents, trademarks, and license agreements) of which you are personally aware, and conspicuously marking the work as "Submitted on behalf of a third party: [named here]". + +## Notifications + +You agree to notify Optave of any facts or circumstances of which you become aware that would make these representations inaccurate in any respect. From 6edaf60f161d8148837072279a72c801f6afd986 Mon Sep 17 00:00:00 2001 From: carlos-alm <127798846+carlos-alm@users.noreply.github.com> Date: Mon, 2 Mar 2026 04:37:21 -0700 Subject: [PATCH 2/3] ci: add CLA Assistant workflow and fix CLA.md issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add .github/workflows/cla.yml using contributor-assistant/github-action@v2.6.1 with dedicated cla-signatures branch to avoid polluting main - Fix CLA.md: section 7→6 reference, capitalization consistency, control definition formatting (Roman numerals → lettered list) - Add Acceptance section documenting the CLA bot signing process - Add Governing Law clause (Province of Alberta, Canada) - Update CONTRIBUTING.md with CLA signing instructions --- .github/workflows/cla.yml | 29 +++++++++++++++++++++++++++++ CLA.md | 22 +++++++++++++++++----- CONTRIBUTING.md | 20 ++++++++++++++++++++ 3 files changed, 66 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/cla.yml diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml new file mode 100644 index 00000000..a776fbef --- /dev/null +++ b/.github/workflows/cla.yml @@ -0,0 +1,29 @@ +name: "CLA Assistant" + +on: + issue_comment: + types: [created] + pull_request_target: + types: [opened, closed, synchronize] + +permissions: + actions: write + contents: write + pull-requests: write + statuses: write + +jobs: + cla-check: + runs-on: ubuntu-latest + name: CLA signature check + steps: + - name: "CLA Assistant" + if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' + uses: contributor-assistant/github-action@v2.6.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + path-to-signatures: "signatures/cla.json" + path-to-document: "https://github.com/optave/codegraph/blob/main/CLA.md" + branch: "cla-signatures" + allowlist: "dependabot[bot],github-actions[bot]" diff --git a/CLA.md b/CLA.md index 4c9b6e91..08bc9e79 100644 --- a/CLA.md +++ b/CLA.md @@ -8,9 +8,9 @@ You accept and agree to the following terms and conditions for Your present and **"You" (or "Your")** shall mean the copyright owner or legal entity authorized by the copyright owner that is making this Agreement with Optave. For legal entities, the entity making a Contribution and all other entities that control, are controlled by, or are under common control with that entity are considered to be a single Contributor. 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. +(a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or +(b) ownership of fifty percent (50%) or more of the outstanding shares, or +(c) beneficial ownership of such entity. **"Contribution"** shall mean any original work of authorship, including any modifications or additions to an existing work, that is intentionally submitted by You to Optave for inclusion in, or documentation of, any of the products owned or managed by Optave (the "Work"). For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to Optave 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, Optave for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by You as "Not a Contribution." @@ -20,13 +20,13 @@ Subject to the terms and conditions of this Agreement, You hereby grant to Optav ## Grant of Patent License -Subject to the terms and conditions of this Agreement, You hereby grant to Optave and to recipients of software distributed by Optave 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 You that are necessarily infringed by Your Contribution(s) alone or by combination of Your Contribution(s) with the Work to which such Contribution(s) was submitted. If any entity institutes patent litigation against You or any other entity (including a cross-claim or counterclaim in a lawsuit) alleging that your Contribution, or the Work to which you have contributed, constitutes direct or contributory patent infringement, then any patent licenses granted to that entity under this Agreement for that Contribution or Work shall terminate as of the date such litigation is filed. +Subject to the terms and conditions of this Agreement, You hereby grant to Optave and to recipients of software distributed by Optave 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 You that are necessarily infringed by Your Contribution(s) alone or by combination of Your Contribution(s) with the Work to which such Contribution(s) was submitted. If any entity institutes patent litigation against You or any other entity (including a cross-claim or counterclaim in a lawsuit) alleging that Your Contribution, or the Work to which You have contributed, constitutes direct or contributory patent infringement, then any patent licenses granted to that entity under this Agreement for that Contribution or Work shall terminate as of the date such litigation is filed. ## Representations You represent that you are legally entitled to grant the above license. If your employer(s) has rights to intellectual property that you create that includes your Contributions, you represent that you have received permission to make Contributions on behalf of that employer, that your employer has waived such rights for your Contributions to Optave, or that your employer has executed a separate Corporate CLA with Optave. -You represent that each of Your Contributions is Your original creation (see section 7 for submissions on behalf of others). You represent that Your Contribution submissions include complete details of any third-party license or other restriction (including, but not limited to, related patents and trademarks) of which you are personally aware and which are associated with any part of Your Contributions. +You represent that each of Your Contributions is Your original creation (see section 6 for submissions on behalf of others). You represent that Your Contribution submissions include complete details of any third-party license or other restriction (including, but not limited to, related patents and trademarks) of which you are personally aware and which are associated with any part of Your Contributions. ## Support @@ -39,3 +39,15 @@ Should You wish to submit work that is not Your original creation, You may submi ## Notifications You agree to notify Optave of any facts or circumstances of which you become aware that would make these representations inaccurate in any respect. + +## Acceptance + +You indicate Your acceptance of this Agreement by posting the following comment on a pull request in the Optave codegraph repository: + +> I have read the CLA Document and I hereby sign the CLA + +The [CLA Assistant](https://github.com/contributor-assistant/github-action) bot will record Your signature automatically. Your signature applies to all present and future Contributions — You only need to sign once. + +## Governing Law + +This Agreement shall be governed by and construed in accordance with the laws of the Province of Alberta, Canada, without regard to its conflict of laws provisions. Any disputes arising under this Agreement shall be subject to the exclusive jurisdiction of the courts of the Province of Alberta. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b560e62f..161c66e7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,6 +17,26 @@ npm test # run the full test suite **Requirements:** Node.js >= 20 +## Contributor License Agreement (CLA) + +All contributors must sign the [Contributor License Agreement](CLA.md) before +their pull requests can be merged. This is a one-time requirement that protects +both you and Optave AI Solutions Inc. + +**How to sign:** + +1. Open a pull request +2. The CLA Assistant bot will post a comment if you haven't signed yet +3. Reply with the exact text: + ``` + I have read the CLA Document and I hereby sign the CLA + ``` +4. The check will pass once all PR contributors have signed + +Your signature applies to all future contributions — you only need to sign once. + +## Development Environment + After `npm install`, [Husky](https://typicode.github.io/husky/) automatically installs two git hooks: From 72119547edc0f7ffeaa6d4bef8b10a9447418e8e Mon Sep 17 00:00:00 2001 From: carlos-alm <127798846+carlos-alm@users.noreply.github.com> Date: Mon, 2 Mar 2026 16:35:50 -0700 Subject: [PATCH 3/3] docs: document CLA recheck command in CONTRIBUTING.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Address Greptile review feedback on #244 — add note that contributors can comment `recheck` on a PR to re-trigger the CLA signature check. --- CONTRIBUTING.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 161c66e7..96adcb43 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -33,6 +33,9 @@ both you and Optave AI Solutions Inc. ``` 4. The check will pass once all PR contributors have signed +If the CLA check needs to be re-evaluated, comment `recheck` on the PR to +re-trigger it. + Your signature applies to all future contributions — you only need to sign once. ## Development Environment