@codyswann/lisa 4.71.7 → 4.71.9

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 (105) hide show
  1. package/README.md +7 -0
  2. package/all/copy-overwrite/scripts/check-threshold-ratchet.mjs +571 -0
  3. package/all/copy-overwrite/scripts/check-workflow-load-failures.mjs +31 -9
  4. package/all/copy-overwrite/scripts/lib/automation-provenance-contract.mjs +19 -0
  5. package/all/copy-overwrite/scripts/lib/automation-provenance-files.mjs +49 -0
  6. package/all/copy-overwrite/scripts/lib/automation-provenance-local.mjs +54 -38
  7. package/all/copy-overwrite/scripts/lib/npm-update-allocate.mjs +8 -2
  8. package/all/copy-overwrite/scripts/lib/npm-update-bun.mjs +189 -0
  9. package/all/copy-overwrite/scripts/lib/npm-update-cancel-origin.mjs +7 -3
  10. package/all/copy-overwrite/scripts/lib/npm-update-cancellation-proof.mjs +6 -1
  11. package/all/copy-overwrite/scripts/lib/npm-update-contract.mjs +26 -5
  12. package/all/copy-overwrite/scripts/lib/npm-update-gate.mjs +8 -5
  13. package/all/copy-overwrite/scripts/lib/npm-update-github.mjs +2 -2
  14. package/all/copy-overwrite/scripts/lib/npm-update-helper-inventory.mjs +3 -4
  15. package/all/copy-overwrite/scripts/lib/npm-update-hook-installation.mjs +68 -1
  16. package/all/copy-overwrite/scripts/lib/npm-update-hosted-gate.mjs +13 -80
  17. package/all/copy-overwrite/scripts/lib/npm-update-leaf-contract.mjs +6 -5
  18. package/all/copy-overwrite/scripts/lib/npm-update-prepare.mjs +35 -7
  19. package/all/copy-overwrite/scripts/lib/npm-update-publish.mjs +1 -1
  20. package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +43 -16
  21. package/all/copy-overwrite/scripts/threshold-ratchet-compare.mjs +521 -0
  22. package/all/copy-overwrite/scripts/threshold-ratchet-families.mjs +546 -0
  23. package/dist/configs/repo-scan.js +1 -1
  24. package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
  25. package/dist/core/lisa-owned-hash-ledger.js +60 -0
  26. package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
  27. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  28. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  29. package/dist/core/upstream-evidence-manifest.js +46 -32
  30. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  31. package/dist/strategies/merge.d.ts +1 -1
  32. package/dist/strategies/merge.d.ts.map +1 -1
  33. package/dist/strategies/merge.js +22 -2
  34. package/dist/strategies/merge.js.map +1 -1
  35. package/package.json +4 -4
  36. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  37. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  38. package/plugins/lisa/hooks/threshold-ratchet-compare.mjs +3 -3
  39. package/plugins/lisa/hooks/threshold-ratchet.mjs +1 -1
  40. package/plugins/lisa-agy/plugin.json +1 -1
  41. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  42. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  43. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  44. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  45. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  46. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  47. package/plugins/lisa-copilot/hooks/threshold-ratchet-compare.mjs +3 -3
  48. package/plugins/lisa-copilot/hooks/threshold-ratchet.mjs +1 -1
  49. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  50. package/plugins/lisa-cursor/hooks/threshold-ratchet-compare.mjs +3 -3
  51. package/plugins/lisa-cursor/hooks/threshold-ratchet.mjs +1 -1
  52. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  54. package/plugins/lisa-expo-agy/plugin.json +1 -1
  55. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  56. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  57. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  58. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  59. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  60. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  61. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  62. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  63. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  64. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  65. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  66. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  67. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  68. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  69. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  70. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  71. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  72. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  73. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  74. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  75. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  76. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  77. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  78. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  79. package/plugins/lisa-rails-agy/plugin.json +1 -1
  80. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  81. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  82. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  83. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  84. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  85. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  86. package/plugins/lisa-typescript-cursor/.claude-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/materialized-artifacts.json +3 -0
  93. package/plugins/src/base/hooks/threshold-ratchet-compare.mjs +3 -3
  94. package/plugins/src/base/hooks/threshold-ratchet.mjs +1 -1
  95. package/rails/copy-overwrite/scripts/check-threshold-ratchet.mjs +1 -1
  96. package/rails/copy-overwrite/scripts/threshold-ratchet-compare.mjs +3 -3
  97. package/scripts/build-plugins.sh +2 -1
  98. package/scripts/generate-scratch-supervisor-profile.mjs +1 -1
  99. package/scripts/install-claude-plugins.sh +8 -4
  100. package/scripts/two-channel-couplings.json +9 -7
  101. package/typescript/copy-overwrite/scripts/check-threshold-ratchet.mjs +1 -1
  102. package/typescript/copy-overwrite/scripts/threshold-ratchet-compare.mjs +3 -3
  103. /package/{rails → all}/copy-contents/scripts/lisa-mutation.sh +0 -0
  104. /package/{rails → all}/copy-overwrite/scripts/lisa-clean-git-env.sh +0 -0
  105. /package/{rails → all}/copy-overwrite/scripts/lisa-scratch-run.sh +0 -0
