Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

chore: add contributor license agreement (#4362)

Francesco Bonacci282cf9d20864
diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml
new file mode 100644
index 0000000000..b0bcaccf2b
--- /dev/null
+++ b/.github/workflows/cla.yml
@@ -0,0 +1,42 @@
+name: "CI: CLA"
+
+# Asks each pull request author to accept CLA.md once. Signatures are stored as
+# JSON on the `cla-signatures` branch of this repository, not on main.
+# pull_request_target is used so the check can comment on fork pull requests;
+# the job never checks out or runs pull request code.
+
+on:
+ issue_comment:
+ types: [created]
+ pull_request_target:
+ types: [opened, closed, synchronize]
+
+permissions:
+ actions: write
+ contents: write
+ pull-requests: write
+ statuses: write
+
+concurrency:
+ group: cla-${{ github.event.pull_request.number || github.event.issue.number }}
+ cancel-in-progress: false
+
+jobs:
+ cla:
+ name: cla
+ runs-on: ubuntu-latest
+ if: >-
+ github.event_name == 'pull_request_target' ||
+ (github.event.issue.pull_request &&
+ (github.event.comment.body == 'recheck' ||
+ github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA'))
+ steps:
+ - name: Check CLA signatures
+ uses: contributor-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08 # v2.6.1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ path-to-signatures: "signatures/version1/cla.json"
+ path-to-document: "https://github.com/${{ github.repository }}/blob/main/CLA.md"
+ branch: "cla-signatures"
+ allowlist: "f-trycua,francedot,injaneity,ddupont808,JaiCode08,cuaclaw,dependabot[bot],github-actions[bot],release-please[bot]"
diff --git a/CLA.md b/CLA.md
new file mode 100644
index 0000000000..f254735d4a
--- /dev/null
+++ b/CLA.md
@@ -0,0 +1,114 @@
+# Cua Individual Contributor License Agreement
+
+Thank you for your interest in contributing to projects owned or managed by
+Cua AI, Inc. ("Cua"). This Individual Contributor License Agreement
+("Agreement") documents the rights granted by contributors to Cua. It is
+adapted from the Apache Software Foundation Individual Contributor License
+Agreement v2.0.
+
+This Agreement is for your protection as a contributor as well as the
+protection of Cua and its users. It does not change your rights to use your own
+Contributions for any other purpose. You keep ownership of your Contributions.
+
+To accept this Agreement, follow the instructions posted on your pull request
+by the CLA check. You accept it once, and it applies to all your past and future
+Contributions to Cua.
+
+You accept and agree to the following terms and conditions for Your present and
+future Contributions submitted to Cua. Except for the license granted herein to
+Cua and recipients of software distributed by Cua, You reserve all right, title,
+and interest in and to Your Contributions.
+
+## 1. Definitions
+
+"You" (or "Your") shall mean the copyright owner or legal entity authorized by
+the copyright owner that is making this Agreement with Cua. 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 Cua for inclusion in, or documentation of, any of the products owned
+or managed by Cua (the "Work"). For the purposes of this definition,
+"submitted" means any form of electronic, verbal, or written communication sent
+to Cua or its representatives, including but not limited to communication on
+electronic mailing lists, source code control systems, pull requests, and issue
+tracking systems that are managed by, or on behalf of, Cua 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."
+
+## 2. Grant of Copyright License
+
+Subject to the terms and conditions of this Agreement, You hereby grant to Cua
+and to recipients of software distributed by Cua 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. This
+license includes the right for Cua to sublicense Your Contributions and to
+license or relicense Your Contributions, and derivative works of them, under
+license terms of Cua's choosing, in addition to the license under which You
+submitted them.
+
+## 3. Grant of Patent License
+
+Subject to the terms and conditions of this Agreement, You hereby grant to Cua
+and to recipients of software distributed by Cua 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.
+
+## 4. Authority to Contribute
+
+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 Cua, or that Your employer has executed a
+separate agreement with Cua covering those Contributions.
+
+## 5. Original Work
+
+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.
+
+## 6. Support and Warranty
+
+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.
+
+## 7. Third-Party Work
+
+Should You wish to submit work that is not Your original creation, You may
+submit it to Cua 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]".
+
+## 8. Notification of Changes
+
+You agree to notify Cua of any facts or circumstances of which You become aware
+that would make these representations inaccurate in any respect.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index a2d312ba6d..7372bfe74b 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -83,6 +83,14 @@ GitHub issue form. Longer proposals and diagrams remain in this repository under
5. Run the formatters and linters owned by the changed component.
6. Open a focused pull request that explains behavior, validation, and known gaps.
+### Contributor License Agreement
+
+Before a pull request can be merged, its author must accept the
+[Contributor License Agreement](CLA.md) once. The **CI: CLA** check comments on
+your first pull request with instructions; reply with the sentence it gives you
+to sign. The agreement applies to your later contributions, and you keep
+ownership of your work. Maintainers and automation accounts are exempt.
+
### Agent-Assisted Contributions
Agent-assisted pull requests are welcome and are held to the same standard as