@codyswann/lisa 4.102.2 → 4.103.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.
Files changed (95) hide show
  1. package/dist/configs/vitest/scratch-route-profile.d.ts +10 -0
  2. package/dist/configs/vitest/scratch-route-profile.d.ts.map +1 -1
  3. package/dist/configs/vitest/scratch-route-profile.js +19 -3
  4. package/dist/configs/vitest/scratch-route-profile.js.map +1 -1
  5. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  6. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  7. package/dist/core/upstream-evidence-manifest.js +4 -2
  8. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  9. package/dist/migrations/delegate-legacy-test-scripts.d.ts +44 -0
  10. package/dist/migrations/delegate-legacy-test-scripts.d.ts.map +1 -0
  11. package/dist/migrations/delegate-legacy-test-scripts.js +178 -0
  12. package/dist/migrations/delegate-legacy-test-scripts.js.map +1 -0
  13. package/dist/migrations/index.d.ts +1 -0
  14. package/dist/migrations/index.d.ts.map +1 -1
  15. package/dist/migrations/index.js +3 -0
  16. package/dist/migrations/index.js.map +1 -1
  17. package/package.json +4 -4
  18. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  19. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  20. package/plugins/lisa/.codex-plugin/skills/lisa-setup-github-repo/SKILL.md +2 -0
  21. package/plugins/lisa/skills/lisa-setup-github-repo/SKILL.md +2 -0
  22. package/plugins/lisa-agy/plugin.json +1 -1
  23. package/plugins/lisa-agy/skills/lisa-setup-github-repo/SKILL.md +2 -0
  24. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  25. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  26. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  27. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  28. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  29. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  30. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  31. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  32. package/plugins/lisa-copilot/skills/lisa-setup-github-repo/SKILL.md +2 -0
  33. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  34. package/plugins/lisa-cursor/skills/lisa-setup-github-repo/SKILL.md +2 -0
  35. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  36. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  37. package/plugins/lisa-devin/skills/lisa-setup-github-repo/SKILL.md +2 -0
  38. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  39. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  40. package/plugins/lisa-expo-agy/plugin.json +1 -1
  41. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  42. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  43. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  44. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  45. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  46. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  47. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  48. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  49. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  50. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  51. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  52. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  54. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  55. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  56. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  57. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  58. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  59. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  60. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  61. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  62. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  63. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  64. package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
  65. package/plugins/lisa-openclaw-devin/.devin-plugin/plugin.json +1 -1
  66. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  67. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  68. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  69. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  70. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  71. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  72. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  73. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  74. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  75. package/plugins/lisa-rails-agy/plugin.json +1 -1
  76. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  77. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  78. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  79. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  80. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  81. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  82. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  83. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  84. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  85. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  86. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  87. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  88. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  89. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  90. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  91. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  92. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  93. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  94. package/plugins/src/base/skills/lisa-setup-github-repo/SKILL.md +2 -0
  95. package/scripts/lisa-github-repo-settings.sh +16 -1