@@ -4,7 +4,7 @@ import type { ICopyStrategy, StrategyContext } from "./strategy.interface.js";
4
4
  * Produce the exact JSON merge result without filesystem access.
5
5
  * @param source - Lisa template object
6
6
  * @param destination - Existing host object
7
- * @returns Merged object with Lisa values taking precedence
7
+ * @returns Merged object with Lisa governance and explicit Sentry choice preserved
8
8
  */
9
9
  export declare function mergeTemplateJson(source: Record<string, unknown>, destination: Record<string, unknown>): Record<string, unknown>;
10
10
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../src/strategies/merge.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAS9E;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACnC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAEzB;AAED;;;;;GAKG;AACH,qBAAa,aAAc,YAAW,aAAa;IACjD,QAAQ,CAAC,IAAI,EAAG,OAAO,CAAU;IAEjC;;;;;;;OAOG;IACG,KAAK,CACT,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,eAAe,GACvB,OAAO,CAAC,mBAAmB,CAAC;CAoDhC"}
1
+ {"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../src/strategies/merge.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAW9E;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACnC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAsBzB;AAED;;;;;GAKG;AACH,qBAAa,aAAc,YAAW,aAAa;IACjD,QAAQ,CAAC,IAAI,EAAG,OAAO,CAAU;IAEjC;;;;;;;OAOG;IACG,KAAK,CACT,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,eAAe,GACvB,OAAO,CAAC,mBAAmB,CAAC;CAoDhC"}
@@ -4,14 +4,34 @@ import { isPostinstallSafeApply } from "../core/apply-mode.js";
4
4
  import { ensureParentDir } from "../utils/file-operations.js";
5
5
  import { readJson, writeJson, deepMergeWithArrayUnion, } from "../utils/json-utils.js";
6
6
  import { JsonMergeError } from "../errors/index.js";
7
+ const OFFICIAL_SENTRY_PLUGIN = "sentry@claude-plugins-official";
7
8
  /**
8
9
  * Produce the exact JSON merge result without filesystem access.
9
10
  * @param source - Lisa template object
10
11
  * @param destination - Existing host object
11
- * @returns Merged object with Lisa values taking precedence
12
+ * @returns Merged object with Lisa governance and explicit Sentry choice preserved
12
13
  */
