@codyswann/lisa 4.23.39 → 4.24.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/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +4 -0
- package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/nightly-e2e-guard-behavior-certificate.js.map +1 -1
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +16 -5
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/expo/copy-overwrite/scripts/classify-maestro-failures.mjs +535 -47
- package/expo/create-only/.maestro/flake-classification.json +6 -0
- package/package.json +3 -3
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-github-write-issue/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-validate-tracker-mapping/SKILL.md +111 -1
- package/plugins/lisa/scripts/scoping-label-audit.mjs +474 -0
- package/plugins/lisa/skills/lisa-github-write-issue/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-validate-tracker-mapping/SKILL.md +112 -2
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/scripts/scoping-label-audit.mjs +474 -0
- package/plugins/lisa-agy/skills/lisa-github-write-issue/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-validate-tracker-mapping/SKILL.md +112 -2
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/scripts/scoping-label-audit.mjs +474 -0
- package/plugins/lisa-copilot/skills/lisa-github-write-issue/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-validate-tracker-mapping/SKILL.md +112 -2
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/scripts/scoping-label-audit.mjs +474 -0
- package/plugins/lisa-cursor/skills/lisa-github-write-issue/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-validate-tracker-mapping/SKILL.md +112 -2
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-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-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-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-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-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-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-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-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-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-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-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/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/src/base/scripts/scoping-label-audit.mjs +474 -0
- package/plugins/src/base/skills/lisa-github-write-issue/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-validate-tracker-mapping/SKILL.md +112 -2
- package/typescript/copy-contents/.husky/pre-push +76 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: lisa-validate-tracker-mapping
|
|
3
|
-
description: "Detect and repair drift between a project's configured Lisa status/label mappings and the live tracker/source workflow. Compares every lifecycle role in `.lisa.config.json` (JIRA `jira.workflow` statuses, GitHub/Linear `labels.{build,prd}`, Notion `notion.values` select options, Confluence `confluence.parents`) against the authoritative live names the access layer reports — catching renames, deletions, and case drift (e.g. config `On Stg` vs live `ON STG`). Read-only by default; `repair=true` rewrites the config to the canonical live names (config is fixed, never the tracker). Audits the current repo by default, or sweeps a set of projects via `projects=<glob>` / `workspaces=<file>`. Safe to schedule for continuous drift detection."
|
|
3
|
+
description: "Detect and repair drift between a project's configured Lisa status/label mappings and the live tracker/source workflow. Compares every lifecycle role in `.lisa.config.json` (JIRA `jira.workflow` statuses, GitHub/Linear `labels.{build,prd}`, Notion `notion.values` select options, Confluence `confluence.parents`) against the authoritative live names the access layer reports — catching renames, deletions, and case drift (e.g. config `On Stg` vs live `ON STG`). Read-only by default; `repair=true` rewrites the config to the canonical live names (config is fixed, never the tracker). Also reports advisory GitHub scoping-label smells that no config declares — `type:`/`priority:` outside their closed sets, `component:` synonyms of an established value, off-Fibonacci `points:` — which never gate and are never repaired. Audits the current repo by default, or sweeps a set of projects via `projects=<glob>` / `workspaces=<file>`. Safe to schedule for continuous drift detection."
|
|
4
4
|
allowed-tools: ["Skill", "Bash", "Read", "Write", "Edit", "AskUserQuestion"]
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -126,6 +126,89 @@ A project's verdict:
|
|
|
126
126
|
- **DRIFTED** — at least one CASE_DRIFT, MISSING, or INVERTED role, none of which is UNRESOLVABLE. An INVERTED `ready` is never VALID, no matter how cleanly it resolves.
|
|
127
127
|
- **UNRESOLVABLE** — the live set couldn't be enumerated (auth mismatch, missing tracker config, access failure). Distinguish this loudly from VALID — an unresolved audit is not a passing audit.
|
|
128
128
|
|
|
129
|
+
## Step 4b — Scoping-label smells (GitHub, advisory)
|
|
130
|
+
|
|
131
|
+
Steps 2–4 audit **lifecycle** roles, and they can only ever audit lifecycle
|
|
132
|
+
roles: every pair they compare comes from a `(role, configured-name)` mapping
|
|
133
|
+
declared in `.lisa.config.json`. The **scoping** vocabulary — `type:`,
|
|
134
|
+
`priority:`, `points:`, `component:` — is declared in no config key at all, so
|
|
135
|
+
there is no configured name to compare a live name against. The audit was not
|
|
136
|
+
failing to check those labels; it had nothing to check them with.
|
|
137
|
+
|
|
138
|
+
That blind spot matters because `lisa-github-write-issue` instructs the write
|
|
139
|
+
path to `gh label create` any label it needs. That is correct for bootstrapping
|
|
140
|
+
a fresh repo, and it makes the scoping vocabulary **unbounded and
|
|
141
|
+
self-expanding**: every typo becomes a permanent new label, and two labels
|
|
142
|
+
meaning one thing silently split every query that filters on them — including
|
|
143
|
+
the `--label "component:<component>"` related-work query the same skill runs to
|
|
144
|
+
find related issues. A component split across two spellings returns half its
|
|
145
|
+
related issues to that query, and nothing anywhere reports it.
|
|
146
|
+
|
|
147
|
+
**Lisa asserts no authority over a project's label vocabularies.**
|
|
148
|
+
`component:` is open by design — an open vocabulary has no wrong member, only
|
|
149
|
+
inconsistent ones — so this step reports *smells*, not violations. `type:` and
|
|
150
|
+
`priority:` are the exception: they are closed sets already enumerated by
|
|
151
|
+
`lisa-github-write-issue`, so membership there is checked against the declared
|
|
152
|
+
set because the lists exist already and cost nothing to assert.
|
|
153
|
+
|
|
154
|
+
> **Advisory only. This is not a gate and must not become one.** A heuristic
|
|
155
|
+
> that guesses at synonyms will be wrong sometimes, and a wrong gate is worse
|
|
156
|
+
> than no gate. Scoping findings never change a project's verdict, never enter
|
|
157
|
+
> the repair path, and never change this skill's exit status. They report; a
|
|
158
|
+
> human decides.
|
|
159
|
+
|
|
160
|
+
Skip this step for non-GitHub trackers — the families are GitHub label
|
|
161
|
+
conventions. Skip it silently, and never let a `gh` failure here downgrade a
|
|
162
|
+
lifecycle verdict; the scoping section simply reports "not collected".
|
|
163
|
+
|
|
164
|
+
### Collect the vocabulary and its usage
|
|
165
|
+
|
|
166
|
+
Rarity is the whole signal, so the declared label set alone is not enough — a
|
|
167
|
+
label that exists is not a label anyone uses. Collect both, and union them so a
|
|
168
|
+
declared-but-never-applied label lands with a usage of `0`:
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
gh label list --repo "$REPO" --limit 500 --json name \
|
|
172
|
+
| jq '[.[] | {name: .name, count: 0}]' > /tmp/lisa-labels-declared.json
|
|
173
|
+
|
|
174
|
+
gh issue list --repo "$REPO" --state all --limit 1000 --json labels \
|
|
175
|
+
| jq '[.[].labels[].name]
|
|
176
|
+
| group_by(.)
|
|
177
|
+
| [.[] | {name: .[0], count: length}]' > /tmp/lisa-labels-used.json
|
|
178
|
+
|
|
179
|
+
jq -s '{labels: (.[0] + .[1])}' \
|
|
180
|
+
/tmp/lisa-labels-declared.json /tmp/lisa-labels-used.json \
|
|
181
|
+
> /tmp/lisa-scoping-input.json
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
The `--limit 1000` cap is a sample, not a census. Say so in the report when the
|
|
185
|
+
issue count reaches the cap, because rarity measured on a truncated sample can
|
|
186
|
+
call an established value rare.
|
|
187
|
+
|
|
188
|
+
### Classify
|
|
189
|
+
|
|
190
|
+
```bash
|
|
191
|
+
node "${CLAUDE_PLUGIN_ROOT}/scripts/scoping-label-audit.mjs" \
|
|
192
|
+
< /tmp/lisa-scoping-input.json
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
It returns `{ findings, familiesWalked, advisory: true }` and always exits `0`.
|
|
196
|
+
Three finding kinds, all `severity: "advisory"`:
|
|
197
|
+
|
|
198
|
+
- **`outside-vocabulary`** — a `type:` or `priority:` value outside the closed
|
|
199
|
+
set `lisa-github-write-issue` declares.
|
|
200
|
+
- **`probable-synonym`** — a `component:` value used at most once that sits
|
|
201
|
+
within two edits of a well-established value. **Both** conditions are
|
|
202
|
+
required. Rarity alone is not evidence of a synonym (a single-use
|
|
203
|
+
`component:billing` with no near neighbour is not reported), and proximity
|
|
204
|
+
alone reports healthy repositories forever — `component:ci` and
|
|
205
|
+
`component:cli` are one edit apart and genuinely distinct.
|
|
206
|
+
- **`off-scale`** — a `points:` value off the Fibonacci scale. `points:` is
|
|
207
|
+
open, so this is a consistency smell, not an invalid value.
|
|
208
|
+
|
|
209
|
+
Do not re-derive any of these thresholds in prose or in a second script. The
|
|
210
|
+
module is the single definition; this step calls it.
|
|
211
|
+
|
|
129
212
|
## Step 5 — Report
|
|
130
213
|
|
|
131
214
|
Per project, print a terminal-first section:
|
|
@@ -151,7 +234,21 @@ An INVERTED `ready` gets a full line rather than a one-word status, because the
|
|
|
151
234
|
via /lisa:setup:linear, then set linear.workflow.ready to it.
|
|
152
235
|
```
|
|
153
236
|
|
|
154
|
-
|
|
237
|
+
Print the Step 4b findings, when there are any, as a clearly separate advisory
|
|
238
|
+
block **below** the mapping table so nobody reads a smell as a mapping failure:
|
|
239
|
+
|
|
240
|
+
```
|
|
241
|
+
scoping labels (advisory — no effect on the verdict above)
|
|
242
|
+
component:plugin used 1×, 1 edit from component:plugins (used 40×) probable synonym
|
|
243
|
+
type:Chore outside the declared type vocabulary review
|
|
244
|
+
points:4 off the Fibonacci scale review
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
Write those lines for a non-technical operator: say what was seen and what a
|
|
248
|
+
person might do about it, never "FAIL". A healthy repository prints
|
|
249
|
+
`scoping labels: none` and nothing else.
|
|
250
|
+
|
|
251
|
+
End with a roll-up: counts of VALID / DRIFTED / UNRESOLVABLE projects and the exact next command (`… repair=true` when drift is auto-repairable; an admin note when a status is genuinely MISSING; `/lisa:setup:linear` when a `ready` is INVERTED). Scoping findings are reported alongside that roll-up as a **separate count**, never folded into DRIFTED.
|
|
155
252
|
|
|
156
253
|
## Step 6 — Repair (only when `repair=true`)
|
|
157
254
|
|
|
@@ -195,6 +292,17 @@ So: present the team's non-default states via `AskUserQuestion`, and write `line
|
|
|
195
292
|
|
|
196
293
|
Until then, say plainly that the build queue is claiming unapproved work and that pausing build intake is the safe interim.
|
|
197
294
|
|
|
295
|
+
### Scoping-label findings — never repaired at all
|
|
296
|
+
|
|
297
|
+
`repair=true` does not touch scoping labels, and there is no flag that makes it.
|
|
298
|
+
The lifecycle roles are repairable because the live tracker already holds the
|
|
299
|
+
one correct answer; a scoping smell has no such answer anywhere. Renaming or
|
|
300
|
+
merging a `component:` value is a project-vocabulary decision with no
|
|
301
|
+
machine-checkable right answer, and acting on a heuristic guess would rewrite
|
|
302
|
+
real issue metadata on a coin flip. Report the finding, name the two spellings,
|
|
303
|
+
and leave the decision to a human — and note that reconciling them means
|
|
304
|
+
relabelling the issues, which is a tracker mutation this skill never performs.
|
|
305
|
+
|
|
198
306
|
### Invalidate the verification cache
|
|
199
307
|
|
|
200
308
|
After any JIRA repair, clear the `setup-jira` reachability cache so it re-verifies the new mapping:
|
|
@@ -222,3 +330,5 @@ Re-print the project section showing the post-repair mapping and the new verdict
|
|
|
222
330
|
- Use `jq` for all JSON reads/writes; write only changed keys via `jq … > tmp && mv`.
|
|
223
331
|
- In batch mode, audit each project independently — one project's `UNRESOLVABLE` (e.g. an auth mismatch) must not abort the rest of the sweep.
|
|
224
332
|
- Reuse the config-resolution defaults and the vendor access skills (`atlassian-access`, `gh`, Linear/Notion MCP); do not invent a parallel mapping or lifecycle vocabulary.
|
|
333
|
+
- Scoping-label findings (Step 4b) are **advisory**. They never change a project's verdict, never change this skill's exit status, and are never auto-repaired. Do not add a flag that turns them into a gate.
|
|
334
|
+
- Never let Step 4b fail the run. A `gh` error, a non-GitHub tracker, or an empty repository means the scoping section reports "not collected" — the lifecycle verdict is unaffected either way.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.24.1",
|
|
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": "4.
|
|
3
|
+
"version": "4.24.1",
|
|
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"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.24.1",
|
|
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": "4.
|
|
3
|
+
"version": "4.24.1",
|
|
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": "4.
|
|
3
|
+
"version": "4.24.1",
|
|
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"
|