@@ -0,0 +1,44 @@
1
+ import type { Migration, MigrationContext, MigrationResult } from "./migration.interface.js";
2
+ /**
3
+ * Every value Lisa itself ever shipped for a plain test alias, by key.
4
+ *
5
+ * Generated from the git history of each stack's
6
+ * `package-lisa/package.lisa.json` (force and defaults), minus the current
7
+ * `$npm_execpath run <key>:lisa` form. The plain aliases are template
8
+ * `defaults`, so an apply preserves whatever a host already has, and a host
9
+ * that adopted Lisa early kept a raw `vitest run` / `jest` value that skips
10
+ * `lisa-test-run --profile <stack>`. That wrapper is what registers stack
11
+ * scratch such as `cdk.out`, so those hosts fail the scratch-leak check on
12
+ * suites whose every test passes (CodySwannGT/lisa#4786).
13
+ *
14
+ * Exact-match only: a value not in this table is the project's own choice and
15
+ * is never touched. Entries are permanent — a host that has not re-applied
16
+ * still carries its old value, so removing one would strand it.
17
+ */
18
+ export declare const LEGACY_TEST_SCRIPT_VALUES: Readonly<Record<string, readonly string[]>>;
19
+ /**
20
+ * The aliases to rewrite: a Lisa-shipped legacy value with its wrapper present.
21
+ * @param scripts - The host's scripts
22
+ * @returns Alias names whose value should delegate to `<alias>:lisa`
23
+ */
24
+ export declare function legacyAliases(scripts: Readonly<Record<string, string>>): readonly string[];
25
+ /**
26
+ * Migration: point Lisa-shipped legacy test aliases at their `:lisa` wrappers.
27
+ */
28
+ export declare class DelegateLegacyTestScriptsMigration implements Migration {
29
+ readonly name = "delegate-legacy-test-scripts";
30
+ readonly description = "Rewrite test aliases still holding a value Lisa used to ship so they delegate to their lisa-test-run wrapper";
31
+ /**
32
+ * Whether any alias still holds a Lisa-shipped legacy value.
33
+ * @param ctx - Migration context
34
+ * @returns True when at least one alias would be rewritten
35
+ */
36
+ applies(ctx: MigrationContext): Promise<boolean>;
37
+ /**
38
+ * Rewrite each legacy alias to delegate to its wrapper.
39
+ * @param ctx - Migration context
40
+ * @returns Result naming the rewritten aliases
41
+ */
42
+ apply(ctx: MigrationContext): Promise<MigrationResult>;
43
+ }
44
+ //# sourceMappingURL=delegate-legacy-test-scripts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delegate-legacy-test-scripts.d.ts","sourceRoot":"","sources":["../../src/migrations/delegate-legacy-test-scripts.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,SAAS,EACT,gBAAgB,EAChB,eAAe,EAChB,MAAM,0BAA0B,CAAC;AAOlC;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAC9C,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAiFjC,CAAC;AASH;;;;GAIG;AACH,wBAAgB,aAAa,CAC3B,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GACxC,SAAS,MAAM,EAAE,CASnB;AAWD;;GAEG;AACH,qBAAa,kCAAmC,YAAW,SAAS;IAClE,QAAQ,CAAC,IAAI,kCAAkC;IAC/C,QAAQ,CAAC,WAAW,kHAC6F;IAEjH;;;;OAIG;IACG,OAAO,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,OAAO,CAAC;IAQtD;;;;OAIG;IACG,KAAK,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC;CAgC7D"}
@@ -0,0 +1,178 @@
1
+ import * as path from "node:path";
2
+ import { LISA_PACKAGE_NAME } from "../core/self-apply.js";
3
+ import { readJsonOrNull, writeJson } from "../utils/json-utils.js";
4
+ const PACKAGE_JSON = "package.json";
5
+ /** Suffix of the forced wrapper script each plain alias delegates to. */
6
+ const WRAPPER_SUFFIX = ":lisa";
7
+ /**
8
+ * Every value Lisa itself ever shipped for a plain test alias, by key.
9
+ *
10
+ * Generated from the git history of each stack's
11
+ * `package-lisa/package.lisa.json` (force and defaults), minus the current
12
+ * `$npm_execpath run <key>:lisa` form. The plain aliases are template
13
+ * `defaults`, so an apply preserves whatever a host already has, and a host
14
+ * that adopted Lisa early kept a raw `vitest run` / `jest` value that skips
15
+ * `lisa-test-run --profile <stack>`. That wrapper is what registers stack
16
+ * scratch such as `cdk.out`, so those hosts fail the scratch-leak check on
17
+ * suites whose every test passes (CodySwannGT/lisa#4786).
18
+ *
19
+ * Exact-match only: a value not in this table is the project's own choice and
20
+ * is never touched. Entries are permanent — a host that has not re-applied
21
+ * still carries its old value, so removing one would strand it.
22
+ */
23
+ export const LEGACY_TEST_SCRIPT_VALUES = Object.freeze({
24
+ test: Object.freeze([
25
+ "NODE_ENV=test jest",
26
+ "NODE_ENV=test jest --passWithNoTests",
27
+ "NODE_ENV=test lisa-test-run --profile expo --adapter direct -- jest",
28
+ "lisa-test-run --profile cdk --adapter vitest -- vitest run",
29
+ "lisa-test-run --profile harper-fabric --adapter vitest -- vitest run",
30
+ "lisa-test-run --profile nestjs --adapter vitest -- vitest run",
31
+ "lisa-test-run --profile phaser --adapter vitest -- vitest run",
32
+ "lisa-test-run --profile typescript --adapter vitest -- vitest run",
33
+ "vitest run",
34
+ ]),
35
+ "test:cov": Object.freeze([
36
+ "NODE_ENV=test jest --coverage",
37
+ "NODE_ENV=test lisa-test-run --profile expo --adapter direct -- jest --coverage",
38
+ "lisa-test-run --profile cdk --adapter vitest -- vitest run --coverage",
39
+ "lisa-test-run --profile harper-fabric --adapter vitest -- vitest run --coverage",
40
+ "lisa-test-run --profile nestjs --adapter vitest -- vitest run --coverage",
41
+ "lisa-test-run --profile phaser --adapter vitest -- vitest run --coverage",
42
+ "lisa-test-run --profile typescript --adapter vitest -- vitest run --coverage",
43
+ "vitest run --coverage",
44
+ ]),
45
+ "test:cov:unit": Object.freeze([
46
+ 'LISA_COVERAGE_SCOPE=unit NODE_ENV=test jest --coverage --testPathIgnorePatterns="\\.integration[.\\\\-](test|spec)\\.(ts|tsx)$"',
47
+ 'LISA_COVERAGE_SCOPE=unit NODE_ENV=test lisa-test-run --profile expo --adapter direct -- jest --coverage --testPathIgnorePatterns="\\.integration[.\\\\-](test|spec)\\.(ts|tsx)$"',
48
+ "LISA_COVERAGE_SCOPE=unit lisa-test-run --profile cdk --adapter vitest -- vitest run --coverage --exclude='**/integration/**'",
49
+ "LISA_COVERAGE_SCOPE=unit lisa-test-run --profile harper-fabric --adapter vitest -- vitest run --coverage --exclude='**/integration/**'",
50
+ "LISA_COVERAGE_SCOPE=unit lisa-test-run --profile nestjs --adapter vitest -- vitest run --coverage --exclude='**/integration/**' --exclude='**/*.integration.*'",
51
+ "LISA_COVERAGE_SCOPE=unit lisa-test-run --profile phaser --adapter vitest -- vitest run --coverage --exclude='**/integration/**'",
52
+ "LISA_COVERAGE_SCOPE=unit lisa-test-run --profile phaser --adapter vitest -- vitest run --coverage --exclude='**/integration/**' --exclude='**/*.integration.*'",
53
+ "LISA_COVERAGE_SCOPE=unit lisa-test-run --profile typescript --adapter vitest -- vitest run --coverage --exclude='**/integration/**'",
54
+ "LISA_COVERAGE_SCOPE=unit vitest run --coverage --exclude='**/integration/**'",
55
+ "LISA_COVERAGE_SCOPE=unit vitest run --coverage --exclude='**/integration/**' --exclude='**/*.integration.*'",
56
+ 'NODE_ENV=test jest --coverage --testPathIgnorePatterns="\\.integration[.\\\\-](test|spec)\\.(ts|tsx)$"',
57
+ "vitest run --coverage --exclude='**/integration/**'",
58
+ "vitest run --coverage --exclude='**/integration/**' --exclude='**/*.integration.*'",
59
+ ]),
60
+ "test:integration": Object.freeze([
61
+ 'NODE_ENV=test jest --testPathPatterns="\\.integration[.\\\\-](test|spec)\\.(ts|tsx)$"',
62
+ 'NODE_ENV=test jest --testPathPatterns="\\.integration[.\\\\-](test|spec)\\.(ts|tsx)$" --passWithNoTests',
63
+ 'NODE_ENV=test jest --testPathPatterns="\\.integration\\.test\\.(ts|tsx)$" --passWithNoTests',
64
+ "vitest run '.integration.'",
65
+ "vitest run '.integration.' --passWithNoTests",
66
+ "vitest run test/integration",
67
+ "vitest run tests/integration",
68
+ "vitest run tests/integration --passWithNoTests",
69
+ ]),
70
+ "test:node": Object.freeze([
71
+ "LISA_TEST_SCRATCH_PREFIXES='[\"node-\"]' lisa-test-run --profile cdk --adapter direct -- node scripts/lisa-test-node.mjs",
72
+ "LISA_TEST_SCRATCH_PREFIXES='[\"node-\"]' lisa-test-run --profile expo --adapter direct -- node scripts/lisa-test-node.mjs",
73
+ "LISA_TEST_SCRATCH_PREFIXES='[\"node-\"]' lisa-test-run --profile harper-fabric --adapter direct -- node scripts/lisa-test-node.mjs",
74
+ "LISA_TEST_SCRATCH_PREFIXES='[\"node-\"]' lisa-test-run --profile nestjs --adapter direct -- node scripts/lisa-test-node.mjs",
75
+ "LISA_TEST_SCRATCH_PREFIXES='[\"node-\"]' lisa-test-run --profile phaser --adapter direct -- node scripts/lisa-test-node.mjs",
76
+ "LISA_TEST_SCRATCH_PREFIXES='[\"node-\"]' lisa-test-run --profile typescript --adapter direct -- node scripts/lisa-test-node.mjs",
77
+ "node scripts/lisa-test-node.mjs",
78
+ ]),
79
+ "test:unit": Object.freeze([
80
+ 'NODE_ENV=test jest --testPathIgnorePatterns="\\.integration[.\\\\-](test|spec)\\.(ts|tsx)$"',
81
+ 'NODE_ENV=test jest --testPathIgnorePatterns="\\.integration[.\\\\-](test|spec)\\.(ts|tsx)$" --passWithNoTests',
82
+ 'NODE_ENV=test jest --testPathIgnorePatterns="\\.integration\\.test\\.(ts|tsx)$" --passWithNoTests',
83
+ 'NODE_ENV=test lisa-test-run --profile expo --adapter direct -- jest --testPathIgnorePatterns="\\.integration[.\\\\-](test|spec)\\.(ts|tsx)$"',
84
+ "lisa-test-run --profile cdk --adapter vitest -- vitest run --exclude='**/integration/**'",
85
+ "lisa-test-run --profile harper-fabric --adapter vitest -- vitest run --exclude='**/integration/**'",
86
+ "lisa-test-run --profile nestjs --adapter vitest -- vitest run --exclude='**/integration/**'",
87
+ "lisa-test-run --profile nestjs --adapter vitest -- vitest run --exclude='**/integration/**' --exclude='**/*.integration.*'",
88
+ "lisa-test-run --profile phaser --adapter vitest -- vitest run --exclude='**/integration/**'",
89
+ "lisa-test-run --profile phaser --adapter vitest -- vitest run --exclude='**/integration/**' --exclude='**/*.integration.*'",
90
+ "lisa-test-run --profile typescript --adapter vitest -- vitest run --exclude='**/integration/**'",
91
+ "vitest run --exclude='**/integration/**'",
92
+ ]),
93
+ "test:watch": Object.freeze([
94
+ "NODE_ENV=test jest --watch",
95
+ "NODE_ENV=test lisa-test-run --profile expo --adapter direct -- jest --watch",
96
+ "lisa-test-run --profile cdk --adapter vitest -- vitest",
97
+ "lisa-test-run --profile harper-fabric --adapter vitest -- vitest",
98
+ "lisa-test-run --profile nestjs --adapter vitest -- vitest",
99
+ "lisa-test-run --profile phaser --adapter vitest -- vitest",
100
+ "lisa-test-run --profile typescript --adapter vitest -- vitest",
101
+ "vitest",
102
+ ]),
103
+ });
104
+ /**
105
+ * The aliases to rewrite: a Lisa-shipped legacy value with its wrapper present.
106
+ * @param scripts - The host's scripts
107
+ * @returns Alias names whose value should delegate to `<alias>:lisa`
108
+ */
109
+ export function legacyAliases(scripts) {
110
+ return Object.keys(LEGACY_TEST_SCRIPT_VALUES).filter(alias => {
111
+ const value = scripts[alias];
112
+ return (value !== undefined &&
113
+ scripts[`${alias}${WRAPPER_SUFFIX}`] !== undefined &&
114
+ (LEGACY_TEST_SCRIPT_VALUES[alias] ?? []).includes(value));
115
+ });
116
+ }
117
+ /**
118
+ * The delegating value for one alias.
119
+ * @param alias - Plain script name, e.g. `test:cov:unit`
120
+ * @returns `$npm_execpath run <alias>:lisa`
121
+ */
122
+ function delegation(alias) {
123
+ return `$npm_execpath run ${alias}${WRAPPER_SUFFIX}`;
124
+ }
125
+ /**
126
+ * Migration: point Lisa-shipped legacy test aliases at their `:lisa` wrappers.
127
+ */
128
+ export class DelegateLegacyTestScriptsMigration {
129
+ name = "delegate-legacy-test-scripts";
130
+ description = "Rewrite test aliases still holding a value Lisa used to ship so they delegate to their lisa-test-run wrapper";
131
+ /**
132
+ * Whether any alias still holds a Lisa-shipped legacy value.
133
+ * @param ctx - Migration context
134
+ * @returns True when at least one alias would be rewritten
135
+ */
136
+ async applies(ctx) {
137
+ const pkg = await readJsonOrNull(path.join(ctx.projectDir, PACKAGE_JSON));
138
+ if (!pkg?.scripts || pkg.name === LISA_PACKAGE_NAME)
139
+ return false;
140
+ return legacyAliases(pkg.scripts).length > 0;
141
+ }
142
+ /**
143
+ * Rewrite each legacy alias to delegate to its wrapper.
144
+ * @param ctx - Migration context
145
+ * @returns Result naming the rewritten aliases
146
+ */
147
+ async apply(ctx) {
148
+ const pkgPath = path.join(ctx.projectDir, PACKAGE_JSON);
149
+ const pkg = await readJsonOrNull(pkgPath);
150
+ const scripts = pkg?.scripts;
151
+ if (!pkg || !scripts || pkg.name === LISA_PACKAGE_NAME) {
152
+ return { name: this.name, action: "noop" };
153
+ }
154
+ const aliases = legacyAliases(scripts);
155
+ if (aliases.length === 0)
156
+ return { name: this.name, action: "noop" };
157
+ const message = `Delegated legacy test scripts to their lisa-test-run wrappers: ${aliases.join(", ")}`;
158
+ if (ctx.dryRun) {
159
+ ctx.logger.dry(`Would update package.json ${aliases.join(", ")}`);
160
+ return {
161
+ name: this.name,
162
+ action: "applied",
163
+ changedFiles: [PACKAGE_JSON],
164
+ message,
165
+ };
166
+ }
167
+ const rewritten = Object.fromEntries(aliases.map(alias => [alias, delegation(alias)]));
168
+ await writeJson(pkgPath, { ...pkg, scripts: { ...scripts, ...rewritten } });
169
+ ctx.logger.success(message);
170
+ return {
171
+ name: this.name,
172
+ action: "applied",
173
+ changedFiles: [PACKAGE_JSON],
174
+ message,
175
+ };
176
+ }
177
+ }
178
+ //# sourceMappingURL=delegate-legacy-test-scripts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delegate-legacy-test-scripts.js","sourceRoot":"","sources":["../../src/migrations/delegate-legacy-test-scripts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAOnE,MAAM,YAAY,GAAG,cAAc,CAAC;AAEpC,yEAAyE;AACzE,MAAM,cAAc,GAAG,OAAO,CAAC;AAE/B;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAElC,MAAM,CAAC,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC;QAClB,oBAAoB;QACpB,sCAAsC;QACtC,qEAAqE;QACrE,4DAA4D;QAC5D,sEAAsE;QACtE,+DAA+D;QAC/D,+DAA+D;QAC/D,mEAAmE;QACnE,YAAY;KACb,CAAC;IACF,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC;QACxB,+BAA+B;QAC/B,gFAAgF;QAChF,uEAAuE;QACvE,iFAAiF;QACjF,0EAA0E;QAC1E,0EAA0E;QAC1E,8EAA8E;QAC9E,uBAAuB;KACxB,CAAC;IACF,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC;QAC7B,iIAAiI;QACjI,kLAAkL;QAClL,8HAA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AE,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;QAErE,MAAM,OAAO,GAAG,kEAAkE,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QACvG,IAAI,GAAG,CAAC,MAAM,EAAE,CAAC;YACf,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,6BAA6B,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;YAClE,OAAO;gBACL,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,MAAM,EAAE,SAAS;gBACjB,YAAY,EAAE,CAAC,YAAY,CAAC;gBAC5B,OAAO;aACR,CAAC;QACJ,CAAC;QACD,MAAM,SAAS,GAAG,MAAM,CAAC,WAAW,CAClC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CACjD,CAAC;QACF,MAAM,SAAS,CAAC,OAAO,EAAE,EAAE,GAAG,GAAG,EAAE,OAAO,EAAE,EAAE,GAAG,OAAO,EAAE,GAAG,SAAS,EAAE,EAAE,CAAC,CAAC;QAC5E,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAC5B,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,MAAM,EAAE,SAAS;YACjB,YAAY,EAAE,CAAC,YAAY,CAAC;YAC5B,OAAO;SACR,CAAC;IACJ,CAAC;CACF"}
@@ -1,6 +1,7 @@
1
1
  import type { Migration, MigrationContext, MigrationResult } from "./migration.interface.js";
