@codyswann/lisa 8.3.0 → 8.4.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 (183) hide show
  1. package/cdk/package-lisa/package.lisa.json +1 -1
  2. package/dist/cli/confined-project-read.d.ts +2 -1
  3. package/dist/cli/confined-project-read.d.ts.map +1 -1
  4. package/dist/cli/confined-project-read.js +22 -5
  5. package/dist/cli/confined-project-read.js.map +1 -1
  6. package/dist/cli/gh-cli.d.ts +2 -1
  7. package/dist/cli/gh-cli.d.ts.map +1 -1
  8. package/dist/cli/gh-cli.js +5 -3
  9. package/dist/cli/gh-cli.js.map +1 -1
  10. package/dist/cli/github-read-issue-cmd.d.ts +62 -0
  11. package/dist/cli/github-read-issue-cmd.d.ts.map +1 -0
  12. package/dist/cli/github-read-issue-cmd.js +121 -0
  13. package/dist/cli/github-read-issue-cmd.js.map +1 -0
  14. package/dist/cli/github-reader-relationships.d.ts +41 -0
  15. package/dist/cli/github-reader-relationships.d.ts.map +1 -0
  16. package/dist/cli/github-reader-relationships.js +218 -0
  17. package/dist/cli/github-reader-relationships.js.map +1 -0
  18. package/dist/cli/github-reader-target.d.ts +24 -0
  19. package/dist/cli/github-reader-target.d.ts.map +1 -0
  20. package/dist/cli/github-reader-target.js +95 -0
  21. package/dist/cli/github-reader-target.js.map +1 -0
  22. package/dist/cli/github-reader-wire.d.ts +72 -0
  23. package/dist/cli/github-reader-wire.d.ts.map +1 -0
  24. package/dist/cli/github-reader-wire.js +125 -0
  25. package/dist/cli/github-reader-wire.js.map +1 -0
  26. package/dist/cli/index.d.ts.map +1 -1
  27. package/dist/cli/index.js +2 -2
  28. package/dist/cli/index.js.map +1 -1
  29. package/dist/controls/commands/declaration-check.d.ts.map +1 -1
  30. package/dist/controls/commands/declaration-check.js +7 -4
  31. package/dist/controls/commands/declaration-check.js.map +1 -1
  32. package/dist/controls/commands/seed.d.ts +1 -9
  33. package/dist/controls/commands/seed.d.ts.map +1 -1
  34. package/dist/controls/commands/seed.js +72 -65
  35. package/dist/controls/commands/seed.js.map +1 -1
  36. package/dist/controls/configure-road.d.ts +2 -0
  37. package/dist/controls/configure-road.d.ts.map +1 -1
  38. package/dist/controls/configure-road.js +18 -14
  39. package/dist/controls/configure-road.js.map +1 -1
  40. package/dist/controls/register-evidence-rule.d.ts +2 -0
  41. package/dist/controls/register-evidence-rule.d.ts.map +1 -1
  42. package/dist/controls/register-evidence-rule.js +8 -7
  43. package/dist/controls/register-evidence-rule.js.map +1 -1
  44. package/dist/controls/register-rules.d.ts +2 -0
  45. package/dist/controls/register-rules.d.ts.map +1 -1
  46. package/dist/controls/register-rules.js.map +1 -1
  47. package/dist/controls/register-types.d.ts +2 -4
  48. package/dist/controls/register-types.d.ts.map +1 -1
  49. package/dist/controls/register-types.js.map +1 -1
  50. package/dist/controls/register.d.ts +2 -0
  51. package/dist/controls/register.d.ts.map +1 -1
  52. package/dist/controls/register.js +3 -1
  53. package/dist/controls/register.js.map +1 -1
  54. package/dist/controls/shipped-parts.d.ts +82 -0
  55. package/dist/controls/shipped-parts.d.ts.map +1 -0
  56. package/dist/controls/shipped-parts.js +216 -0
  57. package/dist/controls/shipped-parts.js.map +1 -0
  58. package/dist/core/lisa-owned-hash-ledger.json +6 -0
  59. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  60. package/dist/core/upstream-evidence-manifest.json +41 -14
  61. package/dist/strategies/package-lisa-host-pins.d.ts +7 -12
  62. package/dist/strategies/package-lisa-host-pins.d.ts.map +1 -1
  63. package/dist/strategies/package-lisa-host-pins.js +29 -30
  64. package/dist/strategies/package-lisa-host-pins.js.map +1 -1
  65. package/dist/strategies/package-lisa-range-intersection.d.ts +8 -0
  66. package/dist/strategies/package-lisa-range-intersection.d.ts.map +1 -0
  67. package/dist/strategies/package-lisa-range-intersection.js +73 -0
  68. package/dist/strategies/package-lisa-range-intersection.js.map +1 -0
  69. package/harper-fabric/package-lisa/package.lisa.json +3 -2
  70. package/package.json +4 -4
  71. package/phaser/package-lisa/package.lisa.json +3 -2
  72. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  73. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  74. package/plugins/lisa/.codex-plugin/skills/lisa-configure/SKILL.md +8 -7
  75. package/plugins/lisa/.codex-plugin/skills/lisa-github-read-issue/SKILL.md +22 -106
  76. package/plugins/lisa/.codex-plugin/skills/lisa-persist-learning/SKILL.md +37 -5
  77. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/SKILL.md +9 -10
  78. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/answer-record.mjs +24 -20
  79. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-answer-record.mjs +3 -1
  80. package/plugins/lisa/skills/lisa-configure/SKILL.md +8 -7
  81. package/plugins/lisa/skills/lisa-github-read-issue/SKILL.md +22 -106
  82. package/plugins/lisa/skills/lisa-persist-learning/SKILL.md +37 -5
  83. package/plugins/lisa/skills/lisa-session-manager/SKILL.md +9 -10
  84. package/plugins/lisa/skills/lisa-session-manager/scripts/answer-record.mjs +24 -20
  85. package/plugins/lisa/skills/lisa-session-manager/scripts/cli-answer-record.mjs +3 -1
  86. package/plugins/lisa-agy/plugin.json +1 -1
  87. package/plugins/lisa-agy/skills/lisa-configure/SKILL.md +8 -7
  88. package/plugins/lisa-agy/skills/lisa-github-read-issue/SKILL.md +22 -106
  89. package/plugins/lisa-agy/skills/lisa-persist-learning/SKILL.md +37 -5
  90. package/plugins/lisa-agy/skills/lisa-session-manager/SKILL.md +9 -10
  91. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/answer-record.mjs +24 -20
  92. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-answer-record.mjs +3 -1
  93. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  94. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  95. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  96. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  97. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  98. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  99. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  100. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  101. package/plugins/lisa-copilot/skills/lisa-configure/SKILL.md +8 -7
  102. package/plugins/lisa-copilot/skills/lisa-github-read-issue/SKILL.md +22 -106
  103. package/plugins/lisa-copilot/skills/lisa-persist-learning/SKILL.md +37 -5
  104. package/plugins/lisa-copilot/skills/lisa-session-manager/SKILL.md +9 -10
  105. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/answer-record.mjs +24 -20
  106. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-answer-record.mjs +3 -1
  107. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  108. package/plugins/lisa-cursor/skills/lisa-configure/SKILL.md +8 -7
  109. package/plugins/lisa-cursor/skills/lisa-github-read-issue/SKILL.md +22 -106
  110. package/plugins/lisa-cursor/skills/lisa-persist-learning/SKILL.md +37 -5
  111. package/plugins/lisa-cursor/skills/lisa-session-manager/SKILL.md +9 -10
  112. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/answer-record.mjs +24 -20
  113. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-answer-record.mjs +3 -1
  114. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  115. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  116. package/plugins/lisa-devin/skills/lisa-configure/SKILL.md +8 -7
  117. package/plugins/lisa-devin/skills/lisa-github-read-issue/SKILL.md +22 -106
  118. package/plugins/lisa-devin/skills/lisa-persist-learning/SKILL.md +37 -5
  119. package/plugins/lisa-devin/skills/lisa-session-manager/SKILL.md +9 -10
  120. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/answer-record.mjs +24 -20
  121. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-answer-record.mjs +3 -1
  122. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  123. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  124. package/plugins/lisa-expo-agy/plugin.json +1 -1
  125. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  126. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  127. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  128. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  129. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  130. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  131. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  132. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  133. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  134. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  135. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  136. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  137. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  138. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  139. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  140. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  141. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  142. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  143. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  144. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  145. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  146. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  147. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  148. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  149. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  150. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  151. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  152. package/plugins/lisa-rails-agy/plugin.json +1 -1
  153. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  154. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  155. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  156. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  157. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  158. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  159. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  160. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  161. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  162. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  163. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  164. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  165. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  166. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  167. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  168. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  169. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  170. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  171. package/plugins/src/base/skills/lisa-configure/SKILL.md +8 -7
  172. package/plugins/src/base/skills/lisa-github-read-issue/SKILL.md +22 -106
  173. package/plugins/src/base/skills/lisa-persist-learning/SKILL.md +37 -5
  174. package/plugins/src/base/skills/lisa-session-manager/SKILL.md +9 -10
  175. package/plugins/src/base/skills/lisa-session-manager/scripts/answer-record.mjs +24 -20
  176. package/plugins/src/base/skills/lisa-session-manager/scripts/cli-answer-record.mjs +3 -1
  177. package/rails/copy-overwrite/scripts/check-nightly-e2e-health.mjs +5115 -0
  178. package/scripts/check-derived-artifacts.mjs +1 -0
  179. package/scripts/generate-nightly-e2e-guard-certificate.mjs +15 -1
  180. package/scripts/two-channel-couplings.json +5 -3
  181. package/typescript/copy-overwrite/.prettierignore +1 -0
  182. package/typescript/copy-overwrite/scripts/lisa-typecheck.mjs +82 -0
  183. package/typescript/package-lisa/package.lisa.json +3 -2
