# Contributing to Sema

Thank you for your interest in contributing to Sema.

Sema is source-available software distributed publicly under the PolyForm
Noncommercial License 1.0.0. Commercial use requires a separate commercial
license from the Sema licensor.

## Contributor representations

By submitting a contribution to Sema, you represent that:

- you created the contribution or otherwise have the legal right to submit it
  under these terms;
- the contribution does not knowingly violate any copyright, patent, trade
  secret, contractual obligation, or other third-party right;
- you have obtained any authorization required from your employer or another
  rights holder;
- you have clearly identified any third-party material included in the
  contribution and provided its applicable license and copyright notices;
- the contribution does not contain secrets, credentials, private keys,
  confidential information, or unlawfully obtained material;
- if the contribution was created with the assistance of an artificial
  intelligence system, you have reviewed it and remain responsible for its
  origin, legality, correctness, and compliance with these terms.

## Contribution license grant

You retain ownership of the copyright in your contribution.

By intentionally submitting a contribution for inclusion in Sema, you grant
Henrique Viana, as the author, copyright holder, and licensor of Sema, and his
successors and assigns, a worldwide, perpetual, irrevocable, non-exclusive,
royalty-free, transferable, and sublicensable license to:

- use, reproduce, modify, adapt, and prepare derivative works from the
  contribution;
- combine the contribution with Sema or other materials;
- publicly display, publicly perform, distribute, make available, host, and
  otherwise exploit the contribution;
- offer, license, and sublicense the contribution as part of Sema under the
  PolyForm Noncommercial License 1.0.0;
- offer, license, and sublicense the contribution as part of commercial,
  proprietary, source-available, or other versions of Sema;
- relicense the contribution as part of Sema under current or future licensing
  terms.

This license grant does not transfer ownership of your contribution to Henrique
Viana. You remain free to use and license your original contribution
independently, provided that doing so does not violate rights belonging to Sema
or to third parties.

## Patent license

To the extent that you own or control patent claims necessarily infringed by
your contribution, you grant Henrique Viana, his successors and assigns, and
recipients of Sema a worldwide, perpetual, irrevocable, non-exclusive,
royalty-free, transferable, and sublicensable patent license to make, use, sell,
offer for sale, import, and otherwise exploit your contribution as part of Sema.

This patent license terminates for any party that initiates patent litigation
alleging that Sema or a contribution incorporated into Sema infringes a patent.

## No obligation to accept contributions

Submitting a contribution does not guarantee that it will be accepted, merged,
published, maintained, or included in any public or commercial version of Sema.

The project maintainer may modify, reject, remove, or replace an accepted
contribution.

## Developer Certificate of Origin

All commits must include a Developer Certificate of Origin sign-off:

```bash
git commit -s
```

The sign-off must use your real name and an email address you are authorized to
use:

```text
Signed-off-by: Your Name <your.email@example.com>
```

The sign-off certifies the origin and authorization of each commit. It does not
replace the contribution license grant described in this document.

## Acceptance

By opening or submitting a pull request, patch, or other contribution intended
for inclusion in Sema, you confirm that you have read and agree to these
contribution terms.

Contributions submitted on behalf of a company or another organization must be
authorized by the applicable rights holder.