13
14
  export function mergeTemplateJson(source, destination) {
14
- return deepMergeWithArrayUnion(destination, source);
15
+ const merged = deepMergeWithArrayUnion(destination, source);
16
+ const existing = destination["enabledPlugins"];
17
+ const plugins = merged["enabledPlugins"];
18
+ if (!existing ||
19
+ typeof existing !== "object" ||
20
+ Array.isArray(existing) ||
21
+ !plugins ||
22
+ typeof plugins !== "object" ||
23
+ Array.isArray(plugins))
24
+ return merged;
25
+ const choice = existing[OFFICIAL_SENTRY_PLUGIN];
26
+ if (typeof choice !== "boolean")
27
+ return merged;
28
+ // The official Claude plugin is optional, not a Lisa enforcement surface.
29
+ // Other runtimes keep their native Sentry integrations; this preference only
30
+ // names Claude's plugin. Missing choices still receive the template default.
31
+ return {
32
+ ...merged,
33
+ enabledPlugins: { ...plugins, [OFFICIAL_SENTRY_PLUGIN]: choice },
34
+ };
15
35
  }
16
36
  /**
17
37
  * Merge strategy: Deep merge JSON files (Lisa values take precedence)
@@ -1 +1 @@
1
- {"version":3,"file":"merge.js","sourceRoot":"","sources":["../../src/strategies/merge.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAChC,OA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C,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;QAEzD,IAAI,cAAc,KAAK,gBAAgB,EAAE,CAAC;YACxC,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;QAClE,CAAC;QAED,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;YACnB,MAAM,UAAU,CAAC,QAAQ,CAAC,CAAC;YAC3B,MAAM,SAAS,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;QACpC,CAAC;QAED,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IACjE,CAAC;CACF"}
package/package.json CHANGED
@@ -189,7 +189,7 @@
189
189
  "qs": "^6.16.0"
190
190
  },
191
191
  "name": "@codyswann/lisa",
192
- "version": "4.71.7",
192
+ "version": "4.71.9",
193
193
  "description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
194
194
  "main": "dist/index.js",
195
195
  "exports": {
@@ -345,7 +345,7 @@
345
345
  "test": "tests"
346
346
  },
347
347
  "types": "./dist/index.d.ts",
348
- "lisaReleaseCommit": "db10f35b22905e61c8dd481e22737926be92efd0",
349
- "gitHead": "db10f35b22905e61c8dd481e22737926be92efd0",
350
- "lisaReleaseTag": "v4.71.7"
348
+ "lisaReleaseCommit": "6699cdf1eb04972144936ab42c85297e8ddab62d",
349
+ "gitHead": "6699cdf1eb04972144936ab42c85297e8ddab62d",
350
+ "lisaReleaseTag": "v4.71.9"
351
351
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
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.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Universal governance: agents, skills, commands, hooks, and rules for all projects.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -296,8 +296,8 @@ function compareLighthouse(relPath, base, current) {
296
296
  current?.ci?.assert?.assertions != null) &&
297
297
  (previous == null ||
298
298
  (typeof previous === "number" && Number.isFinite(previous))) &&
299
- typeof added === "number" &&
300
- Number.isFinite(added)
299
+ (added == null || (typeof added === "number" && Number.isFinite(added))) &&
300
+ !(previous == null && added == null)
301
301
  ) {
302
302
  // This checker reads top-level settings even beside canonical assertions.
303
303
  // Keep its comparison separate so a new setting cannot replace a canonical
@@ -307,7 +307,7 @@ function compareLighthouse(relPath, base, current) {
307
307
  ...compareConstraints(
308
308
  relPath,
309
309
  new Map([[key, { value: previous ?? 100, direction: "max" }]]),
310
- new Map([[key, { value: added, direction: "max" }]])
310
+ new Map([[key, { value: added ?? 100, direction: "max" }]])
311
311
  )
312
312
  );
313
313
  }
@@ -517,7 +517,7 @@ function main() {
517
517
  process.stderr.write(
518
518
  "usage: threshold-ratchet.mjs --hook | --staged | --base <ref> [--head <ref>]\n"
519
519
  );
520
- return 0;
520
+ return 2;
521
521
  }
522
522
 
523
523
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
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-cdk",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
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.71.7",
3
+ "version": "4.71.9",
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.71.7",
3
+ "version": "4.71.9",
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.71.7",
3
+ "version": "4.71.9",
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.71.7",
3
+ "version": "4.71.9",
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.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -296,8 +296,8 @@ function compareLighthouse(relPath, base, current) {
296
296
  current?.ci?.assert?.assertions != null) &&
297
297
  (previous == null ||
298
298
  (typeof previous === "number" && Number.isFinite(previous))) &&
299
- typeof added === "number" &&
300
- Number.isFinite(added)
299
+ (added == null || (typeof added === "number" && Number.isFinite(added))) &&
300
+ !(previous == null && added == null)
301
301
  ) {
302
302
  // This checker reads top-level settings even beside canonical assertions.
303
303
  // Keep its comparison separate so a new setting cannot replace a canonical
@@ -307,7 +307,7 @@ function compareLighthouse(relPath, base, current) {
307
307
  ...compareConstraints(
308
308
  relPath,
309
309
  new Map([[key, { value: previous ?? 100, direction: "max" }]]),
310
- new Map([[key, { value: added, direction: "max" }]])
310
+ new Map([[key, { value: added ?? 100, direction: "max" }]])
311
311
  )
312
312
  );
313
313
  }
@@ -517,7 +517,7 @@ function main() {
517
517
  process.stderr.write(
518
518
  "usage: threshold-ratchet.mjs --hook | --staged | --base <ref> [--head <ref>]\n"
519
519
  );
520
- return 0;
520
+ return 2;
521
521
  }
522
522
 
523
523
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -296,8 +296,8 @@ function compareLighthouse(relPath, base, current) {
296
296
  current?.ci?.assert?.assertions != null) &&
297
297
  (previous == null ||
298
298
  (typeof previous === "number" && Number.isFinite(previous))) &&
299
- typeof added === "number" &&
300
- Number.isFinite(added)
299
+ (added == null || (typeof added === "number" && Number.isFinite(added))) &&
300
+ !(previous == null && added == null)
301
301
  ) {
302
302
  // This checker reads top-level settings even beside canonical assertions.
303
303
  // Keep its comparison separate so a new setting cannot replace a canonical
@@ -307,7 +307,7 @@ function compareLighthouse(relPath, base, current) {
307
307
  ...compareConstraints(
308
308
  relPath,
309
309
  new Map([[key, { value: previous ?? 100, direction: "max" }]]),
310
- new Map([[key, { value: added, direction: "max" }]])
310
+ new Map([[key, { value: added ?? 100, direction: "max" }]])
311
311
  )
312
312
  );
313
313
  }
@@ -517,7 +517,7 @@ function main() {
517
517
  process.stderr.write(
518
518
  "usage: threshold-ratchet.mjs --hook | --staged | --base <ref> [--head <ref>]\n"
519
519
  );
520
- return 0;
520
+ return 2;
521
521
  }
522
522
 
523
523
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
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.71.7",
3
+ "version": "4.71.9",
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.71.7",
3
+ "version": "4.71.9",
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.71.7",
3
+ "version": "4.71.9",
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.71.7",
3
+ "version": "4.71.9",
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-harper-fabric",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Harper/Fabric-specific Lisa rules for TypeScript component apps.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-harper-fabric",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Harper/Fabric-specific rules for TypeScript component apps",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "NestJS-specific skills and migration write-protection hooks.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (migration write-protection)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, across Claude and Codex.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-openclaw",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Phaser 4 game-development rules for TypeScript projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Ruby on Rails-specific skills and hooks for RuboCop and ast-grep scanning on edit.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "TypeScript-specific hooks for formatting, linting, and ast-grep scanning on edit.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, ast-grep scanning, and error-suppression blocking on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "LLM Wiki — a distributable, git-native markdown knowledge base for Claude Code and Codex",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "4.71.7",
3
+ "version": "4.71.9",
4
4
  "description": "Distributable LLM Wiki kernel — ingest, query, lint, and maintain a git-native markdown knowledge base across Claude and Codex.",
5
5
  "author": {
6
6
  "name": "Cody Swann"