Files
yvgude--lean-ctx/CLA.md
T
wehub-resource-sync 26382a7ac6
CI / Test (macos-latest) (push) Waiting to run
CI / Test (windows-latest) (push) Waiting to run
CI / Build (no embeddings / no ORT) (push) Waiting to run
CI / Format (push) Waiting to run
CI / Cookbook (Node) (push) Waiting to run
CI / Pi Extension (Node) (push) Waiting to run
CI / Rust SDK (lean-ctx-client) (push) Waiting to run
CI / Embed SDK (lean-ctx-sdk) (push) Waiting to run
CI / Python SDK (leanctx) (push) Waiting to run
CI / Hermes Plugin (Python) (push) Waiting to run
CI / SDK Conformance Matrix (push) Waiting to run
CI / Coverage (push) Waiting to run
CI / cargo-deny (push) Waiting to run
CI / Adversarial Safety (push) Waiting to run
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
JetBrains Plugin / Actionlint (push) Waiting to run
CI / Benchmarks (push) Waiting to run
CI / Output-Quality Gate (eval A/B) (push) Waiting to run
CI / Documentation (push) Waiting to run
CI / CI Green (push) Blocked by required conditions
CodeQL / Analyze (actions) (push) Waiting to run
CodeQL / Analyze (rust) (push) Waiting to run
JetBrains Plugin / Validation (push) Waiting to run
JetBrains Plugin / Build (push) Waiting to run
JetBrains Plugin / Test (push) Blocked by required conditions
Security Check / Security Scan (push) Waiting to run
CI / Test (ubuntu-latest) (push) Has started running
CI / Clippy (push) Has started running
chore: import upstream snapshot with attribution
2026-07-13 12:35:30 +08:00

5.9 KiB

Contributor License Agreement

Thank you for your interest in contributing to lean-ctx ("the Project"), maintained by Yves Gugger ("the Maintainer"). This Contributor License Agreement ("Agreement") clarifies the intellectual-property license granted with Contributions from any person or entity. It protects both You and the Project, and it does not change Your right to use Your own Contributions for any other purpose.

By making a Contribution to the Project, You accept and agree to the following terms for Your present and future Contributions. Except for the licenses granted herein, You retain all right, title, and interest in and to Your Contributions.

1. Definitions

"You" (or "Your") means the individual or legal entity making a Contribution, or the legal entity on whose behalf the individual is authorized to act.

"Contribution" means any original work of authorship, including any modifications or additions to an existing work, that is intentionally submitted by You to the Project for inclusion in, or documentation of, any of the products owned or managed by the Project. "Submitted" means any form of electronic, verbal, or written communication sent to the Project or its representatives — including but not limited to communication on pull requests, issues, and electronic mailing lists — but excluding communication that is conspicuously marked, or otherwise designated in writing by You, as "Not a Contribution."

Subject to the terms and conditions of this Agreement, You hereby grant to the Maintainer and to recipients of software distributed by the Project 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. This license includes the right to relicense the Contributions, in whole or in part, under any license terms — including proprietary and dual-license terms — as the Maintainer may determine.

3. Grant of Patent License

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

You represent that:

  1. You are legally entitled to grant the above licenses. If Your employer(s) has 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 the Project, or that Your employer has executed a separate Corporate CLA with the Project.
  2. Each of Your Contributions is Your original creation (see Section 6 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.

5. No Obligation

You understand that the decision to include Your Contribution in any project or source repository is entirely that of the Maintainer, and this Agreement does not guarantee that the Contributions will be included in any product.

6. Third-Party Works

Should You wish to submit work that is not Your original creation, You may submit it to the Project 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]".

7. Maintenance of Representations

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

8. Relationship to the Open-Source License

Contributions to the Project remain licensed to the public under the Project's then-current open-source license (the Apache License 2.0). The additional rights granted to the Maintainer in Sections 2 and 3 exist alongside, and do not diminish, that public license. The free and open-source distribution of lean-ctx for individual developers is and remains the Project's commitment.


How to sign

You only need to sign once. When you open your first pull request, the CLA Assistant bot will comment with instructions and a status check. To sign, post the following as a comment on the pull request:

I have read the CLA Document and I hereby sign the CLA

Your signature (your GitHub username and the signing pull request) is recorded in this repository under the cla-signatures branch. Future pull requests are then accepted without re-signing.


This document is adapted from the widely used Apache Individual Contributor License Agreement and the CLA Assistant template. It is provided in good faith; for commercial reliance it should be reviewed by legal counsel.