# SocratiCode — Contributor License Agreement (CLA)

Thank you for your interest in contributing to SocratiCode, owned and maintained
by Giancarlo Erra - Altaire Limited ("We", "Us", "Our").

This Contributor License Agreement ("Agreement") applies to any Contribution
you make to SocratiCode. By submitting a Contribution, you accept and agree to
the following terms.

## 1. Definitions

**"Contribution"** means any original work of authorship, including any
modifications or additions to existing work, that you intentionally submit to
this project. This includes code, documentation, bug fixes, and any other
material submitted via pull requests, issues, patches, or any other mechanism.

**"Submit"** means any form of electronic or written communication sent to the
project, including but not limited to pull requests, commits, issues, and
comments on any of the above.

## 2. Grant of Copyright License

You hereby grant to Us 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 any derivative works thereof. This includes the right to
license your Contributions under any license, including proprietary licenses.

## 3. Grant of Patent License

You hereby grant to Us a perpetual, worldwide, non-exclusive, no-charge,
royalty-free, irrevocable patent license to make, have made, use, offer to sell,
sell, import, and otherwise transfer your Contributions, 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 project to which the Contribution(s) were submitted.

## 4. You Retain Ownership

You retain ownership of the copyright in your Contributions. This Agreement
does not transfer ownership; it only grants Us the licenses described above.
You are free to use your Contributions for any other purpose.

## 5. Representations

You represent that:

- Each Contribution is your original creation, or you have sufficient rights
  to grant the licenses in this Agreement.
- Your Contribution does not violate any third party's intellectual property
  rights.
- If your employer has rights to intellectual property that you create, you
  have received permission to make Contributions on behalf of that employer,
  or your employer has waived such rights.

## 6. No Obligation

You understand that the decision to include your Contribution in the project
is entirely at Our discretion. We are not obligated to use or include any
Contribution.

## 7. Purpose

This CLA enables Us to dual-license SocratiCode: under the open-source
AGPL-3.0 license and under a separate commercial license. Without this CLA,
contributions from external authors could only be distributed under AGPL-3.0,
preventing Us from offering commercial licenses that include those contributions.

## 8. How to Sign

By submitting a pull request to this repository, you agree to the terms of
this CLA. If CLA Assistant is enabled on this repository, you will be asked
to sign electronically on your first pull request.

---

*This CLA is modeled after the Apache Individual Contributor License Agreement
and adapted for SocratiCode's dual-licensing model.*