@@ -248,7 +248,7 @@
248
248
  "cdk/deletions.json": "3469a25e885836f301e8d24599dd13f5195ef86ffdea1f03f3fbb86d6b1f1674",
249
249
  "cdk/merge/.claude/settings.json": "3b02fb72bb16d67c6e8b50f56ed3cbec42693e723cc5c552491251fa2a04fac5",
250
250
  "cdk/merge/.oxlintrc.json": "f7d248cf8a89561374d7e68e24aa780f4a6a523938475ad685f034ce0194d75c",
251
- "cdk/package-lisa/package.lisa.json": "edfc36f179f79703f3cb2dc809fdbb708e270b3fc82cc6a73fdad9935bfa1561",
251
+ "cdk/package-lisa/package.lisa.json": "ceae37e51dde013b8c980b84ac07bf23f76b0ce07f9b681fd8dd36ae38a16847",
252
252
  "eslint-plugin-code-organization/README.md": "e70c9e262ce3a97e1f9fe1897ffa71e3d1b124f10486b90ead5d4a5252977826",
253
253
  "eslint-plugin-code-organization/__tests__/enforce-statement-order-react-violations.test.js": "537ee52680248d05a870346080b7646d835a3d99e8dd4899f71ab30d8226b566",
254
254
  "eslint-plugin-code-organization/__tests__/enforce-statement-order-valid.test.js": "c48c47b4bcf1a46238d6a5fd53796dd7206a2960326d15f249ee5c1c47072346",
@@ -372,7 +372,7 @@
372
372
  "harper-fabric/deletions.json": "699c6e445c053bc95cdf4b7ef6a852e243d1073d21087ed7c08db69d1d29ac9c",
373
373
  "harper-fabric/merge/.claude/settings.json": "c05d819211b3bea004e2536f387247ac8edc26614389f7ace668b2c38c3b5d88",
374
374
  "harper-fabric/merge/.oxlintrc.json": "b41ea588eed47e0f1532aab5f6226b82586269b84edd1947bdde603e0a8513fa",
375
- "harper-fabric/package-lisa/package.lisa.json": "ddb4f16f13ef30f40f4c1cb35d46d70558b5ccb41d9709348fbe9c258bc826cd",
375
+ "harper-fabric/package-lisa/package.lisa.json": "33c0e62cba16d6c5d1b93097adf6f95ea821fba8e8b88a6fce20ae3aa7ee3d1f",
376
376
  "nestjs/copy-overwrite/eslint.config.ts": "300895743cd8e3041f164902e1c8e509d8ef07474848a70621ac354d73595477",
377
377
  "nestjs/copy-overwrite/eslint.nestjs.ts": "5f3216996fe38e79f6d6a7659839e6e9424912ae612c840d1185d74786c981a9",
378
378
  "nestjs/copy-overwrite/eslint.slow.config.ts": "602a21f47370a0a947e92bced1b93bf8fa4c146e07c944ffe1d56ef50914a688",
@@ -446,7 +446,7 @@
446
446
  "phaser/deletions.json": "699c6e445c053bc95cdf4b7ef6a852e243d1073d21087ed7c08db69d1d29ac9c",
447
447
  "phaser/merge/.claude/settings.json": "7ac65fb24c7b35b4e126cc23e950c91176c38cd017979a08179c12137d337226",
448
448
  "phaser/merge/.oxlintrc.json": "02c0d70e6e07bc0e981f94a1e2ccd01a2c295c4c66e8b8ea9b2f363d44fa5c06",
449
- "phaser/package-lisa/package.lisa.json": "98a77d132897c33a3186716445a493eb9b52416f23c9553707fe5d7eea3ac935",
449
+ "phaser/package-lisa/package.lisa.json": "4cc5fc93c2538a66862f33e4b89e00a1179e1bbb60f54ee7e29559d4c1c6eb61",
450
450
  "plugins/src/base/agents/architecture-specialist.md": "b5834a1dc5b11dc2eb65cae6727350bbb7e91d4c2c530ec271bd95f88d878002",
451
451
  "plugins/src/base/agents/bug-fixer.md": "4339af7c1b798f58d41f93b59a0c46f15c2a32511c6874cb7d9b2a0c7f28b705",
452
452
  "plugins/src/base/agents/builder.md": "7a5b88ca248380fb9c4aa73ec9bf41dee8eb60fc5cc691c74865f23790a62898",
@@ -742,7 +742,7 @@
742
742
  "plugins/src/base/skills/lisa-capability-drift/SKILL.md": "9ef86e6caab6eaea87f6d32e67a77061ce8cccf09467bc5c36ee13a77a7f0199",
743
743
  "plugins/src/base/skills/lisa-codebase-research/SKILL.md": "77dbc2d7e86e5027df486294de315bb539a2ece84bd4b38e47ccc108f8c2875e",
744
744
  "plugins/src/base/skills/lisa-codify-verification/SKILL.md": "6485cf919af6f1fa5f5d60209906fd954a5d45456e2149c25ad29f2567fcc981",
745
- "plugins/src/base/skills/lisa-configure/SKILL.md": "ca594eecf7bb2ef5c3d2eab822b494efff4d61031381b70e3ca6f2df79c49cb2",
745
+ "plugins/src/base/skills/lisa-configure/SKILL.md": "a0bbe2e46c6c11cca336fd1fb3c52a99d0b6c6282575ab88008c622e616b226c",
746
746
  "plugins/src/base/skills/lisa-confluence-prd-intake/SKILL.md": "a33349c0129da13955fea99206d49e6e65c8be9e649e5d387afab83f52820b81",
747
747
  "plugins/src/base/skills/lisa-confluence-to-tracker/SKILL.md": "e60d3c0bd7424c1b550b71c3f5463b7c6d5acb9e72a6f5c8eb828026874d4b77",
748
748
  "plugins/src/base/skills/lisa-confluence-write-prd/SKILL.md": "65e4caf8ac0d544e34e62babc140a00590d500b688bf9332c3b0ded101bcd460",
@@ -775,7 +775,7 @@
775
775
  "plugins/src/base/skills/lisa-github-journey/SKILL.md": "fa9c4dab004a47062bae75c74aed1844fdfe76be119e2a8b9d07b3c5db68892e",