2
2
  export type { Migration, MigrationAction, MigrationContext, MigrationResult, } from "./migration.interface.js";
3
3
  export { CorrectLisaCoderabbitLabelingMigration } from "./correct-lisa-coderabbit-labeling.js";
4
+ export { DelegateLegacyTestScriptsMigration } from "./delegate-legacy-test-scripts.js";
4
5
  export { EnsureAuditIgnoreLocalExclusionsMigration } from "./ensure-audit-ignore-local-exclusions.js";
5
6
  export { EnsureDeployOutcomeGuardMigration } from "./ensure-deploy-outcome-guard.js";
6
7
  export { EnsureJestRnMockAccessibilityManagerMigration } from "./ensure-jest-rn-mock-accessibility-manager.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":"AA4BA,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,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,CAAC;AACnF,OAAO,EAAE,yCAAyC,EAAE,MAAM,2CAA2C,CAAC;AACtG,OAAO,EAAE,wCAAwC,EAAE,MAAM,yCAAyC,CAAC;AACnG,OAAO,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;AAC/E,OAAO,EAAE,kCAAkC,EAAE,MAAM,mCAAmC,CAAC;AACvF,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,wCAAwC,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ACrF,OAAO,EAAE,oCAAoC,EAAE,MAAM,qCAAqC,CAAC;AAC3F,OAAO,EAAE,oCAAoC,EAAE,MAAM,sCAAsC,CAAC;AAC5F,OAAO,EAAE,0CAA0C,EAAE,MAAM,6CAA6C,CAAC;AACzG,OAAO,EAAE,gCAAgC,EAAE,MAAM,iCAAiC,CAAC;AACnF,OAAO,EAAE,mCAAmC,EAAE,MAAM,oCAAoC,CAAC;AACzF,OAAO,EAAE,oCAAoC,EAAE,MAAM,qCAAqC,CAAC;AAC3F,OAAO,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;AAE/E;;GAEG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAuB;IAElD;;;OAGG;gBACS,UAAU,CAAC,EAAE,SAAS,SAAS,EAAE;IAqC7C;;;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"}
