soturail 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,15 +1,17 @@
1
- SotuRail Reserved Rights Notice
2
-
3
- Copyright (c) 2026 Rafael Ryan Ramos de Souza.
4
- All rights reserved.
5
-
6
- No open-source license is currently granted for this repository or for future unreleased versions unless a later LICENSE file or written agreement explicitly says otherwise.
7
-
8
- This repository may be publicly visible for portfolio, planning, research, documentation, and evaluation purposes, but public visibility does not grant permission to copy, redistribute, sublicense, sell, commercialize, or create derivative works from the source code, documentation, assets, designs, roadmap, benchmarks, or related project materials.
9
-
10
- You may view the repository through GitHub according to GitHub's platform terms. Any additional use requires explicit written permission from the copyright holder.
11
-
12
- Important historical note:
13
- Previous published versions or copies of SotuRail that were explicitly released under the MIT License remain governed by the license terms that applied to those specific versions at the time of release. This notice is intended for the current repository state and future versions unless changed later.
14
-
15
- This notice is not legal advice. For commercial distribution, open-source release, dual licensing, or contributor agreements, consult a qualified legal professional.
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ Copyright 2026 Rafael Ryan Ramos de Souza
6
+
7
+ Licensed under the Apache License, Version 2.0 (the "License");
8
+ you may not use this file except in compliance with the License.
9
+ You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing, software
14
+ distributed under the License is distributed on an "AS IS" BASIS,
15
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ See the License for the specific language governing permissions and
17
+ limitations under the License.
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  [![Node.js >=20](https://img.shields.io/badge/node-%3E%3D20-3c873a)](package.json)
8
8
  [![TypeScript](https://img.shields.io/badge/TypeScript-strict-3178c6)](tsconfig.json)
9
- [![License: Reserved Rights](https://img.shields.io/badge/license-reserved--rights-red)](LICENSE)
9
+ [![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue)](LICENSE)
10
10
  [![CI](https://github.com/Soturine/soturail/actions/workflows/ci.yml/badge.svg)](https://github.com/Soturine/soturail/actions/workflows/ci.yml)
11
11
  [![npm version](https://img.shields.io/npm/v/soturail.svg)](https://www.npmjs.com/package/soturail)
12
12
  [![npm downloads](https://img.shields.io/npm/dm/soturail.svg)](https://www.npmjs.com/package/soturail)
@@ -698,12 +698,12 @@ v1.5.0 Governance And Cost Rail
698
698
 
699
699
  See [CONTRIBUTING.md](CONTRIBUTING.md). Reducers, hooks and rules should include tests, safety notes and benchmark impact when relevant.
700
700
 
701
- ## License Status
701
+ ## License
702
702
 
703
- SotuRail is not currently licensed as open source for the current repository state or future versions.
703
+ SotuRail is licensed under the [Apache License 2.0](LICENSE).
704
704
 
705
- All rights are reserved unless a later LICENSE file or written agreement explicitly grants permissions. This repository may be public for portfolio, planning, research, documentation and evaluation visibility, but broad copying, redistribution, sublicensing, commercial use or derivative works are not granted by default.
705
+ This means you can use, copy, modify, distribute and build on the project under the Apache-2.0 terms, including commercial use, as long as the license notice is preserved.
706
706
 
707
- Important: older SotuRail versions or copies that were explicitly released under MIT remain governed by the MIT terms that applied to those specific versions at the time of release.
707
+ Older releases remain governed by the license terms that applied at the time of each release.
708
708
 
709
709
  See [docs/licensing-strategy.md](docs/licensing-strategy.md).
@@ -1 +1 @@
1
- export declare const SOTURAIL_VERSION = "1.0.0";
1
+ export declare const SOTURAIL_VERSION = "1.0.1";
@@ -1,3 +1,3 @@
1
1
  // Generated by scripts/sync-version.mjs from package.json. Do not edit manually.
2
- export const SOTURAIL_VERSION = "1.0.0";
2
+ export const SOTURAIL_VERSION = "1.0.1";
3
3
  //# sourceMappingURL=version.js.map
@@ -2,134 +2,206 @@
2
2
 
3
3
  This document explains the current licensing position of SotuRail.
4
4
 
5
- It is not legal advice. For commercial distribution, open-source release, dual licensing, contributor agreements, or enforcement, consult a qualified legal professional.
5
+ It is not legal advice. For commercial distribution, dual licensing, contributor agreements, enforcement, or company usage decisions, consult a qualified legal professional.
6
6
 
7
7
  ## Current decision
8
8
 
9
- SotuRail is moving away from MIT for the current repository state and future versions.
9
+ SotuRail is distributed under the **Apache License 2.0**.
10
10
 
11
11
  Current stance:
12
12
 
13
13
  ```text
14
- All rights reserved.
15
- No broad open-source permission is granted by default.
14
+ Apache-2.0
15
+ Permissive open-source license.
16
+ Commercial use is allowed.
17
+ Modification and redistribution are allowed under the license terms.
18
+ Patent grant is included under the Apache-2.0 terms.
16
19
  ```
17
20
 
18
- The repository can remain public for portfolio, planning, research, documentation and evaluation visibility, but public visibility does not grant broad reuse rights.
21
+ The repository can remain public for development, documentation, evaluation, community feedback and adoption. Public visibility is now backed by an explicit open-source license instead of an all-rights-reserved notice.
19
22
 
20
- ## Why not MIT now?
23
+ ## Why Apache-2.0?
21
24
 
22
- MIT is a permissive open-source license. It is good when the goal is adoption, forks, reuse, contributions and commercial use by others.
25
+ Apache-2.0 is a good fit for SotuRail because the project is a developer tool, CLI package and local-first framework for AI coding agents.
23
26
 
24
- MIT is not a good fit when the goal is to prevent people from copying, repackaging, sublicensing, selling or commercializing the project.
27
+ It allows:
25
28
 
26
- ## Historical MIT note
29
+ * personal use;
30
+ * commercial use;
31
+ * modification;
32
+ * redistribution;
33
+ * private use;
34
+ * forks and integrations;
35
+ * use in developer tooling and internal company workflows.
27
36
 
28
- Previous published versions or copies that were explicitly released under MIT remain governed by the MIT terms that applied to those specific versions at the time of release.
37
+ It also includes an explicit patent grant, which makes it more suitable than a very minimal permissive license for a tool that may be used by companies, agent hosts, CI systems, plugin ecosystems and automation workflows.
29
38
 
30
- A later reserved-rights notice does not retroactively remove permissions already granted for previous MIT releases.
39
+ ## Historical license note
40
+
41
+ Older published versions or copies remain governed by the license terms that applied to those specific versions at the time of release.
31
42
 
32
43
  This means:
33
44
 
34
45
  ```text
35
- Old MIT releases stay MIT.
36
- Current and future repository state can use a stricter notice.
46
+ Old releases keep their original license terms.
47
+ Current and future releases use Apache-2.0 unless changed later.
37
48
  ```
38
49
 
50
+ A later license change does not retroactively remove permissions that were already granted for older versions.
51
+
39
52
  ## package.json status
40
53
 
41
- For future versions, `package.json` should use:
54
+ `package.json` should use:
42
55
 
43
56
  ```json
44
57
  {
45
- "license": "UNLICENSED"
58
+ "license": "Apache-2.0"
46
59
  }
47
60
  ```
48
61
 
49
- This communicates that the package is not being distributed under a standard open-source license.
62
+ The root package entry in `package-lock.json` should also reflect:
63
+
64
+ ```json
65
+ {
66
+ "license": "Apache-2.0"
67
+ }
68
+ ```
50
69
 
51
70
  ## Repository notice
52
71
 
53
- The root `LICENSE` file now acts as a reserved-rights notice instead of an MIT grant.
72
+ The root `LICENSE` file should contain the full Apache License 2.0 text.
73
+
74
+ Recommended README badge:
75
+
76
+ ```md
77
+ [![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue)](LICENSE)
78
+ ```
54
79
 
55
80
  Recommended README language:
56
81
 
57
82
  ```text
58
- SotuRail is not currently licensed as open source for the current repository state or future versions. All rights are reserved unless a later LICENSE file or written agreement explicitly grants permissions.
83
+ SotuRail is licensed under the Apache License 2.0.
84
+ ```
85
+
86
+ Or:
87
+
88
+ ```text
89
+ SotuRail is distributed under the Apache License 2.0. You may use, copy, modify, distribute and build on the project under the Apache-2.0 terms.
59
90
  ```
60
91
 
61
92
  ## What is allowed by default?
62
93
 
63
- Allowed by default:
94
+ Apache-2.0 allows, under its terms:
95
+
96
+ * viewing the repository;
97
+ * copying the source code;
98
+ * modifying the source code;
99
+ * redistributing the project;
100
+ * using the project commercially;
101
+ * creating derivative works;
102
+ * using the project privately;
103
+ * contributing improvements;
104
+ * integrating SotuRail into other developer workflows.
105
+
106
+ Users must still follow the Apache-2.0 license requirements, including preserving copyright and license notices.
107
+
108
+ ## What is not provided?
109
+
110
+ Apache-2.0 does not provide:
111
+
112
+ * warranty;
113
+ * liability protection for users;
114
+ * trademark rights;
115
+ * permission to misuse SotuRail branding;
116
+ * a guarantee that the software is fit for a particular purpose;
117
+ * a guarantee that future versions will remain under the exact same license forever.
118
+
119
+ ## Branding and trademark note
120
+
121
+ The Apache-2.0 license covers the software license. It does not automatically grant broad trademark or branding rights.
122
+
123
+ The names **SotuRail**, **Soturine**, logos, mascots and visual identity should be treated as project branding. If broader branding rules become necessary, add a separate trademark or brand usage policy.
124
+
125
+ ## Contributor policy
64
126
 
65
- - viewing the repository through GitHub;
66
- - reading documentation for evaluation;
67
- - discussing the project;
68
- - linking to the project.
127
+ If outside contributors are accepted later, the project should define contribution terms clearly.
69
128
 
70
- Not granted by default:
129
+ Possible options:
71
130
 
72
- - copying the source code;
73
- - redistributing the project;
74
- - sublicensing the project;
75
- - selling the project;
76
- - repackaging the project;
77
- - commercial use;
78
- - creating derivative works;
79
- - using assets or branding in another product.
131
+ * Developer Certificate of Origin, DCO;
132
+ * Contributor License Agreement, CLA;
133
+ * explicit statement that contributions are accepted under Apache-2.0;
134
+ * GitHub pull request template confirming contribution terms.
135
+
136
+ Recommended lightweight approach for now:
137
+
138
+ ```text
139
+ By contributing to SotuRail, you agree that your contribution is submitted under the Apache License 2.0.
140
+ ```
141
+
142
+ This can be added to `CONTRIBUTING.md`.
143
+
144
+ ## Dependency warning
145
+
146
+ SotuRail must continue respecting the licenses of dependencies, models, datasets, copied snippets and benchmark fixtures.
147
+
148
+ Before adding dependencies, check:
149
+
150
+ * package license;
151
+ * model license;
152
+ * dataset license;
153
+ * benchmark license;
154
+ * compatibility with Apache-2.0 distribution;
155
+ * whether attribution or notice files are required.
80
156
 
81
157
  ## Future options
82
158
 
83
- SotuRail can later choose a different model:
159
+ SotuRail can later choose a different model if the project direction changes.
84
160
 
85
- ### Keep all rights reserved
161
+ ### Continue with Apache-2.0
86
162
 
87
- Best for strict control while the product direction is still forming.
163
+ Best for broad adoption, community use, company usage, agent-host integrations and npm distribution.
88
164
 
89
165
  ### Dual license
90
166
 
167
+ Possible if a future commercial edition exists.
168
+
91
169
  Example:
92
170
 
93
171
  ```text
94
- Community source-available license for public visibility.
95
- Commercial license for paid/private usage.
172
+ Apache-2.0 for the open-source core.
173
+ Commercial license for private enterprise modules or hosted services.
96
174
  ```
97
175
 
98
176
  ### Open-core
99
177
 
178
+ Possible if advanced hosted, cloud, governance, native performance, team dashboard or enterprise policy features are added later.
179
+
100
180
  Example:
101
181
 
102
182
  ```text
103
- Core reducers open source.
104
- Advanced memory, governance, CI automation, cloud features or native performance modules commercial/private.
183
+ Core local Context OS under Apache-2.0.
184
+ Optional commercial/private modules for enterprise workflows.
105
185
  ```
106
186
 
107
187
  ### AGPL-3.0
108
188
 
109
- Useful if you want open-source sharing obligations, especially for network/server modifications, but it still allows copying under its terms.
110
-
111
- ### MIT or Apache-2.0 later
112
-
113
- Useful if broad adoption becomes more important than control.
114
-
115
- ## Contributor warning
116
-
117
- If outside contributors are accepted later, the project should define contribution terms first.
189
+ Useful only if the goal becomes strong copyleft obligations, especially for network/server modifications. This is not the current SotuRail direction because SotuRail is currently a local-first CLI/developer tool.
118
190
 
119
- Possible requirements:
191
+ ## Current recommendation
120
192
 
121
- - Contributor License Agreement, CLA;
122
- - Developer Certificate of Origin, DCO;
123
- - explicit statement that contributions are accepted under the project's current license terms.
193
+ Keep SotuRail under:
124
194
 
125
- ## Dependency warning
126
-
127
- Even with all rights reserved, SotuRail must respect the licenses of dependencies, models, datasets and copied snippets.
195
+ ```text
196
+ Apache-2.0
197
+ ```
128
198
 
129
- Before adding dependencies, check:
199
+ This is the best balance for the current project:
130
200
 
131
- - package license;
132
- - model license;
133
- - dataset license;
134
- - benchmark license;
135
- - compatibility with SotuRail's distribution model.
201
+ * permissive;
202
+ * professional;
203
+ * npm-friendly;
204
+ * company-friendly;
205
+ * compatible with open-source adoption;
206
+ * clearer around patent rights than MIT;
207
+ * suitable for developer tooling and AI agent workflows.
@@ -0,0 +1,11 @@
1
+ # SotuRail v1.0.1
2
+
3
+ ## Changed
4
+
5
+ - Updated package and repository licensing metadata to Apache-2.0.
6
+ - Aligned README license badge and license section with Apache-2.0.
7
+ - Aligned `docs/licensing-strategy.md` with the Apache-2.0 licensing decision.
8
+
9
+ ## Notes
10
+
11
+ This is a small metadata/documentation release after v1.0.0. No runtime behavior changes are intended.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "soturail",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Local-first context rails for AI coding agents: reversible terminal compression, progressive repo reading, SDD workflows, hooks, benchmarks, memory and cache-friendly payloads.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -55,7 +55,7 @@
55
55
  "soturail"
56
56
  ],
57
57
  "author": "Rafael Ryan Ramos de Souza",
58
- "license": "UNLICENSED",
58
+ "license": "Apache-2.0",
59
59
  "repository": {
60
60
  "type": "git",
61
61
  "url": "git+https://github.com/Soturine/soturail.git"