# OxPulse Contributor License Agreement (CLA)

This Contributor License Agreement ("Agreement") documents the rights granted
by contributors to **OxPulse Inc.** ("OxPulse"). This Agreement is adapted
from the Apache Software Foundation Individual and Corporate Contributor
License Agreements and is required for contributions to
`oxpulse-partner-edge` and other OxPulse projects.

You accept and agree to the following terms and conditions for Your present
and future Contributions submitted to OxPulse. Except for the license
granted herein, You reserve all right, title, and interest in and to Your
Contributions.

---

## 1. Definitions

- **"You"** (or **"Your"**) means the copyright owner or legal entity
  authorized by the copyright owner that is making this Agreement with
  OxPulse. 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.
- **"Contribution"** means any original work of authorship, including any
  modifications or additions to an existing work, that is intentionally
  submitted by You to OxPulse for inclusion in, or documentation of, any of
  the projects owned or managed by OxPulse (the "Work"). For the purposes
  of this definition, "submitted" means any form of electronic, verbal, or
  written communication sent to OxPulse 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, OxPulse for the purpose of discussing and improving the Work.

## 2. Grant of Copyright License

Subject to the terms and conditions of this Agreement, You hereby grant to
OxPulse and to recipients of software distributed by OxPulse 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.

## 3. Grant of Patent License

Subject to the terms and conditions of this Agreement, You hereby grant to
OxPulse and to recipients of software distributed by OxPulse 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. Dual-licensing and Relicensing Right

You **expressly grant OxPulse the right to relicense Your Contributions**
under any license OxPulse chooses, including but not limited to:

- The GNU Affero General Public License v3.0 (AGPL-3.0) — the default
  license of `oxpulse-partner-edge`.
- A commercial license offered by OxPulse to organizations that cannot
  accept AGPL terms, as described in [`LICENSE-COMMERCIAL.md`](LICENSE-COMMERCIAL.md).
- Any future open-source or commercial license of OxPulse's choosing.

This grant is **irrevocable** and is a material part of this Agreement.
Without it, OxPulse cannot operate the dual-licensing model that funds
ongoing development of the open-source bundle.

## 5. Representations

You represent that:

1. You are legally entitled to grant the above license. If Your employer(s)
   have 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 OxPulse, or that Your employer
   has executed a separate Corporate CLA with OxPulse.
2. Each of Your Contributions is Your original creation (see Section 7 for
   submissions on behalf of others).
3. 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. Disclaimer

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 submissions

Should You wish to submit work that is not Your original creation, You may
submit it to OxPulse 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. Notice of changes

You agree to notify OxPulse of any facts or circumstances of which You
become aware that would make the representations in this Agreement
inaccurate in any respect.

---

## How to sign

For most contributors, signing is automated via a CLA-assistant bot
([cla-assistant.io](https://cla-assistant.io/)) that prompts you on your
first pull request. Read this Agreement, then accept it through the bot.

For corporate contributors (Entity CLA), or if the bot is unavailable, sign
by emailing a signed copy of this Agreement to **`legal@oxpulse.chat`**
including:

- Full legal name (individual) or registered company name (entity)
- Country of residence or incorporation
- GitHub username(s) covered by the agreement
- For entities: name and title of the authorized signatory

---

*Adapted from the Apache Software Foundation Individual Contributor License
Agreement v2.0 and Corporate Contributor License Agreement v2.0
(https://www.apache.org/licenses/contributor-agreements.html), with the
addition of an explicit relicensing grant in Section 4 to support the
OxPulse dual-licensing model.*