@@ -1,4 +1,5 @@
1
1
  import { CorrectLisaCoderabbitLabelingMigration } from "./correct-lisa-coderabbit-labeling.js";
2
+ import { DelegateLegacyTestScriptsMigration } from "./delegate-legacy-test-scripts.js";
2
3
  import { EnsureAuditIgnoreLocalExclusionsMigration } from "./ensure-audit-ignore-local-exclusions.js";
3
4
  import { EnsureDeployOutcomeGuardMigration } from "./ensure-deploy-outcome-guard.js";
4
5
  import { EnsureJestRnMockAccessibilityManagerMigration } from "./ensure-jest-rn-mock-accessibility-manager.js";
@@ -27,6 +28,7 @@ import { ReconcileClaudeStackPluginsMigration } from "./reconcile-claude-stack-p
27
28
  import { UntrackCodexMarketplaceMigration } from "./untrack-codex-marketplace.js";
28
29
  import { RetireNativeSafetyNetMigration } from "./retire-native-safety-net.js";
29
30
  export { CorrectLisaCoderabbitLabelingMigration } from "./correct-lisa-coderabbit-labeling.js";
31
+ export { DelegateLegacyTestScriptsMigration } from "./delegate-legacy-test-scripts.js";
30
32
  export { EnsureAuditIgnoreLocalExclusionsMigration } from "./ensure-audit-ignore-local-exclusions.js";
