@codyswann/lisa 2.115.0 → 2.115.2
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/package.json +1 -1
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/scripts/queue-status-prd-readers.mjs +14 -0
- package/plugins/lisa/skills/project-ideation/SKILL.md +26 -0
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/src/base/scripts/queue-status-prd-readers.mjs +14 -0
- package/plugins/src/base/skills/project-ideation/SKILL.md +26 -0
package/package.json
CHANGED
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"lodash": ">=4.18.1"
|
|
83
83
|
},
|
|
84
84
|
"name": "@codyswann/lisa",
|
|
85
|
-
"version": "2.115.
|
|
85
|
+
"version": "2.115.2",
|
|
86
86
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
87
87
|
"main": "dist/index.js",
|
|
88
88
|
"exports": {
|
|
@@ -65,6 +65,20 @@ const HIGHLIGHT_COPY = {
|
|
|
65
65
|
* }} snapshot
|
|
66
66
|
*/
|
|
67
67
|
export function evaluatePrdQueuePressure(snapshot = {}) {
|
|
68
|
+
if (
|
|
69
|
+
snapshot.queueResolved === false ||
|
|
70
|
+
snapshot.health?.verdict === "MISCONFIGURED"
|
|
71
|
+
) {
|
|
72
|
+
return {
|
|
73
|
+
allowed: false,
|
|
74
|
+
decisiveRole: "misconfigured",
|
|
75
|
+
blockerItem: null,
|
|
76
|
+
nextStep: snapshot.resolutionError
|
|
77
|
+
? `Fix PRD source queue configuration: ${snapshot.resolutionError}`
|
|
78
|
+
: "Fix PRD source queue configuration before creating auto-ready PRDs.",
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
68
82
|
const decisiveRole = ACTIONABLE_ROLE_ORDER.find(
|
|
69
83
|
role => normalizeCount(snapshot.counts?.[role]) > 0
|
|
70
84
|
);
|
|
@@ -147,6 +147,32 @@ Rank Practical Ideas by **persona value, feasibility, verification clarity, and
|
|
|
147
147
|
select the creation set by `max_prds` (default **1** → the single top-ranked idea; `<n>` → top n;
|
|
148
148
|
`all` → every Practical Idea). Spikes and Rejected ideas are reported but never selected.
|
|
149
149
|
|
|
150
|
+
## Step 5.5 — Block auto-ready writes when the PRD queue has pressure
|
|
151
|
+
|
|
152
|
+
This step runs **only** when `prd_ready=true`. A draft run (`prd_ready=false`) skips this gate and
|
|
153
|
+
continues to Step 6, because draft PRDs do not create immediate PRD-intake pickup pressure.
|
|
154
|
+
|
|
155
|
+
Before invoking `lisa:research` for any selected idea, inspect the configured PRD source queue with
|
|
156
|
+
the same PRD reader contract used by `/lisa:queue-status` and evaluate it with
|
|
157
|
+
`evaluatePrdQueuePressure` from `plugins/lisa/scripts/queue-status-prd-readers.mjs` (source:
|
|
158
|
+
`plugins/src/base/scripts/queue-status-prd-readers.mjs`). Resolve the queue from `.lisa.config.json`
|
|
159
|
+
the same way `lisa:intake` resolves the PRD side, and pass the matching queue argument in the
|
|
160
|
+
blocked outcome (for example, `github intake_mode=prd`).
|
|
161
|
+
|
|
162
|
+
If the helper returns `allowed: false`, stop before any `lisa:research`, `lisa:prd-source-write`, or
|
|
163
|
+
vendor PRD writer invocation. Emit **PRDs Created** as a blocked outcome, not as an empty success.
|
|
164
|
+
The blocked outcome must include:
|
|
165
|
+
|
|
166
|
+
- `source` and `tracker` from `.lisa.config.json`;
|
|
167
|
+
- the decisive PRD lifecycle `role`;
|
|
168
|
+
- the blocking PRD item `ref` and `url`, when the snapshot supplies them;
|
|
169
|
+
- the smallest next action, preferring the helper's `nextStep` and otherwise using
|
|
170
|
+
`/lisa:intake <PRD queue>`;
|
|
171
|
+
- a clear statement that no research or PRD source write was invoked.
|
|
172
|
+
|
|
173
|
+
If the helper returns `allowed: true`, continue to Step 6 normally and keep the existing draft/ready
|
|
174
|
+
creation behavior unchanged.
|
|
175
|
+
|
|
150
176
|
## Step 6 — Create a PRD per selected idea (via lisa:research)
|
|
151
177
|
|
|
152
178
|
For each idea in the creation set, invoke `/lisa:research` with:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.115.
|
|
3
|
+
"version": "2.115.2",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.115.
|
|
3
|
+
"version": "2.115.2",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, across Claude and Codex.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -65,6 +65,20 @@ const HIGHLIGHT_COPY = {
|
|
|
65
65
|
* }} snapshot
|
|
66
66
|
*/
|
|
67
67
|
export function evaluatePrdQueuePressure(snapshot = {}) {
|
|
68
|
+
if (
|
|
69
|
+
snapshot.queueResolved === false ||
|
|
70
|
+
snapshot.health?.verdict === "MISCONFIGURED"
|
|
71
|
+
) {
|
|
72
|
+
return {
|
|
73
|
+
allowed: false,
|
|
74
|
+
decisiveRole: "misconfigured",
|
|
75
|
+
blockerItem: null,
|
|
76
|
+
nextStep: snapshot.resolutionError
|
|
77
|
+
? `Fix PRD source queue configuration: ${snapshot.resolutionError}`
|
|
78
|
+
: "Fix PRD source queue configuration before creating auto-ready PRDs.",
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
68
82
|
const decisiveRole = ACTIONABLE_ROLE_ORDER.find(
|
|
69
83
|
role => normalizeCount(snapshot.counts?.[role]) > 0
|
|
70
84
|
);
|
|
@@ -147,6 +147,32 @@ Rank Practical Ideas by **persona value, feasibility, verification clarity, and
|
|
|
147
147
|
select the creation set by `max_prds` (default **1** → the single top-ranked idea; `<n>` → top n;
|
|
148
148
|
`all` → every Practical Idea). Spikes and Rejected ideas are reported but never selected.
|
|
149
149
|
|
|
150
|
+
## Step 5.5 — Block auto-ready writes when the PRD queue has pressure
|
|
151
|
+
|
|
152
|
+
This step runs **only** when `prd_ready=true`. A draft run (`prd_ready=false`) skips this gate and
|
|
153
|
+
continues to Step 6, because draft PRDs do not create immediate PRD-intake pickup pressure.
|
|
154
|
+
|
|
155
|
+
Before invoking `lisa:research` for any selected idea, inspect the configured PRD source queue with
|
|
156
|
+
the same PRD reader contract used by `/lisa:queue-status` and evaluate it with
|
|
157
|
+
`evaluatePrdQueuePressure` from `plugins/lisa/scripts/queue-status-prd-readers.mjs` (source:
|
|
158
|
+
`plugins/src/base/scripts/queue-status-prd-readers.mjs`). Resolve the queue from `.lisa.config.json`
|
|
159
|
+
the same way `lisa:intake` resolves the PRD side, and pass the matching queue argument in the
|
|
160
|
+
blocked outcome (for example, `github intake_mode=prd`).
|
|
161
|
+
|
|
162
|
+
If the helper returns `allowed: false`, stop before any `lisa:research`, `lisa:prd-source-write`, or
|
|
163
|
+
vendor PRD writer invocation. Emit **PRDs Created** as a blocked outcome, not as an empty success.
|
|
164
|
+
The blocked outcome must include:
|
|
165
|
+
|
|
166
|
+
- `source` and `tracker` from `.lisa.config.json`;
|
|
167
|
+
- the decisive PRD lifecycle `role`;
|
|
168
|
+
- the blocking PRD item `ref` and `url`, when the snapshot supplies them;
|
|
169
|
+
- the smallest next action, preferring the helper's `nextStep` and otherwise using
|
|
170
|
+
`/lisa:intake <PRD queue>`;
|
|
171
|
+
- a clear statement that no research or PRD source write was invoked.
|
|
172
|
+
|
|
173
|
+
If the helper returns `allowed: true`, continue to Step 6 normally and keep the existing draft/ready
|
|
174
|
+
creation behavior unchanged.
|
|
175
|
+
|
|
150
176
|
## Step 6 — Create a PRD per selected idea (via lisa:research)
|
|
151
177
|
|
|
152
178
|
For each idea in the creation set, invoke `/lisa:research` with:
|