@codyswann/lisa 8.2.3 → 8.2.5

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 (69) hide show
  1. package/all/copy-overwrite/scripts/check-npm-publish-landed.mjs +16 -4
  2. package/dist/core/lisa-owned-hash-ledger.json +4 -0
  3. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  4. package/dist/core/upstream-evidence-manifest.json +20 -2
  5. package/package.json +4 -4
  6. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  7. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  8. package/plugins/lisa-agy/plugin.json +1 -1
  9. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  10. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  11. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  12. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  13. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  14. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  15. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  16. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  17. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  18. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  19. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  20. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  21. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  22. package/plugins/lisa-expo-agy/plugin.json +1 -1
  23. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  24. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  25. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  26. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  27. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  28. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  29. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  30. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  31. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  32. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  33. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  34. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  35. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  36. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  37. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  38. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  39. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  40. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  41. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  42. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  43. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  44. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  45. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  46. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  47. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  48. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  49. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  50. package/plugins/lisa-rails-agy/plugin.json +1 -1
  51. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  52. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  54. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  55. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  56. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  57. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  58. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  59. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  60. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  61. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  62. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  63. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  64. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  65. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  66. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  67. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  68. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  69. package/scripts/check-self-dependency-pin.mjs +105 -30
@@ -157,6 +157,16 @@ export const DEFAULT_MAX_RUNTIME_MS =
157
157
  * margin, and so a future reader can re-measure and contradict it rather than
158
158
  * trusting a bare number. Raise it when a longer propagation is OBSERVED, never
159
159
  * to make a failing release green.
160
+ *
161
+ * OBSERVED LONGER, NOT YET RAISED. `@codyswann/lisa@8.2.4`, 2026-11-20 (Release
162
+ * and Deploy run 44743107550): `npm publish` was accepted at 13:33:04Z, npm's
163
+ * own `time` record for the version reads 14:28:26.191Z, and the reconcile
164
+ * job's check first got a 200 at 14:28:43Z — 55m22s, longer than
165
+ * {@link DEFAULT_WINDOW_MS}. The publish job's check gave up at 14:12:40Z. This
166
+ * value is left at 18m03s for now (CodySwannGT/lisa#5106): raising it would
167
+ * also force the window wider, and that is a separate decision. A landing that
168
+ * late is not lost: the reconcile job in deploy.yml asks again, and treats
169
+ * `published` as a landed release.
160
170
  */
161
171
  export const MEASURED_PROPAGATION_MS = 1_083_000;
162
172
 
@@ -208,11 +218,13 @@ async function askOnce(url, fetchImpl, version, timeout) {
208
218
  headers: { accept: "application/json" },
209
219
  signal: controller.signal,
210
220
  });
211
- if (response.status === 404) {
212
- return { verdict: "missing", detail: "registry returned 404" };
213
- }
214
221
  if (!response.ok) {
215
- return { verdict: "unprovable", detail: `HTTP ${response.status}` };
222
+ // An unread body keeps its socket, and with it the process, alive after
223
+ // the verdict; the deadline is cleared below, so nothing else ends it.
224
+ await response.body?.cancel().catch(() => {});
225
+ return response.status === 404
226
+ ? { verdict: "missing", detail: "registry returned 404" }
227
+ : { verdict: "unprovable", detail: `HTTP ${response.status}` };
216
228
  }
217
229
  const manifest = await response.json();
218
230
  // A 200 that names a different version is not this version being present.