31
33
  export { EnsureDeployOutcomeGuardMigration } from "./ensure-deploy-outcome-guard.js";
32
34
  export { EnsureJestRnMockAccessibilityManagerMigration } from "./ensure-jest-rn-mock-accessibility-manager.js";
@@ -75,6 +77,7 @@ export class MigrationRegistry {
75
77
  new EnsureLighthouseCollectOptionsMigration(),
76
78
  new EnsureNightlyE2EWorkflowPinsMigration(),
77
79
  new EnsureLisaPostinstallMigration(),
80
+ new DelegateLegacyTestScriptsMigration(),
78
81
  new EnsureOxlintBaseConfigsMigration(),
79
82
  new EnsurePlaywrightDedicatedCallerMigration(),
80
83
  new EnsurePushDefaultSafeMigration(),
@@ -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,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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;IACH,MAAM;QACJ,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,mBAAmB,CAAC,GAAqB;QAC7C,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACxC,IAAI,SAAS,CAAC,gBAAgB,EAAE,CAAC;gBAC/B,MAAM,SAAS,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;YACxC,CAAC;QACH,CAAC;IACH,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,MAAM,CAAC,GAAqB;QAChC,MAAM,OAAO,GAAsB,EAAE,CAAC;QACtC,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACxC,MAAM,SAAS,GAAG,MAAM,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;YAC/C,IAAI,CAAC,SAAS,EAAE,CAAC;gBACf,OAAO,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;gBAC1D,SAAS;YACX,CAAC;YACD,MAAM,MAAM,GAAG,MAAM,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC1C,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACvB,CAAC;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;CACF;AAED;;;GAGG;AACH,MAAM,UAAU,uBAAuB;IACrC,OAAO,IAAI,iBAAiB,EAAE,CAAC;AACjC,CAAC"}
package/package.json CHANGED
@@ -196,7 +196,7 @@
196
196
  "qs": "^6.16.0"
197
197
  },