776
776
  "plugins/src/base/skills/lisa-github-prd-intake/SKILL.md": "bd885b84cc2dec2a9f55586195c2d6777ca5b97522af6283e0ca6d4f33d8c7e2",
777
777
  "plugins/src/base/skills/lisa-github-project-v2/SKILL.md": "484c0cdfeb22e8862015ba0a47b04c068c900c8dad123c4abd693991d5824137",
778
- "plugins/src/base/skills/lisa-github-read-issue/SKILL.md": "8a3308b4b509089ed684797ded3fc523ae8cdf80d3aad70a8532ef04420d258c",
778
+ "plugins/src/base/skills/lisa-github-read-issue/SKILL.md": "dc17f16d314ca3be264e42110995475f350d5cbdffac1aad65b2cd78ad8fcd79",
779
779
  "plugins/src/base/skills/lisa-github-sync/SKILL.md": "3ecdd4bf91f1dd409cf2a8bd82b998cb7f9220e5e592195a0fa4040f4e53f6c6",
780
780
  "plugins/src/base/skills/lisa-github-to-tracker/SKILL.md": "e068c078a79015af58b8faed193f1f736ff18d32ed1a677b0ee9cddf635d71b6",
781
781
  "plugins/src/base/skills/lisa-github-validate-issue/SKILL.md": "c35c1e017211b4ba209ba4fc612b7a445e0afc0be0d4ccf31323076f06dd6f61",
@@ -840,7 +840,7 @@
840
840
  "plugins/src/base/skills/lisa-parity-sentry-sdk-setup/SKILL.md": "36e118355bcf694924f9fe3e8f9189efd5b02268c6658ee83244a53cb12c127d",
841
841
  "plugins/src/base/skills/lisa-parity-sentry-seer/SKILL.md": "7392daf3471d2ffd05c9cd827546928a69a9dc1c1112648962fedea29058d47f",
842
842
  "plugins/src/base/skills/lisa-performance-review/SKILL.md": "351542c256e54940e6d672a70606b8414425c6435ae6f026841bcc02f9fce9c4",
843
- "plugins/src/base/skills/lisa-persist-learning/SKILL.md": "db679691a7d3ddad8615f72c2b80141fe9291c89497e4b6816b81b7103d69f76",
843
+ "plugins/src/base/skills/lisa-persist-learning/SKILL.md": "f5cdb9237b6070558aba8eb1c91c8b5ef792923b2bcc14c2628b77033a9f71dc",
844
844
  "plugins/src/base/skills/lisa-plan/SKILL.md": "e617884ac011239ee2423d6d9c2e922e06620221bc36a29956d5b7c7876e2a27",
845
845
  "plugins/src/base/skills/lisa-plugin-sync-explain/SKILL.md": "b41619f3d0d342af2438afd54cb97db7d2445e54e3fc7bb012292079acbc6a4f",
846
846
  "plugins/src/base/skills/lisa-posthog-access/SKILL.md": "f4d1a8f0a1d3094ad22d49ed8967a60b619d964b05745b783347536c746e8f92",
@@ -893,11 +893,11 @@
893
893
  "plugins/src/base/skills/lisa-security-review/SKILL.md": "6878641d8ae3c0b1e6bab736e46dd5b0fd32a5e25ca9a0eecd1e66a5fb0bfdd2",
894
894
  "plugins/src/base/skills/lisa-security-zap-scan/SKILL.md": "a5189442dbf970cc49fd089ab03c386c8a205b856e09501f6ad1966321e7e4b5",
895
895
  "plugins/src/base/skills/lisa-sentry-access/SKILL.md": "2dbbccc62a0d20d691e947a2612fd5a6ac5b10bbfa8ccae59c148a1262795655",
896
- "plugins/src/base/skills/lisa-session-manager/SKILL.md": "d5bfca30a3244f110fcf58915dd4ebca9d050e829132af6a16564716ff7edaed",
896
+ "plugins/src/base/skills/lisa-session-manager/SKILL.md": "4933d038cfe8299d28828652f9d800fb64ba23ad5f5dc05ef0de09938ad2d567",
897
897
  "plugins/src/base/skills/lisa-session-manager/references/runbook-template.md": "7e59e966dca77962bb67a836a6e86f8a2ec20875de2c8ab06a649c18ffb84533",
898
- "plugins/src/base/skills/lisa-session-manager/scripts/answer-record.mjs": "88982207f9134f63c0949ebed21d05a2bcffe1f5c774739935237d78786b1813",
898
+ "plugins/src/base/skills/lisa-session-manager/scripts/answer-record.mjs": "e3ee6d6af45d0c7067fcb9e42111857280589ba301ce4fc29799e7bd75d652c5",
899
899
  "plugins/src/base/skills/lisa-session-manager/scripts/capacity.mjs": "ad5acc6097e375868b51eaf01b1506662505e2404b7ac1b06528679718504091",
900
- "plugins/src/base/skills/lisa-session-manager/scripts/cli-answer-record.mjs": "cd195249f028231358071f541a0f64599b545f2c87d30118c92aebd44c0a8498",
900
+ "plugins/src/base/skills/lisa-session-manager/scripts/cli-answer-record.mjs": "71635c8f2e2c7bc100fda62e4798e56ff9d05f1fa9ae1a8e19aac10379724690",
901
901
  "plugins/src/base/skills/lisa-session-manager/scripts/cli-cycle.mjs": "fc3418fdea403b97da57708aa60cc52430c3d726d78764f591503922adb70407",
902
902
  "plugins/src/base/skills/lisa-session-manager/scripts/cli-human.mjs": "bd6a56716c665f9e741e9a70d39fc8a403a54f28aaeaf8087f862fb75bcdf8fd",
903
903
  "plugins/src/base/skills/lisa-session-manager/scripts/cli-manager-token.mjs": "7478baf8cdb72029aa04d31f0951f262d086004e1dfc5ad3e422b3a2eea326c6",
@@ -1308,6 +1308,7 @@
1308
1308
  "rails/copy-overwrite/ast-grep/utils/.gitkeep": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
1309
1309
  "rails/copy-overwrite/config/initializers/version.rb": "9304268500aada31d8bd158dca4274888d10db4e30f8dadd9bf23a01d67f2480",
1310
1310
  "rails/copy-overwrite/lefthook.yml": "5c423ac7c286503ae790d24ca7dc27fb515635fca1af8d78380aab0541b7ea17",
1311
+ "rails/copy-overwrite/scripts/check-nightly-e2e-health.mjs": "df39aa29b19817f67726107fec45078ce639f14a682cf6d5587ba37617f31ac9",
1311
1312
  "rails/copy-overwrite/scripts/check-threshold-ratchet.mjs": "62add29cbcca6ac6b2346120393d41e219267f74d7ea6c66dc1482c5dbdb118a",
1312
1313
  "rails/copy-overwrite/scripts/lisa-rails-ast-grep.mjs": "fdc5a658590ec91ab6f38ff417bd70056097099160d5a6c4255bad7bf487a5a1",
1313
1314
  "rails/copy-overwrite/scripts/lisa-rails-gates.mjs": "7a8f883f06e80994b77f1116dd555da50526270b1561b4fba9b9bc422b88ac34",
@@ -1344,7 +1345,7 @@
1344
1345
  "scripts/check-cwd-resolution-corpus.mjs": "4f35dca2c3d42806e24211e7455d9aa64980eb1805416f0bbd63eaa8e981da91",
1345
1346
  "scripts/check-deletion-basis.mjs": "ee4b073378cc9ad200293f5528ea820aaa168417144c21853274dc087f92f378",
1346
1347
  "scripts/check-delivery-deletion-conflicts.mjs": "77eed58c9ff076c4438a5fe01c343f25c1a1c8f29a8f5861d1e1081b1739d300",
1347
- "scripts/check-derived-artifacts.mjs": "49ce1f00f016bf00540f477f03f8e8c349589d25ab0bf9efc198abddc50bb7e3",
1348
+ "scripts/check-derived-artifacts.mjs": "285912c2460c5ce695198da15a191e091c612797680d2df3aef2962d36f3519f",
1348
1349
  "scripts/check-duplicate-versions.mjs": "26b26351dd2735dfd8d9a2436b89e876ce2ed93871d0b264f611215dd03d70ae",
