# OpenAVX Contributor License Agreement (CLA)

Thank you for your interest in contributing to **OpenAVX** (`openavx`).

By accepting this Agreement, You agree to the following terms for any Contribution You submit to OpenAVX:

## 1. Definitions

* **"Maintainer"** means **Saif Mukhtar** (`saifmukhtar20@gmail.com`), and his successors and assigns.
* **"You" (Contributor)** means the individual or legal entity submitting a Contribution to OpenAVX.
* **"Contribution"** means any original work of authorship — including source code, bug fixes, tests, documentation, or modifications to existing files — intentionally submitted by You for inclusion in OpenAVX (via GitHub pull request, issue, patch, or email).

## 2. Grant of Copyright License & Sublicensing Rights

Subject to the terms of this Agreement, You retain copyright ownership of Your Contribution. 

You hereby grant to **Maintainer** and to recipients of software distributed by Maintainer a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable, sublicensable (through multiple tiers of sublicensees), and transferable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Your Contribution and such derivative works under **any licensing terms chosen by Maintainer**, including:
1. Open-source licenses (including GNU AGPLv3 with Linking Exception or subsequent versions),
2. Commercial, proprietary, or OEM licenses, and
3. Multi-licensing or dual-licensing models.

Maintainer may assign or transfer this Agreement and all rights granted hereunder to any successor or acquirer of OpenAVX. To the extent permitted by applicable law, You waive and agree not to assert any moral rights in Your Contribution against Maintainer or its licensees, successors, or assigns in any manner that restricts exercising the licenses granted under this Agreement.

## 3. Grant of Patent License

Subject to the terms of this Agreement, You hereby grant to **Maintainer** and to recipients of software distributed by Maintainer a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section), sublicensable, and transferable patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer Your Contribution, where such license applies only to patent claims licensable by You that are necessarily infringed by Your Contribution alone or by combination with OpenAVX. If any entity institutes patent litigation against Maintainer or any user alleging that Your Contribution or OpenAVX constitutes patent infringement, any patent licenses granted to that entity under this Agreement terminate as of the date such litigation is filed.

## 4. Authority & Originality

You represent that:
1. Each Contribution is Your original creation and You are legally entitled to grant the above licenses.
2. If Your employer(s) or another third party has intellectual property rights in works You create (including employment inventions or work-made-for-hire), You represent that You have received permission to make Contributions on behalf of that organization under this Agreement (organizations requiring formal written sign-off may contact `saifmukhtar20@gmail.com`).
3. You are not submitting code copied from copyleft or proprietary third-party codebases without authorization.

## 5. No Warranty

Your Contributions are provided on an **"AS IS"** basis, without warranties or conditions of any kind, either express or implied.

## 6. How to Accept

Before a pull request can be merged, add the following comment on the pull request (using the name and email matching your Git commits; add `Entity: <Company Name>` if submitting on behalf of an employer):

```text
I have read the CLA Document and I hereby sign the CLA
Name: <Full Legal Name>
Email: <email@example.com>
```