198
198
  "name": "@codyswann/lisa",
199
- "version": "4.102.2",
199
+ "version": "4.103.0",
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": "883931760bb1f2054c69c7636b6ff0bca6b850d8",
363
- "gitHead": "883931760bb1f2054c69c7636b6ff0bca6b850d8",
364
- "lisaReleaseTag": "v4.102.2"
362
+ "lisaReleaseCommit": "198b90fd4df4907813fd8576f069dc3abbe2f642",
363
+ "gitHead": "198b90fd4df4907813fd8576f069dc3abbe2f642",
364
+ "lisaReleaseTag": "v4.103.0"
365
365
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.102.2",
3
+ "version": "4.103.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.102.2",
3
+ "version": "4.103.0",
4
4
  "description": "Universal governance: agents, skills, commands, hooks, and rules for all projects.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -25,6 +25,7 @@ Apply the fleet-standard GitHub repository configuration to this project's repo.
25
25
  - Default branch set to the lowest-tier environment branch that exists (dev → staging → main); override with `github.settings.default_branch`
26
26
  - GitHub wiki tab off (Lisa projects use in-repo `wiki/`)
27
27
  - Secret scanning + push protection enabled where the plan supports it
28
+ - The `lisa-managed` repository topic added (existing topics kept), so fleet-wide changes can find every Lisa repository with `gh search repos topic:lisa-managed --owner <owner>`. A refused topic edit warns and does not fail the baseline
28
29
  2. **Rulesets** (`scripts/lisa-github-rulesets.sh`) — one generated from config, the rest from Lisa's `<type>/github-rulesets/` templates matched by project type:
29
30
  - `base` — **generated from `.lisa.config.json`**, not shipped as a template. Deletion/force-push protection from `policy.protect`, the branch list from `policy.ruleset.include_refs`, bypass actors from `policy.ruleset.bypass_actors`, approvals from `policy.review`, merge methods from `policy.merge`, and required checks from whatever gates the project `await`s. A project that declares nothing gets exactly the ruleset the retired `all/github-rulesets/base.json` described, minus its two vendor checks — those are now `await` declarations a project can choose not to make
30
31
  - `quality checks` — the stack's CI checks (TypeScript emoji names or Rails names)
@@ -116,6 +117,7 @@ Skip this step (and say why) if the project's deploy.yml doesn't call Lisa's `re
116
117
  gh api "repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)" \
117
118
  --jq '{allow_squash_merge, allow_auto_merge, delete_branch_on_merge, allow_update_branch}'
118
119
  gh api "repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)/rulesets" --jq '[.[].name]'
