@smartergpt/lexrunner 2.1.0 → 2.3.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/CHANGELOG.md CHANGED
@@ -6,6 +6,50 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [2.3.0] - 2026-09-09
10
+
11
+ ### Added
12
+
13
+ - Shared selected-work materialization through `attempt materialize` and the read-only
14
+ `materialize_attempt_input` MCP tool, with explicit preparation fields and source correspondence.
15
+ - Optional expected packet hash in preparation to reject changed input before resource
16
+ acquisition and report possible effects if the prepared result unexpectedly differs.
17
+ - A complete selected-work example and guidance separating materialization, preparation,
18
+ worker execution and verification. Older strict consumers must upgrade for the bound input.
19
+
20
+ ### Fixed
21
+
22
+ - Preserve authored technical context and constraints through project planning and issue
23
+ descriptions; report missing success criteria as an actionable input failure.
24
+
25
+ ## [2.2.0] - 2026-09-09
26
+
27
+ ### Added
28
+
29
+ - Optional explicit `gitInputs` in plan Schema 1.0.1: repository identity, acquisition
30
+ mode and frozen target/source refs and commits for single-repository integration.
31
+ - Visible `frozen` and `legacy-unbound` status, with compatibility guidance for old
32
+ plans and older strict parsers. Existing unbound plans remain supported.
33
+
34
+ ### Fixed
35
+
36
+ - Execute generated GitHub plans through the shared local CLI/MCP integration path
37
+ using frozen commits instead of PR display names. Reject moved inputs, mismatched
38
+ checkouts and failed acquisition without local-ref fallback.
39
+ - Reject passing commands that mutate tracked state, HEAD or the integration branch;
40
+ preserve unexpected changes and separate gate/post-check receipt references.
41
+ - Resolve generated gate names to executable commands. Remove guessed output paths
42
+ while retaining strict validation of explicitly declared artifacts.
43
+ - Export the complete plan JSON Schema through the installed Zod version.
44
+ - Update vulnerable runtime/test dependencies, including Hono, sharp, js-yaml and
45
+ Vitest; the prepared lockfile passes npm audit with zero reported vulnerabilities.
46
+
47
+ ### Documentation
48
+
49
+ - Explain the first integration trial, explicit local effects and retained review
50
+ boundaries; align Git test guidance with the existing isolated CI lane.
51
+ - Use canonical SmarterGPT repository links and organization publisher guidance.
52
+
9
53
  ## [2.1.0] - 2026-09-06
10
54
 
11
55
  ### Added
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 read-only tools for plan creation, gate execution, and merge operations.
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,36 @@ 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
- ## What works today
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 use the published 2.2.0 release.
24
+
25
+ ```bash
26
+ npm install --save-dev @smartergpt/lexrunner@2.2.0
27
+ npx lexrunner --version
28
+ npx lexrunner weave discover --json
29
+ ```
30
+
31
+ Installation changes your package manifest, lockfile and dependencies. Discovery
32
+ reads GitHub; private repositories need an authorized `GITHUB_TOKEN` supplied to
33
+ the process. See the [merge-weave quickstart](MERGE_WEAVE_QUICKSTART.md) for setup,
34
+ authentication and the complete first-use journey:
35
+
36
+ **Discover → freeze a plan → inspect dependencies → preview gates.**
37
+
38
+ The first useful result is an inspected plan and gate preview. A dry run neither
39
+ executes gates nor proves merge eligibility. The quickstart separates local writes,
40
+ command execution, independent review and the explicit merge boundary. Single-repository
41
+ GitHub plans bind explicit refs and commits for local integration. The walkthrough
42
+ explains clean-checkout preparation, exact-input checks and separately authorized execution.
43
+
44
+ [Start the walkthrough](MERGE_WEAVE_QUICKSTART.md) ·
45
+ [Choose another SmarterGPT workflow](https://smartergpt.dev/docs/how-to-use/)
46
+
47
+ ## Add capabilities when needed
19
48
 
20
49
  LexRunner’s supported workflow has grown in layers. A normal user can stop at any layer.
21
50
 
@@ -34,31 +63,6 @@ host/reboot recovery remains release evidence, and Stage 5 fault-injection and a
34
63
  remain unproven. See [ADR-010](docs/adr/ADR-010-agent-work-orchestration-protocol.md) and the
35
64
  [headless proof boundary](docs/architecture/headless-supervisor.md).
36
65
 
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
66
  ## Architecture boundary
63
67
 
64
68
  LexRunner has two contracts that must not be blurred:
@@ -89,8 +93,7 @@ source tree. Canonical terms live in [`docs/TERMS.md`](docs/TERMS.md).
89
93
  ## Install and authenticate
90
94
 
91
95
  Ecosystem 3.1 requires Node.js 24 or newer. The npm package is publicly readable without
92
- an npm login. Current source uses Apache-2.0; the first package under those terms is
93
- the 2.1.0 release candidate. Earlier published versions retain their applicable licenses.
96
+ 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.
94
97
 
95
98
  ```bash
96
99
  npm install --save-dev @smartergpt/lexrunner
@@ -115,11 +118,13 @@ The checked-in package version is the single source for `lexrunner --version` an
115
118
 
116
119
  <!-- BEGIN GENERATED PACKAGE VERSION -->
117
120
 
118
- Current repository package version: **2.1.0**. npm availability and dist-tags are separate
121
+ Current repository package version: **2.3.0**. npm availability and dist-tags are separate
119
122
  release evidence; inspect the registry rather than inferring publication from source metadata.
120
123
  <!-- END GENERATED PACKAGE VERSION -->
121
124
 
122
- See the [2.1.0 open-source release](docs/releases/2.1.0.md), the
125
+ See the [2.3.0 selected-work candidate](docs/releases/2.3.0.md), the
126
+ [2.2.0 frozen-input release](docs/releases/2.2.0.md), the
127
+ [2.1.0 open-source release](docs/releases/2.1.0.md), the
123
128
  [2.0.2 generated timeout correction](docs/releases/2.0.2.md), the
124
129
  [2.0.1 MCP identity correction](docs/releases/2.0.1.md), the
125
130
  [2.0.0 plan-bound evidence release](docs/releases/2.0.0.md), the
@@ -134,9 +139,11 @@ supported assisted behavior, and deferred guarantees.
134
139
 
135
140
  ## Choose a surface
136
141
 
137
- - **Human CLI:** start with `workspace doctor`, `weave discover`, `weave plan`,
138
- `weave merge-order`, and `gate run`.
139
- - **Agent/MCP:** use the matching canonical tools and bounded contracts in
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
140
147
  [`docs/AX.md`](docs/AX.md) and [`README.mcp.md`](README.mcp.md).
141
148
  - **Assisted agent work:** run `attempt preflight` before packet construction. When it reports
142
149
  `broker_required`, use `attempt projection status|prepare` to bind the exact committed base into
@@ -16,7 +16,7 @@ import {
16
16
  hasCapability,
17
17
  parseAutopilotConfig,
18
18
  validateAutopilotConfig
19
- } from "./chunk-SHSL643G.js";
19
+ } from "./chunk-M6AAYMHH.js";
20
20
  import "./chunk-4FFGNTAV.js";
21
21
  import "./chunk-6A4IE3TI.js";
22
22
  import "./chunk-VAGHAQT2.js";