Skip to content

Commit fe444d0

Browse files
authored
feat(licensing)!: adopt AGPL and commercial licensing
Publish Ragmir under AGPL-3.0-only from v3.0.0 onward, provide a separate commercial licensing path, ship complete license files in every npm tarball, and enforce the policy in validation. Releases before v3.0.0 keep their published license.
1 parent bfff207 commit fe444d0

38 files changed

Lines changed: 3046 additions & 45 deletions

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,8 @@
1717

1818
- [ ] No secrets, private documents, `.env` files, or generated `.ragmir/` state are included.
1919
- [ ] Public documentation does not expose private project, customer, or validation details.
20+
21+
## Licensing
22+
23+
- [ ] I have the right to submit these changes under `AGPL-3.0-only`.
24+
- [ ] For code contributions, commercial relicensing rights have been confirmed with the maintainer.

AGENTS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
- Speak with users in French. Keep code, identifiers, comments, file names, and commit messages in English.
66
- Keep the repository free of private documents, generated `.ragmir/` state, credentials, and environment files.
7-
- Ragmir is a fully open-source MIT project. Do not add activation, account, hosted-storage, native-shell, or cloud-vendor integrations.
7+
- Ragmir is open source under `AGPL-3.0-only`, with a separate commercial licensing option from JCode Works. Keep manifest, package, documentation, landing, and release metadata aligned with that policy. Do not add activation, account, hosted-storage, native-shell, or cloud-vendor integrations.
8+
- Do not merge an external code contribution unless the maintainer has confirmed the contributor grants the rights needed for both the AGPL and commercial licensing paths.
89
- The repository is a pnpm workspace. Use the pinned Node version from `mise.toml`; Rust is not part of this project.
910
- Start feature work from `develop` on `feature/*`, use pull requests into `develop`, and never publish or deploy without explicit confirmation.
1011

CLAUDE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ pnpm example
1212
Use `pnpm --filter @jcode.labs/ragmir <script>` for Core-only work. The pinned Node version lives in
1313
`mise.toml`; activate mise in your shell or run local workspace commands with that pinned version.
1414
Published packages require Node.js 22 or later, matching their manifests and release gate.
15+
Ragmir source is `AGPL-3.0-only` from v3.0.0 onward, with a separate commercial licensing option.
16+
Keep package metadata, license files, public documentation, and release notes aligned. External code
17+
contributions need confirmed rights for both licensing paths before merge.
1518

1619
## Workspace
1720

COMMERCIAL-LICENSE.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Commercial licensing
2+
3+
Ragmir is available through two licensing paths.
4+
5+
## Open-source path
6+
7+
The source code is available under the
8+
[GNU Affero General Public License v3.0 only](https://github.com/jcode-works/jcode-ragmir/blob/main/LICENSE)
9+
(`AGPL-3.0-only`). This path allows use, modification, and redistribution under the terms of that
10+
license, including its source-availability requirements for modified software used over a network.
11+
12+
## Commercial path
13+
14+
A separate commercial agreement is available for organizations that want to integrate, modify,
15+
redistribute, or operate Ragmir as part of proprietary software or a hosted service without the
16+
AGPL obligations applying to that use.
17+
18+
Contact JCode Works at [contact@jcode.works](mailto:contact@jcode.works) to discuss commercial
19+
terms. This document describes the availability of commercial licensing. It is not itself a grant
20+
of commercial rights. Those rights begin only under a separate signed agreement.
21+
22+
## Version boundary
23+
24+
Releases before `v3.0.0` remain available under the license published with those releases. Source
25+
code released from `v3.0.0` onward is `AGPL-3.0-only` unless an individual file states otherwise.
26+
27+
## Contributions and third-party material
28+
29+
Third-party dependencies, model files, and other separately identified material keep their own
30+
licenses. Code contributions require the rights described in
31+
[CONTRIBUTING.md](https://github.com/jcode-works/jcode-ragmir/blob/main/CONTRIBUTING.md) so the
32+
project can continue to offer both licensing paths.
33+
34+
The AGPL license does not grant trademark rights in the Ragmir, JCode Labs, or JCode Works names or
35+
logos. Factual references to the project are welcome, but modified or commercial offerings must
36+
not imply endorsement.

CONTRIBUTING.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Contributing
22

3-
Ragmir is an open-source MIT project. Issues and pull requests are welcome.
3+
Ragmir is an open-source `AGPL-3.0-only` project with a separate commercial licensing option.
4+
Issues and pull requests are welcome.
45

56
Ragmir is maintained by a single developer ([Jean-Baptiste Thery](https://github.com/jb-thery)).
67
Be kind, be specific, and keep the scope of each contribution focused so it can be reviewed
@@ -74,6 +75,17 @@ pnpm audit:security
7475
protected semantic-release workflow from `main`; versions come from Conventional Commits, not
7576
manual package bumps.
7677

78+
## Contribution licensing
79+
80+
By submitting a documentation, test, or code contribution, you confirm that you have the right to
81+
submit it under the project's [AGPL-3.0-only license](./LICENSE). Code contributions are accepted
82+
only after the maintainer also confirms the project has the rights needed to offer that
83+
contribution under separate commercial terms. The maintainer may request a separate written
84+
contributor agreement before merge.
85+
86+
This policy preserves both licensing paths without taking copyright ownership away from the
87+
contributor. See [COMMERCIAL-LICENSE.md](./COMMERCIAL-LICENSE.md) for the public licensing boundary.
88+
7789
## Security
7890

7991
Do not report vulnerabilities through public issues. Follow [`SECURITY.md`](./SECURITY.md).

0 commit comments

Comments
 (0)