120
+ gh api "repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)/topics" --jq '.names | index("lisa-managed") != null'
119
121
  ```
120
122
 
121
123
  When environments were configured, also confirm each one carries its protection rules and branch policy:
@@ -23,6 +23,7 @@ Apply the fleet-standard GitHub repository configuration to this project's repo.
23
23
  - Default branch set to the lowest-tier environment branch that exists (dev → staging → main); override with `github.settings.default_branch`
24
24
  - GitHub wiki tab off (Lisa projects use in-repo `wiki/`)
25
25
  - Secret scanning + push protection enabled where the plan supports it
26
+ - The `lisa-managed` repository topic added (existing topics kept), so fleet-wide changes can find every Lisa repository with `gh search repos topic:lisa-managed --owner <owner>`. A refused topic edit warns and does not fail the baseline
26
27
  2. **Rulesets** (`scripts/lisa-github-rulesets.sh`) — one generated from config, the rest from Lisa's `<type>/github-rulesets/` templates matched by project type:
27
28
  - `base` — **generated from `.lisa.config.json`**, not shipped as a template. Deletion/force-push protection from `policy.protect`, the branch list from `policy.ruleset.include_refs`, bypass actors from `policy.ruleset.bypass_actors`, approvals from `policy.review`, merge methods from `policy.merge`, and required checks from whatever gates the project `await`s. A project that declares nothing gets exactly the ruleset the retired `all/github-rulesets/base.json` described, minus its two vendor checks — those are now `await` declarations a project can choose not to make
28
29
  - `quality checks` — the stack's CI checks (TypeScript emoji names or Rails names)
@@ -114,6 +115,7 @@ Skip this step (and say why) if the project's deploy.yml doesn't call Lisa's `re
114
115
  gh api "repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)" \
115
116
  --jq '{allow_squash_merge, allow_auto_merge, delete_branch_on_merge, allow_update_branch}'
116
117
  gh api "repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)/rulesets" --jq '[.[].name]'
118
+ gh api "repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)/topics" --jq '.names | index("lisa-managed") != null'
117
119
  ```
118
120
 
119
121
  When environments were configured, also confirm each one carries its protection rules and branch policy:
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.102.2",
3
+ "version": "4.103.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -23,6 +23,7 @@ Apply the fleet-standard GitHub repository configuration to this project's repo.
23
23
  - Default branch set to the lowest-tier environment branch that exists (dev → staging → main); override with `github.settings.default_branch`
24
24
  - GitHub wiki tab off (Lisa projects use in-repo `wiki/`)
25
25
  - Secret scanning + push protection enabled where the plan supports it
26
+ - The `lisa-managed` repository topic added (existing topics kept), so fleet-wide changes can find every Lisa repository with `gh search repos topic:lisa-managed --owner <owner>`. A refused topic edit warns and does not fail the baseline
26
27
  2. **Rulesets** (`scripts/lisa-github-rulesets.sh`) — one generated from config, the rest from Lisa's `<type>/github-rulesets/` templates matched by project type:
27
28
  - `base` — **generated from `.lisa.config.json`**, not shipped as a template. Deletion/force-push protection from `policy.protect`, the branch list from `policy.ruleset.include_refs`, bypass actors from `policy.ruleset.bypass_actors`, approvals from `policy.review`, merge methods from `policy.merge`, and required checks from whatever gates the project `await`s. A project that declares nothing gets exactly the ruleset the retired `all/github-rulesets/base.json` described, minus its two vendor checks — those are now `await` declarations a project can choose not to make
28
29
  - `quality checks` — the stack's CI checks (TypeScript emoji names or Rails names)
@@ -114,6 +115,7 @@ Skip this step (and say why) if the project's deploy.yml doesn't call Lisa's `re
114
115
  gh api "repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)" \
115
116
  --jq '{allow_squash_merge, allow_auto_merge, delete_branch_on_merge, allow_update_branch}'
116
117
  gh api "repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)/rulesets" --jq '[.[].name]'
118
+ gh api "repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)/topics" --jq '.names | index("lisa-managed") != null'
117
119
  ```
118
120
 
119
121
  When environments were configured, also confirm each one carries its protection rules and branch policy:
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "4.102.2",
3
+ "version": "4.103.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "4.102.2",
3
+ "version": "4.103.0",
4
4
  "description": "AWS CDK-specific Lisa plugin.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "4.102.2",
3
+ "version": "4.103.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "4.102.2",
3
+ "version": "4.103.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "4.102.2",
3
+ "version": "4.103.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "4.102.2",
3
+ "version": "4.103.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "4.102.2",
3
+ "version": "4.103.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.102.2",
3
+ "version": "4.103.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -23,6 +23,7 @@ Apply the fleet-standard GitHub repository configuration to this project's repo.
23
23
  - Default branch set to the lowest-tier environment branch that exists (dev → staging → main); override with `github.settings.default_branch`
24
24
  - GitHub wiki tab off (Lisa projects use in-repo `wiki/`)
25
25
  - Secret scanning + push protection enabled where the plan supports it
26
+ - The `lisa-managed` repository topic added (existing topics kept), so fleet-wide changes can find every Lisa repository with `gh search repos topic:lisa-managed --owner <owner>`. A refused topic edit warns and does not fail the baseline
26
27
  2. **Rulesets** (`scripts/lisa-github-rulesets.sh`) — one generated from config, the rest from Lisa's `<type>/github-rulesets/` templates matched by project type:
27
28
  - `base` — **generated from `.lisa.config.json`**, not shipped as a template. Deletion/force-push protection from `policy.protect`, the branch list from `policy.ruleset.include_refs`, bypass actors from `policy.ruleset.bypass_actors`, approvals from `policy.review`, merge methods from `policy.merge`, and required checks from whatever gates the project `await`s. A project that declares nothing gets exactly the ruleset the retired `all/github-rulesets/base.json` described, minus its two vendor checks — those are now `await` declarations a project can choose not to make
28
29
  - `quality checks` — the stack's CI checks (TypeScript emoji names or Rails names)
@@ -114,6 +115,7 @@ Skip this step (and say why) if the project's deploy.yml doesn't call Lisa's `re
114
115
  gh api "repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)" \
