@codyswann/lisa 2.269.2 → 2.270.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/dist/cli/doctor-legacy-overlay.d.ts +15 -0
- package/dist/cli/doctor-legacy-overlay.d.ts.map +1 -0
- package/dist/cli/doctor-legacy-overlay.js +51 -0
- package/dist/cli/doctor-legacy-overlay.js.map +1 -0
- package/dist/cli/doctor-readiness.d.ts +34 -0
- package/dist/cli/doctor-readiness.d.ts.map +1 -0
- package/dist/cli/doctor-readiness.js +190 -0
- package/dist/cli/doctor-readiness.js.map +1 -0
- package/dist/cli/doctor.d.ts +6 -0
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +5 -48
- package/dist/cli/doctor.js.map +1 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +18 -9
- package/dist/cli/index.js.map +1 -1
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +6 -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 +35 -0
- package/plugins/lisa/scripts/doctor-report.mjs +92 -0
- package/plugins/lisa/skills/lisa-doctor/SKILL.md +35 -0
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/scripts/doctor-report.mjs +92 -0
- package/plugins/lisa-agy/skills/lisa-doctor/SKILL.md +35 -0
- 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 +92 -0
- package/plugins/lisa-copilot/skills/lisa-doctor/SKILL.md +35 -0
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/scripts/doctor-report.mjs +92 -0
- package/plugins/lisa-cursor/skills/lisa-doctor/SKILL.md +35 -0
- 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 +92 -0
- package/plugins/src/base/skills/lisa-doctor/SKILL.md +35 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { DoctorCheck } from "./doctor.js";
|
|
2
|
+
/**
|
|
3
|
+
* Detect the retired pre-2.198 project-level Codex overlay. Lisa now delivers
|
|
4
|
+
* Codex hooks and skills through the repository plugin marketplace
|
|
5
|
+
* (`.agents/plugins/marketplace.json` → `node_modules`), and postinstall
|
|
6
|
+
* applies deliberately skip agent emits — so a committed legacy overlay is
|
|
7
|
+
* never cleaned up automatically. Fresh clones/worktrees then load stale
|
|
8
|
+
* hooks/skills from it, and a later explicit apply retires them out from
|
|
9
|
+
* under whatever session is running (exit-127 hooks, vanished skills — the
|
|
10
|
+
* incident behind CodySwannGT/lisa#1632).
|
|
11
|
+
* @param targetPath - Project path to inspect
|
|
12
|
+
* @returns Doctor check result
|
|
13
|
+
*/
|
|
14
|
+
export declare function checkLegacyCodexOverlay(targetPath: string): DoctorCheck;
|
|
15
|
+
//# sourceMappingURL=doctor-legacy-overlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"doctor-legacy-overlay.d.ts","sourceRoot":"","sources":["../../src/cli/doctor-legacy-overlay.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAI/C;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,MAAM,GAAG,WAAW,CAoCvE"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { existsSync } from "node:fs";
|
|
2
|
+
import * as path from "node:path";
|
|
3
|
+
import { LISA_HOOKS_SUBDIR, LISA_RULES_SUBDIR, } from "../codex/hooks-installer.js";
|
|
4
|
+
import { LISA_SKILLS_SUBDIR } from "../codex/skills-installer.js";
|
|
5
|
+
const LEGACY_CODEX_OVERLAY_CHECK_NAME = "Codex overlay current?";
|
|
6
|
+
/**
|
|
7
|
+
* Detect the retired pre-2.198 project-level Codex overlay. Lisa now delivers
|
|
8
|
+
* Codex hooks and skills through the repository plugin marketplace
|
|
9
|
+
* (`.agents/plugins/marketplace.json` → `node_modules`), and postinstall
|
|
10
|
+
* applies deliberately skip agent emits — so a committed legacy overlay is
|
|
11
|
+
* never cleaned up automatically. Fresh clones/worktrees then load stale
|
|
12
|
+
* hooks/skills from it, and a later explicit apply retires them out from
|
|
13
|
+
* under whatever session is running (exit-127 hooks, vanished skills — the
|
|
14
|
+
* incident behind CodySwannGT/lisa#1632).
|
|
15
|
+
* @param targetPath - Project path to inspect
|
|
16
|
+
* @returns Doctor check result
|
|
17
|
+
*/
|
|
18
|
+
export function checkLegacyCodexOverlay(targetPath) {
|
|
19
|
+
const codexDir = path.join(targetPath, ".codex");
|
|
20
|
+
if (!existsSync(codexDir)) {
|
|
21
|
+
return {
|
|
22
|
+
name: LEGACY_CODEX_OVERLAY_CHECK_NAME,
|
|
23
|
+
status: "ok",
|
|
24
|
+
detail: "No .codex directory present",
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
const legacyPaths = [
|
|
28
|
+
LISA_HOOKS_SUBDIR,
|
|
29
|
+
LISA_RULES_SUBDIR,
|
|
30
|
+
LISA_SKILLS_SUBDIR,
|
|
31
|
+
].filter(subdir => existsSync(path.join(codexDir, subdir)));
|
|
32
|
+
if (legacyPaths.length === 0) {
|
|
33
|
+
return {
|
|
34
|
+
name: LEGACY_CODEX_OVERLAY_CHECK_NAME,
|
|
35
|
+
status: "ok",
|
|
36
|
+
detail: "No legacy project-level Codex overlay present",
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
const listed = legacyPaths
|
|
40
|
+
.map(subdir => path.join(".codex", subdir))
|
|
41
|
+
.join(", ");
|
|
42
|
+
return {
|
|
43
|
+
name: LEGACY_CODEX_OVERLAY_CHECK_NAME,
|
|
44
|
+
status: "warn",
|
|
45
|
+
detail: `Legacy pre-2.198 Codex overlay present (${listed}). ` +
|
|
46
|
+
"Run `lisa apply` in the primary checkout and commit the removals — " +
|
|
47
|
+
"fresh clones/worktrees otherwise load stale hooks/skills that a later " +
|
|
48
|
+
"apply deletes mid-session (CodySwannGT/lisa#1632)",
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=doctor-legacy-overlay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"doctor-legacy-overlay.js","sourceRoot":"","sources":["../../src/cli/doctor-legacy-overlay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EACL,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAGlE,MAAM,+BAA+B,GAAG,wBAAwB,CAAC;AAEjE;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,uBAAuB,CAAC,UAAkB;IACxD,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IACjD,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC1B,OAAO;YACL,IAAI,EAAE,+BAA+B;YACrC,MAAM,EAAE,IAAI;YACZ,MAAM,EAAE,6BAA6B;SACtC,CAAC;IACJ,CAAC;IAED,MAAM,WAAW,GAAG;QAClB,iBAAiB;QACjB,iBAAiB;QACjB,kBAAkB;KACnB,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;IAE5D,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC7B,OAAO;YACL,IAAI,EAAE,+BAA+B;YACrC,MAAM,EAAE,IAAI;YACZ,MAAM,EAAE,+CAA+C;SACxD,CAAC;IACJ,CAAC;IAED,MAAM,MAAM,GAAG,WAAW;SACvB,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;SAC1C,IAAI,CAAC,IAAI,CAAC,CAAC;IACd,OAAO;QACL,IAAI,EAAE,+BAA+B;QACrC,MAAM,EAAE,MAAM;QACd,MAAM,EACJ,2CAA2C,MAAM,KAAK;YACtD,qEAAqE;YACrE,wEAAwE;YACxE,mDAAmD;KACtD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { DoctorCheck } from "./doctor.js";
|
|
2
|
+
/**
|
|
3
|
+
* Schema version stamped into `.lisa/readiness.json`. Bump only alongside a
|
|
4
|
+
* deliberate shape change; readers key off this to stay forward-compatible.
|
|
5
|
+
*/
|
|
6
|
+
export declare const READINESS_SCHEMA_VERSION = 1;
|
|
7
|
+
/** The eight ownership dimension ids, in fixed render order. */
|
|
8
|
+
export declare const READINESS_DIMENSION_IDS: readonly string[];
|
|
9
|
+
/**
|
|
10
|
+
* Resolve the single location every reader and writer uses for the persisted
|
|
11
|
+
* readiness report. Centralizing the path here is intake decision O2's
|
|
12
|
+
* mitigation: relocating the artifact (for example to
|
|
13
|
+
* `wiki/state/agent-ready/readiness.json`) is a one-line change with no other
|
|
14
|
+
* caller to update.
|
|
15
|
+
* @param root - Project root to resolve the report under
|
|
16
|
+
* @returns Absolute path to `.lisa/readiness.json`
|
|
17
|
+
*/
|
|
18
|
+
export declare function resolveReadinessReportPath(root: string): string;
|
|
19
|
+
/**
|
|
20
|
+
* Assess repository readiness and persist the report to `.lisa/readiness.json`.
|
|
21
|
+
*
|
|
22
|
+
* This is the flag-gated collector `runDoctor` appends only when
|
|
23
|
+
* `options.readiness` is true, so the default doctor path stays byte-identical.
|
|
24
|
+
* It is warn-only per intake decision O1: it never returns `fail` and never
|
|
25
|
+
* changes doctor's exit-code semantics. Every dimension is reported (never
|
|
26
|
+
* silently omitted); in this Lisa version each renders `SKIP` with a reason
|
|
27
|
+
* because the evidence-gathering surfaces ship with later PRD #1739 tickets.
|
|
28
|
+
* Persistence is atomic and never throws — a write error degrades the check to
|
|
29
|
+
* `warn` instead of aborting the run.
|
|
30
|
+
* @param targetPath - Project path to assess and persist under
|
|
31
|
+
* @returns Doctor check result
|
|
32
|
+
*/
|
|
33
|
+
export declare function checkRepositoryReadiness(targetPath: string): Promise<DoctorCheck>;
|
|
34
|
+
//# sourceMappingURL=doctor-readiness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"doctor-readiness.d.ts","sourceRoot":"","sources":["../../src/cli/doctor-readiness.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAS/C;;;GAGG;AACH,eAAO,MAAM,wBAAwB,IAAI,CAAC;AAiF1C,gEAAgE;AAChE,eAAO,MAAM,uBAAuB,EAAE,SAAS,MAAM,EACA,CAAC;AAsBtD;;;;;;;;GAQG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE/D;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAsB,wBAAwB,CAC5C,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,WAAW,CAAC,CA0CtB"}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { rename, writeFile } from "node:fs/promises";
|
|
2
|
+
import { mkdir } from "node:fs/promises";
|
|
3
|
+
import * as path from "node:path";
|
|
4
|
+
import process from "node:process";
|
|
5
|
+
import { getPackageVersion } from "./version.js";
|
|
6
|
+
/** Doctor check name for the repository-readiness collector. */
|
|
7
|
+
const REPOSITORY_READINESS_CHECK_NAME = "Repository readiness";
|
|
8
|
+
/** Repo-relative display path for the persisted readiness report. */
|
|
9
|
+
const READINESS_REPORT_DISPLAY_PATH = path.join(".lisa", "readiness.json");
|
|
10
|
+
/**
|
|
11
|
+
* Schema version stamped into `.lisa/readiness.json`. Bump only alongside a
|
|
12
|
+
* deliberate shape change; readers key off this to stay forward-compatible.
|
|
13
|
+
*/
|
|
14
|
+
export const READINESS_SCHEMA_VERSION = 1;
|
|
15
|
+
/**
|
|
16
|
+
* The eight ownership dimensions, in fixed render order, defined once by the
|
|
17
|
+
* `readiness-rubric` rule (RRR-1, #1853). This collector consumes that rubric —
|
|
18
|
+
* it does not redefine the vocabulary. Evidence gathering for each dimension is
|
|
19
|
+
* wired by later PRD #1739 tickets (RRR-4/5/6); until then every dimension
|
|
20
|
+
* renders `SKIP` with a reason, per the shipped never-silently-omit contract.
|
|
21
|
+
*/
|
|
22
|
+
const READINESS_DIMENSIONS = [
|
|
23
|
+
{
|
|
24
|
+
id: "context-routing",
|
|
25
|
+
question: "Can an agent recover the real job from what is written down (integration-access-layer, wiki-knowledge-source, config-resolution)?",
|
|
26
|
+
skipReason: "Context/routing evidence is assessed by the agent-ready wiring (RRR-4, #1856); no readiness probe is wired in this Lisa version.",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
id: "capabilities-tools",
|
|
30
|
+
question: "Is every tool the work needs provably reachable, not merely installed (tool-access-gate)?",
|
|
31
|
+
skipReason: "Capabilities/tools evidence is gathered by the journey-execution wiring (RRR-6, #1858); no readiness probe is wired in this Lisa version.",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
id: "domain-ownership",
|
|
35
|
+
question: "Are the business rules, glossary, and danger zones owned and written down (agent-ready domain phase wiki pages)?",
|
|
36
|
+
skipReason: "Domain-ownership evidence sources from agent-ready's danger-zone wiki pages, read by RRR-4 (#1856); no readiness probe is wired in this Lisa version.",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
id: "execution-proof",
|
|
40
|
+
question: "Can the claimed user-visible outcome be proved by running the system (verification, empirical-inquiry, claim-evidence-mapping)?",
|
|
41
|
+
skipReason: "Execution/proof consumes qualification evidence and representative journeys wired by RRR-6 (#1858); no readiness probe is wired in this Lisa version.",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
id: "feedback-guardrails",
|
|
45
|
+
question: "Does a failing loop produce a named outcome and a runbook (automation-runbook-contract, observability-audit)?",
|
|
46
|
+
skipReason: "Feedback/guardrails evidence is assessed by RRR-4 (#1856); no readiness probe is wired in this Lisa version.",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: "dependencies-supply-chain",
|
|
50
|
+
question: "Is there a confidence model for what the repo depends on (security-audit-handling)?",
|
|
51
|
+
skipReason: "Dependencies/supply-chain evidence is assessed by RRR-4 (#1856); no readiness probe is wired in this Lisa version.",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
id: "delivery-authority",
|
|
55
|
+
question: "Does the thing that ships equal the thing that was validated, and does the shipping credential carry only the authority it needs (claim-archaeology, security-audit-handling)?",
|
|
56
|
+
skipReason: "Delivery/authority blockers are populated by the blocker gate in RRR-5 (#1857); no readiness probe is wired in this Lisa version.",
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
id: "proportionality",
|
|
60
|
+
question: "Is the machinery proportional to the job, or is there scaffolding to subtract (repo-scope-split, #1742 subtraction candidates)?",
|
|
61
|
+
skipReason: "Proportionality reuses the scaffolding-subtraction candidates surfaced by the journey work (RRR-6, #1858); no readiness probe is wired in this Lisa version.",
|
|
62
|
+
},
|
|
63
|
+
];
|
|
64
|
+
/** The eight ownership dimension ids, in fixed render order. */
|
|
65
|
+
export const READINESS_DIMENSION_IDS = READINESS_DIMENSIONS.map(dimension => dimension.id);
|
|
66
|
+
/**
|
|
67
|
+
* Resolve the single location every reader and writer uses for the persisted
|
|
68
|
+
* readiness report. Centralizing the path here is intake decision O2's
|
|
69
|
+
* mitigation: relocating the artifact (for example to
|
|
70
|
+
* `wiki/state/agent-ready/readiness.json`) is a one-line change with no other
|
|
71
|
+
* caller to update.
|
|
72
|
+
* @param root - Project root to resolve the report under
|
|
73
|
+
* @returns Absolute path to `.lisa/readiness.json`
|
|
74
|
+
*/
|
|
75
|
+
export function resolveReadinessReportPath(root) {
|
|
76
|
+
return path.join(root, ".lisa", "readiness.json");
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Assess repository readiness and persist the report to `.lisa/readiness.json`.
|
|
80
|
+
*
|
|
81
|
+
* This is the flag-gated collector `runDoctor` appends only when
|
|
82
|
+
* `options.readiness` is true, so the default doctor path stays byte-identical.
|
|
83
|
+
* It is warn-only per intake decision O1: it never returns `fail` and never
|
|
84
|
+
* changes doctor's exit-code semantics. Every dimension is reported (never
|
|
85
|
+
* silently omitted); in this Lisa version each renders `SKIP` with a reason
|
|
86
|
+
* because the evidence-gathering surfaces ship with later PRD #1739 tickets.
|
|
87
|
+
* Persistence is atomic and never throws — a write error degrades the check to
|
|
88
|
+
* `warn` instead of aborting the run.
|
|
89
|
+
* @param targetPath - Project path to assess and persist under
|
|
90
|
+
* @returns Doctor check result
|
|
91
|
+
*/
|
|
92
|
+
export async function checkRepositoryReadiness(targetPath) {
|
|
93
|
+
const dimensions = READINESS_DIMENSIONS.map(dimension => ({
|
|
94
|
+
id: dimension.id,
|
|
95
|
+
status: "SKIP",
|
|
96
|
+
findings: [],
|
|
97
|
+
}));
|
|
98
|
+
const verdict = computeReadinessVerdict(dimensions);
|
|
99
|
+
const report = {
|
|
100
|
+
schema_version: READINESS_SCHEMA_VERSION,
|
|
101
|
+
generated_at: new Date().toISOString(),
|
|
102
|
+
lisa_version: resolveLisaVersion(),
|
|
103
|
+
worker_signature: currentWorkerSignature(),
|
|
104
|
+
verdict,
|
|
105
|
+
narrowed_claim: null,
|
|
106
|
+
blockers: [],
|
|
107
|
+
blocker_count: 0,
|
|
108
|
+
dimensions,
|
|
109
|
+
};
|
|
110
|
+
const reportPath = resolveReadinessReportPath(targetPath);
|
|
111
|
+
try {
|
|
112
|
+
await persistReadinessReport(reportPath, report);
|
|
113
|
+
}
|
|
114
|
+
catch (error) {
|
|
115
|
+
return {
|
|
116
|
+
name: REPOSITORY_READINESS_CHECK_NAME,
|
|
117
|
+
status: "warn",
|
|
118
|
+
detail: `Repository readiness assessed: ${verdict} (8 dimensions, all SKIP pending ` +
|
|
119
|
+
`evidence wiring). Could not persist ${READINESS_REPORT_DISPLAY_PATH}: ` +
|
|
120
|
+
`${error instanceof Error ? error.message : String(error)}`,
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
return {
|
|
124
|
+
name: REPOSITORY_READINESS_CHECK_NAME,
|
|
125
|
+
status: verdict === "READY" ? "ok" : "warn",
|
|
126
|
+
detail: `Repository readiness assessed: ${verdict} across 8 ownership dimensions ` +
|
|
127
|
+
`(all SKIP pending evidence wiring in later PRD #1739 tickets; see readiness-rubric). ` +
|
|
128
|
+
`Report written to ${READINESS_REPORT_DISPLAY_PATH} (schema_version ${READINESS_SCHEMA_VERSION}).`,
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Reduce per-dimension statuses to the shipped verdict ladder. FAIL wins over
|
|
133
|
+
* WARN, WARN over the rest; a report of only PASS/SKIP is READY.
|
|
134
|
+
* @param dimensions - Per-dimension records
|
|
135
|
+
* @returns Overall verdict
|
|
136
|
+
*/
|
|
137
|
+
function computeReadinessVerdict(dimensions) {
|
|
138
|
+
if (dimensions.some(dimension => dimension.status === "FAIL")) {
|
|
139
|
+
return "NOT_READY";
|
|
140
|
+
}
|
|
141
|
+
if (dimensions.some(dimension => dimension.status === "WARN")) {
|
|
142
|
+
return "READY_WITH_WARNINGS";
|
|
143
|
+
}
|
|
144
|
+
return "READY";
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Atomically write the readiness report: write a sibling temp file, then rename
|
|
148
|
+
* it into place so a reader never observes a partial document.
|
|
149
|
+
* @param reportPath - Destination path
|
|
150
|
+
* @param report - Report to persist
|
|
151
|
+
*/
|
|
152
|
+
async function persistReadinessReport(reportPath, report) {
|
|
153
|
+
await mkdir(path.dirname(reportPath), { recursive: true });
|
|
154
|
+
const tempPath = `${reportPath}.tmp`;
|
|
155
|
+
await writeFile(tempPath, `${JSON.stringify(report, null, 2)}\n`, "utf8");
|
|
156
|
+
await rename(tempPath, reportPath);
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Resolve Lisa's package version for the persisted stamp, degrading to
|
|
160
|
+
* `"unknown"` rather than throwing when package metadata cannot be read.
|
|
161
|
+
* @returns Lisa version string
|
|
162
|
+
*/
|
|
163
|
+
function resolveLisaVersion() {
|
|
164
|
+
try {
|
|
165
|
+
return getPackageVersion();
|
|
166
|
+
}
|
|
167
|
+
catch {
|
|
168
|
+
return "unknown";
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Build the current runtime worker signature the readiness stamp records. This
|
|
173
|
+
* mirrors the worker-epoch host/model/version identity so #1740 can reuse the
|
|
174
|
+
* same stamp (sibling-boundary decision).
|
|
175
|
+
* @returns `host/model/version` signature string
|
|
176
|
+
*/
|
|
177
|
+
function currentWorkerSignature() {
|
|
178
|
+
const env = process["env"];
|
|
179
|
+
const host = (env.LISA_WORKER_HOST ??
|
|
180
|
+
env.LISA_REMOTE_AGENT ??
|
|
181
|
+
(env.CODEX_HOME || env.CODEX_SANDBOX
|
|
182
|
+
? "codex"
|
|
183
|
+
: env.CLAUDECODE
|
|
184
|
+
? "claude"
|
|
185
|
+
: "unknown")).toLowerCase();
|
|
186
|
+
const model = env.LISA_WORKER_MODEL ?? env.CODEX_MODEL ?? "unknown";
|
|
187
|
+
const version = env.LISA_WORKER_VERSION ?? env.CODEX_VERSION ?? "unknown";
|
|
188
|
+
return `${host}/${model}/${version}`;
|
|
189
|
+
}
|
|
190
|
+
//# sourceMappingURL=doctor-readiness.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"doctor-readiness.js","sourceRoot":"","sources":["../../src/cli/doctor-readiness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,OAAO,MAAM,cAAc,CAAC;AAEnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,gEAAgE;AAChE,MAAM,+BAA+B,GAAG,sBAAsB,CAAC;AAE/D,qEAAqE;AACrE,MAAM,6BAA6B,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAC;AAE3E;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC;AAe1C;;;;;;GAMG;AACH,MAAM,oBAAoB,GAAsC;IAC9D;QACE,EAAE,EAAE,iBAAiB;QACrB,QAAQ,EACN,mIAAmI;QACrI,UAAU,EACR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IAAI,GAAG,CAAC,aAAa,IAAI,SAAS,CAAC;IAC1E,OAAO,GAAG,IAAI,IAAI,KAAK,IAAI,OAAO,EAAE,CAAC;AACvC,CAAC"}
|
package/dist/cli/doctor.d.ts
CHANGED
|
@@ -16,6 +16,12 @@ export interface DoctorResult {
|
|
|
16
16
|
export interface DoctorOptions {
|
|
17
17
|
json?: boolean;
|
|
18
18
|
offline?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Add the orthogonal "Repository readiness" audit ("may an agent fleet
|
|
21
|
+
* operate here unattended?") and persist `.lisa/readiness.json`. Additive and
|
|
22
|
+
* warn-only: the default doctor path is byte-identical when this is unset.
|
|
23
|
+
*/
|
|
24
|
+
readiness?: boolean;
|
|
19
25
|
}
|
|
20
26
|
/** Runtime collaborators for doctor. */
|
|
21
27
|
export interface DoctorDependencies {
|
package/dist/cli/doctor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../src/cli/doctor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../src/cli/doctor.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAQzD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,mDAAmD;AACnD,KAAK,YAAY,GAAG,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;AAO3C,oCAAoC;AACpC,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,YAAY,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,sCAAsC;AACtC,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,WAAW,EAAE,CAAC;CACvB;AAED,wCAAwC;AACxC,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wCAAwC;AACxC,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,OAAO,KAAK,CAAC;IACxB,cAAc,EAAE,OAAO,cAAc,CAAC;IACtC,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,kBAAkB,EAAE,OAAO,kBAAkB,CAAC;CAC/C;AAYD;;;;;;;GAOG;AACH,wBAAsB,YAAY,CAChC,IAAI,EAAE,IAAI,CAAC,kBAAkB,EAAE,gBAAgB,CAAC,EAChD,OAAO,EAAE,OAAO,GACf,OAAO,CAAC,WAAW,CAAC,CAyBtB;AA4MD;;;;;;GAMG;AACH,wBAAsB,SAAS,CAC7B,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,OAAO,EAAE,aAAa,EACtB,YAAY,GAAE,OAAO,CAAC,kBAAkB,CAAM,GAC7C,OAAO,CAAC,YAAY,CAAC,CAsCvB"}
|
package/dist/cli/doctor.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { existsSync } from "node:fs";
|
|
2
2
|
import { readFile } from "node:fs/promises";
|
|
3
3
|
import * as path from "node:path";
|
|
4
|
-
import { LISA_HOOKS_SUBDIR, LISA_RULES_SUBDIR, } from "../codex/hooks-installer.js";
|
|
5
|
-
import { LISA_SKILLS_SUBDIR } from "../codex/skills-installer.js";
|
|
6
4
|
import { AGENTS_MD_FILENAME } from "../codex/agents-md-installer.js";
|
|
7
5
|
import { CLAUDE_MD_FILENAME } from "../claude/claude-md-installer.js";
|
|
8
6
|
import { migrateInstructionFiles } from "../core/instruction-files-migration.js";
|
|
9
7
|
import { probeKaneReadiness } from "../core/kane-cli.js";
|
|
10
8
|
import { createDetectorRegistry } from "../detection/index.js";
|
|
11
9
|
import { checkKaneProvider } from "./doctor-kane.js";
|
|
10
|
+
import { checkLegacyCodexOverlay } from "./doctor-legacy-overlay.js";
|
|
12
11
|
import { checkLegacyMonitorThresholds } from "./doctor-monitor-thresholds.js";
|
|
12
|
+
import { checkRepositoryReadiness } from "./doctor-readiness.js";
|
|
13
13
|
import { checkWorkerEpoch } from "./doctor-worker-epoch.js";
|
|
14
14
|
import { STARTERS } from "./starters.js";
|
|
15
15
|
import { runUpdateCheck } from "./update-check.js";
|
|
@@ -183,52 +183,6 @@ function checkWiki(targetPath) {
|
|
|
183
183
|
: `Missing ${missing.join(", ")}`,
|
|
184
184
|
};
|
|
185
185
|
}
|
|
186
|
-
const LEGACY_CODEX_OVERLAY_CHECK_NAME = "Codex overlay current?";
|
|
187
|
-
/**
|
|
188
|
-
* Detect the retired pre-2.198 project-level Codex overlay. Lisa now delivers
|
|
189
|
-
* Codex hooks and skills through the repository plugin marketplace
|
|
190
|
-
* (`.agents/plugins/marketplace.json` → `node_modules`), and postinstall
|
|
191
|
-
* applies deliberately skip agent emits — so a committed legacy overlay is
|
|
192
|
-
* never cleaned up automatically. Fresh clones/worktrees then load stale
|
|
193
|
-
* hooks/skills from it, and a later explicit apply retires them out from
|
|
194
|
-
* under whatever session is running (exit-127 hooks, vanished skills — the
|
|
195
|
-
* incident behind CodySwannGT/lisa#1632).
|
|
196
|
-
* @param targetPath - Project path to inspect
|
|
197
|
-
* @returns Doctor check result
|
|
198
|
-
*/
|
|
199
|
-
function checkLegacyCodexOverlay(targetPath) {
|
|
200
|
-
const codexDir = path.join(targetPath, ".codex");
|
|
201
|
-
if (!existsSync(codexDir)) {
|
|
202
|
-
return {
|
|
203
|
-
name: LEGACY_CODEX_OVERLAY_CHECK_NAME,
|
|
204
|
-
status: "ok",
|
|
205
|
-
detail: "No .codex directory present",
|
|
206
|
-
};
|
|
207
|
-
}
|
|
208
|
-
const legacyPaths = [
|
|
209
|
-
LISA_HOOKS_SUBDIR,
|
|
210
|
-
LISA_RULES_SUBDIR,
|
|
211
|
-
LISA_SKILLS_SUBDIR,
|
|
212
|
-
].filter(subdir => existsSync(path.join(codexDir, subdir)));
|
|
213
|
-
if (legacyPaths.length === 0) {
|
|
214
|
-
return {
|
|
215
|
-
name: LEGACY_CODEX_OVERLAY_CHECK_NAME,
|
|
216
|
-
status: "ok",
|
|
217
|
-
detail: "No legacy project-level Codex overlay present",
|
|
218
|
-
};
|
|
219
|
-
}
|
|
220
|
-
const listed = legacyPaths
|
|
221
|
-
.map(subdir => path.join(".codex", subdir))
|
|
222
|
-
.join(", ");
|
|
223
|
-
return {
|
|
224
|
-
name: LEGACY_CODEX_OVERLAY_CHECK_NAME,
|
|
225
|
-
status: "warn",
|
|
226
|
-
detail: `Legacy pre-2.198 Codex overlay present (${listed}). ` +
|
|
227
|
-
"Run `lisa apply` in the primary checkout and commit the removals — " +
|
|
228
|
-
"fresh clones/worktrees otherwise load stale hooks/skills that a later " +
|
|
229
|
-
"apply deletes mid-session (CodySwannGT/lisa#1632)",
|
|
230
|
-
};
|
|
231
|
-
}
|
|
232
186
|
/**
|
|
233
187
|
* Determine whether a path looks like an agent-governed project, i.e. one that
|
|
234
188
|
* should carry the canonical `AGENTS.md` / `CLAUDE.md` pointer pattern. True
|
|
@@ -300,6 +254,9 @@ export async function runDoctor(targetPath, options, dependencies = {}) {
|
|
|
300
254
|
checkLegacyCodexOverlay(resolvedTarget),
|
|
301
255
|
await checkStarterHealth(deps, options.offline === true),
|
|
302
256
|
checkWiki(resolvedTarget),
|
|
257
|
+
...(options.readiness === true
|
|
258
|
+
? [await checkRepositoryReadiness(resolvedTarget)]
|
|
259
|
+
: []),
|
|
303
260
|
];
|
|
304
261
|
const result = { checks };
|
|
305
262
|
if (options.json) {
|
package/dist/cli/doctor.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor.js","sourceRoot":"","sources":["../../src/cli/doctor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC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;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAC3B,YAAY,GAAE,OAAO,CAAC,mBAAmB,CAAM,GAC9C,OAAO,CA8ET;AAED,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC"}
|
package/dist/cli/index.js
CHANGED
|
@@ -79,6 +79,23 @@ function addKaneCommands(program, deps) {
|
|
|
79
79
|
await deps.runKanePilotCli(manifest, options.reportOnly === true);
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
|
+
/**
|
|
83
|
+
* Register the `doctor` command, including the additive `--readiness` audit.
|
|
84
|
+
* @param program - Commander program to mutate
|
|
85
|
+
* @param deps - Program dependencies
|
|
86
|
+
*/
|
|
87
|
+
function addDoctorCommand(program, deps) {
|
|
88
|
+
program
|
|
89
|
+
.command("doctor")
|
|
90
|
+
.description("Diagnose Lisa, project, starter, and wiki health")
|
|
91
|
+
.argument("[path]", "Project path to inspect")
|
|
92
|
+
.option("--json", "Emit JSON")
|
|
93
|
+
.option("--offline", "Skip network checks")
|
|
94
|
+
.option("--readiness", "Also audit repository readiness for unattended fleet operation and persist .lisa/readiness.json")
|
|
95
|
+
.action(async (targetPath, options) => {
|
|
96
|
+
await deps.runDoctor(targetPath, options);
|
|
97
|
+
});
|
|
98
|
+
}
|
|
82
99
|
/**
|
|
83
100
|
* Register CLI maintenance commands that do not run the root update warning.
|
|
84
101
|
* @param program - Commander program to mutate
|
|
@@ -102,15 +119,7 @@ function addMaintenanceCommands(program, deps) {
|
|
|
102
119
|
process.exitCode = code;
|
|
103
120
|
}
|
|
104
121
|
});
|
|
105
|
-
program
|
|
106
|
-
.command("doctor")
|
|
107
|
-
.description("Diagnose Lisa, project, starter, and wiki health")
|
|
108
|
-
.argument("[path]", "Project path to inspect")
|
|
109
|
-
.option("--json", "Emit JSON")
|
|
110
|
-
.option("--offline", "Skip network checks")
|
|
111
|
-
.action(async (targetPath, options) => {
|
|
112
|
-
await deps.runDoctor(targetPath, options);
|
|
113
|
-
});
|
|
122
|
+
addDoctorCommand(program, deps);
|
|
114
123
|
program
|
|
115
124
|
.command("sync")
|
|
116
125
|
.description("Populate .lisa.config.json with every missing setting and sync mirrored files (config wins)")
|
package/dist/cli/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAEL,iBAAiB,GAClB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EACL,UAAU,EACV,eAAe,EACf,eAAe,GAEhB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAmB,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAuB,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAqB,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;A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AAE,OAAO,CAAC,CAAC;IAChD,CAAC,CAAC,CAAC;IAEH,sBAAsB,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAEtC,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upstream-evidence-manifest.d.ts","sourceRoot":"","sources":["../../src/core/upstream-evidence-manifest.ts"],"names":[],"mappings":"AACA,iFAAiF;AACjF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA8/DpE,CAAC;AAEL,4EAA4E;AAC5E,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"upstream-evidence-manifest.d.ts","sourceRoot":"","sources":["../../src/core/upstream-evidence-manifest.ts"],"names":[],"mappings":"AACA,iFAAiF;AACjF,eAAO,MAAM,0BAA0B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA8/DpE,CAAC;AAEL,4EAA4E;AAC5E,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAkhMjE,CAAC;AAEL,sFAAsF;AACtF,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAk6I/D,CAAC"}
|
|
@@ -368,7 +368,7 @@ export const UPSTREAM_EVIDENCE_MANIFEST = Object.freeze({
|
|
|
368
368
|
"plugins/src/base/scripts/automation-status-report.mjs": "520f77645c5b7cab3f69848fb5cf19e8b1d802cd1f8ce6a35aa36a0bf6a0d146",
|
|
369
369
|
"plugins/src/base/scripts/automation-status-run-history.mjs": "a07f0d1af412f0d2747a9cbe82fa0edbeb8cc8dd4bdf4c51526e779090f08208",
|
|
370
370
|
"plugins/src/base/scripts/cross-pollinate.mjs": "e9a536389d2581370f6c470b8a070aaae96660646efc528a7ff7fb25d324a903",
|
|
371
|
-
"plugins/src/base/scripts/doctor-report.mjs": "
|
|
371
|
+
"plugins/src/base/scripts/doctor-report.mjs": "080286c469b034d22930bd5efb7e70e5227e93697a315469e9f8e6089eb37505",
|
|
372
372
|
"plugins/src/base/scripts/install-remote-agent-aws.mjs": "5ef1c323d7cbfda8976f6fb0c24f7a8e5f5757475fd1d71c6e5bec91023cebe3",
|
|
373
373
|
"plugins/src/base/scripts/plugin-sync-explain.mjs": "8592c7359ee6cdb35995a882c8bb27e7b9c404074067fd272c70013e44e04b71",
|
|
374
374
|
"plugins/src/base/scripts/project-ideation-idempotency-harness.mjs": "81b6eb911cf5cf6d1913cacf65b6ae298732e0a4e92529aed6767cdf79ab2ec0",
|
|
@@ -394,7 +394,7 @@ export const UPSTREAM_EVIDENCE_MANIFEST = Object.freeze({
|
|
|
394
394
|
"plugins/src/base/skills/lisa-cross-pollinate/SKILL.md": "d1d33a149cab2de0d0b4c7ddc6bb2f67f43a097e5f551f642b1cb076747a5a05",
|
|
395
395
|
"plugins/src/base/skills/lisa-debrief-apply/SKILL.md": "90c5f01994bb0f8e71947e8a2f765ccf9a6aa3da47b8d7b8e2022150ef89c2b2",
|
|
396
396
|
"plugins/src/base/skills/lisa-debrief/SKILL.md": "47e4cda36b07994ff47ab15fb04a17dd6b0c310ad804f9cae9d69637edaaa72a",
|
|
397
|
-
"plugins/src/base/skills/lisa-doctor/SKILL.md": "
|
|
397
|
+
"plugins/src/base/skills/lisa-doctor/SKILL.md": "a9bac6af0746a222e9de7224e5f171411ee82e351f3449bcda4430b85f79486a",
|
|
398
398
|
"plugins/src/base/skills/lisa-drive-pr-to-merge/SKILL.md": "e8680c65da64351580658e423d2e30f565e9df52079f4deec44df84d4ab82982",
|
|
399
399
|
"plugins/src/base/skills/lisa-epic-triage/SKILL.md": "d02760411249bddbd396f283191fe3e82bb7b95bf9393a19a7025dc5a57c3ab7",
|
|
400
400
|
"plugins/src/base/skills/lisa-exploratory-qa/SKILL.md": "70d6e44becf223ecee4573c53a8153a8663c87bac212e3fb972a80689e36d1ed",
|
|
@@ -6221,7 +6221,9 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
|
|
|
6221
6221
|
"src/cli/cross-pollinate-cmd.ts": true,
|
|
6222
6222
|
"src/cli/cross-pollinate-nudge.ts": true,
|
|
6223
6223
|
"src/cli/doctor-kane.ts": true,
|
|
6224
|
+
"src/cli/doctor-legacy-overlay.ts": true,
|
|
6224
6225
|
"src/cli/doctor-monitor-thresholds.ts": true,
|
|
6226
|
+
"src/cli/doctor-readiness.ts": true,
|
|
6225
6227
|
"src/cli/doctor-worker-epoch.ts": true,
|
|
6226
6228
|
"src/cli/doctor.ts": true,
|
|
6227
6229
|
"src/cli/file-upstream-cmd.ts": true,
|
|
@@ -6497,6 +6499,7 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
|
|
|
6497
6499
|
"tests/unit/cli/check-learnings-budget-cmd.test.ts": true,
|
|
6498
6500
|
"tests/unit/cli/doctor-kane.test.ts": true,
|
|
6499
6501
|
"tests/unit/cli/doctor-monitor-thresholds.test.ts": true,
|
|
6502
|
+
"tests/unit/cli/doctor-readiness.test.ts": true,
|
|
6500
6503
|
"tests/unit/cli/doctor-worker-epoch.test.ts": true,
|
|
6501
6504
|
"tests/unit/cli/doctor.test.ts": true,
|
|
6502
6505
|
"tests/unit/cli/file-upstream-contract.test.ts": true,
|
|
@@ -6740,6 +6743,7 @@ export const UPSTREAM_SURFACE_MANIFEST = Object.freeze({
|
|
|
6740
6743
|
"tests/unit/strategies/doctor-plugin-sync-guidance.test.ts": true,
|
|
6741
6744
|
"tests/unit/strategies/doctor-project-readiness.test.ts": true,
|
|
6742
6745
|
"tests/unit/strategies/doctor-report-rendering.test.ts": true,
|
|
6746
|
+
"tests/unit/strategies/doctor-repository-readiness.test.ts": true,
|
|
6743
6747
|
"tests/unit/strategies/doctor-scaffold.test.ts": true,
|
|
6744
6748
|
"tests/unit/strategies/doctor-vendor-preflight.test.ts": true,
|
|
6745
6749
|
"tests/unit/strategies/doctor-wiki-delegation.test.ts": true,
|