@codyswann/lisa 2.277.2 → 2.277.4
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/cli/doctor-readiness-blockers.js +9 -6
- package/dist/cli/doctor-readiness-blockers.js.map +1 -1
- package/dist/cli/doctor-readiness.d.ts +17 -0
- package/dist/cli/doctor-readiness.d.ts.map +1 -1
- package/dist/cli/doctor-readiness.js +30 -5
- package/dist/cli/doctor-readiness.js.map +1 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +5 -2
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/setup-project.d.ts.map +1 -1
- package/dist/cli/setup-project.js +12 -0
- package/dist/cli/setup-project.js.map +1 -1
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +5 -2
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- 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/.codex-plugin/skills/lisa-doctor/SKILL.md +5 -2
- package/plugins/lisa/scripts/doctor-report.mjs +21 -1
- package/plugins/lisa/skills/lisa-doctor/SKILL.md +5 -2
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/scripts/doctor-report.mjs +21 -1
- package/plugins/lisa-agy/skills/lisa-doctor/SKILL.md +5 -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/doctor-report.mjs +21 -1
- package/plugins/lisa-copilot/skills/lisa-doctor/SKILL.md +5 -2
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/scripts/doctor-report.mjs +21 -1
- package/plugins/lisa-cursor/skills/lisa-doctor/SKILL.md +5 -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/doctor-report.mjs +21 -1
- package/plugins/src/base/skills/lisa-doctor/SKILL.md +5 -2
|
@@ -211,6 +211,22 @@ export function createRepositoryReadinessDoctorGroup(root = process.cwd()) {
|
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
/**
|
|
214
|
+
* Group id of the orthogonal repository-readiness assessment. Named once so the
|
|
215
|
+
* verdict scorer can hold that group — and only that group — to the stricter
|
|
216
|
+
* "assessed or it does not count" bar.
|
|
217
|
+
*/
|
|
218
|
+
const REPOSITORY_READINESS_GROUP_ID = "repository-readiness";
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Score the doctor groups onto the shipped verdict ladder.
|
|
222
|
+
*
|
|
223
|
+
* `SKIP` is benign for the installation groups — "no wiki/ directory here" is a
|
|
224
|
+
* genuine not-applicable, so an all-SKIP installation report is still `READY`.
|
|
225
|
+
* It is NOT benign for the repository-readiness group: there a `SKIP` means the
|
|
226
|
+
* ownership dimension was never assessed, and calling zero evidence `READY`
|
|
227
|
+
* emits a green unattended-fleet claim backed by nothing (#1897). So an
|
|
228
|
+
* unassessed readiness dimension downgrades to `READY_WITH_WARNINGS`, while a
|
|
229
|
+
* fully-`PASS` readiness group still reaches `READY`.
|
|
214
230
|
* @param {readonly DoctorGroup[]} groups
|
|
215
231
|
* @returns {DoctorVerdict}
|
|
216
232
|
*/
|
|
@@ -222,7 +238,11 @@ export function computeDoctorVerdict(groups) {
|
|
|
222
238
|
if (checks.some(check => check.status === "WARN")) {
|
|
223
239
|
return "READY_WITH_WARNINGS";
|
|
224
240
|
}
|
|
225
|
-
|
|
241
|
+
const readinessUnassessed = groups
|
|
242
|
+
.filter(group => group.id === REPOSITORY_READINESS_GROUP_ID)
|
|
243
|
+
.flatMap(group => group.checks.map(normalizeCheck))
|
|
244
|
+
.some(check => check.status === "SKIP");
|
|
245
|
+
return readinessUnassessed ? "READY_WITH_WARNINGS" : "READY";
|
|
226
246
|
}
|
|
227
247
|
|
|
228
248
|
/**
|
|
@@ -323,8 +323,11 @@ default doctor path never renders it and stays byte-identical.
|
|
|
323
323
|
where the evidence-gathering surfaces (RRR-4/5/6) are not yet wired, every dimension renders `SKIP`
|
|
324
324
|
with that reason.
|
|
325
325
|
4. **Reuse the shipped verdict ladder and consequence ordering.** No new verdict value and no new
|
|
326
|
-
severity: reuse `READY` / `READY_WITH_WARNINGS` / `NOT_READY`.
|
|
327
|
-
|
|
326
|
+
severity: reuse `READY` / `READY_WITH_WARNINGS` / `NOT_READY`. `READY` requires *positive*
|
|
327
|
+
evidence — every readiness dimension assessed and clean, with no blocker standing. An unassessed
|
|
328
|
+
(`SKIP`) dimension is silence, not health, so any readiness report carrying one tops out at
|
|
329
|
+
`READY_WITH_WARNINGS`; only a standing ship blocker yields `NOT_READY`. Section order stays
|
|
330
|
+
stable; the findings **within** each dimension check order highest-consequence-first.
|
|
328
331
|
5. **Persist to a versioned, relocatable artifact.** Writing the report to `.lisa/readiness.json`
|
|
329
332
|
(`schema_version: 1`, with `verdict`, `blocker_count`, and per-dimension findings) is resolved
|
|
330
333
|
through a single resolver so the location is one line to change. The write is atomic and must
|