1349
1350
  "scripts/check-eager-rule-budget.mjs": "ec588e17a238a2bfc5c39f6a7a5090a8923b5bf464afd2c43f89972e53cefb4c",
1350
1351
  "scripts/check-empty-subject-guards.mjs": "02fc6af8de14fa2230e5f601225bda2f51d4ed7a462e67c46a36a6c7d92e1833",
@@ -1402,7 +1403,7 @@
1402
1403
  "scripts/generate-devin-plugin-artifacts.mjs": "5f17f1d61f47793c7f196267e346baf590eb8efaafc7a80ecc98e5ce3acb7386",
1403
1404
  "scripts/generate-export-surface.mjs": "f83a0967044776e0db7f4b865b0970d6933e2e40d009f3c1b0e7934f169f253c",
1404
1405
  "scripts/generate-lisa-owned-hash-ledger.mjs": "b6709a0a2a7a0a3af3f8d753ae85aad289d187269217f826b95a1945c32f446f",
1405
- "scripts/generate-nightly-e2e-guard-certificate.mjs": "e1445ac512ef9597d91b13ac733e5bd0f17b6e8fbdc17d2973c802a50586cefc",
1406
+ "scripts/generate-nightly-e2e-guard-certificate.mjs": "bbd5a4f2f3b3e69dcc6466a7dcf96a024e2538bb3568c4b079e8c0d9d914e65e",
1406
1407
  "scripts/generate-npm-updater-helper-graph.mjs": "f128835f309f5a4b8d2015d57018da44fd558778efa4eed382747c6d6319260a",
1407
1408
  "scripts/generate-phrase-manifest.mjs": "4d3d0fa126dacaee166940d959ddfad1a67ec954ee1f8b8425beb27f791238d9",
1408
1409
  "scripts/generate-readiness-questionnaire.mjs": "7791e787f070c3c9637cce39a0759fd4d431d099fa8e0b0b4f7ecac209dd673d",
@@ -1535,7 +1536,7 @@
1535
1536
  "scripts/test-intent-routing.sh": "97b9dc86cbd805df8a7fdb8c99ffab9b8c5e751ba2e84c05420b2a124f80635d",
1536
1537
  "scripts/test-timing-report.d.mts": "f98c0d1e26c75361614a6d77ebba0082c15e2f22ba2f6ff08fabbe3a14dec716",
1537
1538
  "scripts/test-timing-report.mjs": "ac98aac3ecf547da67f2a40f44c008e6fdc7b7682b38080ac46e12d41b6309b6",
1538
- "scripts/two-channel-couplings.json": "9835d8147b04ce390709ddca05bb66f56866a4fb4a8c6df06b6e2a9a1a5e53ad",
1539
+ "scripts/two-channel-couplings.json": "c20dec9ac8511d14d85b3f0e547e1af6b19dbe1e30ac9598d7f048f7d4f09845",
1539
1540
  "scripts/update-node-version.ts": "55ba1bad88d905f84896cad814dac810ac0fa80f9d9f8402ca2a4512701123d9",
1540
1541
  "scripts/update-test-skill-paths.mjs": "e26a3ac716c33013e22bf5223a58457452f5af2038218a0e3a51c244eab5ddc9",
1541
1542
  "scripts/verify-health-agentic-built.mjs": "4b0d20b2c94390ff6f5af881fc50c5c225215a282891db0b3e3d84a7e6455367",
@@ -1570,7 +1571,7 @@
1570
1571
  "typescript/copy-overwrite/.github/GITHUB_ACTIONS.md": "c34cae58dfc3f8543b5efc8479063ccd8dbfa8389e05190fe86ed4832339f165",
1571
1572
  "typescript/copy-overwrite/.lintstagedrc.json": "773a3e0a2bc20b69a16fc247e74c76eeb20ced8fae654702190bdfade964e364",
1572
1573
  "typescript/copy-overwrite/.nvmrc": "73fb1b615e2043a933be1c0895cde4358036acc28d785692509b822aa53c761f",
1573
- "typescript/copy-overwrite/.prettierignore": "9a65cbe0327c51fabdc263ac6472d993de5403566f1f970a799cc3644c00618c",
1574
+ "typescript/copy-overwrite/.prettierignore": "db7a0c8b4cfc7956a7bc7a36c29d6c55252116a4d217d4f64e8bf9937b5103d6",
1574
1575
  "typescript/copy-overwrite/.prettierrc.json": "a20621f79a064486fba53cc0ea3000a2ece3f312ff38495c6a6606a27d2a727c",
1575
1576
  "typescript/copy-overwrite/.versionrc": "96d51e3087892bb795788dbd0ca3e5ebe7b67252e58adae5bbc469eaf424af35",
1576
1577
  "typescript/copy-overwrite/.yamllint": "685de50b905e024ac8882cdf6443850e96a44744ac03366cae636ceb384dd4e0",
@@ -1595,6 +1596,7 @@
1595
1596
  "typescript/copy-overwrite/scripts/lib/bounded-spawn.mjs": "72e277ada531914d7bc51c3cb8dc67b8881aa817d96fa2f9f4d81668a3d3bbc1",
1596
1597
  "typescript/copy-overwrite/scripts/lib/invoked-as-script.mjs": "fbb9b88fc85a3e22f21af39e1c17acf67ff83fc6b5a6cdc8081bde333c48faa7",
1597
1598
  "typescript/copy-overwrite/scripts/lisa-mutation.mjs": "9897bb65a2bcc35d5977908aacc4317fa282fae5fa7d4b17db626e7289d07253",
1599
+ "typescript/copy-overwrite/scripts/lisa-typecheck.mjs": "53b180dfb891c2167614d60a230ce5e9f64703a64a3a38f0da831aedaf65f6b9",
1598
1600
  "typescript/copy-overwrite/scripts/nightly-e2e-provider-action.mjs": "640b65e1caba4ba33e19e4a1ff49f869a99c15eb7d59a88498a5b2466acf438e",
1599
1601
  "typescript/copy-overwrite/scripts/nightly-e2e-provider-github-jira.mjs": "47251877ad7053036a748e9fe5b795198b6b058365a77421ef7b90cf8a35e0bc",
1600
1602
  "typescript/copy-overwrite/scripts/nightly-e2e-provider-linear-sentry.mjs": "1d536a57b13582553347c39c128baba5912182fe4b2b1f522e5aed453979db89",
@@ -1627,7 +1629,7 @@
1627
1629
  "typescript/github-rulesets/quality-checks.json": "3aa1c6dbc703ad2ecd87c6f7fdff1aae118696dba95c9795c2c954c6b8a444d9",
1628
1630
  "typescript/merge/.claude/settings.json": "a303e80206bc8051934633bd15181198e83f37ee82d01e0fc56eb084891999ac",
1629
1631
  "typescript/merge/.oxlintrc.json": "9504c20db80470c242c4ffe8cccad6951ed8141dfb5bf6503053e0b2712ab276",
1630
- "typescript/package-lisa/package.lisa.json": "dbeb4edc86f340079663b4b514838518408b7369097218b99052f2d36b9755ff"
1632
+ "typescript/package-lisa/package.lisa.json": "b9eb08110e6b150f450957881477b68f9bd0102ed1dabf6e1ecc96996609cb17"
1631
1633
  },