@@ -272,10 +272,12 @@
272
272
  "scripts/check-npm-publish-landed.mjs": [
273
273
  "0c441a2f05cacfb020f5c658595f87bfddf1630388680ec7ca471da3f9aa96dd",
274
274
  "2be5dbf57f3c23d8eacac06930637b9695ef292a58199247bc81ea2e242969b4",
275
+ "316a3d09a7c28a1c9c90f144552d7be68b4fb8c65e191e29534ce1961fd2c3e3",
275
276
  "3ad3bb02a80666ec34b2e11af336f0238471320881c1a00009504099ee92fdef",
276
277
  "64ab045af386169a7f669bd5e90c8bec75f9edd722f7d5ea07ad8fd1d58022a6",
277
278
  "6b20fc72b48c51938bc6e2211821db625d5f908f6ace07b4bbc2f9488e079357",
278
279
  "7a2838530ca2dbfb18b7dfb7be446a92f01c1c87f7035740a300845b95ef82d5",
280
+ "a145f2f4c5c7d31a08c1f52c46c03177a10015dfa2244d6c4fb1126934b6becd",
279
281
  "bba6114e5e4643575749210819acfda207260ac1db5fcb48c33c320c3a9503ca",
280
282
  "e861d7e30851ffdb3a0a0dc0c2f5a6032421583fb23baf79587420247460de90",
281
283
  "e8f70dce15f9dce2b1758fa657d9a279cecc9f8c2a7b69a3bfca86ec37eb2e3f"
@@ -3367,10 +3369,12 @@
3367
3369
  "scripts/check-npm-publish-landed.mjs": [
3368
3370
  "0c441a2f05cacfb020f5c658595f87bfddf1630388680ec7ca471da3f9aa96dd",
3369
3371
  "2be5dbf57f3c23d8eacac06930637b9695ef292a58199247bc81ea2e242969b4",
3372
+ "316a3d09a7c28a1c9c90f144552d7be68b4fb8c65e191e29534ce1961fd2c3e3",
3370
3373
  "3ad3bb02a80666ec34b2e11af336f0238471320881c1a00009504099ee92fdef",
3371
3374
  "64ab045af386169a7f669bd5e90c8bec75f9edd722f7d5ea07ad8fd1d58022a6",
3372
3375
  "6b20fc72b48c51938bc6e2211821db625d5f908f6ace07b4bbc2f9488e079357",
3373
3376
  "7a2838530ca2dbfb18b7dfb7be446a92f01c1c87f7035740a300845b95ef82d5",
3377
+ "a145f2f4c5c7d31a08c1f52c46c03177a10015dfa2244d6c4fb1126934b6becd",
3374
3378
  "bba6114e5e4643575749210819acfda207260ac1db5fcb48c33c320c3a9503ca",
3375
3379
  "e861d7e30851ffdb3a0a0dc0c2f5a6032421583fb23baf79587420247460de90",
3376
3380
  "e8f70dce15f9dce2b1758fa657d9a279cecc9f8c2a7b69a3bfca86ec37eb2e3f"
@@ -48,9 +48,9 @@ export const NIGHTLY_E2E_GUARD_BEHAVIOR_CERTIFICATES = Object.freeze({
48
48
  }),
49
49
  df39aa29b19817f67726107fec45078ce639f14a682cf6d5587ba37617f31ac9: Object.freeze({
50
50
  contractVersion: "1.9.0",
51
- packageVersions: Object.freeze(["8.2.3"]),
51
+ packageVersions: Object.freeze(["8.2.5"]),
52
52
  provenances: Object.freeze([
53
- "workspace package @codyswann/lisa@8.2.3 (typescript/copy-overwrite/scripts/check-nightly-e2e-health.mjs)",
53
+ "workspace package @codyswann/lisa@8.2.5 (typescript/copy-overwrite/scripts/check-nightly-e2e-health.mjs)",
54
54
  ]),
55
55
  }),
56
56
  dfd2fef680de5ef03e63075e8a61c62ca4d95cdfdff6201939b79c748d3397f6: Object.freeze({
@@ -4,7 +4,7 @@
4
4
  "all/copy-contents/gitignore": "9aee6fe2edce4acdef159a1757c998b313abe538142aa6df37f01b38de088230",
5
5
  "all/copy-contents/scripts/lisa-mutation.sh": "dd62950d6f13b9eae7e879b9de24ec1d19dc985634a2d921e003ede5a6f56a81",
6
6
  "all/copy-overwrite/scripts/check-conflict-markers.mjs": "8a4b2cab9ac32a855e2adc1a7a3c6f7a9ac35dcb75cda2fac7eea144ced50098",
7
- "all/copy-overwrite/scripts/check-npm-publish-landed.mjs": "6b20fc72b48c51938bc6e2211821db625d5f908f6ace07b4bbc2f9488e079357",
7
+ "all/copy-overwrite/scripts/check-npm-publish-landed.mjs": "a145f2f4c5c7d31a08c1f52c46c03177a10015dfa2244d6c4fb1126934b6becd",
8
8
  "all/copy-overwrite/scripts/check-orphaned-branches.mjs": "1f450d2492ca0bcdba440f6b403c1deee0f35e749c54d2ed5c5ddc696d5ab896",
9
9
  "all/copy-overwrite/scripts/check-release-package-identity.mjs": "a0f17592d4436de4c240f7c78512537581aa2ed5e89f0caf1fe890694163a873",
10
10
  "all/copy-overwrite/scripts/check-state-classification.mjs": "a72910f9885629dd6d8a739b900f5603e4b53d68ece64100a2a5647016b58e1e",
@@ -1364,7 +1364,7 @@
1364
1364
  "scripts/check-required-check-promotions.mjs": "3f65f71350da46dfcbaca342b23c9175667849770c053073e904fc108136fd46",
1365
1365
  "scripts/check-rules-pairing.sh": "0fc26c4bb3e9283dbc775e794ee8abad98d59f401dfcc55deead0160c5c6bb71",
1366
1366
  "scripts/check-security-floors.mjs": "a1abe6d2cbbef9243b9687c73d5c4497c069bc8d714e34be7375805fadbc4721",
1367
- "scripts/check-self-dependency-pin.mjs": "50cef9e3dd1c0d6b573e3692cf6ccff6dac6fe446cd15ae9225b0203ead826fb",
1367
+ "scripts/check-self-dependency-pin.mjs": "9bbf569530956adb60b0503848a41b5012cb801914d805458a8e603fc5d1fa9b",
1368
1368
  "scripts/check-shell-guard-refusal-coverage.mjs": "82bc9fbd7537cfc30d359d75e4ce86efbcea6455d4854c8d1273a445feae253c",
1369
1369
  "scripts/check-shipped-surface-removals.mjs": "2ff9e161d101cc55ffe099f0a7b4fc83e023e79215ff09e53c5d0c889a9594bb",
1370
1370
  "scripts/check-state-classification.mjs": "26baaa85c0758fa41f1f66257f7d3a31ea4dd5cf17a9c0acaa3e89caaaf6265a",
@@ -11053,6 +11053,7 @@
11053
11053
  "tests/integration/ruby-runner-image-pin.test.ts": true,
11054
11054
  "tests/integration/security-floors-gate.test.ts": true,
11055
11055
  "tests/integration/seeded-gates-preserve-hook-outcomes.test.ts": true,
11056
+ "tests/integration/self-pin-cli-exits.test.ts": true,
11056
11057
  "tests/integration/self-pin-drift-gate-wiring.test.ts": true,
11057
11058
  "tests/integration/self-pin-raise-prepare-job.test.ts": true,
11058
11059
  "tests/integration/self-pin-raise-triggers.test.ts": true,
@@ -11502,6 +11503,7 @@
11502
11503
  "tests/unit/config/push-gate-template-scripts.test.ts": true,
11503
11504
  "tests/unit/config/rails-template.test.ts": true,
11504
11505
  "tests/unit/config/rails-tooling-refresh.test.ts": true,
11506
+ "tests/unit/config/reconcile-release-verdicts.test.ts": true,
11505
11507
  "tests/unit/config/refusal-announcement.test.ts": true,
11506
11508
  "tests/unit/config/release-package-identity-workflows.test.ts": true,
11507
11509
  "tests/unit/config/release-push-retry.test.ts": true,
@@ -12370,6 +12372,7 @@
12370
12372
  "tests/unit/scripts/check-pipeline-status-reads.test.ts": true,
12371
12373
  "tests/unit/scripts/check-probe-absence-direction.test.ts": true,
12372
12374
  "tests/unit/scripts/check-release-package-identity.test.ts": true,
12375
+ "tests/unit/scripts/check-self-dependency-pin-deadline.test.ts": true,
12373
12376
  "tests/unit/scripts/check-self-dependency-pin-listed.test.ts": true,
12374
12377
  "tests/unit/scripts/check-self-dependency-pin.test.ts": true,
12375
12378
  "tests/unit/scripts/check-shell-guard-refusal-coverage.test.ts": true,
@@ -17422,6 +17425,7 @@
17422
17425
  "391e51d24a8566d36fe17972b1f4ae333c531bac": true,
17423
17426
  "392724afa87297f1106a8e1c240038284d480aa5": true,
17424
17427
  "39282cb5763b6053682e61f05291504f0de0077f": true,
17428
+ "392d55e40b40f6fc892aa24c10e28666e489bf40": true,
17425
17429
  "392d5744012aa057fce024eda5b3b65caaa3bac8": true,
17426
17430
  "392e159fa0d48980e26c91ac926af5b126b58e34": true,
17427
17431
  "393511b6276d8a3553a1787fafe965ce0502a4cc": true,
@@ -18870,6 +18874,7 @@
18870
18874
  "4f07e3a3bdf0c0657ced432a33596f2dd1192e39": true,
18871
18875
  "4f0848c12b6a9c05914ae1a87cba8b5127048eba": true,
18872
18876
  "4f0c3fd3dd3cae1661d2e75d1bc3e869cb505db1": true,
18877
+ "4f0e13970b313cb6511cb2b6e5be0454349d4d51": true,
18873
18878
  "4f0f03fad4978782dac86fdf215d5b645c25947f": true,
18874
18879
  "4f1236bc55413dc3a9e0ef2e36981d0a4b93f5b3": true,
18875
18880
  "4f126c97d51e1dc6619d5d2ca43f480c96af6388": true,
@@ -22128,6 +22133,7 @@
22128
22133
  "7fd8f34ffe283fe1f04c5d9c615aa456568aab90": true,
22129
22134
  "7fdd24946efaea7bb20df97433976453f30b1858": true,
22130
22135
  "7fe786813f9735adc61597db82390baad4044edc": true,
22136
+ "7fef0cfea137b864b70a8846c944a704eaf5db8c": true,
22131
22137
  "7ffcff8ce6cdaba619cac04f791ced54ab2c2ff8": true,
22132
22138
  "80038a191a5017c4cdee9083427e08c76e75fc9b": true,
22133
22139
  "800e05c56dc32dfad622295d177f3103637a977c": true,
@@ -22510,6 +22516,7 @@
22510
22516
  "85b817bdb79cb273adb330e1f9e412a764d724dd": true,
22511
22517
  "85bb0f55f830844b305c025136fb5a3523106da6": true,
22512
22518
  "85bed0950937345aa14d425f97bd207b809a261c": true,
22519
+ "85bf0cfff610082d3dd3e02a0fafbf1482f9e4f7": true,
22513
22520
  "85c4b2404c21d29e7a8533b829bc34ffcb5438de": true,
22514
22521
  "85c989ccc9e1f72e6f731f3ba0363b9fc0ce5335": true,
22515
22522
  "85ce0ac0ebda83d5aedf17317132a78e9ca64579": true,
@@ -22683,6 +22690,7 @@
22683
22690
  "886c6114a4eeac92ad7c4cbddc1fea54d500b913": true,
22684
22691
  "886caf43b066da2f0c6431d592a073d47856962b": true,
22685
22692
  "8874794f70fdbd9e88da88004a2076c858448b9a": true,
22693
+ "887a09c231acc7e1937a124015c60ccd56b969d0": true,
22686
22694
  "887c01412a7f4271a4174bd8726f84cacf52bcf6": true,
22687
22695
  "887dea0c10bccc17592a25dbffc98690a37dae77": true,
22688
22696
  "887e2c06cab62f988a3b3a5f94b1074cce28a323": true,
@@ -22697,6 +22705,7 @@
22697
22705
  "889714645c3ee0046099a515b49bf3a837a62689": true,
22698
22706
  "889c555513e0d6f7501ab20f99812cd94079667f": true,
22699
22707
  "88a6d396e73edd8bc7dfeadcbf8c438bd9dc6052": true,
22708
+ "88a992c3c1bc9a135fc0425e4a780cc207c46967": true,
22700
22709
  "88ace6cd4121e0abbfca3ccff3da0b9b54b503b3": true,
22701
22710
  "88b0f5536a8703ff09c39221c3155bb429124e54": true,
22702
22711
  "88b94bf9e53fcb5d3da461e1de0be61fb3f6cc10": true,
@@ -24304,6 +24313,7 @@
24304
24313
  "a1ebf767688eee6de05ad12b1a023dacdab10857": true,
24305
24314
  "a1f0f14b96ea40151383e7543e247c1c83347cd0": true,
24306
24315
  "a1f207cb9ac1e92ee21c7af194c9b7a381df03b7": true,
24316
+ "a1f6dffca1bcf354d0c8cff455f4f8df17a703d4": true,
24307
24317
  "a1f7ee64bb77d2cb174c361ec4a6023cc24863fa": true,
24308
24318
  "a1fbda7484483a43d7542511bb7755e0f275c622": true,
24309
24319
  "a1fcee79750222d85b772e30a4bb619896438ea8": true,
@@ -25479,6 +25489,7 @@
25479
25489
  "b2a838af19a6a188edb63de898c2864dacd09fc6": true,
25480
25490
  "b2acacc96b589e172a765accacdb91e598a488cf": true,
25481
25491
  "b2aea593741c74a034d9599e66c2df05d963401b": true,
25492
+ "b2ba124d6fe938e165571611a9342fb1380a3532": true,
25482
25493
  "b2bae6986b47b43d8e0cfaa779cc2ef98fa0d911": true,
25483
25494
  "b2c2f6ad1a7d4f46f004d885a1b2b135404fb67f": true,
25484
25495
  "b2c4a302adb9161664674e5db25c6c7a3dd10e33": true,
@@ -25689,6 +25700,7 @@
25689
25700
  "b58ab532f750182f6f12fd41a0c4d6418f08c087": true,
25690
25701
  "b592521749e6e5fc061c7d7e516d58317259c140": true,
25691
25702
  "b59884a07b0f80b49dd24ab20e5badec76f01b4a": true,
25703
+ "b59d97dffe9f5897bc207f8d40b80d58c50af039": true,
25692
25704
  "b59f2137a66e53ad50ae4fb53e37e34d7a36fbb7": true,
25693
25705
  "b5a8b9bbf6e61c6b7ab937064e087ce27692e410": true,
25694
25706
  "b5a8fb09d09da8653be2abb525f970e46382dfa9": true,
@@ -26656,6 +26668,7 @@
26656
26668
  "c40c45487318d54aed56b84924dcf372b03351d8": true,
26657
26669
  "c40d9f34aaa87b600fefac14fc8af4a28b63b714": true,
26658
26670
  "c40f8416a4544b516aee9e0c8e4a0e37d1fc30c6": true,
26671
+ "c4130e4560c7ab19f8a7847af0b6374152e35933": true,
26659
26672
  "c4169807e320d0b881380b0623ffdfff6631cc2e": true,
26660
26673
  "c41f4c46740ac27bb3718906a828831a0357ecb2": true,
26661
26674
  "c420a4affcc512a884c0e77572cd3447064b5540": true,
@@ -27570,6 +27583,7 @@
27570
27583
  "d1410754900b32b0b8c0e53ca66bd10451692a14": true,
27571
27584
  "d14118a1a4caa44834a75e94e067d47d274b0bbc": true,
27572
27585
  "d14182f9f9455ef90bc98fe62528e8ca502347fe": true,
27586
+ "d142f0417de68b64903862af3d6923484f3757e6": true,
27573
27587
  "d145f157de002a8255b9cd67510c69bce161c5b5": true,
27574
27588
  "d1477c459bc9f881177a489d39ba9b1775627eb9": true,
27575
27589
  "d14bf8be069e2b6216c49ad1b28df38c9ed18ea4": true,
@@ -27911,6 +27925,7 @@
27911
27925
  "d6a97c74d7db37f8999d263b13cd3a67811616e8": true,
27912
27926
  "d6a99fd235c74a2ef40f09bf413542fd1905ed88": true,
27913
27927
  "d6a9e2c3adb3b3999e564e32733926a69bdf75af": true,
27928
+ "d6aced35918ec55f3847ff1ccfc5dbafdc71aaa9": true,
27914
27929
  "d6b84f7ba6ef2d01730376d4f3b8994f5100d894": true,
27915
27930
  "d6bfed7f0e88b4aaccec52c7b4e4db7ca584baba": true,
27916
27931
  "d6c67fdbed07c8edfd100fa2521bf619a30d9829": true,
@@ -28813,6 +28828,7 @@
28813
28828
  "e439b41a3fb9d83506c751ca219e00ebfb7e2240": true,
28814
28829
  "e440ae26107202c621d180e2491f1688b742caa5": true,
28815
28830
  "e440b8f2194f289a59ef733d7561ff7ee237cd33": true,
28831
+ "e445e6ee4a432357872a436900d518ad45082bef": true,
28816
28832
  "e44f82de390da659ca2fcd670ea2541db601e582": true,
28817
28833
  "e4504279caba629380368248290a7115defc7b7e": true,
28818
28834
  "e451b4e04499124ad773727dfef04e3ae65d3a94": true,
@@ -30450,6 +30466,7 @@
30450
30466
  "fc8b232f314405bd216d17c7b2da3fd6017868a3": true,
30451
30467
  "fc8fadb8780c557f2491573c6d23ad734a4b738b": true,
30452
30468
  "fc90b29b1a00039313e55bbcd86f22ca8aed00b7": true,
30469
+ "fc98ad9e1cf29c99163f1746877596356fe89554": true,
30453
30470
  "fc9c592b5e2f35bb19ae082f67faff5e46edb082": true,
30454
30471
  "fc9d2d285b3ed0607b68361c78d2caf5a5d07675": true,
30455
30472
  "fc9ee9233a2e3258058de0c5f05fd8ac9c2d673b": true,
@@ -30603,6 +30620,7 @@
30603
30620
  "febe40807fac54aa1d1a90a14af235ab07fd4e10": true,
30604
30621
  "febe82445eb8ef0733081179b190a9ce8003235b": true,
30605
30622
  "febec462cb925c1ce980196c89cea32b3d2a84a2": true,
30623
+ "febf84e090080018f7b7a28ac8b12e6b8bf71d0a": true,
30606
30624
  "fec105bb690cc9c170b658a02b3249049eb91d5c": true,
30607
30625
  "fec9bebde417c5c24b1dbdd001d5123206c94f84": true,
30608
30626
  "fecb8b715efbfb7e42bdaddf82b8da0d48b324a4": true,
package/package.json CHANGED
@@ -199,7 +199,7 @@
199
199
  "zod": "^4.6.7"
200
200
  },
201
201
  "name": "@codyswann/lisa",
202
- "version": "8.2.3",
202
+ "version": "8.2.5",
203
203
  "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",
204
204
  "main": "dist/index.js",
205
205
  "exports": {
@@ -370,7 +370,7 @@
370
370
  "optional": true
371
371
  }
372
372
  },
373
- "lisaReleaseCommit": "d142f0417de68b64903862af3d6923484f3757e6",
374
- "gitHead": "d142f0417de68b64903862af3d6923484f3757e6",
375
- "lisaReleaseTag": "v8.2.3"
373
+ "lisaReleaseCommit": "f6437f0bab0ff8d0bf91e1660077934ad6ef19f7",
374
+ "gitHead": "f6437f0bab0ff8d0bf91e1660077934ad6ef19f7",
375
+ "lisaReleaseTag": "v8.2.5"
376
376
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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-expo",
3
- "version": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "8.2.3",
3
+ "version": "8.2.5",
4
4
  "description": "NestJS-specific skills and a hand-written migration warning hook.",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "8.2.3",
3
+ "version": "8.2.5",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "8.2.3",
3
+ "version": "8.2.5",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "8.2.3",
3
+ "version": "8.2.5",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "8.2.3",
3
+ "version": "8.2.5",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "8.2.3",
3
+ "version": "8.2.5",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM) and hooks (hand-written migration warning)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-phaser",
3
- "version": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-wiki",
3
- "version": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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": "8.2.3",
3
+ "version": "8.2.5",
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"
@@ -101,6 +101,30 @@ const VERDICT_PREFIX = "self-dependency-pin:";
101
101
  */
102
102
  const MAX_CANDIDATES = 5;
103
103
 
104
+ /**
105
+ * Deadline for one packument read, body included.
106
+ *
107
+ * A packument read had none, and in a real pre-push one held an ESTABLISHED
108
+ * registry connection for about 74 minutes before failing "network:
109
+ * terminated" (CodySwannGT/lisa#5094). A read that runs out of time is a
110
+ * transport failure like any other: it is retried within the existing
111
+ * attempts and then reported. Sixty seconds clears the slowest whole read
112
+ * measured, 17.5s for the abbreviated document on 2026-11-19, by more than
113
+ * three times, and turns that 74-minute wait into at most three minutes.
114
+ */
115
+ export const PACKUMENT_ATTEMPT_TIMEOUT_MS = 60_000;
116
+
117
+ /**
118
+ * The packument shape this check reads: the abbreviated install document.
119
+ *
120
+ * The check reads only the keys of `versions`, and the abbreviated document
121
+ * lists exactly the same versions as the full one (2187 of 2187, compared on
122
+ * 2026-11-19) at a quarter of the size: 6.0 MB rather than 23.5 MB, 487 KB
123
+ * rather than 830 KB compressed. Each candidate it picks is still confirmed
124
+ * through the exact-version prover before it is used.
125
+ */
126
+ const ABBREVIATED = "application/vnd.npm.install-v1+json";
127
+
104
128
  /** Specs naming a LOCATION rather than a registry version. */
105
129
  const NON_REGISTRY_SPEC =
106
130
  /^(?:file|link|portal|workspace|git|git\+[a-z]+|github|https?|npm):/i;
@@ -162,28 +186,69 @@ export function compareSpec(spec, newest) {
162
186
  }
163
187
 
164
188
  /**
165
- * One packument read.
189
+ * The deadline seams one packument read takes, with their defaults.
190
+ *
191
+ * The same shape `verifyPublish` takes in check-npm-publish-landed.mjs, so a
192
+ * test injects one controller factory and one timer for every read.
193
+ * @param {object} options - Any seams a caller passed.
194
+ * @returns {{attemptTimeoutMs: number, createAbortController: () => AbortController, setAttemptTimer: (callback: () => void, ms: number) => unknown, clearAttemptTimer: (timer: unknown) => void}} The seams.
195
+ */
196
+ function deadlineSeams({
197
+ attemptTimeoutMs = PACKUMENT_ATTEMPT_TIMEOUT_MS,
198
+ createAbortController = () => new AbortController(),
199
+ setAttemptTimer = setTimeout,
200
+ clearAttemptTimer = clearTimeout,
201
+ } = {}) {
202
+ return {
203
+ attemptTimeoutMs,
204
+ createAbortController,
205
+ setAttemptTimer,
206
+ clearAttemptTimer,
207
+ };
208
+ }
209
+
210
+ /**
211
+ * One packument read in one shape, bounded by a deadline that also covers the
212
+ * body: the timer is cleared only once `response.json()` has settled.
166
213
  * @param {string} url - The packument URL.
214
+ * @param {string} accept - The shape's media type.
167
215
  * @param {typeof fetch} fetchImpl - Injected for tests.
216
+ * @param {ReturnType<typeof deadlineSeams>} deadline - Per-attempt deadline seams.
168
217
  * @returns {Promise<{packument: object | null, detail: string}>} The outcome.
169
218
  */
170
- async function readPackumentOnce(url, fetchImpl) {
219
+ async function readShapeOnce(url, accept, fetchImpl, deadline) {
220
+ const controller = deadline.createAbortController();
221
+ const timer = deadline.setAttemptTimer(
222
+ () => controller.abort(),
223
+ deadline.attemptTimeoutMs
224
+ );
171
225
  try {
172
226
  const response = await fetchImpl(url, {
173
- headers: { accept: "application/json" },
227
+ headers: { accept },
228
+ signal: controller.signal,
174
229
  });
175
230
  if (!response.ok) {
231
+ // An unread body keeps its socket, and with it the process, alive after
232
+ // the verdict; the deadline is cleared below, so nothing else ends it.
233
+ await response.body?.cancel().catch(() => {});
176
234
  return { packument: null, detail: `HTTP ${response.status} from ${url}` };
177
235
  }
178
236
  return { packument: await response.json(), detail: "ok" };
179
237
  } catch (error) {
180
- return { packument: null, detail: `network: ${error.message} (${url})` };
238
+ return {
239
+ packument: null,
240
+ detail: controller.signal.aborted
241
+ ? `network: attempt exceeded ${String(deadline.attemptTimeoutMs)}ms deadline (${url})`
242
+ : `network: ${error.message} (${url})`,
243
+ };
244
+ } finally {
245
+ deadline.clearAttemptTimer(timer);
181
246
  }
182
247
  }
183
248
 
184
249
  /**
185
250
  * Ask the registry for the packument, retrying transport failures.
186
- * @param {object} options - Registry, package, fetch seam and retry budget.
251
+ * @param {object} options - Registry, package, fetch seam, retry budget and per-attempt deadline seams.
187
252
  * @returns {Promise<{packument: object | null, detail: string}>} The document.
188
253
  */
189
254
  async function fetchPackument({
@@ -192,6 +257,7 @@ async function fetchPackument({
192
257
  fetchImpl,
193
258
  attempts,
194
259
  sleep,
260
+ deadline,
195
261
  }) {
196
262
  const url = `${registry}/${packageName}`;
197
263
  const tries = Array.from({ length: attempts }, (_unused, index) => index);
@@ -200,7 +266,7 @@ async function fetchPackument({
200
266
  const settled = await previous;
201
267
  if (settled.packument !== null) return settled;
202
268
  if (index > 0) await sleep();
203
- return readPackumentOnce(url, fetchImpl);
269
+ return readShapeOnce(url, ABBREVIATED, fetchImpl, deadline);
204
270
  },
205
271
  Promise.resolve({ packument: null, detail: "no attempt was made" })
206
272
  );
@@ -275,6 +341,7 @@ export async function checkSelfPin({
275
341
  attempts = 3,
276
342
  sleep = () => new Promise(resolve => setTimeout(resolve, 2000)),
277
343
  injected = {},
344
+ ...seams
278
345
  }) {
279
346
  const declared = locateSelfPin(manifest);
280
347
  if (declared === null) {
@@ -291,6 +358,7 @@ export async function checkSelfPin({
291
358
  fetchImpl,
292
359
  attempts,
293
360
  sleep,
361
+ deadline: deadlineSeams(seams),
294
362
  });
295
363
  if (packument === null) {
296
364
  return { verdict: "unprovable", detail, newest: null, spec: declared.spec };
@@ -316,13 +384,14 @@ export async function checkSelfPin({
316
384
  }
317
385
 
318
386
  /**
319
- * The two packument shapes a registry serves. The full document is what this
320
- * check reads; the abbreviated install document is what Bun's resolver reads.
321
- * They are cached separately, so one can list a release the other does not.
387
+ * The two packument shapes a registry serves. The abbreviated install document
388
+ * is what this check and Bun's resolver read; the full document is what npm's
389
+ * own commands such as `npm view` read. They are cached separately, so one can
390
+ * list a release the other does not, and the raise waits for both.
322
391
  */
323
392
  const PACKUMENT_SHAPES = [
324
393
  { name: "full", accept: "application/json" },
325
- { name: "abbreviated", accept: "application/vnd.npm.install-v1+json" },
394
+ { name: "abbreviated", accept: ABBREVIATED },
326
395
  ];
327
396
 
328
397
  /** How many times the packument is read before the release is given up on. */
@@ -332,37 +401,39 @@ const LISTED_POLLS = 40;
332
401
  const LISTED_POLL_DELAY_MS = 15_000;
333
402
 
334
403
  /**
335
- * Whether one packument shape lists a version.
404
+ * Whether one packument shape lists a version, within one read's deadline.
336
405
  * @param {string} url - The packument URL.
337
406
  * @param {string} accept - The shape's media type.
338
407
  * @param {string} version - The release to look for.
339
408
  * @param {typeof fetch} fetchImpl - Injected for tests.
409
+ * @param {ReturnType<typeof deadlineSeams>} deadline - Per-read deadline seams.
340
410
  * @returns {Promise<{listed: boolean, detail: string}>} The answer.
341
411
  */
342
- async function shapeLists(url, accept, version, fetchImpl) {
343
- try {
344
- const response = await fetchImpl(url, { headers: { accept } });
345
- if (!response.ok) {
346
- return { listed: false, detail: `HTTP ${response.status} from ${url}` };
347
- }
348
- const packument = await response.json();
349
- return packument?.versions?.[version] === undefined
350
- ? { listed: false, detail: `the packument does not list ${version} yet` }
351
- : { listed: true, detail: `the packument lists ${version}` };
352
- } catch (error) {
353
- return { listed: false, detail: `network: ${error.message} (${url})` };
354
- }
412
+ async function shapeLists(url, accept, version, fetchImpl, deadline) {
413
+ const { packument, detail } = await readShapeOnce(
414
+ url,
415
+ accept,
416
+ fetchImpl,
417
+ deadline
418
+ );
419
+ if (packument === null) return { listed: false, detail };
420
+ return packument?.versions?.[version] === undefined
421
+ ? { listed: false, detail: `the packument does not list ${version} yet` }
422
+ : { listed: true, detail: `the packument lists ${version}` };
355
423
  }
356
424
 
357
425
  /**
358
426
  * Wait, with a bound, until both packument shapes list a release.
359
427
  *
360
428
  * The exact-version endpoint can serve a release before the packument lists
361
- * it. Both `check:self-pin` (newest listed version) and Bun's resolver (the
362
- * abbreviated packument) read the packument, so a raise proved before it lists
363
- * the release would compare `^7.0.0` against 6.x and fail for a reason that is
364
- * only propagation lag.
365
- * @param {object} options - Version, registry, fetch seam, poll budget and sleep seam.
429
+ * it. `check:self-pin` (newest listed version) and Bun's resolver read the
430
+ * abbreviated packument and npm reads the full one, so a raise proved before it
431
+ * lists the release would compare `^7.0.0` against 6.x and fail for a reason
432
+ * that is only propagation lag.
433
+ *
434
+ * Each read ends at the same per-attempt deadline as {@link checkSelfPin}'s, so
435
+ * the wait is bounded by its poll budget alone.
436
+ * @param {object} options - Version, registry, fetch seam, poll budget, sleep seam and per-read deadline seams.
366
437
  * @returns {Promise<{listed: boolean, detail: string}>} Whether both shapes list it.
367
438
  */
368
439
  export async function awaitListed({
@@ -372,12 +443,14 @@ export async function awaitListed({
372
443
  polls = LISTED_POLLS,
373
444
  sleep = () =>
374
445
  new Promise(resolve => setTimeout(resolve, LISTED_POLL_DELAY_MS)),
446
+ ...seams
375
447
  }) {
376
448
  const url = `${registry}/${SELF_PACKAGE}`;
449
+ const deadline = deadlineSeams(seams);
377
450
  const poll = async number => {
378
451
  const answers = await Promise.all(
379
452
  PACKUMENT_SHAPES.map(shape =>
380
- shapeLists(url, shape.accept, version, fetchImpl)
453
+ shapeLists(url, shape.accept, version, fetchImpl, deadline)
381
454
  )
382
455
  );
383
456
  const missing = answers.flatMap((answer, index) =>
@@ -410,6 +483,7 @@ export async function newestInstallableVersion({
410
483
  attempts = 3,
411
484
  sleep = () => new Promise(resolve => setTimeout(resolve, 2000)),
412
485
  injected = {},
486
+ ...seams
413
487
  }) {
414
488
  const { packument, detail } = await fetchPackument({
415
489
  registry,
@@ -417,6 +491,7 @@ export async function newestInstallableVersion({
417
491
  fetchImpl,
418
492
  attempts,
419
493
  sleep,
494
+ deadline: deadlineSeams(seams),
420
495
  });
421
496
  if (packument === null) return { version: null, detail };
422
497
  const found = await newestInstallable({