@smartergpt/lexrunner 2.0.2 → 2.2.0
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/BRAND.md +14 -0
- package/CHANGELOG.md +49 -0
- package/GOVERNANCE.md +18 -0
- package/LICENSE.md +201 -110
- package/NOTICE.md +12 -1
- package/README.mcp.md +5 -1
- package/README.md +48 -35
- package/dist/{api-QBPBKYOC.js → api-UIWVFU7M.js} +1 -1
- package/dist/{audit-SKMMC2U4.js → audit-HVB2HJPU.js} +2 -2
- package/dist/{autopilot-3OHEUTHD.js → autopilot-7PX6YG55.js} +2 -2
- package/dist/{chunk-6PZDSWCG.js → chunk-37UC53OG.js} +2 -2
- package/dist/{chunk-ARDKZW7F.js → chunk-M6AAYMHH.js} +363 -293
- package/dist/{chunk-V3BU2VDU.js → chunk-PDDULIDL.js} +13 -1
- package/dist/cli.cjs +3672 -2774
- package/dist/cli.d.ts +201 -24
- package/dist/cli.js +1073 -275
- package/dist/{commandValidator-LVEMJTZP.js → commandValidator-XFVNCZXX.js} +1 -1
- package/dist/{constraints-2ZK5FJFA.js → constraints-LE2MW5NS.js} +1 -1
- package/dist/errors/index.js +1 -1
- package/dist/frames/index.js +1 -1
- package/dist/{gateMapping-R3RJYKMS.js → gateMapping-V4DTL5WD.js} +1 -1
- package/dist/hooks/events.js +1 -1
- package/dist/{jsonEnvelope-K2U5CWKU.js → jsonEnvelope-MXJM5ZQH.js} +1 -1
- package/dist/{mergeTreeSimulator-QCFSOU25.js → mergeTreeSimulator-GWZ77NF2.js} +1 -1
- package/dist/package-schemas/behavior-rule.js +1 -1
- package/dist/package-schemas/execution-plan-v1.js +1 -1
- package/dist/package-schemas/gates.js +1 -1
- package/dist/package-schemas/runner-scope.js +1 -1
- package/dist/package-schemas/runner-stack.js +1 -1
- package/dist/{planDiff-IHLFNZUT.js → planDiff-4D3AERAW.js} +1 -1
- package/dist/{planHistory-GLRI356L.js → planHistory-VPV4WDPW.js} +1 -1
- package/dist/{planReview-UUMCGZJ6.js → planReview-FV6INFLQ.js} +1 -1
- package/dist/{planViewer-TRSQVMH4.js → planViewer-WOV6A2HZ.js} +1 -1
- package/dist/{sarif-2C6RKOUX.js → sarif-QXVE3LYD.js} +1 -1
- package/dist/sdk/index.d.ts +5 -5
- package/dist/sdk/index.js +1 -1
- package/dist/{security-OE4VLUFK.js → security-W7TOUXSB.js} +1 -1
- package/dist/{signing-KLZYZZMP.js → signing-WGVPHJGG.js} +1 -1
- package/dist/{verify-3UVMA62I.js → verify-Y34CJAKB.js} +1 -1
- package/package.json +8 -6
- package/schemas/plan.schema.json +203 -73
package/BRAND.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Project identity and attribution
|
|
2
|
+
|
|
3
|
+
SmarterGPT was founded by Joseph Gustavson (Guffawaffle). Keep applicable copyright,
|
|
4
|
+
license and NOTICE information with redistributions as required by their licenses.
|
|
5
|
+
|
|
6
|
+
Truthful references to LexRunner, SmarterGPT and Guffawaffle, including descriptions
|
|
7
|
+
of compatibility and a fork's origin, are welcome. Identify modified distributions
|
|
8
|
+
and forks accurately; do not imply maintainer endorsement or present them as an
|
|
9
|
+
official release. No registered-trademark status is asserted here.
|
|
10
|
+
|
|
11
|
+
Apache-2.0 section 6 governs trademark permissions. This policy adds no field-of-use,
|
|
12
|
+
commercial-use, fork, hosted-service or mandatory user-interface badge restriction
|
|
13
|
+
to the code license. Separate permission is needed for branding that implies official
|
|
14
|
+
endorsement; it is not needed for the truthful attribution described above.
|
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,55 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [2.2.0] - 2026-09-09
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Optional explicit `gitInputs` in plan Schema 1.0.1: repository identity, acquisition
|
|
14
|
+
mode and frozen target/source refs and commits for single-repository integration.
|
|
15
|
+
- Visible `frozen` and `legacy-unbound` status, with compatibility guidance for old
|
|
16
|
+
plans and older strict parsers. Existing unbound plans remain supported.
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- Execute generated GitHub plans through the shared local CLI/MCP integration path
|
|
21
|
+
using frozen commits instead of PR display names. Reject moved inputs, mismatched
|
|
22
|
+
checkouts and failed acquisition without local-ref fallback.
|
|
23
|
+
- Reject passing commands that mutate tracked state, HEAD or the integration branch;
|
|
24
|
+
preserve unexpected changes and separate gate/post-check receipt references.
|
|
25
|
+
- Resolve generated gate names to executable commands. Remove guessed output paths
|
|
26
|
+
while retaining strict validation of explicitly declared artifacts.
|
|
27
|
+
- Export the complete plan JSON Schema through the installed Zod version.
|
|
28
|
+
- Update vulnerable runtime/test dependencies, including Hono, sharp, js-yaml and
|
|
29
|
+
Vitest; the prepared lockfile passes npm audit with zero reported vulnerabilities.
|
|
30
|
+
|
|
31
|
+
### Documentation
|
|
32
|
+
|
|
33
|
+
- Explain the first integration trial, explicit local effects and retained review
|
|
34
|
+
boundaries; align Git test guidance with the existing isolated CI lane.
|
|
35
|
+
- Use canonical SmarterGPT repository links and organization publisher guidance.
|
|
36
|
+
|
|
37
|
+
## [2.1.0] - 2026-09-06
|
|
38
|
+
|
|
39
|
+
### Added
|
|
40
|
+
|
|
41
|
+
- Immutable authored-plan artifact contracts and service-level no-replace registration
|
|
42
|
+
from #947. Acquisition and storage authority remain explicitly unverified pending
|
|
43
|
+
native acquisition and verifier work.
|
|
44
|
+
|
|
45
|
+
### Changed
|
|
46
|
+
|
|
47
|
+
- Adopt Apache-2.0 with preserved Joseph Gustavson / Guffawaffle / SmarterGPT founder
|
|
48
|
+
attribution, contribution provenance, governance and brand policies. Public npm
|
|
49
|
+
access does not relicense earlier package versions.
|
|
50
|
+
- Prepare public publication through the existing signed stable-tag OIDC workflow.
|
|
51
|
+
|
|
52
|
+
### Fixed
|
|
53
|
+
|
|
54
|
+
- Update fast-uri and qs to patched versions before the public release.
|
|
55
|
+
- Treat branch names and labels as data in merged-branch cleanup, with fork rejection
|
|
56
|
+
before token-bearing steps.
|
|
57
|
+
|
|
9
58
|
## [2.0.2] - 2026-08-29
|
|
10
59
|
|
|
11
60
|
### Fixed
|
package/GOVERNANCE.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# LexRunner stewardship
|
|
2
|
+
|
|
3
|
+
SmarterGPT was founded by Joseph Gustavson (Guffawaffle). Joseph is the initial
|
|
4
|
+
lead maintainer for this project. Contributions retain their authorship and
|
|
5
|
+
applicable ownership; maintainer status does not imply ownership of every contribution.
|
|
6
|
+
|
|
7
|
+
Changes use repository review and verification gates. Maintainers document material
|
|
8
|
+
architecture decisions in ADRs and discuss proposed changes through issues and pull
|
|
9
|
+
requests. Changes to governance follow that same public review process. Release
|
|
10
|
+
authority continues to follow the repository's release controls.
|
|
11
|
+
|
|
12
|
+
The code license permits commercial use and forks. [BRAND.md](BRAND.md) explains
|
|
13
|
+
truthful attribution and official project identity. The license grants no credentials,
|
|
14
|
+
tenant membership, company-data access or runtime execution authority.
|
|
15
|
+
|
|
16
|
+
AI-assisted contributions have the same review, rights-to-submit and provenance
|
|
17
|
+
requirements as other contributions. Do not make unsupported authorship, ownership
|
|
18
|
+
or licensing claims based on the use of an AI system.
|
package/LICENSE.md
CHANGED
|
@@ -1,110 +1,201 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/NOTICE.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
# LexRunner notices
|
|
2
|
+
|
|
3
|
+
Copyright (c) Joseph Gustavson / Guffawaffle / SmarterGPT.
|
|
4
|
+
|
|
5
|
+
SmarterGPT was founded by Joseph Gustavson (Guffawaffle).
|
|
6
|
+
Contributor and third-party rights and notices are preserved.
|
|
7
|
+
|
|
8
|
+
LexRunner is licensed under the Apache License, Version 2.0; see [LICENSE.md](LICENSE.md).
|
|
9
|
+
This notice supplies attribution and does not add restrictions to that license.
|
|
10
|
+
Earlier releases retain their applicable license terms.
|
|
11
|
+
|
|
1
12
|
# Third-Party Notices
|
|
2
13
|
|
|
3
14
|
LexRunner includes or depends on third-party software components that are provided under separate license terms.
|
|
@@ -6,7 +17,7 @@ LexRunner includes or depends on third-party software components that are provid
|
|
|
6
17
|
|
|
7
18
|
### @smartergpt/lex
|
|
8
19
|
|
|
9
|
-
- **Version**:
|
|
20
|
+
- **Version**: 4.0.3
|
|
10
21
|
- **License**: MIT License
|
|
11
22
|
- **Copyright**: Copyright (c) 2025 Guffawaffle
|
|
12
23
|
- **Description**: MIT-licensed memory, policy, and atlas framework with MCP server. For local dev and private automation.
|
package/README.mcp.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# MCP Server for lexrunner
|
|
2
2
|
|
|
3
|
-
The Model Context Protocol (MCP) server for lexrunner provides
|
|
3
|
+
The Model Context Protocol (MCP) server for lexrunner provides tools for plan creation, gate execution, and merge operations.
|
|
4
|
+
Plan creation can write files and gate execution runs commands. `ALLOW_MUTATIONS=false`
|
|
5
|
+
blocks protected mutations such as merging; it is not a read-only sandbox.
|
|
6
|
+
|
|
7
|
+
Start with [installation and interface choices](docs/first-use-compatibility.md).
|
|
4
8
|
|
|
5
9
|
**Architecture:** This server is aligned with LexBrain and LexMap MCP implementations, using direct stdio JSON-RPC 2.0 protocol handling for consistency and maintainability across the Lex ecosystem.
|
|
6
10
|
|
package/README.md
CHANGED
|
@@ -15,7 +15,37 @@ fit for a repository with one occasional PR and no integration-order problem.
|
|
|
15
15
|
That evaluation is deliberately read-only. Installing the package, writing a plan, creating a
|
|
16
16
|
branch, pushing, opening a PR, or merging requires separate approval.
|
|
17
17
|
|
|
18
|
-
##
|
|
18
|
+
## Start here
|
|
19
|
+
|
|
20
|
+
For your first trial, install **LexRunner only** in a GitHub repository with open
|
|
21
|
+
PRs. Node.js 24+ and Git are required. npm installs LexRunner's dependencies; you
|
|
22
|
+
do not need to install Lex, AXF, LexSona, a policy-host service, or an MCP server
|
|
23
|
+
separately for this CLI workflow. These examples target the 2.2.0 candidate; verify
|
|
24
|
+
npm availability before installation.
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npm install --save-dev @smartergpt/lexrunner@2.2.0
|
|
28
|
+
npx lexrunner --version
|
|
29
|
+
npx lexrunner weave discover --json
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Installation changes your package manifest, lockfile and dependencies. Discovery
|
|
33
|
+
reads GitHub; private repositories need an authorized `GITHUB_TOKEN` supplied to
|
|
34
|
+
the process. See the [merge-weave quickstart](MERGE_WEAVE_QUICKSTART.md) for setup,
|
|
35
|
+
authentication and the complete first-use journey:
|
|
36
|
+
|
|
37
|
+
**Discover → freeze a plan → inspect dependencies → preview gates.**
|
|
38
|
+
|
|
39
|
+
The first useful result is an inspected plan and gate preview. A dry run neither
|
|
40
|
+
executes gates nor proves merge eligibility. The quickstart separates local writes,
|
|
41
|
+
command execution, independent review and the explicit merge boundary. Single-repository
|
|
42
|
+
GitHub plans bind explicit refs and commits for local integration. The walkthrough
|
|
43
|
+
explains clean-checkout preparation, exact-input checks and separately authorized execution.
|
|
44
|
+
|
|
45
|
+
[Start the walkthrough](MERGE_WEAVE_QUICKSTART.md) ·
|
|
46
|
+
[Choose another SmarterGPT workflow](https://smartergpt.dev/docs/how-to-use/)
|
|
47
|
+
|
|
48
|
+
## Add capabilities when needed
|
|
19
49
|
|
|
20
50
|
LexRunner’s supported workflow has grown in layers. A normal user can stop at any layer.
|
|
21
51
|
|
|
@@ -34,31 +64,6 @@ host/reboot recovery remains release evidence, and Stage 5 fault-injection and a
|
|
|
34
64
|
remain unproven. See [ADR-010](docs/adr/ADR-010-agent-work-orchestration-protocol.md) and the
|
|
35
65
|
[headless proof boundary](docs/architecture/headless-supervisor.md).
|
|
36
66
|
|
|
37
|
-
## Smallest useful trial
|
|
38
|
-
|
|
39
|
-
First inspect without mutation:
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
lexrunner --version
|
|
43
|
-
lexrunner workspace doctor --json
|
|
44
|
-
lexrunner weave discover --json
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
After approving a local, reversible artifact, freeze and inspect a plan:
|
|
48
|
-
|
|
49
|
-
```bash
|
|
50
|
-
lexrunner weave plan --from-github --output plan.json --json
|
|
51
|
-
lexrunner schema validate plan.json --json
|
|
52
|
-
lexrunner weave merge-order plan.json --json
|
|
53
|
-
lexrunner gate run plan.json --dry-run --json
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
These commands do not merge. `lexrunner weave apply --execute` is a separate mutation and should be
|
|
57
|
-
run only after reviewing the frozen plan, authority, gates, and target branch.
|
|
58
|
-
|
|
59
|
-
For a guided merge-weave walkthrough, use
|
|
60
|
-
[MERGE_WEAVE_QUICKSTART.md](MERGE_WEAVE_QUICKSTART.md).
|
|
61
|
-
|
|
62
67
|
## Architecture boundary
|
|
63
68
|
|
|
64
69
|
LexRunner has two contracts that must not be blurred:
|
|
@@ -88,11 +93,10 @@ source tree. Canonical terms live in [`docs/TERMS.md`](docs/TERMS.md).
|
|
|
88
93
|
|
|
89
94
|
## Install and authenticate
|
|
90
95
|
|
|
91
|
-
Ecosystem 3.1 requires Node.js 24 or newer. The package is
|
|
92
|
-
|
|
96
|
+
Ecosystem 3.1 requires Node.js 24 or newer. The npm package is publicly readable without
|
|
97
|
+
an npm login. Current source uses Apache-2.0; 2.1.0 is the first public npm release under those terms. Earlier published versions retain their applicable licenses.
|
|
93
98
|
|
|
94
99
|
```bash
|
|
95
|
-
npm login --scope=@smartergpt --registry=https://registry.npmjs.org/
|
|
96
100
|
npm install --save-dev @smartergpt/lexrunner
|
|
97
101
|
npx lexrunner --version
|
|
98
102
|
```
|
|
@@ -115,11 +119,13 @@ The checked-in package version is the single source for `lexrunner --version` an
|
|
|
115
119
|
|
|
116
120
|
<!-- BEGIN GENERATED PACKAGE VERSION -->
|
|
117
121
|
|
|
118
|
-
Current repository package version: **2.0
|
|
122
|
+
Current repository package version: **2.2.0**. npm availability and dist-tags are separate
|
|
119
123
|
release evidence; inspect the registry rather than inferring publication from source metadata.
|
|
120
124
|
<!-- END GENERATED PACKAGE VERSION -->
|
|
121
125
|
|
|
122
|
-
See the [2.0
|
|
126
|
+
See the [2.2.0 frozen-input release candidate](docs/releases/2.2.0.md), the
|
|
127
|
+
[2.1.0 open-source release](docs/releases/2.1.0.md), the
|
|
128
|
+
[2.0.2 generated timeout correction](docs/releases/2.0.2.md), the
|
|
123
129
|
[2.0.1 MCP identity correction](docs/releases/2.0.1.md), the
|
|
124
130
|
[2.0.0 plan-bound evidence release](docs/releases/2.0.0.md), the
|
|
125
131
|
[1.5.2 exact Lex alignment release](docs/releases/1.5.2.md), the
|
|
@@ -133,9 +139,11 @@ supported assisted behavior, and deferred guarantees.
|
|
|
133
139
|
|
|
134
140
|
## Choose a surface
|
|
135
141
|
|
|
136
|
-
- **Human CLI:**
|
|
137
|
-
|
|
138
|
-
|
|
142
|
+
- **Human CLI:** follow the [first-use walkthrough](MERGE_WEAVE_QUICKSTART.md).
|
|
143
|
+
- **Agent/MCP:** LexRunner ships `lexrunner-mcp`; use it for plans, gates and
|
|
144
|
+
integration. No MCP setup is needed for the CLI trial. Tool calls can write
|
|
145
|
+
artifacts or run commands even when merge mutations are disabled. See the
|
|
146
|
+
[compatibility and setup guide](docs/first-use-compatibility.md), plus
|
|
139
147
|
[`docs/AX.md`](docs/AX.md) and [`README.mcp.md`](README.mcp.md).
|
|
140
148
|
- **Assisted agent work:** run `attempt preflight` before packet construction. When it reports
|
|
141
149
|
`broker_required`, use `attempt projection status|prepare` to bind the exact committed base into
|
|
@@ -195,7 +203,12 @@ Release validation remains exhaustive. See [`AGENTS.md`](AGENTS.md),
|
|
|
195
203
|
- CLI: `lexrunner` (`lex-pr` compatibility alias)
|
|
196
204
|
- MCP bin: `lexrunner-mcp`
|
|
197
205
|
- Runtime dependency: `@smartergpt/lex` (MIT)
|
|
198
|
-
- LexRunner license:
|
|
206
|
+
- LexRunner source license: Apache-2.0; earlier releases retain their applicable terms
|
|
199
207
|
|
|
200
208
|
See [`LICENSE.md`](LICENSE.md), [`NOTICE.md`](NOTICE.md), and
|
|
201
209
|
[ADR-008](docs/adr/ADR-008-lex-packaging.md).
|
|
210
|
+
|
|
211
|
+
SmarterGPT was founded by Joseph Gustavson (Guffawaffle). See
|
|
212
|
+
[stewardship](GOVERNANCE.md), [contributing](CONTRIBUTING.md), and
|
|
213
|
+
[project identity](BRAND.md). Commercial use and forks are permitted under the
|
|
214
|
+
license; code licensing grants no credentials, tenant access or runtime authority.
|
|
@@ -23,13 +23,13 @@ import {
|
|
|
23
23
|
sanitizeEnv,
|
|
24
24
|
sanitizeFileContent,
|
|
25
25
|
writeManifest
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-37UC53OG.js";
|
|
27
27
|
import {
|
|
28
28
|
generateSARIF,
|
|
29
29
|
writeSARIF
|
|
30
30
|
} from "./chunk-6KK5JFFE.js";
|
|
31
31
|
import "./chunk-55VWJYZY.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-PDDULIDL.js";
|
|
33
33
|
export {
|
|
34
34
|
AUDIT_PROFILES,
|
|
35
35
|
AuditEmitter,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
hasCapability,
|
|
17
17
|
parseAutopilotConfig,
|
|
18
18
|
validateAutopilotConfig
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-M6AAYMHH.js";
|
|
20
20
|
import "./chunk-4FFGNTAV.js";
|
|
21
21
|
import "./chunk-6A4IE3TI.js";
|
|
22
22
|
import "./chunk-VAGHAQT2.js";
|
|
@@ -25,7 +25,7 @@ import "./chunk-26SCN2LJ.js";
|
|
|
25
25
|
import "./chunk-TPVORFSN.js";
|
|
26
26
|
import "./chunk-55VWJYZY.js";
|
|
27
27
|
import "./chunk-AXOAVRTU.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-PDDULIDL.js";
|
|
29
29
|
export {
|
|
30
30
|
ArtifactWriter,
|
|
31
31
|
AutopilotBase,
|