1632
1634
  "UPSTREAM_SURFACE_MANIFEST": {
1633
1635
  ".agents/rules/never-name-downstream-projects.md": true,
@@ -9332,6 +9334,7 @@
9332
9334
  "rails/copy-overwrite/ast-grep/utils/.gitkeep": true,
9333
9335
  "rails/copy-overwrite/config/initializers/version.rb": true,
9334
9336
  "rails/copy-overwrite/lefthook.yml": true,
9337
+ "rails/copy-overwrite/scripts/check-nightly-e2e-health.mjs": true,
9335
9338
  "rails/copy-overwrite/scripts/check-threshold-ratchet.mjs": true,
9336
9339
  "rails/copy-overwrite/scripts/lisa-rails-ast-grep.mjs": true,
9337
9340
  "rails/copy-overwrite/scripts/lisa-rails-gates.mjs": true,
@@ -9724,6 +9727,10 @@
9724
9727
  "src/cli/gate-report-upstream.ts": true,
9725
9728
  "src/cli/gate-report.ts": true,
9726
9729
  "src/cli/gh-cli.ts": true,
9730
+ "src/cli/github-read-issue-cmd.ts": true,
9731
+ "src/cli/github-reader-relationships.ts": true,
9732
+ "src/cli/github-reader-target.ts": true,
9733
+ "src/cli/github-reader-wire.ts": true,
9727
9734
  "src/cli/health-cmd.ts": true,
9728
9735
  "src/cli/hook-refresh-files.ts": true,
9729
9736
  "src/cli/index.ts": true,
@@ -10059,6 +10066,7 @@
10059
10066
  "src/controls/secret-scan-json.ts": true,
10060
10067
  "src/controls/secret-scan.ts": true,
10061
10068
  "src/controls/secret-shapes.ts": true,
10069
+ "src/controls/shipped-parts.ts": true,
10062
10070
  "src/controls/threshold-proposal.ts": true,
10063
10071
  "src/controls/tracker-config.ts": true,
10064
10072
  "src/controls/tracker-question.ts": true,
@@ -10343,6 +10351,7 @@
10343
10351
  "src/strategies/package-lisa-host-pins.ts": true,
10344
10352
  "src/strategies/package-lisa-manifest-guards.ts": true,
10345
10353
  "src/strategies/package-lisa-pin-alignment.ts": true,
10354
+ "src/strategies/package-lisa-range-intersection.ts": true,
10346
10355
  "src/strategies/package-lisa-script-notes.ts": true,
10347
10356
  "src/strategies/package-lisa-template-apply.ts": true,
10348
10357
  "src/strategies/package-lisa-template-merge.ts": true,
@@ -10926,6 +10935,7 @@
10926
10935
  "tests/integration/maestro-pre-suite-exports.test.ts": true,
10927
10936
  "tests/integration/maestro-pre-suite-seam.test.ts": true,
10928
10937
  "tests/integration/maestro-run-id.test.ts": true,
10938
+ "tests/integration/managed-host-typecheck.test.ts": true,
10929
10939
  "tests/integration/mjs-suite-runner-resolution.test.ts": true,
10930
10940
  "tests/integration/mutation-gate-bite.test.ts": true,
10931
10941
  "tests/integration/mutation-gate-diff-bite.test.ts": true,
@@ -11165,6 +11175,7 @@
11165
11175
  "tests/support/evidence-prune-fake-gh.ts": true,
11166
11176
  "tests/support/evidence-prune-harness.ts": true,
11167
11177
  "tests/support/git-executable.ts": true,
11178
+ "tests/support/github-reader-fixture.ts": true,
11168
11179
  "tests/support/host-name-guard-fixture.ts": true,
11169
11180
  "tests/support/letter-case.ts": true,
11170
11181
  "tests/support/no-manifest-run.ts": true,
@@ -11816,6 +11827,7 @@
11816
11827
  "tests/unit/controls/secret-scan.test.ts": true,
11817
11828
  "tests/unit/controls/secret-shapes-parity.test.ts": true,
11818
11829
  "tests/unit/controls/seed-manifest.test.ts": true,
11830
+ "tests/unit/controls/seed-parts.test.ts": true,
11819
11831
  "tests/unit/controls/seed.test.ts": true,
11820
11832
  "tests/unit/controls/skill-statements.test.ts": true,
11821
11833
  "tests/unit/controls/support/attest-pull-request-run.ts": true,
@@ -13042,6 +13054,7 @@
13042
13054
  "tests/unit/session-manager/workers-name-roundtrip.test.ts": true,
13043
13055
  "tests/unit/session-manager/workers-setup-gap.test.ts": true,
13044
13056
  "tests/unit/session-manager/workers.test.ts": true,
13057
+ "tests/unit/skills/github-reader-projects-optional.test.ts": true,
13045
13058
  "tests/unit/skills/lisa-track-estimate-contract.test.ts": true,
13046
13059
  "tests/unit/skills/pushing-skills-run-lisa-check.test.ts": true,
13047
13060
  "tests/unit/skills/secrets-provider-timeout-message.test.ts": true,
@@ -13195,6 +13208,7 @@
13195
13208
  "tests/unit/strategies/monitor-threshold-compatibility.test.ts": true,
13196
13209
  "tests/unit/strategies/package-lisa-audit-script-governance.test.ts": true,
13197
13210
  "tests/unit/strategies/package-lisa-cdk-oidc.test.ts": true,
13211
+ "tests/unit/strategies/package-lisa-crossed-floors.test.ts": true,
13198
13212
  "tests/unit/strategies/package-lisa-dependency-adopt-loaders.test.ts": true,
13199
13213
  "tests/unit/strategies/package-lisa-dependency-adopt.test.ts": true,
13200
13214
  "tests/unit/strategies/package-lisa-dev-engines.test.ts": true,
@@ -13435,6 +13449,7 @@
13435
13449
  "typescript/copy-overwrite/scripts/lib/bounded-spawn.mjs": true,
13436
13450
  "typescript/copy-overwrite/scripts/lib/invoked-as-script.mjs": true,
13437
13451
  "typescript/copy-overwrite/scripts/lisa-mutation.mjs": true,
13452
+ "typescript/copy-overwrite/scripts/lisa-typecheck.mjs": true,
13438
13453
  "typescript/copy-overwrite/scripts/nightly-e2e-provider-action.mjs": true,
13439
13454
  "typescript/copy-overwrite/scripts/nightly-e2e-provider-github-jira.mjs": true,
13440
13455
  "typescript/copy-overwrite/scripts/nightly-e2e-provider-linear-sentry.mjs": true,
@@ -14834,6 +14849,7 @@
14834
14849
  "107965078334e19dbb9183a6a04ef71280fa9db3": true,
14835
14850
  "107ac666c5c0ea24bfc443b69e67aa03813ced5d": true,
14836
14851
  "107bcae506ecd74d76d301cb58c1d929b9b31a26": true,
14852
+ "107d7808646886f82cf421f5fddab6d611a13efe": true,
14837
14853
  "1080b003719d5471d3e5089295c021c02356537e": true,
14838
14854
  "1087dfe143479ac1f41db5bada68bd29d7e698e2": true,
14839
14855
  "1089861923c709e966cf9480162cabac1e72418d": true,
@@ -14926,6 +14942,7 @@
14926
14942
  "121f14e6bd67eab591175962935fa4a1d0709a4e": true,
14927
14943
  "1220e73eb31ee7bdb106165cd91b78227ce48d96": true,
14928
14944
  "12215f861f4354a18738e4dbb82775da17742353": true,
14945
+ "1222def6da559e5953a4cab78ff08028d974f72a": true,
14929
14946
  "122a98389af41a0e7ba7bbc2f944b95bf489a977": true,
14930
14947
  "1237100165af3836c974a46a8bddae8167255132": true,
14931
14948
  "123cbb45a174a51af07ead084e17e2e2dda93b45": true,
@@ -17116,6 +17133,7 @@
17116
17133
  "33cbfbf63d86e850af75347e15aa5deb80a0bfac": true,
17117
17134
  "33d10e3a37e86c3fb3183fda75a30e4df4eaf7c3": true,
17118
17135
  "33d3bb22365b517440fa55e4bbd8e1d14bbbb07e": true,
17136
+ "33d7af219c76ba09f545154a465196f66b77dc7e": true,
17119
17137
  "33da6b663f232fba59caed80856bee07dbf0dfab": true,
17120
17138
  "33daf77d078c48d2528ee6177aad18fe346b463a": true,
17121
17139
  "33dd1c4a5366d65815ead0b03220bce75a5dfeed": true,
@@ -17771,6 +17789,7 @@
17771
17789
  "3d5f89a8100541d68ed6a4d2af8dd4ea38ada1cf": true,
17772
17790
  "3d62a9e9e2d43235653a662f7dde50ee621e5414": true,
17773
17791
  "3d66b2bb3d39d9c370e41d676ca9a72ccedddd1c": true,
17792
+ "3d6aa529ce97ecc6249cf788423781dbcaa0464c": true,
17774
17793
  "3d70be0067e070c874411dae585e837ed79bec81": true,
17775
17794
  "3d759e3b60352c9a195e364b0106067ee5abeef7": true,
17776
17795
  "3d76f4aee5fa08f4c1d9b8c9233f9a507aafc366": true,
@@ -18471,6 +18490,7 @@
18471
18490
  "483ed4b35bb474833f27cf105c4e4c172435e87e": true,
18472
18491
  "48547387e1ad0df94097642c5cadb5ff1b5daa45": true,
18473
18492
  "48565dc3b9cefe589bbc524709faa8b47320c4d8": true,
18493
+ "485a03775132e83446a1009df8fc4c4b7c44a159": true,
18474
18494
  "485c42b27f1fb9de303f1a2230253c36692e1564": true,
18475
18495
  "48645129d756bbde93d57cb9798b4e8c621faee5": true,
18476
18496
  "486708db0470afa2e8340f3cc0817204694aa526": true,
@@ -18686,6 +18706,7 @@
18686
18706
  "4b8f1136bb27413b7534e645ae8a639a6d958175": true,
18687
18707
  "4b9142112edffa4aceaa70cc5c44efa00367a64e": true,
18688
18708
  "4b93dc23a07bbd2fc84c5a3eb61b9a067037b1a6": true,
18709
+ "4b9a0bbdb0d0f9227740fa7411da4470c6004864": true,
18689
18710
  "4b9c67e649de551bd2e2dc3ae1ca8cdeec6770e2": true,
18690
18711
  "4b9e0020bba226b73cd67d3fe97bdb3f74bf0048": true,
18691
18712
  "4ba107a963b2baae29f5212c674bb4598a0c512f": true,
@@ -18777,6 +18798,7 @@
18777
18798
  "4ce697fa6db40f5f9c9b229a4bb0dc82b2bab0ad": true,
18778
18799
  "4ce872ebcc05afb00b828eb3f2dfa4322b5d75d8": true,
18779
18800
  "4ce8fd4db1e057d5a0cff77acf9496ab9020c5e4": true,
18801
+ "4cec70d2f0fd7dbe73be4fa55f94e22c6b577acd": true,
18780
18802
  "4cfcba502cbc5530e04b5cb11ebe4fe440ad05ec": true,
18781
18803
  "4cfe629288f491bcd84c3a6356e07ca1e231b2e6": true,
18782
18804
  "4d07597380066ed2e8943c251f91b7cebf424e66": true,
@@ -21506,6 +21528,7 @@
21506
21528
  "756248b82fd7ee407fdbf3bcb0e21765afc3ac2f": true,
21507
21529
  "7567e1a63155468fc5f28679b101e3dab295ab34": true,
21508
21530
  "756a01cb990889569814d47c5f250926622abdce": true,
21531
+ "756f3329f9217f9beb2c67af53f96e9303d4735d": true,
21509
21532
  "756f3837fcf7ee72841a13a69812980c88067f43": true,
21510
21533
  "7570db302af58e9bd2bfa898d838beff1a64d298": true,
21511
21534
  "757186897ddd012da56d04bc78ab337d8ce7f71f": true,
@@ -21666,6 +21689,7 @@
21666
21689
  "77f31b7f3b5701b52d158ae63015212acf8be6e4": true,
21667
21690
  "77fd442ed3748bb9e4f527815f1008ee1d7ae21b": true,
21668
21691
  "77fd81134c0320e086374ae46125de53257be379": true,
21692
+ "77fe73cc499a7ca599351660a314f5289fbb8a58": true,
21669
21693
  "78025379e3e155a7ff3b4e348fcc8fe43fbb58e1": true,
21670
21694
  "7803ab05a43475428f35d00e3370edb8bb876dc0": true,
21671
21695
  "780a22bf86b8c5192dc0e8b2c45d9afce8f20f39": true,
@@ -23507,6 +23531,7 @@
23507
23531
  "94d0cb3beea358fdc164849853e37748647806a8": true,
23508
23532
  "94d322a95e865f33c3c170381494528d7f52c60b": true,
23509
23533
  "94d99c3e0408562a45b2334e4b86bdbce9e5b13d": true,
23534
+ "94db7f9b2345d0ffb3ec27080b142382f9b85e6a": true,
23510
23535
  "94e1b3a4c90cb68c909ec15a18cddc14cc1f36d9": true,
23511
23536
  "94ee50b1a9285f6677189810db3b7c404c7701c1": true,
23512
23537
  "94ef9b73967f6e82a4d058763c6a5155ec83dcd5": true,
@@ -25792,6 +25817,7 @@
25792
25817
  "b61890c400df911e83f0faf57fb39c1f6df64eb1": true,
25793
25818
  "b61a8160dd9cf79038120b91416767b544f4a9db": true,
25794
25819
  "b61b95ed0b822cb5f4a368f698b1a99f85e18082": true,
25820
+ "b61c00dbc97fb1442c2066665c3fe756703cb6bf": true,
25795
25821
  "b6220ba91223563d29589d38b1772ee932b99186": true,
25796
25822
  "b62408d8d043281b18b6230bc8493659459b1e78": true,
25797
25823
  "b628ce8106c7dd793f9235bb2c64bfc6e53548cd": true,
@@ -27699,6 +27725,7 @@
27699
27725
  "d2266340ed26bcabdf748f6685871c497456cf7a": true,
27700
27726
  "d23251902c788fb1052d90bbb25c829307017e78": true,
27701
27727
  "d232673dc00fd899e3f848a118db817edeb6e961": true,
27728
+ "d2362b16a651aefda727fa451136834a636e3b42": true,
27702
27729
  "d2389d115df0f2b1cbf2d402fb82d5ecb94b44cd": true,
27703
27730
  "d2399d21b8c87b65ec2ba5a0124ed865aeecf37e": true,
27704
27731
  "d23b9a2d17aeea89c21409350a8889c241dd64d0": true,
@@ -2,12 +2,10 @@ import type { PackageJsonPlan } from "./package-lisa-types.js";
2
2
  /**
3
3
  * Restore host dependency pins that sit ABOVE Lisa's template.
4
4
  * @remarks
5
- * Every `force` pin exists to push a project PAST a CVE, so it is a security
6
- * FLOOR — not an assignment. Phase 1 applies it with `deepMerge`, where Lisa's
7
- * value wins unconditionally, and that is only correct while the template is the
8
- * higher of the two. The moment a host raises a pin beyond the template (or the
9
- * template simply lags a fresh advisory), the same "security write" silently
10
- * walks the host BACKWARDS into the vulnerable range it had already escaped.
5
+ * A forced dependency range can set a security floor and a compatibility cap.
6
+ * Phase 1 applies it with `deepMerge`, where Lisa's value wins unconditionally.
7
+ * A host that has raised its floor can therefore be sent back into a vulnerable
8
+ * range it had already escaped without this additional comparison.
11
9
  *
12
10
  * This is not hypothetical: a caller repo in the portfolio pinned at
13
11
  * `dependencies.tar >=7.5.21` was reverted to `>=7.5.19` on every `bun install`,
@@ -24,10 +22,8 @@ import type { PackageJsonPlan } from "./package-lisa-types.js";
24
22
  * - Host floor above Lisa's AND the host range is a subset of Lisa's: the host
25
23
  * admits only versions Lisa allows, so it is provably the stricter of the
26
24
  * two. Keep the host.
27
- * - Host floor above Lisa's and neither range contains the other: both sides
28
- * carry a constraint the other drops. Lisa cannot decide it, so it REFUSES
29
- * and names both rather than picking one — silently picking one is how a
30
- * lowered floor shipped in the first place.
25
+ * - Host floor above Lisa's with crossing ranges: use the versions admitted
26
+ * by both ranges. Refuse when the ranges share no versions.
31
27
  *
32
28
  * A value that cannot be parsed — npm's `"$name"` self-references, git URLs,
33
29
  * `workspace:*` — is left as Phase 1 produced it, so this can only ever RAISE
@@ -35,8 +31,7 @@ import type { PackageJsonPlan } from "./package-lisa-types.js";
35
31
  * @param projectJson - The host package.json as it was before Phase 1.
36
32
  * @param afterForce - The result of Phase 1's force merge.
37
33
  * @param fileName - Basename used in error messages.
38
- * @throws {JsonMergeError} when a host pin is higher but the two ranges are
39
- * incomparable.
34
+ * @throws {JsonMergeError} when a higher host pin and Lisa's pin have no overlap.
40
35
  * @returns `afterForce` with host-side higher pins restored, plus notes.
41
36
  */
42
37
  export declare function preserveHigherHostPins(projectJson: Record<string, unknown>, afterForce: Record<string, unknown>, fileName: string): PackageJsonPlan;
@@ -1 +1 @@
1
- {"version":3,"file":"package-lisa-host-pins.d.ts","sourceRoot":"","sources":["../../src/strategies/package-lisa-host-pins.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AA6B/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACpC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACnC,QAAQ,EAAE,MAAM,GACf,eAAe,CA4BjB"}
1
+ {"version":3,"file":"package-lisa-host-pins.d.ts","sourceRoot":"","sources":["../../src/strategies/package-lisa-host-pins.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAgC/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACpC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACnC,QAAQ,EAAE,MAAM,GACf,eAAe,CA4BjB"}
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * @file package-lisa-host-pins.ts
3
3
  * @description Phase 1 floor guard of the package-lisa apply: restore host
4
- * dependency pins that provably sit above Lisa's forced floor, and refuse when
5
- * neither range can be proven ahead.
4
+ * dependency floors above Lisa's forced floor and retain shared constraints.
6
5
  * @module strategies
7
6
  */
8
7
  import semver from "semver";
9
8
  import { asRecord, DIRECT_DEPENDENCY_SECTIONS, OVERRIDE_SECTIONS, } from "../core/override-floors.js";
10
9
  import { JsonMergeError } from "../errors/index.js";
10
+ import { intersectDependencyRanges } from "./package-lisa-range-intersection.js";
11
11
  /**
12
12
  * Every section whose forced values are a version FLOOR rather than an
13
13
  * assignment, and which therefore may never be merged downwards.
@@ -26,12 +26,10 @@ const FLOOR_SECTIONS = [
26
26
  /**
27
27
  * Restore host dependency pins that sit ABOVE Lisa's template.
28
28
  * @remarks
29
- * Every `force` pin exists to push a project PAST a CVE, so it is a security
30
- * FLOOR — not an assignment. Phase 1 applies it with `deepMerge`, where Lisa's
31
- * value wins unconditionally, and that is only correct while the template is the
32
- * higher of the two. The moment a host raises a pin beyond the template (or the
33
- * template simply lags a fresh advisory), the same "security write" silently
34
- * walks the host BACKWARDS into the vulnerable range it had already escaped.
29
+ * A forced dependency range can set a security floor and a compatibility cap.
30
+ * Phase 1 applies it with `deepMerge`, where Lisa's value wins unconditionally.
31
+ * A host that has raised its floor can therefore be sent back into a vulnerable
32
+ * range it had already escaped without this additional comparison.
35
33
  *
36
34
  * This is not hypothetical: a caller repo in the portfolio pinned at
37
35
  * `dependencies.tar >=7.5.21` was reverted to `>=7.5.19` on every `bun install`,
@@ -48,10 +46,8 @@ const FLOOR_SECTIONS = [
48
46
  * - Host floor above Lisa's AND the host range is a subset of Lisa's: the host
49
47
  * admits only versions Lisa allows, so it is provably the stricter of the
50
48
  * two. Keep the host.
51
- * - Host floor above Lisa's and neither range contains the other: both sides
52
- * carry a constraint the other drops. Lisa cannot decide it, so it REFUSES
53
- * and names both rather than picking one — silently picking one is how a
54
- * lowered floor shipped in the first place.
49
+ * - Host floor above Lisa's with crossing ranges: use the versions admitted
50
+ * by both ranges. Refuse when the ranges share no versions.
55
51
  *
56
52
  * A value that cannot be parsed — npm's `"$name"` self-references, git URLs,
57
53
  * `workspace:*` — is left as Phase 1 produced it, so this can only ever RAISE
@@ -59,8 +55,7 @@ const FLOOR_SECTIONS = [
59
55
  * @param projectJson - The host package.json as it was before Phase 1.
60
56
  * @param afterForce - The result of Phase 1's force merge.
61
57
  * @param fileName - Basename used in error messages.
62
- * @throws {JsonMergeError} when a host pin is higher but the two ranges are
63
- * incomparable.
58
+ * @throws {JsonMergeError} when a higher host pin and Lisa's pin have no overlap.
64
59
  * @returns `afterForce` with host-side higher pins restored, plus notes.
65
60
  */
66
61
  export function preserveHigherHostPins(projectJson, afterForce, fileName) {
@@ -75,7 +70,7 @@ export function preserveHigherHostPins(projectJson, afterForce, fileName) {
75
70
  ...plan.packageJson,
76
71
  [section]: {
77
72
  ...forcedSection,
78
- ...Object.fromEntries(preserved.map(pin => [pin.name, pin.hostRange])),
73
+ ...Object.fromEntries(preserved.map(pin => [pin.name, pin.selectedRange])),
79
74
  },
80
75
  },
81
76
  notes: [...plan.notes, ...preserved.map(formatPreservedPinNote)],
@@ -88,7 +83,7 @@ export function preserveHigherHostPins(projectJson, afterForce, fileName) {
88
83
  * @param hostSection - The host's entries for this section, pre-merge
89
84
  * @param forcedSection - The entries Phase 1 produced for this section
90
85
  * @param fileName - Basename used in error messages
91
- * @throws {JsonMergeError} on the first incomparable pin
86
+ * @throws {JsonMergeError} on the first disjoint pair of pins
92
87
  * @returns Pins whose host value must be restored
93
88
  */
94
89
  function collectPreservedPins(section, hostSection, forcedSection, fileName) {
@@ -104,17 +99,20 @@ function collectPreservedPins(section, hostSection, forcedSection, fileName) {
104
99
  hostRange: hostValue,
105
100
  forcedRange: forcedValue,
106
101
  };
107
- if (verdict === "incomparable") {
108
- throw new JsonMergeError(fileName, formatIncomparablePinMessage(pin));
102
+ const selectedRange = verdict === "host"
103
+ ? pin.hostRange
104
+ : intersectDependencyRanges(pin.hostRange, pin.forcedRange);
105
+ if (selectedRange === null) {
106
+ throw new JsonMergeError(fileName, formatDisjointPinMessage(pin));
109
107
  }
110
- return [pin];
108
+ return [{ ...pin, selectedRange }];
111
109
  });
112
110
  }
113
111
  /**
114
112
  * Decide what to do with one dependency where host and template disagree.
115
113
  * @param hostValue - The host's range for this dependency.
116
114
  * @param forcedValue - The range Phase 1 wrote for the same dependency.
117
- * @returns Which side wins, or `incomparable` when neither can be proven ahead.
115
+ * @returns Which side wins, or `check-overlap` to keep both constraints.
118
116
  */
119
117
  function classifyHostPin(hostValue, forcedValue) {
120
118
  if (typeof hostValue !== "string" || typeof forcedValue !== "string") {
@@ -127,7 +125,7 @@ function classifyHostPin(hostValue, forcedValue) {
127
125
  !semver.gt(hostFloor, forcedFloor)) {
128
126
  return "template";
129
127
  }
130
- return rangeContains(forcedValue, hostValue) ? "host" : "incomparable";
128
+ return rangeContains(forcedValue, hostValue) ? "host" : "check-overlap";
131
129
  }
132
130
  /**
133
131
  * npm's exclusive-ceiling convention: the lowest possible prerelease of the
@@ -219,24 +217,25 @@ function rangeContains(outer, inner) {
219
217
  * @returns Human-readable note for apply output
220
218
  */
221
219
  function formatPreservedPinNote(pin) {
220
+ if (pin.selectedRange !== pin.hostRange) {
221
+ return (`Set ${pin.section}.${pin.name} to ${JSON.stringify(pin.selectedRange)}, ` +
222
+ `the overlap between the host's ${JSON.stringify(pin.hostRange)} and Lisa's ${JSON.stringify(pin.forcedRange)}.`);
223
+ }
222
224
  return (`Kept host ${pin.section}.${pin.name} ${JSON.stringify(pin.hostRange)}: ` +
223
225
  `it admits only versions Lisa's ${JSON.stringify(pin.forcedRange)} allows ` +
224
226
  `and starts higher, so applying the template would lower the host's floor.`);
225
227
  }
226
228
  /**
227
- * Format the refusal for a host pin Lisa cannot prove itself ahead of.
228
- * @param pin - The pin that could not be decided, with both ranges
229
+ * Format the refusal for disjoint dependency ranges.
230
+ * @param pin - Both ranges of the dependency.
229
231
  * @returns Human-readable error message naming both ranges
230
232
  */
231
- function formatIncomparablePinMessage(pin) {
233
+ function formatDisjointPinMessage(pin) {
232
234
  return (`${pin.section}.${pin.name} cannot be merged: the host range ` +
233
235
  `${JSON.stringify(pin.hostRange)} starts above Lisa's ` +
234
- `${JSON.stringify(pin.forcedRange)}, but neither range contains the other, ` +
235
- `so each admits versions the other forbids and Lisa cannot prove which is ` +
236
- `correct. Overwriting the host here is how a hardened floor gets silently ` +
237
- `lowered, so this apply stops instead. Reconcile the two by hand: pick one ` +
238
- `range in the host package.json that satisfies both constraints, or raise ` +
239
- `Lisa's template pin to cover the host's.`);
236
+ `${JSON.stringify(pin.forcedRange)}, and the two ranges share no versions. ` +
237
+ `Review the dependency constraints and update the host pin or Lisa's template ` +
238
+ `to agree on which versions can be installed.`);
240
239
  }
241
240
  /**
242
241
  * Resolve the lowest version a range admits.
@@ -1 +1 @@
1
- {"version":3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,CAAC,aAAa,KAAK,GAAG,CAAC,SAAS,EAAE,CAAC;QACxC,OAAO,CACL,OAAO,GAAG,CAAC,OAAO,IAAI,GAAG,CAAC,IAAI,OAAO,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI;YAC1E,kCAAkC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,eAAe,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CACjH,CAAC;IACJ,CAAC;IACD,OAAO,CACL,aAAa,GAAG,CAAC,OAAO,IAAI,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI;QACzE,kCAAkC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,WAAW,CAAC,UAAU;QAC3E,2EAA2E,CAC5E,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,SAAS,wBAAwB,CAAC,GAAc;IAC9C,OAAO,CACL,GAAG,GAAG,CAAC,OAAO,IAAI,GAAG,CAAC,IAAI,oCAAoC;QAC9D,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,uBAAuB;QACvD,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,WAAW,CAAC,0CAA0C;QAC5E,+EAA+E;QAC/E,8CAA8C,CAC/C,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,SAAS,UAAU,CAAC,KAAa;IAC/B,IAAI,CAAC;QACH,OAAO,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,OAAO,IAAI,IAAI,CAAC;IACnD,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Find every version npm admits in both valid ranges.
3
+ * @param host - The host's dependency range.
4
+ * @param forced - Lisa's dependency range.
5
+ * @returns A range for the intersection, or null when it is empty.
6
+ */
7
+ export declare function intersectDependencyRanges(host: string, forced: string): string | null;
8
+ //# sourceMappingURL=package-lisa-range-intersection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"package-lisa-range-intersection.d.ts","sourceRoot":"","sources":["../../src/strategies/package-lisa-range-intersection.ts"],"names":[],"mappings":"AAoEA;;;;;GAKG;AACH,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,GACb,MAAM,GAAG,IAAI,CAMf"}
@@ -0,0 +1,73 @@
1
+ import semver from "semver";
2
+ /**
3
+ * The release core an npm comparator opts into for prerelease matching.
4
+ * @param comparator - Comparator from a parsed npm range.
5
+ * @returns The release core for an explicit prerelease comparator.
6
+ */
7
+ function prereleaseCore(comparator) {
8
+ if (comparator.value === "" || comparator.semver.prerelease.length === 0) {
9
+ return null;
10
+ }
11
+ const { major, minor, patch } = comparator.semver;
12
+ return `${major}.${minor}.${patch}`;
13
+ }
14
+ /**
15
+ * Project a comparator onto stable releases, excluding any prerelease opt-in.
16
+ * @param comparator - Comparator from a parsed npm range.
17
+ * @returns A stable comparator, or null when it selects only a prerelease.
18
+ */
19
+ function stableComparator(comparator) {
20
+ const core = prereleaseCore(comparator);
21
+ if (core === null)
22
+ return comparator.value;
23
+ if (comparator.operator.startsWith(">"))
24
+ return `>=${core}`;
25
+ if (comparator.operator.startsWith("<"))
26
+ return `<${core}`;
27
+ return null;
28
+ }
29
+ /**
30
+ * Remove duplicate and wildcard comparators from an intersection clause.
31
+ * @param comparators - Already parsed or constructed comparator strings.
32
+ * @returns A comparator set accepted by npm.
33
+ */
34
+ function clause(comparators) {
35
+ return [...new Set(comparators.filter(Boolean))].join(" ") || "*";
36
+ }
37
+ /**
38
+ * Intersect two comparator sets under npm's prerelease rules.
39
+ * @param left - The host's comparators for one arm of its range.
40
+ * @param right - Lisa's comparators for one arm of its range.
41
+ * @returns Stable and shared-prerelease clauses.
42
+ */
43
+ function intersectClauses(left, right) {
44
+ const combined = [...left, ...right];
45
+ const stable = combined.map(stableComparator);
46
+ const stableArm = stable.every(value => value !== null)
47
+ ? [clause(stable)]
48
+ : [];
49
+ const rightCores = new Set(right.map(prereleaseCore));
50
+ const sharedCores = new Set(left
51
+ .map(prereleaseCore)
52
+ .filter(core => core !== null && rightCores.has(core)));
53
+ const prereleaseArms = [...sharedCores].map(core => clause([
54
+ ...combined.map(comparator => comparator.value),
55
+ `>=${core}-0`,
56
+ `<${core}`,
57
+ ]));
58
+ return [...stableArm, ...prereleaseArms];
59
+ }
60
+ /**
61
+ * Find every version npm admits in both valid ranges.
62
+ * @param host - The host's dependency range.
63
+ * @param forced - Lisa's dependency range.
64
+ * @returns A range for the intersection, or null when it is empty.
65
+ */
66
+ export function intersectDependencyRanges(host, forced) {
67
+ const forcedSets = new semver.Range(forced).set;
68
+ const validArms = new semver.Range(host).set
69
+ .flatMap(left => forcedSets.flatMap(right => intersectClauses(left, right)))
70
+ .filter(arm => semver.minVersion(arm) !== null);
71
+ return validArms.length === 0 ? null : [...new Set(validArms)].join(" || ");
72
+ }
73
+ //# sourceMappingURL=package-lisa-range-intersection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"package-lisa-range-intersection.js","sourceRoot":"","sources":["../../src/strategies/package-lisa-range-intersection.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B;;;;GAIG;AACH,SAAS,cAAc,CAAC,UAA6B;IACnD,IAAI,UAAU,CAAC,KAAK,KAAK,EAAE,IAAI,UAAU,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACzE,OAAO,IAAI,CAAC;IACd,CAAC;IACD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,UAAU,CAAC,MAAM,CAAC;IAClD,OAAO,GAAG,KAAK,IAAI,KAAK,IAAI,KAAK,EAAE,CAAC;AACtC,CAAC;AAED;;;;GAIG;AACH,SAAS,gBAAgB,CAAC,UAA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