115
116
  --jq '{allow_squash_merge, allow_auto_merge, delete_branch_on_merge, allow_update_branch}'
116
117
  gh api "repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)/rulesets" --jq '[.[].name]'
118
+ gh api "repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)/topics" --jq '.names | index("lisa-managed") != null'
117
119
  ```
118
120
 
119
121
  When environments were configured, also confirm each one carries its protection rules and branch policy:
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.102.2",
3
+ "version": "4.103.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -23,6 +23,7 @@ Apply the fleet-standard GitHub repository configuration to this project's repo.
23
23
  - Default branch set to the lowest-tier environment branch that exists (dev → staging → main); override with `github.settings.default_branch`
24
24
  - GitHub wiki tab off (Lisa projects use in-repo `wiki/`)
25
25
  - Secret scanning + push protection enabled where the plan supports it
26
+ - The `lisa-managed` repository topic added (existing topics kept), so fleet-wide changes can find every Lisa repository with `gh search repos topic:lisa-managed --owner <owner>`. A refused topic edit warns and does not fail the baseline
26
27
  2. **Rulesets** (`scripts/lisa-github-rulesets.sh`) — one generated from config, the rest from Lisa's `<type>/github-rulesets/` templates matched by project type:
27
28
  - `base` — **generated from `.lisa.config.json`**, not shipped as a template. Deletion/force-push protection from `policy.protect`, the branch list from `policy.ruleset.include_refs`, bypass actors from `policy.ruleset.bypass_actors`, approvals from `policy.review`, merge methods from `policy.merge`, and required checks from whatever gates the project `await`s. A project that declares nothing gets exactly the ruleset the retired `all/github-rulesets/base.json` described, minus its two vendor checks — those are now `await` declarations a project can choose not to make
28
29
  - `quality checks` — the stack's CI checks (TypeScript emoji names or Rails names)
@@ -114,6 +115,7 @@ Skip this step (and say why) if the project's deploy.yml doesn't call Lisa's `re
114
115
  gh api "repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)" \
115
116
  --jq '{allow_squash_merge, allow_auto_merge, delete_branch_on_merge, allow_update_branch}'
116
117
  gh api "repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)/rulesets" --jq '[.[].name]'
118
+ gh api "repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)/topics" --jq '.names | index("lisa-managed") != null'
117
119
  ```
118
120
 
119
121
  When environments were configured, also confirm each one carries its protection rules and branch policy:
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.102.2",
3
+ "version": "4.103.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.102.2",
3
+ "version": "4.103.0",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -23,6 +23,7 @@ Apply the fleet-standard GitHub repository configuration to this project's repo.
23
23
  - Default branch set to the lowest-tier environment branch that exists (dev → staging → main); override with `github.settings.default_branch`
24
24
  - GitHub wiki tab off (Lisa projects use in-repo `wiki/`)
25
25
  - Secret scanning + push protection enabled where the plan supports it
26
+ - The `lisa-managed` repository topic added (existing topics kept), so fleet-wide changes can find every Lisa repository with `gh search repos topic:lisa-managed --owner <owner>`. A refused topic edit warns and does not fail the baseline
26
27
  2. **Rulesets** (`scripts/lisa-github-rulesets.sh`) — one generated from config, the rest from Lisa's `<type>/github-rulesets/` templates matched by project type:
27
28
  - `base` — **generated from `.lisa.config.json`**, not shipped as a template. Deletion/force-push protection from `policy.protect`, the branch list from `policy.ruleset.include_refs`, bypass actors from `policy.ruleset.bypass_actors`, approvals from `policy.review`, merge methods from `policy.merge`, and required checks from whatever gates the project `await`s. A project that declares nothing gets exactly the ruleset the retired `all/github-rulesets/base.json` described, minus its two vendor checks — those are now `await` declarations a project can choose not to make
28
29
  - `quality checks` — the stack's CI checks (TypeScript emoji names or Rails names)
@@ -114,6 +115,7 @@ Skip this step (and say why) if the project's deploy.yml doesn't call Lisa's `re
114
115
  gh api "repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)" \
115
116
  --jq '{allow_squash_merge, allow_auto_merge, delete_branch_on_merge, allow_update_branch}'
116
117
  gh api "repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)/rulesets" --jq '[.[].name]'
118
+ gh api "repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)/topics" --jq '.names | index("lisa-managed") != null'
117
119
  ```
118
120
 
119
121
  When environments were configured, also confirm each one carries its protection rules and branch policy:
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "4.102.2",
3
+ "version": "4.103.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "4.102.2",
3
+ "version": "4.103.0",
4
4
  "description": "Expo and React Native-specific skills, agents, rules, and MCP servers.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "4.102.2",
3
+ "version": "4.103.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "4.102.2",
3
+ "version": "4.103.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "4.102.2",
3
+ "version": "4.103.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"