@majeanson/lac 3.1.1 → 3.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/README.md +26 -2
- package/bin/lac-lsp.js +1 -1
- package/dist/index.mjs +12979 -836
- package/dist/index.mjs.map +1 -1
- package/dist/lsp.mjs +36 -1
- package/dist/mcp.mjs +2032 -442
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ lac serve
|
|
|
44
44
|
|
|
45
45
|
| Command | What it does |
|
|
46
46
|
|---|---|
|
|
47
|
-
| `lac init` | Scaffold a `feature.json`
|
|
47
|
+
| `lac init` | Scaffold a `feature.json` — key is auto-generated from workspace counter |
|
|
48
48
|
| `lac blame <path>` | Show which feature owns a file or path |
|
|
49
49
|
| `lac search <query>` | Full-text search across all features |
|
|
50
50
|
| `lac lineage <key>` | Print the parent → key → children tree |
|
|
@@ -52,7 +52,7 @@ lac serve
|
|
|
52
52
|
| `lac diff` | Features changed since a git ref |
|
|
53
53
|
| `lac lint` | Validate all `feature.json` files |
|
|
54
54
|
| `lac serve` | Start the HTTP dashboard in your browser |
|
|
55
|
-
| `lac spawn <key>` | Create a child feature with lineage wired |
|
|
55
|
+
| `lac spawn <key>` | Create a child feature with lineage wired; auto-links parent's `lineage.children` |
|
|
56
56
|
| `lac archive <key>` | Deprecate a feature |
|
|
57
57
|
| `lac doctor` | Workspace health check |
|
|
58
58
|
|
|
@@ -68,6 +68,9 @@ Full documentation: [github.com/majeanson/lac-cli](https://github.com/majeanson/
|
|
|
68
68
|
"title": "Checkout flow redesign",
|
|
69
69
|
"status": "active",
|
|
70
70
|
"problem": "Cart abandonment spikes at the shipping step.",
|
|
71
|
+
"successCriteria": "Cart abandonment rate drops below 20% within 30 days of launch.",
|
|
72
|
+
"domain": "payments",
|
|
73
|
+
"priority": 1,
|
|
71
74
|
"decisions": [
|
|
72
75
|
{
|
|
73
76
|
"decision": "Single-page checkout, no step redirects",
|
|
@@ -84,6 +87,12 @@ Plain JSON. Committed with your code. Validated by a Zod schema. Indexed by the
|
|
|
84
87
|
|
|
85
88
|
Feature keys follow the pattern `<domain>-YYYY-NNN`. The domain is yours: `feat-`, `proc-`, `goal-`, `adr-`.
|
|
86
89
|
|
|
90
|
+
| Field | Type | Description |
|
|
91
|
+
|-------------------|-----------|-------------|
|
|
92
|
+
| `successCriteria` | `string` | Plain-language definition of done |
|
|
93
|
+
| `domain` | `string` | Free-form grouping tag (e.g. `"auth"`, `"payments"`) |
|
|
94
|
+
| `priority` | `1`–`5` | 1 = highest; controls sibling ordering in lineage trees |
|
|
95
|
+
|
|
87
96
|
---
|
|
88
97
|
|
|
89
98
|
## Why not tickets / ADRs / commit messages?
|
|
@@ -122,4 +131,19 @@ This package ships with `lac` (CLI) and `lac-lsp` (LSP server + HTTP API) bundle
|
|
|
122
131
|
|
|
123
132
|
---
|
|
124
133
|
|
|
134
|
+
## Changelog highlights
|
|
135
|
+
|
|
136
|
+
### 3.1.x
|
|
137
|
+
- **Auto-key generation** — `lac init` and the VS Code extension derive the next safe key from the workspace counter; no manual entry required
|
|
138
|
+
- **spawn auto-links parent** — `lac spawn` now writes the child key into `lineage.children` on the parent feature automatically
|
|
139
|
+
- **priority field** — `priority: 1–5` on `feature.json` controls sibling ordering in lineage trees, the MCP graph, and the web UI
|
|
140
|
+
- **successCriteria + domain fields** — explicit definition-of-done and domain tagging on every feature
|
|
141
|
+
- **MCP `create_feature` improvement** — `featureKey` is now optional; omit it to get the next workspace-counter key and avoid duplicates
|
|
142
|
+
- **MCP `get_lineage` fix** — tree is now derived from parent references, not `lineage.children`, so it works even on legacy files without that array
|
|
143
|
+
|
|
144
|
+
### 3.0.0
|
|
145
|
+
- AI fill command (`lac fill`), full MCP server, rich VS Code extension with webview panels
|
|
146
|
+
|
|
147
|
+
---
|
|
148
|
+
|
|
125
149
|
MIT License
|
package/bin/lac-lsp.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
2
|
+
import "../dist/lsp.mjs";
|