# Contributing to ThumbGate

Thank you for your interest in improving ThumbGate.

This project follows the [Contributor Covenant Code of Conduct](CODE_OF_CONDUCT.md).

## How to Contribute

1. Open an issue to discuss significant changes before writing code.
2. Fork the repository and create a feature branch.
3. Follow the existing two-space indentation and single-quote style.
4. Add or update tests for any changed behavior.
5. Run the relevant test suites (`npm test` and targeted tests) before opening a
   pull request.
6. Use [Conventional Commits](https://www.conventionalcommits.org/) for commit
   messages.
7. Reference the relevant issue in your PR description.

## Contributor License Agreement / Developer Certificate of Origin

By contributing code, documentation, diagrams, or other materials to the
ThumbGate repository, you agree that:

- You have the right to submit the contribution.
- You grant ThumbGate and its maintainers a perpetual, worldwide, royalty-free,
  irrevocable license to use, reproduce, modify, distribute, and sublicense your
  contribution under the MIT License and any future dual-licensing arrangements
  used by the project.
- Your contribution is your original work or you have obtained all necessary
  rights and permissions from any third-party rights holders.
- You sign off each commit with `git commit -s`, certifying the
  [Developer Certificate of Origin](https://developercertificate.org/):

```text
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.
```

Pull requests without a Signed-off-by line may be rejected.

## Compensation and Commercial Use

Contributions to the public repository are made on a volunteer basis unless a
separate consulting agreement is signed with ThumbGate. The project maintainers
may incorporate your contribution into both open-source and commercial hosted
offerings governed by separate terms.

## Employment / Confidentiality Boundary

If you are subject to an employment agreement, non-disclosure agreement, or
invention-assignment obligation that may overlap with ThumbGate's domain (for
example, work in agentic AI, engineering acceleration, or AI governance), you
must certify that each contribution is entirely your own work, created on your
own time, without using any employer or third-party confidential information,
trade secrets, equipment, or facilities. See
`docs/legal/ECI_EMPLOYMENT_BOUNDARY_POLICY.md` for the project-wide policy.

Your Signed-off-by line implicitly certifies this boundary in addition to the
Developer Certificate of Origin.

## Questions

Contact the maintainers via the issue tracker at:
https://github.com/IgorGanapolsky/ThumbGate/issues
