@codyswann/lisa 4.103.5 → 4.103.7
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/all/merge/.claude/settings.json +1 -11
- package/cdk/merge/.claude/settings.json +0 -3
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +24 -57
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/dist/migrations/index.d.ts +1 -0
- package/dist/migrations/index.d.ts.map +1 -1
- package/dist/migrations/index.js +3 -0
- package/dist/migrations/index.js.map +1 -1
- package/dist/migrations/prune-retired-third-party-plugins.d.ts +67 -0
- package/dist/migrations/prune-retired-third-party-plugins.d.ts.map +1 -0
- package/dist/migrations/prune-retired-third-party-plugins.js +120 -0
- package/dist/migrations/prune-retired-third-party-plugins.js.map +1 -0
- package/expo/merge/.claude/settings.json +1 -11
- package/harper-fabric/merge/.claude/settings.json +0 -3
- package/nestjs/merge/.claude/settings.json +0 -3
- package/package.json +4 -4
- package/phaser/merge/.claude/settings.json +0 -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-parity-code-review/SKILL.md +3 -6
- package/plugins/lisa/.codex-plugin/skills/lisa-parity-coderabbit/SKILL.md +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-evidence/SKILL.md +8 -1
- package/plugins/lisa/rules/eager/coding-philosophy.md +1 -0
- package/plugins/lisa/rules/eager/tool-access-gate.md +6 -5
- package/plugins/lisa/rules/eager/verification.md +1 -1
- package/plugins/lisa/rules/reference/claim-evidence-mapping.md +3 -2
- package/plugins/lisa/rules/reference/tool-access-gate.md +17 -7
- package/plugins/lisa/rules/reference/verification.md +36 -1
- package/plugins/lisa/skills/lisa-parity-code-review/SKILL.md +3 -6
- package/plugins/lisa/skills/lisa-parity-coderabbit/SKILL.md +1 -1
- package/plugins/lisa/skills/lisa-tracker-evidence/SKILL.md +8 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-parity-code-review/SKILL.md +3 -6
- package/plugins/lisa-agy/skills/lisa-parity-coderabbit/SKILL.md +1 -1
- package/plugins/lisa-agy/skills/lisa-tracker-evidence/SKILL.md +8 -1
- 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-cdk-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/rules/eager/coding-philosophy.md +1 -0
- package/plugins/lisa-copilot/rules/eager/tool-access-gate.md +6 -5
- package/plugins/lisa-copilot/rules/eager/verification.md +1 -1
- package/plugins/lisa-copilot/rules/reference/claim-evidence-mapping.md +3 -2
- package/plugins/lisa-copilot/rules/reference/tool-access-gate.md +17 -7
- package/plugins/lisa-copilot/rules/reference/verification.md +36 -1
- package/plugins/lisa-copilot/skills/lisa-parity-code-review/SKILL.md +3 -6
- package/plugins/lisa-copilot/skills/lisa-parity-coderabbit/SKILL.md +1 -1
- package/plugins/lisa-copilot/skills/lisa-tracker-evidence/SKILL.md +8 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/rules/claim-evidence-mapping-reference.mdc +3 -2
- package/plugins/lisa-cursor/rules/coding-philosophy.mdc +1 -0
- package/plugins/lisa-cursor/rules/tool-access-gate-reference.mdc +17 -7
- package/plugins/lisa-cursor/rules/tool-access-gate.mdc +6 -5
- package/plugins/lisa-cursor/rules/verification-reference.mdc +36 -1
- package/plugins/lisa-cursor/rules/verification.mdc +1 -1
- package/plugins/lisa-cursor/skills/lisa-parity-code-review/SKILL.md +3 -6
- package/plugins/lisa-cursor/skills/lisa-parity-coderabbit/SKILL.md +1 -1
- package/plugins/lisa-cursor/skills/lisa-tracker-evidence/SKILL.md +8 -1
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/rules/eager/coding-philosophy.md +1 -0
- package/plugins/lisa-devin/rules/eager/tool-access-gate.md +6 -5
- package/plugins/lisa-devin/rules/eager/verification.md +1 -1
- package/plugins/lisa-devin/rules/reference/claim-evidence-mapping.md +3 -2
- package/plugins/lisa-devin/rules/reference/tool-access-gate.md +17 -7
- package/plugins/lisa-devin/rules/reference/verification.md +36 -1
- package/plugins/lisa-devin/skills/lisa-parity-code-review/SKILL.md +3 -6
- package/plugins/lisa-devin/skills/lisa-parity-coderabbit/SKILL.md +1 -1
- package/plugins/lisa-devin/skills/lisa-tracker-evidence/SKILL.md +8 -1
- 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-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-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-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-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-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-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-openclaw-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-devin/.devin-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-phaser-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.devin-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-rails-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.devin-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-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-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/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/src/base/rules/eager/coding-philosophy.md +1 -0
- package/plugins/src/base/rules/eager/tool-access-gate.md +6 -5
- package/plugins/src/base/rules/eager/verification.md +1 -1
- package/plugins/src/base/rules/reference/claim-evidence-mapping.md +3 -2
- package/plugins/src/base/rules/reference/tool-access-gate.md +17 -7
- package/plugins/src/base/rules/reference/verification.md +36 -1
- package/plugins/src/base/skills/lisa-parity-code-review/SKILL.md +3 -6
- package/plugins/src/base/skills/lisa-parity-coderabbit/SKILL.md +1 -1
- package/plugins/src/base/skills/lisa-tracker-evidence/SKILL.md +8 -1
- package/rails/merge/.claude/settings.json +1 -11
- package/scripts/install-claude-plugins.sh +19 -4
- package/typescript/merge/.claude/settings.json +0 -3
- package/ui/index.html +1 -9
- package/plugins/lisa/.codex-plugin/skills/lisa-parity-code-simplifier/SKILL.md +0 -78
- package/plugins/lisa/.codex-plugin/skills/lisa-parity-code-simplifier/agents/openai.yaml +0 -4
- package/plugins/lisa/.codex-plugin/skills/lisa-parity-skill-creator/SKILL.md +0 -157
- package/plugins/lisa/.codex-plugin/skills/lisa-parity-skill-creator/agents/openai.yaml +0 -4
- package/plugins/lisa/commands/parity-code-simplifier.md +0 -6
- package/plugins/lisa/commands/parity-skill-creator.md +0 -6
- package/plugins/lisa/skills/lisa-parity-code-simplifier/SKILL.md +0 -76
- package/plugins/lisa/skills/lisa-parity-code-simplifier/agents/openai.yaml +0 -4
- package/plugins/lisa/skills/lisa-parity-skill-creator/SKILL.md +0 -155
- package/plugins/lisa/skills/lisa-parity-skill-creator/agents/openai.yaml +0 -4
- package/plugins/lisa-agy/commands/lisa/parity-code-simplifier.md +0 -6
- package/plugins/lisa-agy/commands/lisa/parity-skill-creator.md +0 -6
- package/plugins/lisa-agy/skills/lisa-parity-code-simplifier/SKILL.md +0 -76
- package/plugins/lisa-agy/skills/lisa-parity-skill-creator/SKILL.md +0 -155
- package/plugins/lisa-copilot/commands/lisa/parity-code-simplifier.md +0 -6
- package/plugins/lisa-copilot/commands/lisa/parity-skill-creator.md +0 -6
- package/plugins/lisa-copilot/skills/lisa-parity-code-simplifier/SKILL.md +0 -76
- package/plugins/lisa-copilot/skills/lisa-parity-skill-creator/SKILL.md +0 -155
- package/plugins/lisa-cursor/commands/lisa/parity-code-simplifier.md +0 -6
- package/plugins/lisa-cursor/commands/lisa/parity-skill-creator.md +0 -6
- package/plugins/lisa-cursor/skills/lisa-parity-code-simplifier/SKILL.md +0 -76
- package/plugins/lisa-cursor/skills/lisa-parity-skill-creator/SKILL.md +0 -155
- package/plugins/lisa-devin/skills/lisa-parity-code-simplifier/SKILL.md +0 -76
- package/plugins/lisa-devin/skills/lisa-parity-skill-creator/SKILL.md +0 -155
- package/plugins/src/base/commands/parity-code-simplifier.md +0 -6
- package/plugins/src/base/commands/parity-skill-creator.md +0 -6
- package/plugins/src/base/skills/lisa-parity-code-simplifier/SKILL.md +0 -76
- package/plugins/src/base/skills/lisa-parity-skill-creator/SKILL.md +0 -155
|
@@ -24,6 +24,7 @@ export { EnsureWikiSourceDeclaredMigration } from "./ensure-wiki-source-declared
|
|
|
24
24
|
export { EnsureTsconfigLocalIncludesMigration } from "./ensure-tsconfig-local-includes.js";
|
|
25
25
|
export { PruneRetiredClaudeDenyRulesMigration } from "./prune-retired-claude-deny-rules.js";
|
|
26
26
|
export { PruneRetiredClaudeStackPluginKeysMigration } from "./prune-retired-claude-stack-plugin-keys.js";
|
|
27
|
+
export { PruneRetiredThirdPartyPluginsMigration } from "./prune-retired-third-party-plugins.js";
|
|
27
28
|
export { PruneRetiredEntireHooksMigration } from "./prune-retired-entire-hooks.js";
|
|
28
29
|
export { PreserveVerificationOptInsMigration } from "./preserve-verification-opt-ins.js";
|
|
29
30
|
export { ReconcileClaudeStackPluginsMigration } from "./reconcile-claude-stack-plugins.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EACV,SAAS,EACT,gBAAgB,EAChB,eAAe,EAChB,MAAM,0BAA0B,CAAC;AAElC,YAAY,EACV,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,eAAe,GAChB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,kCAAkC,EAAE,MAAM,mCAAmC,CAAC;AACvF,OAAO,EAAE,yCAAyC,EAAE,MAAM,2CAA2C,CAAC;AACtG,OAAO,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AACrF,OAAO,EAAE,6CAA6C,EAAE,MAAM,gDAAgD,CAAC;AAC/G,OAAO,EAAE,qCAAqC,EAAE,MAAM,qCAAqC,CAAC;AAC5F,OAAO,EAAE,mCAAmC,EAAE,MAAM,oCAAoC,CAAC;AACzF,OAAO,EA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BAAa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAuB;IAElD;;;OAGG;gBACS,UAAU,CAAC,EAAE,SAAS,SAAS,EAAE;IAsC7C;;;OAGG;IACH,MAAM,IAAI,SAAS,SAAS,EAAE;IAI9B;;;;OAIG;IACG,mBAAmB,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC;IAQ/D;;;;OAIG;IACG,MAAM,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,SAAS,eAAe,EAAE,CAAC;CAazE;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,IAAI,iBAAiB,CAE3D"}
|
package/dist/migrations/index.js
CHANGED
|
@@ -22,6 +22,7 @@ import { EnsureWikiSourceDeclaredMigration } from "./ensure-wiki-source-declared
|
|
|
22
22
|
import { EnsureTsconfigLocalIncludesMigration } from "./ensure-tsconfig-local-includes.js";
|
|
23
23
|
import { PruneRetiredClaudeDenyRulesMigration } from "./prune-retired-claude-deny-rules.js";
|
|
24
24
|
import { PruneRetiredClaudeStackPluginKeysMigration } from "./prune-retired-claude-stack-plugin-keys.js";
|
|
25
|
+
import { PruneRetiredThirdPartyPluginsMigration } from "./prune-retired-third-party-plugins.js";
|
|
25
26
|
import { PruneRetiredEntireHooksMigration } from "./prune-retired-entire-hooks.js";
|
|
26
27
|
import { PreserveVerificationOptInsMigration } from "./preserve-verification-opt-ins.js";
|
|
27
28
|
import { ReconcileClaudeStackPluginsMigration } from "./reconcile-claude-stack-plugins.js";
|
|
@@ -51,6 +52,7 @@ export { EnsureWikiSourceDeclaredMigration } from "./ensure-wiki-source-declared
|
|
|
51
52
|
export { EnsureTsconfigLocalIncludesMigration } from "./ensure-tsconfig-local-includes.js";
|
|
52
53
|
export { PruneRetiredClaudeDenyRulesMigration } from "./prune-retired-claude-deny-rules.js";
|
|
53
54
|
export { PruneRetiredClaudeStackPluginKeysMigration } from "./prune-retired-claude-stack-plugin-keys.js";
|
|
55
|
+
export { PruneRetiredThirdPartyPluginsMigration } from "./prune-retired-third-party-plugins.js";
|
|
54
56
|
export { PruneRetiredEntireHooksMigration } from "./prune-retired-entire-hooks.js";
|
|
55
57
|
export { PreserveVerificationOptInsMigration } from "./preserve-verification-opt-ins.js";
|
|
56
58
|
export { ReconcileClaudeStackPluginsMigration } from "./reconcile-claude-stack-plugins.js";
|
|
@@ -93,6 +95,7 @@ export class MigrationRegistry {
|
|
|
93
95
|
new ReconcileClaudeStackPluginsMigration(),
|
|
94
96
|
// After reconcile: a successor it adds retires its predecessor at once.
|
|
95
97
|
new PruneRetiredClaudeStackPluginKeysMigration(),
|
|
98
|
+
new PruneRetiredThirdPartyPluginsMigration(),
|
|
96
99
|
new UntrackCodexMarketplaceMigration(),
|
|
97
100
|
new RetireNativeSafetyNetMigration(),
|
|
98
101
|
new CorrectLisaCoderabbitLabelingMigration(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,kCAAkC,EAAE,MAAM,mCAAmC,CAAC;AACvF,OAAO,EAAE,yCAAyC,EAAE,MAAM,2CAA2C,CAAC;AACtG,OAAO,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AACrF,OAAO,EAAE,6CAA6C,EAAE,MAAM,gDAAgD,CAAC;AAC/G,OAAO,EAAE,qCAAqC,EAAE,MAAM,qCAAqC,CAAC;AAC5F,OAAO,EAAE,mCAAmC,EAAE,MAAM,oCAAoC,CAAC;AACzF,OAAO,EAAE,uCAAuC,EAAE,MAAM,wCAAwC,CAAC;AACjG,OAAO,EAAE,qCAAqC,EAAE,MAAM,uCAAuC,CAAC;AAC9F,OAAO,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,gCAAgC,EAAE,MAAM,iCAAiC,CAA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ugin keys Lisa once enabled or pinned, and has retired.
|
|
4
|
+
*
|
|
5
|
+
* - `impeccable@impeccable` — an unpinned design plugin the Expo and Rails
|
|
6
|
+
* templates enabled from `pbakaus/impeccable` (#311).
|
|
7
|
+
* - `cc-safety-net@cc-marketplace` — the upstream safety-net plugin's real
|
|
8
|
+
* name. Lisa's `parity-safety-net.sh` hook already screens every Bash
|
|
9
|
+
* command, so it double-screened them (#1960).
|
|
10
|
+
* - `safety-net@cc-marketplace` — the name #1960 pinned to `false`, which
|
|
11
|
+
* matches no plugin, which is why the real one stayed on (#4799).
|
|
12
|
+
* - `code-review@claude-plugins-official` — superseded by Claude Code's
|
|
13
|
+
* built-in `/code-review`; other agents use Lisa's `lisa-parity-code-review`.
|
|
14
|
+
* - `code-simplifier@claude-plugins-official` — replaced by a simplification
|
|
15
|
+
* instruction in Lisa's coding-philosophy rule, which every agent loads.
|
|
16
|
+
* - `skill-creator@claude-plugins-official` — retired by the owner, along
|
|
17
|
+
* with Lisa's `lisa-parity-skill-creator` reimplementation.
|
|
18
|
+
*/
|
|
19
|
+
export declare const RETIRED_THIRD_PARTY_PLUGIN_KEYS: readonly string[];
|
|
20
|
+
/** The marketplaces registered only to serve those plugins. */
|
|
21
|
+
export declare const RETIRED_THIRD_PARTY_MARKETPLACES: readonly string[];
|
|
22
|
+
/** Minimal shape of a Claude `.claude/settings.json` for this pruning. */
|
|
23
|
+
interface ClaudeSettings {
|
|
24
|
+
readonly enabledPlugins?: Readonly<Record<string, unknown>>;
|
|
25
|
+
readonly extraKnownMarketplaces?: Readonly<Record<string, unknown>>;
|
|
26
|
+
readonly [key: string]: unknown;
|
|
27
|
+
}
|
|
28
|
+
/** What one settings file would lose. */
|
|
29
|
+
interface Removal {
|
|
30
|
+
readonly plugins: readonly string[];
|
|
31
|
+
readonly marketplaces: readonly string[];
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* The retired entries present in a settings object.
|
|
35
|
+
* @param settings - Parsed `.claude/settings.json`
|
|
36
|
+
* @returns The plugin keys and marketplace keys to remove, in file order
|
|
37
|
+
*/
|
|
38
|
+
export declare function retiredEntries(settings: ClaudeSettings): Removal;
|
|
39
|
+
/**
|
|
40
|
+
* Migration: remove retired third-party plugins and their marketplaces from a
|
|
41
|
+
* host's `.claude/settings.json` (CodySwannGT/lisa#4799).
|
|
42
|
+
*
|
|
43
|
+
* The merge strategy only adds keys, so dropping them from the templates
|
|
44
|
+
* leaves every existing host carrying them. This migration is the only path
|
|
45
|
+
* by which an installed base sheds them. It removes exactly the listed keys,
|
|
46
|
+
* whatever their value: a host that explicitly enabled one loses it too,
|
|
47
|
+
* because the owner retired these plugins outright. Every other plugin and
|
|
48
|
+
* marketplace entry is left untouched.
|
|
49
|
+
*/
|
|
50
|
+
export declare class PruneRetiredThirdPartyPluginsMigration implements Migration {
|
|
51
|
+
readonly name = "prune-retired-third-party-plugins";
|
|
52
|
+
readonly description = "Remove retired third-party plugins (impeccable, cc-safety-net, code-review, code-simplifier, skill-creator) and their marketplaces from .claude/settings.json";
|
|
53
|
+
/**
|
|
54
|
+
* Whether the host still carries any retired entry.
|
|
55
|
+
* @param ctx - Migration context
|
|
56
|
+
* @returns True when there is something to remove
|
|
57
|
+
*/
|
|
58
|
+
applies(ctx: MigrationContext): Promise<boolean>;
|
|
59
|
+
/**
|
|
60
|
+
* Remove the retired entries and name each one.
|
|
61
|
+
* @param ctx - Migration context
|
|
62
|
+
* @returns Result naming what was removed
|
|
63
|
+
*/
|
|
64
|
+
apply(ctx: MigrationContext): Promise<MigrationResult>;
|
|
65
|
+
}
|
|
66
|
+
export {};
|
|
67
|
+
//# sourceMappingURL=prune-retired-third-party-plugins.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prune-retired-third-party-plugins.d.ts","sourceRoot":"","sources":["../../src/migrations/prune-retired-third-party-plugins.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,SAAS,EACT,gBAAgB,EAChB,eAAe,EAChB,MAAM,0BAA0B,CAAC;AAIlC;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,+BAA+B,EAAE,SAAS,MAAM,EAO5D,CAAC;AAEF,+DAA+D;AAC/D,eAAO,MAAM,gCAAgC,EAAE,SAAS,MAAM,EAG7D,CAAC;AAEF,0EAA0E;AAC1E,UAAU,cAAc;IACtB,QAAQ,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAC5D,QAAQ,CAAC,sBAAsB,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACpE,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACjC;AAED,yCAAyC;AACzC,UAAU,OAAO;IACf,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,QAAQ,CAAC,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;CAC1C;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,cAAc,GAAG,OAAO,CAShE;AAkBD;;;;;;;;;;GAUG;AACH,qBAAa,sCAAuC,YAAW,SAAS;IACtE,QAAQ,CAAC,IAAI,uCAAuC;IACpD,QAAQ,CAAC,WAAW,mKAC8I;IAElK;;;;OAIG;IACG,OAAO,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,OAAO,CAAC;IAStD;;;;OAIG;IACG,KAAK,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;CAoC7D"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import * as path from "node:path";
|
|
2
|
+
import { readJsonOrNull, writeJson } from "../utils/json-utils.js";
|
|
3
|
+
const SETTINGS_REL_PATH = path.join(".claude", "settings.json");
|
|
4
|
+
/**
|
|
5
|
+
* Third-party plugin keys Lisa once enabled or pinned, and has retired.
|
|
6
|
+
*
|
|
7
|
+
* - `impeccable@impeccable` — an unpinned design plugin the Expo and Rails
|
|
8
|
+
* templates enabled from `pbakaus/impeccable` (#311).
|
|
9
|
+
* - `cc-safety-net@cc-marketplace` — the upstream safety-net plugin's real
|
|
10
|
+
* name. Lisa's `parity-safety-net.sh` hook already screens every Bash
|
|
11
|
+
* command, so it double-screened them (#1960).
|
|
12
|
+
* - `safety-net@cc-marketplace` — the name #1960 pinned to `false`, which
|
|
13
|
+
* matches no plugin, which is why the real one stayed on (#4799).
|
|
14
|
+
* - `code-review@claude-plugins-official` — superseded by Claude Code's
|
|
15
|
+
* built-in `/code-review`; other agents use Lisa's `lisa-parity-code-review`.
|
|
16
|
+
* - `code-simplifier@claude-plugins-official` — replaced by a simplification
|
|
17
|
+
* instruction in Lisa's coding-philosophy rule, which every agent loads.
|
|
18
|
+
* - `skill-creator@claude-plugins-official` — retired by the owner, along
|
|
19
|
+
* with Lisa's `lisa-parity-skill-creator` reimplementation.
|
|
20
|
+
*/
|
|
21
|
+
export const RETIRED_THIRD_PARTY_PLUGIN_KEYS = [
|
|
22
|
+
"impeccable@impeccable",
|
|
23
|
+
"cc-safety-net@cc-marketplace",
|
|
24
|
+
"safety-net@cc-marketplace",
|
|
25
|
+
"code-review@claude-plugins-official",
|
|
26
|
+
"code-simplifier@claude-plugins-official",
|
|
27
|
+
"skill-creator@claude-plugins-official",
|
|
28
|
+
];
|
|
29
|
+
/** The marketplaces registered only to serve those plugins. */
|
|
30
|
+
export const RETIRED_THIRD_PARTY_MARKETPLACES = [
|
|
31
|
+
"pbakaus/impeccable",
|
|
32
|
+
"kenryu42/cc-marketplace",
|
|
33
|
+
];
|
|
34
|
+
/**
|
|
35
|
+
* The retired entries present in a settings object.
|
|
36
|
+
* @param settings - Parsed `.claude/settings.json`
|
|
37
|
+
* @returns The plugin keys and marketplace keys to remove, in file order
|
|
38
|
+
*/
|
|
39
|
+
export function retiredEntries(settings) {
|
|
40
|
+
return {
|
|
41
|
+
plugins: Object.keys(settings.enabledPlugins ?? {}).filter(key => RETIRED_THIRD_PARTY_PLUGIN_KEYS.includes(key)),
|
|
42
|
+
marketplaces: Object.keys(settings.extraKnownMarketplaces ?? {}).filter(key => RETIRED_THIRD_PARTY_MARKETPLACES.includes(key)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* A copy of `record` without `keys`, or the record unchanged when it is absent.
|
|
47
|
+
* @param record - An object map, possibly absent
|
|
48
|
+
* @param keys - Keys to drop
|
|
49
|
+
* @returns The filtered map, or undefined when there was none
|
|
50
|
+
*/
|
|
51
|
+
function without(record, keys) {
|
|
52
|
+
if (record === undefined)
|
|
53
|
+
return undefined;
|
|
54
|
+
return Object.fromEntries(Object.entries(record).filter(([key]) => !keys.includes(key)));
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Migration: remove retired third-party plugins and their marketplaces from a
|
|
58
|
+
* host's `.claude/settings.json` (CodySwannGT/lisa#4799).
|
|
59
|
+
*
|
|
60
|
+
* The merge strategy only adds keys, so dropping them from the templates
|
|
61
|
+
* leaves every existing host carrying them. This migration is the only path
|
|
62
|
+
* by which an installed base sheds them. It removes exactly the listed keys,
|
|
63
|
+
* whatever their value: a host that explicitly enabled one loses it too,
|
|
64
|
+
* because the owner retired these plugins outright. Every other plugin and
|
|
65
|
+
* marketplace entry is left untouched.
|
|
66
|
+
*/
|
|
67
|
+
export class PruneRetiredThirdPartyPluginsMigration {
|
|
68
|
+
name = "prune-retired-third-party-plugins";
|
|
69
|
+
description = "Remove retired third-party plugins (impeccable, cc-safety-net, code-review, code-simplifier, skill-creator) and their marketplaces from .claude/settings.json";
|
|
70
|
+
/**
|
|
71
|
+
* Whether the host still carries any retired entry.
|
|
72
|
+
* @param ctx - Migration context
|
|
73
|
+
* @returns True when there is something to remove
|
|
74
|
+
*/
|
|
75
|
+
async applies(ctx) {
|
|
76
|
+
const settings = await readJsonOrNull(path.join(ctx.projectDir, SETTINGS_REL_PATH));
|
|
77
|
+
if (!settings)
|
|
78
|
+
return false;
|
|
79
|
+
const { plugins, marketplaces } = retiredEntries(settings);
|
|
80
|
+
return plugins.length + marketplaces.length > 0;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Remove the retired entries and name each one.
|
|
84
|
+
* @param ctx - Migration context
|
|
85
|
+
* @returns Result naming what was removed
|
|
86
|
+
*/
|
|
87
|
+
async apply(ctx) {
|
|
88
|
+
const settingsPath = path.join(ctx.projectDir, SETTINGS_REL_PATH);
|
|
89
|
+
const settings = await readJsonOrNull(settingsPath);
|
|
90
|
+
if (!settings)
|
|
91
|
+
return { name: this.name, action: "noop" };
|
|
92
|
+
const { plugins, marketplaces } = retiredEntries(settings);
|
|
93
|
+
if (plugins.length + marketplaces.length === 0) {
|
|
94
|
+
return { name: this.name, action: "noop" };
|
|
95
|
+
}
|
|
96
|
+
const message = `Removed retired third-party plugins: ${[...plugins, ...marketplaces].join(", ")}`;
|
|
97
|
+
const result = {
|
|
98
|
+
name: this.name,
|
|
99
|
+
action: "applied",
|
|
100
|
+
changedFiles: [SETTINGS_REL_PATH],
|
|
101
|
+
message,
|
|
102
|
+
};
|
|
103
|
+
if (ctx.dryRun) {
|
|
104
|
+
ctx.logger.dry(`Would update ${SETTINGS_REL_PATH}: ${message}`);
|
|
105
|
+
return result;
|
|
106
|
+
}
|
|
107
|
+
const enabledPlugins = without(settings.enabledPlugins, plugins);
|
|
108
|
+
const extraKnownMarketplaces = without(settings.extraKnownMarketplaces, marketplaces);
|
|
109
|
+
await writeJson(settingsPath, {
|
|
110
|
+
...settings,
|
|
111
|
+
...(enabledPlugins === undefined ? {} : { enabledPlugins }),
|
|
112
|
+
...(extraKnownMarketplaces === undefined
|
|
113
|
+
? {}
|
|
114
|
+
: { extraKnownMarketplaces }),
|
|
115
|
+
});
|
|
116
|
+
ctx.logger.success(message);
|
|
117
|
+
return result;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
//# sourceMappingURL=prune-retired-third-party-plugins.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prune-retired-third-party-plugins.js","sourceRoot":"","sources":["../../src/migrations/prune-retired-third-party-plugins.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAOnE,MAAM,iBAAiB,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;AAEhE;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAsB;IAChE,uBAAuB;IACvB,8BAA8B;IAC9B,2BAA2B;IAC3B,qCAAqC;IACrC,yCAAyC;IACzC,uCAAuC;CACxC,CAAC;AAEF,+DAA+D;AAC/D,MAAM,CAAC,MAAM,gCAAgC,GAAsB;IACjE,oBAAoB;IACpB,yBAAyB;CAC1B,CAAC;AAeF;;;;GAIG;AACH,MAAM,UAAU,cAAc,CAAC,QAAwB;IACrD,OAAO;QACL,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,cAAc,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAC/D,+BAA+B,CAAC,QAAQ,CAAC,GAAG,CAAC,CAC9C;QACD,YAAY,EAAE,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,sBAAsB,IAAI,EAAE,CAAC,CAAC,MAAM,CACrE,GAAG,CAAC,EAAE,CAAC,gCAAgC,CAAC,QAAQ,CAAC,GAAG,CAAC,CACtD;KACF,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,SAAS,OAAO,CACd,MAAqD,EACrD,IAAuB;IAEvB,IAAI,MAAM,KAAK,SAAS;QAAE,OAAO,SAAS,CAAC;IAC3C,OAAO,MAAM,CAAC,WAAW,CACvB,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,C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EAAE,GAAG,YAAY,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QACnG,MAAM,MAAM,GAAoB;YAC9B,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,MAAM,EAAE,SAAS;YACjB,YAAY,EAAE,CAAC,iBAAiB,CAAC;YACjC,OAAO;SACR,CAAC;QACF,IAAI,GAAG,CAAC,MAAM,EAAE,CAAC;YACf,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,gBAAgB,iBAAiB,KAAK,OAAO,EAAE,CAAC,CAAC;YAChE,OAAO,MAAM,CAAC;QAChB,CAAC;QAED,MAAM,cAAc,GAAG,OAAO,CAAC,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;QACjE,MAAM,sBAAsB,GAAG,OAAO,CACpC,QAAQ,CAAC,sBAAsB,EAC/B,YAAY,CACb,CAAC;QACF,MAAM,SAAS,CAAC,YAAY,EAAE;YAC5B,GAAG,QAAQ;YACX,GAAG,CAAC,cAAc,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,CAAC;YAC3D,GAAG,CAAC,sBAAsB,KAAK,SAAS;gBACtC,CAAC,CAAC,EAAE;gBACJ,CAAC,CAAC,EAAE,sBAAsB,EAAE,CAAC;SAChC,CAAC,CAAC;QACH,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAC5B,OAAO,MAAM,CAAC;IAChB,CAAC;CACF"}
|
|
@@ -5,15 +5,11 @@
|
|
|
5
5
|
},
|
|
6
6
|
"enabledPlugins": {
|
|
7
7
|
"typescript-lsp@claude-plugins-official": true,
|
|
8
|
-
"safety-net@cc-marketplace": false,
|
|
9
|
-
"code-simplifier@claude-plugins-official": true,
|
|
10
|
-
"code-review@claude-plugins-official": true,
|
|
11
8
|
"playwright@claude-plugins-official": true,
|
|
12
9
|
"coderabbit@claude-plugins-official": true,
|
|
13
10
|
"sentry@claude-plugins-official": false,
|
|
14
11
|
"posthog@claude-plugins-official": true,
|
|
15
|
-
"lisa-expo@lisa": true
|
|
16
|
-
"impeccable@impeccable": true
|
|
12
|
+
"lisa-expo@lisa": true
|
|
17
13
|
},
|
|
18
14
|
"extraKnownMarketplaces": {
|
|
19
15
|
"CodySwannGT/lisa": {
|
|
@@ -21,12 +17,6 @@
|
|
|
21
17
|
"source": "github",
|
|
22
18
|
"repo": "CodySwannGT/lisa"
|
|
23
19
|
}
|
|
24
|
-
},
|
|
25
|
-
"pbakaus/impeccable": {
|
|
26
|
-
"source": {
|
|
27
|
-
"source": "github",
|
|
28
|
-
"repo": "pbakaus/impeccable"
|
|
29
|
-
}
|
|
30
20
|
}
|
|
31
21
|
},
|
|
32
22
|
"env": {
|
|
@@ -6,9 +6,6 @@
|
|
|
6
6
|
"enabledPlugins": {
|
|
7
7
|
"typescript-lsp@claude-plugins-official": true,
|
|
8
8
|
"playwright@claude-plugins-official": true,
|
|
9
|
-
"safety-net@cc-marketplace": false,
|
|
10
|
-
"code-simplifier@claude-plugins-official": true,
|
|
11
|
-
"code-review@claude-plugins-official": true,
|
|
12
9
|
"coderabbit@claude-plugins-official": true,
|
|
13
10
|
"sentry@claude-plugins-official": false,
|
|
14
11
|
"lisa-harper-fabric@lisa": true
|
|
@@ -5,9 +5,6 @@
|
|
|
5
5
|
},
|
|
6
6
|
"enabledPlugins": {
|
|
7
7
|
"typescript-lsp@claude-plugins-official": true,
|
|
8
|
-
"safety-net@cc-marketplace": false,
|
|
9
|
-
"code-simplifier@claude-plugins-official": true,
|
|
10
|
-
"code-review@claude-plugins-official": true,
|
|
11
8
|
"coderabbit@claude-plugins-official": true,
|
|
12
9
|
"sentry@claude-plugins-official": false,
|
|
13
10
|
"lisa-nestjs@lisa": true
|
package/package.json
CHANGED
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"qs": "^6.16.0"
|
|
197
197
|
},
|
|
198
198
|
"name": "@codyswann/lisa",
|
|
199
|
-
"version": "4.103.
|
|
199
|
+
"version": "4.103.7",
|
|
200
200
|
"description": "Governance-as-code for AI coding agents: turns a repository into agent-operated software factories with guardrails, guidance and automated enforcement for Claude Code, Codex, Cursor, OpenCode, Antigravity, Copilot and Devin",
|
|
201
201
|
"main": "dist/index.js",
|
|
202
202
|
"exports": {
|
|
@@ -359,7 +359,7 @@
|
|
|
359
359
|
"test": "tests"
|
|
360
360
|
},
|
|
361
361
|
"types": "./dist/index.d.ts",
|
|
362
|
-
"lisaReleaseCommit": "
|
|
363
|
-
"gitHead": "
|
|
364
|
-
"lisaReleaseTag": "v4.103.
|
|
362
|
+
"lisaReleaseCommit": "7dbf9597dccdce5176f92a6eb31014f83039e734",
|
|
363
|
+
"gitHead": "7dbf9597dccdce5176f92a6eb31014f83039e734",
|
|
364
|
+
"lisaReleaseTag": "v4.103.7"
|
|
365
365
|
}
|
|
@@ -6,9 +6,6 @@
|
|
|
6
6
|
"enabledPlugins": {
|
|
7
7
|
"typescript-lsp@claude-plugins-official": true,
|
|
8
8
|
"playwright@claude-plugins-official": true,
|
|
9
|
-
"safety-net@cc-marketplace": false,
|
|
10
|
-
"code-simplifier@claude-plugins-official": true,
|
|
11
|
-
"code-review@claude-plugins-official": true,
|
|
12
9
|
"coderabbit@claude-plugins-official": true,
|
|
13
10
|
"sentry@claude-plugins-official": false,
|
|
14
11
|
"lisa-phaser@lisa": true,
|
|
@@ -2,18 +2,15 @@
|
|
|
2
2
|
name: lisa-parity-code-review
|
|
3
3
|
description: "Lisa-native code review of the…"
|
|
4
4
|
allowed-tools: ["Read", "Bash", "Grep", "Glob"]
|
|
5
|
-
synced-from: code-review@claude-plugins-official@1.0.1
|
|
6
5
|
---
|
|
7
6
|
Lisa-native code review of the current git diff. Walks every changed hunk and reports correctness bugs, security issues, and obvious defects as severity-ranked findings with file:line references. Vendor-neutral — the cross-agent equivalent of the upstream code-review command, runnable on Codex, agy, Copilot, Cursor, and Claude.
|
|
8
7
|
|
|
9
8
|
|
|
10
9
|
# Parity Code Review
|
|
11
10
|
|
|
12
|
-
Review the code that is *about to ship* — the current uncommitted/branch diff — for defects a reviewer would block on. This is a focused **defect hunt**: correctness, security, and obvious mistakes. It is not a style audit and not a refactor pass
|
|
11
|
+
Review the code that is *about to ship* — the current uncommitted/branch diff — for defects a reviewer would block on. This is a focused **defect hunt**: correctness, security, and obvious mistakes. It is not a style audit and not a refactor pass; simplification is covered by the coding-philosophy rule.
|
|
13
12
|
|
|
14
|
-
> **
|
|
15
|
-
>
|
|
16
|
-
> **Reviewed against 1.0.1, partly diverged.** Adopted from upstream 1.0.1: findings print to the terminal only; every candidate finding is validated before it is reported (Step 4); and a high-signal bar governs what is blocking (relaxed to admit an input-dependent defect once its triggering input is shown to be reachable; see Step 4). Deliberately not reimplemented: upstream's `--comment` mode, which posts inline PR comments through `mcp__github_inline_comment__create_inline_comment` (use `lisa-pull-request-review` to act on a pull request), and its four-reviewer subagent pipeline. This skill is one reviewer over the local diff, because the agents it serves (Codex, agy, Copilot, Cursor, Devin) have no common subagent or inline-comment surface. The `synced-from` scalar cannot record that split, so this note does.
|
|
13
|
+
> **Lisa-owned.** This began as a reimplementation of the upstream `code-review@claude-plugins-official` command and was last reviewed against its 1.0.1. Lisa stopped enabling that plugin (CodySwannGT/lisa#4799) because Claude Code now ships a built-in `/code-review`, so this skill is no longer pinned to or drift-tracked against upstream. It stays as the vendor-neutral review for agents without a built-in equivalent. It is one reviewer over the local diff, because the agents it serves (Codex, agy, Copilot, Cursor, Devin) have no common subagent or inline-comment surface; use `lisa-pull-request-review` to act on a pull request.
|
|
17
14
|
|
|
18
15
|
## Step 1: Establish the diff
|
|
19
16
|
|
|
@@ -108,4 +105,4 @@ Example:
|
|
|
108
105
|
- **Ground every finding in the diff.** No speculative findings, no generic best-practice lectures unrelated to the change.
|
|
109
106
|
- **Be honest about coverage.** If you deprioritized files or couldn't fully trace a path, say so.
|
|
110
107
|
- **If the diff is clean, say so clearly** — "No blocking issues found across N changed files" — do not manufacture problems.
|
|
111
|
-
- This is review-only: report findings, do **not** edit files. Apply fixes via the normal implementation flow
|
|
108
|
+
- This is review-only: report findings, do **not** edit files. Apply fixes via the normal implementation flow after triage.
|
|
@@ -85,5 +85,5 @@ Call out what's done well. A credible review is balanced, not only critical.
|
|
|
85
85
|
- **Malformed blockers do not block.** If you cannot name a concrete failure scenario and evidence, report it as non-blocking context or omit it.
|
|
86
86
|
- **Concrete fixes only.** "Consider improving error handling" is not a finding; "wrap the `fetch` in try/catch and return a 502 on network error at `api/proxy.ts:31`" is.
|
|
87
87
|
- **No external review service.** Use only local git/tooling and the model — this is an independent review, not a CodeRabbit proxy.
|
|
88
|
-
- **Review-only.** Report findings; do not edit files. Route fixes through the implementation flow
|
|
88
|
+
- **Review-only.** Report findings; do not edit files. Route fixes through the implementation flow or a follow-up.
|
|
89
89
|
- **If the diff is clean, approve it plainly** and say why — do not invent problems to look thorough.
|
|
@@ -35,12 +35,19 @@ omit the plugin rules tree; do not assume a runtime-specific rules directory.
|
|
|
35
35
|
## Rules
|
|
36
36
|
|
|
37
37
|
- The configured GitHub evidence release (`node scripts/lisa-work-item.mjs evidence-release --ensure` prints it; default `pr-assets`) lives on the implementation repo (the one with the PR), regardless of which tracker hosts the ticket/issue. All vendor skills upload there.
|
|
38
|
+
- **Ignored evidence.** Before dispatching, run `git ls-files --others --ignored --exclude-standard -- "$EVIDENCE_DIR"`. If it exits non-zero, the check itself failed. Stop and report that; never read it as "tracked". An empty result means "tracked" only when the manifest files actually exist in `$EVIDENCE_DIR`. If it prints any file, git ignores that evidence, either the whole directory or a pattern such as `*.png`. That evidence will never reach the PR, so the tracker comment becomes the record of truth. The vendor skills upload only some files (`lisa-github-evidence` takes numbered `.txt` and `*.json`, `lisa-jira-evidence` takes `NN-name.(png|txt|json)`, and `lisa-linear-evidence` takes `evidence/files/`), so this wrapper does the rest itself, **before** dispatching:
|
|
39
|
+
1. Resolve `RELEASE=$(node scripts/lisa-work-item.mjs evidence-release --ensure)`. Never hard-code `pr-assets`.
|
|
40
|
+
2. Upload every manifest artifact except `verdict.json`, including `state.json`, images, recordings, transcripts, and logs. Upload the files the vendor skill also uploads too, so that every locator points at a copy this step made. Stage each file as a copy under a ticket-scoped asset name, so one ticket can never overwrite another's file: `pr-<PR_NUMBER>-<ticket>-<file>` for GitHub and Jira, and `<IDENTIFIER>-<file>` for Linear. `<ticket>` is a `[a-z0-9-]` slug: the GitHub issue number, or the lowercased Jira key. Never use `org/repo#N` or a URL, because `/` and `#` are not valid in an asset name. Upload with `gh release upload "$RELEASE" <copies> --clobber`, which is safe because the names are ticket-scoped and lets a re-run succeed. If any upload fails, stop before dispatching.
|
|
41
|
+
3. Rewrite each `verdict.json` `evidence[].locator` to its uploaded URL, set `"evidence_committed": false`, and upload `verdict.json` last the same way. Stop if that upload fails.
|
|
42
|
+
4. In the comment, list each artifact's uploaded URL next to its `sha256` under `## Artifact identity` as a **plain URL**, not a Markdown link. Say plainly that the evidence was uploaded, not committed, and that this comment is the durable record.
|
|
43
|
+
|
|
44
|
+
Never describe ignored evidence as "committed". A digest of a file that was neither committed nor uploaded is a session-local anchor, not something a reviewer can re-check.
|
|
38
45
|
- Never post evidence to a different ticket than the one named — `$ARGUMENTS` is the source of truth.
|
|
39
46
|
- Never invent a verify-specific usage footer. Evidence artifact usage must flow through `lisa-usage-accounting`, preserve the canonical `## Lisa Usage` section, and surface `source: unavailable` explicitly when the runtime cannot provide trustworthy numbers.
|
|
40
47
|
- **Evidence-manifest gate (leaf work units).** Before dispatching to a vendor skill that transitions the ticket, confirm `EVIDENCE_DIR` contains a non-empty artifact **of the declared type** for every typed `[EVIDENCE: <artifact-type>: <name>]` marker declared in the ticket's Validation Journey — a `screenshot` marker needs an actual image, an `http-transcript` marker needs the request + response text, a `perf-trace` marker needs measured numbers; a prose claim satisfies nothing. If any declared marker has no captured artifact, an empty one, or one whose content/extension does not match its declared type, stop and report the offending markers by name instead of posting — a leaf work unit (Bug / Task / Sub-task / Improvement) may not advance to its review/Done state with an unsatisfied manifest (see the "Per-Work-Unit Evidence Contract" in the `verification` rule). Epics / Stories / Spikes, and leaf units without a Validation Journey, are exempt.
|
|
41
48
|
- **Claim↔boundary binding (S14 upgrade).** Satisfying the manifest by *type* is not enough: each `[EVIDENCE: <artifact-type>: <name>]` marker is also cited for a **claim**, and the marker's artifact type must **reach the boundary that claim declares** per the `claim-evidence-mapping` rule's taxonomy. A `browser` claim (user-visible UI behavior) is reached by `screenshot` / `recording` and never by a unit `test-run-log`; an `http-api` claim needs an `http-transcript`; a `deploy-health` claim needs a `deploy-log` and no pre-deploy artifact. On a mismatch, report the offending marker **by name** together with the claim, its boundary, and the **required evidence kinds** for that boundary — e.g. `[EVIDENCE: test-run-log: unit-suite] cited for claim AC-2 [boundary browser] — required evidence kinds: screenshot, recording`. Swapping in a marker of a reaching kind with a real captured artifact satisfies the gate. **Advisory-first:** until `verification.gate.enforceBoundaries` is `true` in `.lisa.config.json` (the same ratchet flag the Stop-hook gate reads, default `false`), a boundary mismatch is reported to the operator but does not block the post; once ratcheted on it refuses the post exactly like a missing or wrong-type artifact. Missing/empty/wrong-type artifacts keep refusing the post regardless of the flag.
|
|
42
49
|
- **The "Not established" section is required.** Before posting, confirm `evidence/comment.md` (and `comment.txt` where the vendor uses it) contains a `## Not established` heading and that the verdict carries `not_established_reviewed: true`. The heading is **never omitted and never blank**: with nothing outstanding it still renders `None outstanding — reviewed`; otherwise it lists, in plain operator language, each thing the verification did not prove — boundaries not exercised, environments not tested, behavior consciously out of scope. A comment with no such heading, a heading with nothing under it, or a verdict whose `not_established_reviewed` flag is absent is **refused**: stop and report the missing Not-established review instead of posting. (The list may be empty; the flag may never be omitted.) Definition and exemplars live in the `claim-evidence-mapping` rule; this generalizes `lisa-improve-harness`'s required, never-empty `Known limits` field.
|
|
43
|
-
- **Artifact identity is required, with values (S14 extension).** Before posting, confirm the comment body carries a `## Artifact identity` heading populated with **values, not placeholders**: the `repository`, the `head_sha` the verification observed, the `environment`, and for each committed artifact its `sha256` digest and `captured_at`. Then check both identity failures. **`artifact_mismatch`** — an evidence entry whose recorded `artifact_head_sha` differs from the verdict's `artifact.head_sha`: refuse the post and report the offending evidence id together with **both SHAs** (the one the artifact was captured at and the one the verdict claims), e.g. `EV-2 captured at 4f1c9ab but artifact.head_sha is 9de0c31`. **`evidence_digest_mismatch`** — recompute the `sha256` of each committed evidence file on read; if the bytes no longer match the recorded digest (or the file is absent), stop and report the evidence id by name. Never summarize either as "verification failed" — name the field, the ids, and both SHAs so a non-engineer can read it at the gate. **Advisory-first:** until `verification.gate.enforceBoundaries` is `true` in `.lisa.config.json`, an identity failure is reported to the operator but does not block the post; once ratcheted on it refuses the post exactly like a missing artifact. Definition: the `claim-evidence-mapping` rule.
|
|
50
|
+
- **Artifact identity is required, with values (S14 extension).** Before posting, confirm the comment body carries a `## Artifact identity` heading populated with **values, not placeholders**: the `repository`, the `head_sha` the verification observed, the `environment`, and for each committed or uploaded artifact its `sha256` digest and `captured_at`. Then check both identity failures. **`artifact_mismatch`** — an evidence entry whose recorded `artifact_head_sha` differs from the verdict's `artifact.head_sha`: refuse the post and report the offending evidence id together with **both SHAs** (the one the artifact was captured at and the one the verdict claims), e.g. `EV-2 captured at 4f1c9ab but artifact.head_sha is 9de0c31`. **`evidence_digest_mismatch`** — recompute the `sha256` of each committed evidence file on read, or of the fetched bytes when its locator is an uploaded URL; if the bytes no longer match the recorded digest (or the file is absent), stop and report the evidence id by name. Never summarize either as "verification failed" — name the field, the ids, and both SHAs so a non-engineer can read it at the gate. **Advisory-first:** until `verification.gate.enforceBoundaries` is `true` in `.lisa.config.json`, an identity failure is reported to the operator but does not block the post; once ratcheted on it refuses the post exactly like a missing artifact. Definition: the `claim-evidence-mapping` rule.
|
|
44
51
|
- **Merge-race reconciliation (at completion, not at post).** The evidence's pinned `head_sha` is reconciled against the merged head using the ancestry + deploy-run definition of "what shipped" that `lisa-drive-pr-to-merge` already owns — cite that skill, never re-implement or restate its checks here. Pre-merge evidence counts for the merge commit only when its head is a parent of the merge, ancestry alone never justifies reporting shipped, and on a mismatch verification re-runs against the merged head before completion is declared.
|
|
45
52
|
- **Evidence references are not manifest entries.** Extract obligations using the exact `[EVIDENCE:` prefix (and the legacy local `[SCREENSHOT:` form). Exclude both the canonical `[EVIDENCE-REF: <work-item-ref> | <artifact-type>: <kebab-case-name>]` and the Lisa 2.223.0 legacy alias `[EVIDENCE-REF: <tracker-ref>: <artifact-type>: <kebab-case-name>]` from artifact lookup, missing-artifact reporting, and duplicate-name checks: either belongs to another work item and cannot satisfy this item's S14 gate. A runtime-changing leaf with references but no local claiming marker must be rejected before dispatch. Linear returns stored Markdown with brackets escaped (`\[EVIDENCE: cli-output: name\]`): decode one Markdown escape layer outside code before matching, as `localMarkers` in `completion-proof-shape.mjs` does, so escaped and unescaped markers bind the same manifest.
|
|
46
53
|
|
|
@@ -18,6 +18,7 @@ When writing or modifying code, follow these principles. Examples, hook structur
|
|
|
18
18
|
- **Function structure order**: (1) variables & derived state, (2) side effects, (3) return. Never interleave.
|
|
19
19
|
- **Functional transformations.** Prefer `map`/`filter`/`reduce` over imperative loops with mutation.
|
|
20
20
|
- **Clean deletion.** When replacing code, delete the old version completely. No `V2`/`Old`/`New` suffixes, no `@deprecated` comments, no migration shims unless explicitly requested. Trust git history.
|
|
21
|
+
- **Simplify before you finish.** Before calling a change done, re-read your own diff and simplify it without changing behaviour: reuse existing helpers instead of new ones, remove duplication, dead code and needless indirection, and prefer clearer names and flatter control flow. Re-run the tests afterwards.
|
|
21
22
|
|
|
22
23
|
## What NOT to write
|
|
23
24
|
|
|
@@ -7,11 +7,12 @@ missing in your next message and stop.
|
|
|
7
7
|
|
|
8
8
|
Only take on work you can finish. Before implementation starts — and again the
|
|
9
9
|
moment a new requirement surfaces mid-flow — enumerate every external tool the
|
|
10
|
-
work item needs (implementation, proof command, remote verification: AWS
|
|
11
|
-
Figma,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
work item needs (implementation, proof command, remote verification: AWS,
|
|
11
|
+
Figma, Sentry, browsers, databases, deploy targets, …) and **prove access with
|
|
12
|
+
a cheap read-only probe**, routing through the matching `*-access` skill where
|
|
13
|
+
one exists. Resolve credentials first, including `lisa-secrets-access` and the
|
|
14
|
+
recovery it documents (allowed, not a forbidden write); presence on PATH is not
|
|
15
|
+
access. If that path or the probe cannot provide the
|
|
15
16
|
required access, report the gap and stop.
|
|
16
17
|
|
|
17
18
|
The message must name the missing resource, the operation it blocks, and any
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
- **Before starting implementation, state your verification plan** — how you will USE the resulting software to prove it works. A plan that only lists `test`/`typecheck`/`lint` commands is not a plan. Do not begin until confirmed.
|
|
16
16
|
- **After verifying empirically, codify it as a regression test** via the `codify-verification` skill — Playwright for UI, integration test for API/DB/auth, benchmark for performance. Codification is mandatory for every verification type except PR/Documentation/Deploy and Investigate-Only spikes. For **frontend work**, codification is multi-runner and governed by the `bdd-e2e-coverage` rule: the verified journey is encoded in the project's configured runner for **every** platform the behavior's scenario requires — one runner is never a substitute for another, because they guard different platforms of the same behavior. Cite that rule; do not restate its obligations or name a runner as though the contract mandated one.
|
|
17
17
|
- **The codified proof re-runs in CI.** Codified runtime verification lives wherever the project's own configured e2e runner(s) already look for tests — its own config and conventions, never a Lisa-assumed path or tool — and runs as a required CI check for types with verification enforced, so the proof re-runs on every PR, not once by hand. For **frontend work** specifically, where that runner lives and how many runners are required is governed by the `bdd-e2e-coverage` rule, not this bullet.
|
|
18
|
-
- **Commit the evidence
|
|
18
|
+
- **Commit the evidence** to `evidence/<ticket>/`: per-criterion pass/fail + note, observed state, screenshots/recording, `verdict.json`. `.lisa/verification-status.json` is only the session gate. Git may ignore evidence: run the reference rule's ignored-evidence check first; never call ignored evidence committed.
|
|
19
19
|
- **Evidence markers are typed artifacts, not assertion labels.** A Validation Journey marker is `[EVIDENCE: <artifact-type>: <name>]` where the type (screenshot, recording, http-transcript, cli-output, log-snippet, db-query-output, perf-trace, test-run-log, deploy-log, state-dump) says HOW the proof is captured and the name says WHAT it proves. `[EVIDENCE: works-gracefully]` is a claim, not evidence — write `[EVIDENCE: screenshot: load-failure-error-state]`. Completion requires a captured artifact **of the declared type** per marker. To cite another work item's artifact without claiming it, write `[EVIDENCE-REF: <work-item-ref> | <artifact-type>: <kebab-case-name>]`. The Lisa 2.223.0 colon form `[EVIDENCE-REF: <tracker-ref>: <artifact-type>: <kebab-case-name>]` remains accepted as a legacy non-claiming alias but must not be newly authored. A reference never enters or satisfies the local S14 manifest; malformed references fail S14, and agents must not quote sibling `[EVIDENCE: ...]` markers directly.
|
|
20
20
|
- **Per-change verification is mandatory.** Every `feat`/`fix` adds or extends a verification (e2e) spec mapped to its acceptance criteria. The only exception is a genuinely non-behavioral change explicitly marked with the **logged** `verification-exempt` label — never a silent skip.
|
|
21
21
|
- **Frontend work also seals its behavior contract.** Per the `bdd-e2e-coverage` rule, a work item that adds or changes a user-observable surface is not done until its behavior exists as Gherkin scenarios with stable IDs, every required scenario-platform obligation is mapped to aligned e2e automation (or carries a dated waiver), and the coverage gate passes with the matrix regenerated. Missing BDD coverage is a verification failure, not a warning.
|
|
@@ -216,7 +216,7 @@ Identity is carried in two places, and they must agree:
|
|
|
216
216
|
| | `environment` | where it ran (local, preview, staging, production) |
|
|
217
217
|
| | `observed_at` | when the run observed it (ISO-8601 UTC) |
|
|
218
218
|
| `evidence[]` (per artifact) | `artifact_head_sha` | the `head_sha` in force **when that artifact was captured** |
|
|
219
|
-
| | `sha256` | content digest of the committed evidence file |
|
|
219
|
+
| | `sha256` | content digest of the committed evidence file, or of its uploaded evidence-release copy when git ignores the evidence (`evidence_committed: false`; see the `verification` rule) |
|
|
220
220
|
| | `captured_at` | when that artifact was captured (ISO-8601 UTC) |
|
|
221
221
|
|
|
222
222
|
`head_sha` pins the *build*; `sha256` pins the *bytes*. Together they answer both identity questions:
|
|
@@ -230,7 +230,8 @@ is cited as prior art here, not reinvented.
|
|
|
230
230
|
`artifact.head_sha`. The evidence describes a different build than the one the verdict claims. The
|
|
231
231
|
identity check fails **loudly, naming both SHAs** (the evidence's and the verdict's) so an operator
|
|
232
232
|
can see which build each half is talking about.
|
|
233
|
-
- **`evidence_digest_mismatch`** — on read, recompute the `sha256` of each committed evidence file
|
|
233
|
+
- **`evidence_digest_mismatch`** — on read, recompute the `sha256` of each committed evidence file (or,
|
|
234
|
+
when its locator is an uploaded URL, of the bytes fetched from that URL). If
|
|
234
235
|
the bytes no longer match the recorded digest, the artifact has changed since it was recorded: the
|
|
235
236
|
check fails, it names the evidence id, and blocks completion. A digest that cannot be recomputed
|
|
236
237
|
(file absent) is the same failure.
|
|
@@ -51,8 +51,9 @@ authenticated surface** — tool presence on PATH is not access.
|
|
|
51
51
|
(see the `integration-access-layer` rule): `lisa-atlassian-access`,
|
|
52
52
|
`lisa-notion-access`, `lisa-linear-access`, `lisa-jam-access`,
|
|
53
53
|
`lisa-sonarcloud-access`, `lisa-sentry-access`, `lisa-posthog-access`,
|
|
54
|
-
`lisa-
|
|
55
|
-
|
|
54
|
+
`lisa-secrets-access` (credentials held in the configured secret provider,
|
|
55
|
+
including AWS), `lisa-expo:play-store-access`. A loud access-skill failure
|
|
56
|
+
naming a missing env var IS a failed probe.
|
|
56
57
|
- Vendors without an access layer are probed with the cheapest authenticated
|
|
57
58
|
read the runtime offers (an MCP tool call, a CLI read, a REST GET).
|
|
58
59
|
|
|
@@ -60,7 +61,7 @@ Example probes:
|
|
|
60
61
|
|
|
61
62
|
| Tool | Probe |
|
|
62
63
|
|---|---|
|
|
63
|
-
| AWS CLI | `aws sts get-caller-identity`,
|
|
64
|
+
| AWS CLI | In order, when default credentials are missing or expired: (1) resolve `LISA_AWS_BOOTSTRAP_JSON` through `lisa-secrets-access`; (2) if it resolves, run `remote-agent-aws-setup.sh` with account verification, per that skill's "Recovering AWS access during a task" (never `aws sso login`); (3) `aws sts get-caller-identity`, asserting the caller account equals the project's expected account; (4) the service-level read the task needs (e.g. `aws logs describe-log-groups --max-items 1`). With working credentials, start at (3). An unresolvable bundle or an account mismatch is the failure to report. A project explicitly configured for a different AWS access method keeps that method; do not invent a bootstrap bundle for it. |
|
|
64
65
|
| GitHub | a repository-scoped read against the target repo (e.g. `gh api repos/<owner>/<repo> --jq .full_name`, or the exact read the work item needs) — `gh auth status` alone only proves host auth, not access to the repository |
|
|
65
66
|
| Figma | a read call against the linked file via the available Figma MCP/API surface |
|
|
66
67
|
| Sentry / Jam / SonarCloud / PostHog / Atlassian / Linear / Notion | the matching `*-access` skill's resolve/auth check |
|
|
@@ -69,10 +70,19 @@ Example probes:
|
|
|
69
70
|
| Device/browser harness | the harness's own doctor/smoke entry (e.g. `playwright --version` plus a trivial headless launch) |
|
|
70
71
|
|
|
71
72
|
Resolve credentials through the documented sources before probing: project
|
|
72
|
-
e2e config/fixtures, `.lisa.config.local.json` and environment variables,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
e2e config/fixtures, `.lisa.config.local.json` and environment variables, the
|
|
74
|
+
configured secret provider through `lisa-secrets-access`, then documented
|
|
75
|
+
work-item credentials (e.g. `Sign-in Required`). If the documented access path
|
|
76
|
+
or probe cannot provide the required access, report the gap and stop. Do not
|
|
77
|
+
continue exploring substitute sources after confirming the gap — the gap is
|
|
78
|
+
confirmed only once the secret provider and any recovery step its access skill
|
|
79
|
+
documents have been tried.
|
|
80
|
+
|
|
81
|
+
Running a documented recovery step — an access skill's own procedure that
|
|
82
|
+
materializes credentials, such as `remote-agent-aws-setup.sh` writing the AWS
|
|
83
|
+
profile — is part of resolving credentials, and is not a forbidden write. It
|
|
84
|
+
needs no human permission. The probe that follows stays read-only. This holds
|
|
85
|
+
for every vendor whose access skill documents a recovery step, not only AWS.
|
|
76
86
|
|
|
77
87
|
Record successful probes in the flow's plan/tracker artifact
|
|
78
88
|
(and task `metadata.required_access` where the flow's task contract carries
|