@codyswann/lisa 4.110.2 → 4.111.1

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 (153) hide show
  1. package/all/copy-overwrite/scripts/lib/completion-proof-github.mjs +242 -62
  2. package/all/copy-overwrite/scripts/lib/completion-proof-publisher.mjs +195 -82
  3. package/all/copy-overwrite/scripts/lib/evidence-release-capacity.mjs +20 -29
  4. package/all/copy-overwrite/scripts/npm-updater-helper-graph.json +3 -3
  5. package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
  6. package/dist/core/lisa-owned-hash-ledger.js +22 -0
  7. package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
  8. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  9. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  10. package/dist/core/upstream-evidence-manifest.js +80 -10
  11. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  12. package/package.json +4 -4
  13. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  14. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  15. package/plugins/lisa/.codex-plugin/scripts/human-gate-lift.mjs +148 -0
  16. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/SKILL.md +69 -4
  17. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/references/runbook-template.md +3 -0
  18. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-cycle.mjs +16 -0
  19. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-orphans.mjs +162 -0
  20. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/cli-usage.mjs +40 -0
  21. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/ledger.mjs +15 -3
  22. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/orphan-buckets.mjs +233 -0
  23. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/orphan-holds.mjs +252 -0
  24. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/orphan-sweep.mjs +335 -0
  25. package/plugins/lisa/.codex-plugin/skills/lisa-session-manager/scripts/session-manager.mjs +12 -1
  26. package/plugins/lisa/skills/lisa-session-manager/SKILL.md +69 -4
  27. package/plugins/lisa/skills/lisa-session-manager/references/runbook-template.md +3 -0
  28. package/plugins/lisa/skills/lisa-session-manager/scripts/cli-cycle.mjs +16 -0
  29. package/plugins/lisa/skills/lisa-session-manager/scripts/cli-orphans.mjs +162 -0
  30. package/plugins/lisa/skills/lisa-session-manager/scripts/cli-usage.mjs +40 -0
  31. package/plugins/lisa/skills/lisa-session-manager/scripts/ledger.mjs +15 -3
  32. package/plugins/lisa/skills/lisa-session-manager/scripts/orphan-buckets.mjs +233 -0
  33. package/plugins/lisa/skills/lisa-session-manager/scripts/orphan-holds.mjs +252 -0
  34. package/plugins/lisa/skills/lisa-session-manager/scripts/orphan-sweep.mjs +335 -0
  35. package/plugins/lisa/skills/lisa-session-manager/scripts/session-manager.mjs +12 -1
  36. package/plugins/lisa-agy/plugin.json +1 -1
  37. package/plugins/lisa-agy/skills/lisa-session-manager/SKILL.md +69 -4
  38. package/plugins/lisa-agy/skills/lisa-session-manager/references/runbook-template.md +3 -0
  39. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-cycle.mjs +16 -0
  40. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-orphans.mjs +162 -0
  41. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/cli-usage.mjs +40 -0
  42. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/ledger.mjs +15 -3
  43. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/orphan-buckets.mjs +233 -0
  44. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/orphan-holds.mjs +252 -0
  45. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/orphan-sweep.mjs +335 -0
  46. package/plugins/lisa-agy/skills/lisa-session-manager/scripts/session-manager.mjs +12 -1
  47. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  48. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  49. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  50. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  51. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  52. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  54. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  55. package/plugins/lisa-copilot/skills/lisa-session-manager/SKILL.md +69 -4
  56. package/plugins/lisa-copilot/skills/lisa-session-manager/references/runbook-template.md +3 -0
  57. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-cycle.mjs +16 -0
  58. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-orphans.mjs +162 -0
  59. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/cli-usage.mjs +40 -0
  60. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/ledger.mjs +15 -3
  61. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/orphan-buckets.mjs +233 -0
  62. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/orphan-holds.mjs +252 -0
  63. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/orphan-sweep.mjs +335 -0
  64. package/plugins/lisa-copilot/skills/lisa-session-manager/scripts/session-manager.mjs +12 -1
  65. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  66. package/plugins/lisa-cursor/skills/lisa-session-manager/SKILL.md +69 -4
  67. package/plugins/lisa-cursor/skills/lisa-session-manager/references/runbook-template.md +3 -0
  68. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-cycle.mjs +16 -0
  69. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-orphans.mjs +162 -0
  70. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/cli-usage.mjs +40 -0
  71. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/ledger.mjs +15 -3
  72. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/orphan-buckets.mjs +233 -0
  73. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/orphan-holds.mjs +252 -0
  74. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/orphan-sweep.mjs +335 -0
  75. package/plugins/lisa-cursor/skills/lisa-session-manager/scripts/session-manager.mjs +12 -1
  76. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  77. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  78. package/plugins/lisa-devin/skills/lisa-session-manager/SKILL.md +69 -4
  79. package/plugins/lisa-devin/skills/lisa-session-manager/references/runbook-template.md +3 -0
  80. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-cycle.mjs +16 -0
  81. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-orphans.mjs +162 -0
  82. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/cli-usage.mjs +40 -0
  83. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/ledger.mjs +15 -3
  84. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/orphan-buckets.mjs +233 -0
  85. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/orphan-holds.mjs +252 -0
  86. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/orphan-sweep.mjs +335 -0
  87. package/plugins/lisa-devin/skills/lisa-session-manager/scripts/session-manager.mjs +12 -1
  88. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  89. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  90. package/plugins/lisa-expo-agy/plugin.json +1 -1
  91. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  92. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  93. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  94. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  95. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  96. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  97. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  98. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  99. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  100. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  101. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  102. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  103. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  104. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  105. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  106. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  107. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  108. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  109. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  110. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  111. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  112. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  113. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  114. package/plugins/lisa-openclaw-devin/.claude-plugin/plugin.json +1 -1
  115. package/plugins/lisa-openclaw-devin/.devin-plugin/plugin.json +1 -1
  116. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  117. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  118. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  119. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  120. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  121. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  122. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  123. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  124. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  125. package/plugins/lisa-rails-agy/plugin.json +1 -1
  126. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  127. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  128. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  129. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  130. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  131. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  132. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  133. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  134. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  135. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  136. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  137. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  138. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  139. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  140. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  141. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  142. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  143. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  144. package/plugins/src/base/skills/lisa-session-manager/SKILL.md +69 -4
  145. package/plugins/src/base/skills/lisa-session-manager/references/runbook-template.md +3 -0
  146. package/plugins/src/base/skills/lisa-session-manager/scripts/cli-cycle.mjs +16 -0
  147. package/plugins/src/base/skills/lisa-session-manager/scripts/cli-orphans.mjs +162 -0
  148. package/plugins/src/base/skills/lisa-session-manager/scripts/cli-usage.mjs +40 -0
  149. package/plugins/src/base/skills/lisa-session-manager/scripts/ledger.mjs +15 -3
  150. package/plugins/src/base/skills/lisa-session-manager/scripts/orphan-buckets.mjs +233 -0
  151. package/plugins/src/base/skills/lisa-session-manager/scripts/orphan-holds.mjs +252 -0
  152. package/plugins/src/base/skills/lisa-session-manager/scripts/orphan-sweep.mjs +335 -0
  153. package/plugins/src/base/skills/lisa-session-manager/scripts/session-manager.mjs +12 -1
@@ -36,6 +36,73 @@ const WRITE_ERROR = "write-error";
36
36
 
37
37
  export { ensureEvidenceRelease };
38
38
 
39
+ /** The exact bytes a record is published as; one serializer, everywhere. */
40
+ function recordBytes(record) {
41
+ return Buffer.from(`${JSON.stringify(record, null, 2)}\n`);
42
+ }
43
+
44
+ /**
45
+ * This record, stamped with a stored asset's `captured_at`, when that makes
46
+ * it byte-identical to the stored bytes and a well-formed record; else null.
47
+ * @param {object} record - The record this publish built.
48
+ * @param {Buffer} stored - A candidate asset's bytes.
49
+ * @returns {{record: object, bytes: Buffer}|null} The adoptable record.
50
+ */
51
+ function identicalRecord(record, stored) {
52
+ let adopted;
53
+ try {
54
+ adopted = { ...record, captured_at: JSON.parse(stored).captured_at };
55
+ // A missing or malformed captured_at is not a record this publisher
56
+ // could have written; never adopt it.
57
+ validateRecordShape(adopted);
58
+ } catch {
59
+ return null;
60
+ }
61
+ const bytes = recordBytes(adopted);
62
+ return bytes.equals(stored) ? { record: adopted, bytes } : null;
63
+ }
64
+
65
+ /**
66
+ * The record this publish would upload, if an earlier run already uploaded it.
67
+ *
68
+ * A run that dies after `gh release upload` but before posting its locator
69
+ * leaves the record in the release with nothing pointing at it. The re-run
70
+ * computes the same revision, but its fresh `captured_at` gives it a different
71
+ * digest and so a different asset name, and it used to upload a second copy
72
+ * (CodySwannGT/lisa#4733). Each same-revision asset this publisher uploaded is
73
+ * read back; if this record, stamped with that asset's `captured_at`, has the
74
+ * exact same bytes, that asset is adopted.
75
+ *
76
+ * Every release the capacity check opened is searched, not only the one the
77
+ * upload would go to: the stranded upload may itself have filled a release
78
+ * and pushed this run on to its overflow release (CodySwannGT/lisa#4838). A
79
+ * candidate read that fails (after the transport's retries) refuses, rather
80
+ * than uploading a duplicate. The caller's readback and trust checks still
81
+ * run on the adopted asset, in the release that holds it.
82
+ * @param {object} transport - The bounded GitHub proof transport.
83
+ * @param {object[]} releases - Opened releases, each with its `assets`.
84
+ * @param {object} record - The record this publish built.
85
+ * @param {number} publisher - The native publisher identity.
86
+ * @returns {{record: object, bytes: Buffer, evidence: object}|null} The
87
+ * adopted record and the release holding it, or null.
88
+ */
89
+ function strandedRecord(transport, releases, record, publisher) {
90
+ const prefix = `${record.record_id}-r${record.revision}-`;
91
+ for (const evidence of releases) {
92
+ for (const candidate of evidence.assets ?? []) {
93
+ if (
94
+ !candidate.name?.startsWith(prefix) ||
95
+ candidate.uploader?.id !== publisher
96
+ )
97
+ continue;
98
+ const stored = transport.asset(candidate.id, MAX_RECORD_BYTES).bytes;
99
+ const adopted = identicalRecord(record, stored);
100
+ if (adopted) return { ...adopted, evidence };
101
+ }
102
+ }
103
+ return null;
104
+ }
105
+
39
106
  /** Upload one file to a release; the failure's diagnostics, or null on success. */
40
107
  function attemptUpload(context, transport, evidence, file) {
41
108
  const uploaded = context.run(
@@ -51,24 +118,24 @@ function attemptUpload(context, transport, evidence, file) {
51
118
  }
52
119
 
53
120
  /**
54
- * Upload the record to the target release, rolling over once to the next
121
+ * Upload the record to the checked release, rolling over once to the next
55
122
  * overflow release when GitHub reports the release full mid-upload (another
56
123
  * publisher filled it after the capacity check). A pinned release is refused
57
124
  * instead, as it is before the upload (CodySwannGT/lisa#4838).
125
+ * @param {object} context - The canonical publish context.
126
+ * @param {object} transport - The bounded GitHub proof transport.
127
+ * @param {{tag: string, pinned: boolean}} target - The resolved release.
128
+ * @param {object} checked - The release the capacity check chose.
129
+ * @param {string} file - The record file to upload.
58
130
  * @returns {object} The release the record now lives in.
59
131
  */
60
- function uploadProof(context, transport, target, file) {
61
- const options = { tag: target.tag, pinned: target.pinned };
62
- let evidence = ensureEvidenceRelease(
63
- context.run,
64
- transport,
65
- context.policy,
66
- options
67
- );
132
+ function uploadProof(context, transport, target, checked, file) {
133
+ let evidence = checked;
68
134
  let failure = attemptUpload(context, transport, evidence, file);
69
135
  if (failure && failure.full !== false && !target.pinned) {
70
136
  evidence = ensureEvidenceRelease(context.run, transport, context.policy, {
71
- ...options,
137
+ tag: target.tag,
138
+ pinned: target.pinned,
72
139
  from: evidence.index + 1,
73
140
  });
74
141
  failure = attemptUpload(context, transport, evidence, file);
@@ -88,6 +155,23 @@ function uploadProof(context, transport, target, file) {
88
155
  );
89
156
  }
90
157
 
158
+ /**
159
+ * Write the record's bytes to a temporary file named for its asset and upload
160
+ * it; the temporary file is always removed.
161
+ * @returns {object} The release the record now lives in.
162
+ */
163
+ function uploadRecord(context, transport, target, checked, name, bytes) {
164
+ const temporary = mkdtempSync(join(tmpdir(), "lisa-completion-proof-"));
165
+ try {
166
+ mkdirSync(temporary, { recursive: true });
167
+ const file = join(temporary, name);
168
+ writeFileSync(file, bytes);
169
+ return uploadProof(context, transport, target, checked, file);
170
+ } finally {
171
+ rmSync(temporary, { recursive: true, force: true });
172
+ }
173
+ }
174
+
91
175
  /** Recover the monotonic native index without treating old malformed proof as valid. */
92
176
  function previousLocator(
93
177
  context,
@@ -211,80 +295,109 @@ export function publishCompletionProof(context, input) {
211
295
  validateRecordShape(record);
212
296
  if (record.state === "accepted-for-completion")
213
297
  evaluateAcceptedRecord({ record }, context, subject, transport);
214
- const bytes = Buffer.from(`${JSON.stringify(record, null, 2)}\n`);
298
+ // Refuse an oversized record before any write, such as creating a release.
215
299
  requireProof(
216
- bytes.length <= MAX_RECORD_BYTES,
300
+ recordBytes(record).length <= MAX_RECORD_BYTES,
217
301
  "The completion record exceeds its bounded publication size."
218
302
  );
219
- const digest = sha256(bytes);
303
+ const checked = ensureEvidenceRelease(
304
+ context.run,
305
+ transport,
306
+ context.policy,
307
+ { tag: target.tag, pinned: target.pinned }
308
+ );
309
+ const adopted = strandedRecord(
310
+ transport,
311
+ [checked, ...(checked.passed ?? [])],
312
+ record,
313
+ publisher
314
+ );
315
+ const published = adopted ?? { record, bytes: recordBytes(record) };
316
+ const digest = sha256(published.bytes);
220
317
  const name = `${recordId}-r${record.revision}-${digest}.json`;
221
- const temporary = mkdtempSync(join(tmpdir(), "lisa-completion-proof-"));
222
- try {
223
- mkdirSync(temporary, { recursive: true });
224
- const file = join(temporary, name);
225
- writeFileSync(file, bytes);
226
- const evidence = uploadProof(context, transport, target, file);
227
- const matching = releaseAssets(transport, evidence.release).filter(
228
- asset => asset.name === name
229
- );
230
- requireProof(
231
- matching.length === 1,
232
- "The uploaded completion asset cannot be uniquely read back.",
233
- READ_ERROR
234
- );
235
- const stored = transport.asset(matching[0].id, MAX_RECORD_BYTES);
236
- requireProof(
237
- stored.bytes.equals(bytes) &&
238
- sha256(stored.bytes) === digest &&
239
- stored.metadata.uploader?.id === publisher,
240
- "The native uploaded acceptance bytes or publisher differ from the producer's record."
241
- );
242
- const publisherState = transport.trustedPublisher(stored.metadata, record, {
243
- publishing: true,
244
- });
245
- // Recheck native scope after upload; do not publish acceptance for changed requirements.
246
- const fresh = {
247
- ...context.readSubject(),
248
- comments: context.readComments(),
249
- };
250
- requireProof(
251
- sha256(primarySpecProjection(fresh.body)) === record.spec_sha256,
252
- "Requirements changed during proof publication; no locator was written.",
253
- "pending-proof"
254
- );
255
- if (record.state === "accepted-for-completion")
256
- evaluateAcceptedRecord({ record }, context, fresh, transport);
257
- const locator = {
258
- schema_version: 1,
259
- record_id: recordId,
260
- revision: record.revision,
261
- repository: context.repository,
262
- asset_id: stored.metadata.id,
263
- sha256: digest,
264
- };
265
- const body = `${PROOF_MARKER}\n${JSON.stringify(locator)}`;
266
- const comment = context.postLocator(body, subject.native_id);
267
- const readback = context
268
- .readComments()
269
- .find(row => String(row.id) === String(comment.id));
270
- requireProof(
271
- readback?.body === body &&
272
- String((readback.user ?? readback.author)?.id) === trackerActor,
273
- "The native completion locator or publisher did not read back exactly.",
274
- WRITE_ERROR
275
- );
276
- const deferredProducer = !publisherState.ready;
277
- return {
278
- category: deferredProducer ? "published/pending-producer" : "published",
279
- record_id: recordId,
280
- revision: record.revision,
281
- asset_id: stored.metadata.id,
282
- sha256: digest,
283
- comment_id: comment.id,
284
- ref: context.ref,
285
- terminal_mutation: false,
286
- };
287
- } finally {
288
- rmSync(temporary, { recursive: true, force: true });
289
- }
318
+ const evidence =
319
+ adopted?.evidence ??
320
+ uploadRecord(context, transport, target, checked, name, published.bytes);
321
+ return locateRecord(context, transport, {
322
+ record: published.record,
323
+ bytes: published.bytes,
324
+ evidence,
325
+ name,
326
+ digest,
327
+ publisher,
328
+ trackerActor,
329
+ nativeId: subject.native_id,
330
+ });
331
+ }
332
+
333
+ /**
334
+ * Read the uploaded (or adopted) record back exactly, re-run every trust and
335
+ * acceptance check against it, and only then post and read back its locator.
336
+ * @param {object} context - The canonical publish context.
337
+ * @param {object} transport - The bounded GitHub proof transport.
338
+ * @param {object} published - The record, its bytes, asset name and digest,
339
+ * the release, the publisher and tracker identities, and the subject id.
340
+ * @returns {object} The publication result.
341
+ */
342
+ function locateRecord(context, transport, published) {
343
+ const { record, bytes, evidence, name, digest, publisher } = published;
344
+ const matching = releaseAssets(transport, evidence.release).filter(
345
+ asset => asset.name === name
346
+ );
347
+ requireProof(
348
+ matching.length === 1,
349
+ "The uploaded completion asset cannot be uniquely read back.",
350
+ READ_ERROR
351
+ );
352
+ const stored = transport.asset(matching[0].id, MAX_RECORD_BYTES);
353
+ requireProof(
354
+ stored.bytes.equals(bytes) &&
355
+ sha256(stored.bytes) === digest &&
356
+ stored.metadata.uploader?.id === publisher,
357
+ "The native uploaded acceptance bytes or publisher differ from the producer's record."
358
+ );
359
+ const publisherState = transport.trustedPublisher(stored.metadata, record, {
360
+ publishing: true,
361
+ });
362
+ // Recheck native scope after upload; do not publish acceptance for changed requirements.
363
+ const fresh = {
364
+ ...context.readSubject(),
365
+ comments: context.readComments(),
366
+ };
367
+ requireProof(
368
+ sha256(primarySpecProjection(fresh.body)) === record.spec_sha256,
369
+ "Requirements changed during proof publication; no locator was written.",
370
+ "pending-proof"
371
+ );
372
+ if (record.state === "accepted-for-completion")
373
+ evaluateAcceptedRecord({ record }, context, fresh, transport);
374
+ const locator = {
375
+ schema_version: 1,
376
+ record_id: record.record_id,
377
+ revision: record.revision,
378
+ repository: context.repository,
379
+ asset_id: stored.metadata.id,
380
+ sha256: digest,
381
+ };
382
+ const body = `${PROOF_MARKER}\n${JSON.stringify(locator)}`;
383
+ const comment = context.postLocator(body, published.nativeId);
384
+ const readback = context
385
+ .readComments()
386
+ .find(row => String(row.id) === String(comment.id));
387
+ requireProof(
388
+ readback?.body === body &&
389
+ String((readback.user ?? readback.author)?.id) === published.trackerActor,
390
+ "The native completion locator or publisher did not read back exactly.",
391
+ WRITE_ERROR
392
+ );
393
+ return {
394
+ category: publisherState.ready ? "published" : "published/pending-producer",
395
+ record_id: record.record_id,
396
+ revision: record.revision,
397
+ asset_id: stored.metadata.id,
398
+ sha256: digest,
399
+ comment_id: comment.id,
400
+ ref: context.ref,
401
+ terminal_mutation: false,
402
+ };
290
403
  }
@@ -17,7 +17,6 @@
17
17
  */
18
18
  import {
19
19
  CompletionProofError,
20
- MAX_NATIVE_JSON_BYTES,
21
20
  requireProof,
22
21
  } from "./completion-proof-shape.mjs";
23
22
  import {
@@ -85,28 +84,13 @@ export function excerpt(stderr) {
85
84
  }
86
85
 
87
86
  /**
88
- * Read a release by tag in one call; `null` only for GitHub's explicit 404.
89
- * Any other failure goes through the bounded transport, which reports it as a
90
- * read error instead of guessing the release is absent and creating it.
87
+ * Read a release by tag; `null` only for GitHub's explicit 404. Any other
88
+ * failure is retried when transient and then reported as a read error naming
89
+ * the release endpoint, instead of guessing the release is absent and
90
+ * creating it (CodySwannGT/lisa#4733).
91
91
  */
92
- function readRelease(run, transport, tag) {
93
- const path = `${transport.root}/releases/tags/${tag}`;
94
- const result = run("gh", ["api", path], {
95
- allowFailure: true,
96
- maxBuffer: MAX_NATIVE_JSON_BYTES,
97
- });
98
- if (result.status === 0 && !result.error) {
99
- try {
100
- return JSON.parse(result.stdout);
101
- } catch {
102
- throw new CompletionProofError(
103
- READ_ERROR,
104
- "The evidence release metadata is not complete JSON."
105
- );
106
- }
107
- }
108
- if (/HTTP 404/.test(result.stderr ?? "")) return null;
109
- return transport.json(path);
92
+ function readRelease(transport, tag) {
93
+ return transport.optionalJson(`${transport.root}/releases/tags/${tag}`);
110
94
  }
111
95
 
112
96
  /**
@@ -147,7 +131,7 @@ export function uploadHitLimit(stderr, transport, release) {
147
131
 
148
132
  /** A release by tag, created when absent; a concurrent creator may win. */
149
133
  function openRelease(run, transport, tag) {
150
- let release = readRelease(run, transport, tag);
134
+ let release = readRelease(transport, tag);
151
135
  if (!release) {
152
136
  const created = run(
153
137
  "gh",
@@ -165,7 +149,7 @@ function openRelease(run, transport, tag) {
165
149
  ],
166
150
  { allowFailure: true }
167
151
  );
168
- release = readRelease(run, transport, tag);
152
+ release = readRelease(transport, tag);
169
153
  const reason = excerpt(created.stderr);
170
154
  requireProof(
171
155
  release,
@@ -173,7 +157,8 @@ function openRelease(run, transport, tag) {
173
157
  WRITE_ERROR
174
158
  );
175
159
  }
176
- return { tag, release, count: releaseAssets(transport, release).length };
160
+ const assets = releaseAssets(transport, release);
161
+ return { tag, release, count: assets.length, assets };
177
162
  }
178
163
 
179
164
  /**
@@ -189,8 +174,11 @@ function openRelease(run, transport, tag) {
189
174
  * when full instead of rolling over.
190
175
  * @param {number} [options.from] - The overflow position to start at; 1 (the
191
176
  * tag itself) by default, higher after an upload found a release full.
192
- * @returns {{tag: string, release: object, count: number, index: number}} The
193
- * usable release and its overflow position.
177
+ * @returns {{tag: string, release: object, count: number, assets: object[],
178
+ * index: number, passed: object[]}} The usable release, the assets it held
179
+ * when checked, its overflow position, and every full release opened and
180
+ * passed over on the way to it, so a publisher can look there for a record
181
+ * it already uploaded (CodySwannGT/lisa#4733).
194
182
  */
195
183
  export function ensureEvidenceRelease(run, transport, policy, options = {}) {
196
184
  const base =
@@ -204,9 +192,10 @@ export function ensureEvidenceRelease(run, transport, policy, options = {}) {
204
192
  pinned: true,
205
193
  })
206
194
  );
207
- return { ...pinned, index: 1 };
195
+ return { ...pinned, index: 1, passed: [] };
208
196
  }
209
197
  let last = { tag: base, count: undefined };
198
+ const passed = [];
210
199
  for (
211
200
  let index = options.from ?? 1;
212
201
  index <= EVIDENCE_RELEASE_MAX_OVERFLOW;
@@ -219,7 +208,9 @@ export function ensureEvidenceRelease(run, transport, policy, options = {}) {
219
208
  `${fullReleaseMessage(last.tag, transport.repository, last.count, { policy })} Lisa could not roll over to \`${tag}\`: the release name is too long for an overflow suffix (GitHub allows 100 characters), so shorten \`verification.completion.evidenceRelease\`.`
220
209
  );
221
210
  last = openRelease(run, transport, tag);
222
- if (last.count < EVIDENCE_RELEASE_NEAR_FULL) return { ...last, index };
211
+ if (last.count < EVIDENCE_RELEASE_NEAR_FULL)
212
+ return { ...last, index, passed: [...passed] };
213
+ passed.push(last);
223
214
  }
224
215
  throw new CompletionProofError(
225
216
  WRITE_ERROR,
@@ -128,7 +128,7 @@
128
128
  "children": []
129
129
  },
130
130
  "lib/completion-proof-github.mjs": {
131
- "sha256": "b2f42db4858a96cff75b17419cb98a6c9998430bc1dc22070b322a62dd77bab2",
131
+ "sha256": "ff40541dce08ead9caa0da538da851a1dafa523521ff136389ce2ee9efaec9d9",
132
132
  "staticImports": [
133
133
  "lib/completion-proof-shape.mjs"
134
134
  ],
@@ -154,7 +154,7 @@
154
154
  "children": []
155
155
  },
156
156
  "lib/completion-proof-publisher.mjs": {
157
- "sha256": "6f3c25bd35b2309c26b39ec90a7e6eab7487921cad9d9e285366b5bc2d3efc25",
157
+ "sha256": "9554fff85ed510f75058614c9ad8535806d52293e1de012900bae7e14db61eb1",
158
158
  "staticImports": [
159
159
  "lib/completion-authorization.mjs",
160
160
  "lib/completion-proof-github.mjs",
@@ -197,7 +197,7 @@
197
197
  "children": []
198
198
  },
199
199
  "lib/evidence-release-capacity.mjs": {
200
- "sha256": "7e1fffe6cb74e345410dff76497d656b261e8da47b5b7a90c0af53626ab5e51e",
200
+ "sha256": "3426aeee6aed4ab7673c69a2812a4761f3bc5b5cf142af9050da77f182a93c76",
201
201
  "staticImports": [
202
202
  "lib/completion-proof-github.mjs",
203
203
  "lib/completion-proof-shape.mjs"
@@ -1 +1 @@
1
- {"version":3,"file":"lisa-owned-hash-ledger.d.ts","sourceRoot":"","sources":["../../src/core/lisa-owned-hash-ledger.ts"],"names":[],"mappings":"AACA,6EAA6E;AAE7E;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAC3C,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAg/EjC,CAAC;AAEH;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,+BAA+B,EAAE,QAAQ,CACpD,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAm5EjC,CAAC"}
1
+ {"version":3,"file":"lisa-owned-hash-ledger.d.ts","sourceRoot":"","sources":["../../src/core/lisa-owned-hash-ledger.ts"],"names":[],"mappings":"AACA,6EAA6E;AAE7E;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAC3C,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CA2/EjC,CAAC;AAEH;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,+BAA+B,EAAE,QAAQ,CACpD,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CA85EjC,CAAC"}
@@ -564,11 +564,14 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
564
564
  "4355cbc85dbc2ee174ae8727b89a24be79813b8689589a94b717ec971f4d9a15",
565
565
  "4b7f8b01ab846a7a16a4d7f66cb7731a83d4b7208aad627834df8a851a36fc32",
566
566
  "82ef0da12fc5c31fc48237808f94cbfd73f0d2128ae1da18ceedcea90284d467",
567
+ "93d9a2048ba8df869d1a4f5f20cf2c59e8fc530b4e5d4d75c70ff193450b88bd",
568
+ "b07e2997f317d8843993d2b5dcc56fe7807eb1b86d1399d52187574248f7a234",
567
569
  "b101b6cb5da8cb8d61cc45de8d1da0699713dfd39da0dc75ddd16e726db25228",
568
570
  "b2f42db4858a96cff75b17419cb98a6c9998430bc1dc22070b322a62dd77bab2",
569
571
  "bcd6a03ad609375b886a45e7af31670b49f1bc4888de1e2f31eb86c44ad56204",
570
572
  "e8152fec3b77c3d9b79358f7972b60e4ea0d0ed32618aff614bc787875ddfb92",
571
573
  "e8a5b585625c2d663c0f92046d8ff020b2e769860235634cd0e4bea4b3a234ae",
574
+ "ff40541dce08ead9caa0da538da851a1dafa523521ff136389ce2ee9efaec9d9",
572
575
  ]),
573
576
  "scripts/lib/completion-proof-markdown.mjs": Object.freeze([
574
577
  "00d00e2c251244d1eb0dc46464c1bb1e170f2576cd025b02518e132c0d467472",
@@ -589,9 +592,12 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
589
592
  "1498eeb8d98ae6ac4349deabd92a482b17bd4611e01f87184a0793d755553331",
590
593
  "6f3c25bd35b2309c26b39ec90a7e6eab7487921cad9d9e285366b5bc2d3efc25",
591
594
  "801df8b694eced082695542dad3e189ce660aa65dda26f3bf11d962120487609",
595
+ "9554fff85ed510f75058614c9ad8535806d52293e1de012900bae7e14db61eb1",
592
596
  "b0e0020ce5f6b9530a90daab4a8b7a8f563b99c4fc549c364c645bbeddcb0fcb",
597
+ "b2ddd92180f6cbfc6083e1146bcd1be2a61711f29de8aa1484c88168b9926aa7",
593
598
  "c04045f9f8000572c43d0a9d066779380b3bdfb7ac664d4b780b3cfb640906a0",
594
599
  "cf37b6b1e09b22eeeab8d64086409a4345489f17cf11eb8ddc3e4c31d6772009",
600
+ "d09103e3a1b2689dd3da6dc63f20a4b4a611a783b0a3614b5a161078f273206f",
595
601
  ]),
596
602
  "scripts/lib/completion-proof-reader.mjs": Object.freeze([
597
603
  "9d4221c4dc90ea0184e33347f8511d97c6ee6e8f43d532bd4ba0e49382612c71",
@@ -650,6 +656,7 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
650
656
  "cc0b46ed86ac8ce96c63a028922097d0a31bdbe1011096f0776b84055bc45c0f",
651
657
  ]),
652
658
  "scripts/lib/evidence-release-capacity.mjs": Object.freeze([
659
+ "3426aeee6aed4ab7673c69a2812a4761f3bc5b5cf142af9050da77f182a93c76",
653
660
  "45ccba8cf5390bcafd47f038edc1141dddb45d3bd87f03ffeb704a361c523b99",
654
661
  "7e1fffe6cb74e345410dff76497d656b261e8da47b5b7a90c0af53626ab5e51e",
655
662
  "e47c9b62f6a1d27fb2d5038dda016c15b41b54f906bc3256415a00f23f1d341a",
@@ -2370,6 +2377,7 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
2370
2377
  "470715340b46b978c5fb2e129f952889acfc3e92a28767b849b456b2bf557c04",
2371
2378
  "4ba0a464fece333a2bcd8590d62e1881397ca5863958627b92a4b797afaebc45",
2372
2379
  "4eb102ead5b07918bd071a2e9588c7c515b55cfe7b06b77a1c735ecd90246195",
2380
+ "4ff2ef117fab4288421cbdedcd4b9d6aa873428445a1a1f7c907af7c73afcf4f",
2373
2381
  "5020b6b12ddecf551bddf2ee2ea857017e5dd1ea0756cabeca24aad72ef98190",
2374
2382
  "50360ad5cdaeedf4d4966343301cf6f02671928cf4b19fb1f322e827a737256a",
2375
2383
  "559f96f189ec0c11f8a2ef0c6efca16b2728702f6d3f8aeda418b2ab9d98c4e4",
@@ -2433,6 +2441,7 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
2433
2441
  "a92d71d8edfb339648024ed24d105347dcebb4fbadc07c1061dba4038c6a1f7a",
2434
2442
  "a9f7aff4ca32e9dafbd9f242d0253da86df5b3a38c66dd2a275aa44c14f032f2",
2435
2443
  "ab1e4e2810b47e1c14db8386cf1175bf5b58f42000f784f440cb06b4ad4bab01",
2444
+ "ac4a3f9ec89759f7525bc3e4f05f79be7c630da43089ad62ee81112848b014a7",
2436
2445
  "b19c9073ac69315cffb122af22b82c1c5a59ab0838a464cb54150101cec3ef30",
2437
2446
  "b24b4dd50b7f9b987b689578798585639993dcf7210b8f38c7b1ba82c851a0d4",
2438
2447
  "b2f392ac7eb9f645583dfbe357d608ab266c19177230b9b4420baa8975573b2c",
@@ -2469,6 +2478,7 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
2469
2478
  "e6aa56958b9f2f0c1e52019cc7e22822df59f126953c1c7f395246e3c66f3c82",
2470
2479
  "e6c2ba2036e39587dd8cd01791dc24f7cf228796be59eea36514a3e1c2f758eb",
2471
2480
  "e8b1e5b4edd7a6fb692e4e2e140dfd59282152ed741af98c2a4dfdf9c3c4c32e",
2481
+ "e8e94cd938a8a275f7a1c9e8d30ba5fbc0e60ea8da7d375df1d555178f3c5e1e",
2472
2482
  "e9048ea95f21e9f6f400853da11a23f1159368d1768215c968a1d6d357f8bbbf",
2473
2483
  "ea6b393b8088607d37599019bebb1e4416745b746d93add466a1567ceebd2323",
2474
2484
  "ecb3d980f2f2fecc7306224d1c1d32218d5c7769fd3a4c651e3328a1e698cb01",
@@ -2486,6 +2496,7 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
2486
2496
  "fb43be1093b0219b8756281185d41d9786ef50018cf3aa25bc3e3f6f7617ed59",
2487
2497
  "fd03f197b4db3dee95244df3d0af638fb371fd5d2726c173e0f6be40f5e92b88",
2488
2498
  "fd4fbcb59454b11e22c6ba067854570f644cadfa2e943fcb1a068c3be8ec74ab",
2499
+ "fd7e69942bf8f9a08a9c63a7818f3678d73f7973daf5855d77e618b18e065925",
2489
2500
  "fd96a6f85f2a3dae85c032d7a32a31258305e04aaaa0aa8ed5c25a39e5a3d73c",
2490
2501
  "fdb4437f15a0be6a5a14377d1efcd93b2fc7b0d86d780200a4df249ec1b8f3d1",
2491
2502
  "fe29a7b692576d3a3fbfacaf0f6e92d13958daf7c11bbcdbfe3256559f5e11f4",
@@ -3103,11 +3114,14 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
3103
3114
  "4355cbc85dbc2ee174ae8727b89a24be79813b8689589a94b717ec971f4d9a15",
3104
3115
  "4b7f8b01ab846a7a16a4d7f66cb7731a83d4b7208aad627834df8a851a36fc32",
3105
3116
  "82ef0da12fc5c31fc48237808f94cbfd73f0d2128ae1da18ceedcea90284d467",
3117
+ "93d9a2048ba8df869d1a4f5f20cf2c59e8fc530b4e5d4d75c70ff193450b88bd",
3118
+ "b07e2997f317d8843993d2b5dcc56fe7807eb1b86d1399d52187574248f7a234",
3106
3119
  "b101b6cb5da8cb8d61cc45de8d1da0699713dfd39da0dc75ddd16e726db25228",
3107
3120
  "b2f42db4858a96cff75b17419cb98a6c9998430bc1dc22070b322a62dd77bab2",
3108
3121
  "bcd6a03ad609375b886a45e7af31670b49f1bc4888de1e2f31eb86c44ad56204",
3109
3122
  "e8152fec3b77c3d9b79358f7972b60e4ea0d0ed32618aff614bc787875ddfb92",
3110
3123
  "e8a5b585625c2d663c0f92046d8ff020b2e769860235634cd0e4bea4b3a234ae",
3124
+ "ff40541dce08ead9caa0da538da851a1dafa523521ff136389ce2ee9efaec9d9",
3111
3125
  ]),
3112
3126
  "scripts/lib/completion-proof-markdown.mjs": Object.freeze([
3113
3127
  "00d00e2c251244d1eb0dc46464c1bb1e170f2576cd025b02518e132c0d467472",
@@ -3128,9 +3142,12 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
3128
3142
  "1498eeb8d98ae6ac4349deabd92a482b17bd4611e01f87184a0793d755553331",
3129
3143
  "6f3c25bd35b2309c26b39ec90a7e6eab7487921cad9d9e285366b5bc2d3efc25",
3130
3144
  "801df8b694eced082695542dad3e189ce660aa65dda26f3bf11d962120487609",
3145
+ "9554fff85ed510f75058614c9ad8535806d52293e1de012900bae7e14db61eb1",
3131
3146
  "b0e0020ce5f6b9530a90daab4a8b7a8f563b99c4fc549c364c645bbeddcb0fcb",
3147
+ "b2ddd92180f6cbfc6083e1146bcd1be2a61711f29de8aa1484c88168b9926aa7",
3132
3148
  "c04045f9f8000572c43d0a9d066779380b3bdfb7ac664d4b780b3cfb640906a0",
3133
3149
  "cf37b6b1e09b22eeeab8d64086409a4345489f17cf11eb8ddc3e4c31d6772009",
3150
+ "d09103e3a1b2689dd3da6dc63f20a4b4a611a783b0a3614b5a161078f273206f",
3134
3151
  ]),
3135
3152
  "scripts/lib/completion-proof-reader.mjs": Object.freeze([
3136
3153
  "9d4221c4dc90ea0184e33347f8511d97c6ee6e8f43d532bd4ba0e49382612c71",
@@ -3189,6 +3206,7 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
3189
3206
  "cc0b46ed86ac8ce96c63a028922097d0a31bdbe1011096f0776b84055bc45c0f",
3190
3207
  ]),
3191
3208
  "scripts/lib/evidence-release-capacity.mjs": Object.freeze([
3209
+ "3426aeee6aed4ab7673c69a2812a4761f3bc5b5cf142af9050da77f182a93c76",
3192
3210
  "45ccba8cf5390bcafd47f038edc1141dddb45d3bd87f03ffeb704a361c523b99",
3193
3211
  "7e1fffe6cb74e345410dff76497d656b261e8da47b5b7a90c0af53626ab5e51e",
3194
3212
  "e47c9b62f6a1d27fb2d5038dda016c15b41b54f906bc3256415a00f23f1d341a",
@@ -4838,6 +4856,7 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
4838
4856
  "470715340b46b978c5fb2e129f952889acfc3e92a28767b849b456b2bf557c04",
4839
4857
  "4ba0a464fece333a2bcd8590d62e1881397ca5863958627b92a4b797afaebc45",
4840
4858
  "4eb102ead5b07918bd071a2e9588c7c515b55cfe7b06b77a1c735ecd90246195",
4859
+ "4ff2ef117fab4288421cbdedcd4b9d6aa873428445a1a1f7c907af7c73afcf4f",
4841
4860
  "5020b6b12ddecf551bddf2ee2ea857017e5dd1ea0756cabeca24aad72ef98190",
4842
4861
  "50360ad5cdaeedf4d4966343301cf6f02671928cf4b19fb1f322e827a737256a",
4843
4862
  "559f96f189ec0c11f8a2ef0c6efca16b2728702f6d3f8aeda418b2ab9d98c4e4",
@@ -4901,6 +4920,7 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
4901
4920
  "a92d71d8edfb339648024ed24d105347dcebb4fbadc07c1061dba4038c6a1f7a",
4902
4921
  "a9f7aff4ca32e9dafbd9f242d0253da86df5b3a38c66dd2a275aa44c14f032f2",
4903
4922
  "ab1e4e2810b47e1c14db8386cf1175bf5b58f42000f784f440cb06b4ad4bab01",
4923
+ "ac4a3f9ec89759f7525bc3e4f05f79be7c630da43089ad62ee81112848b014a7",
4904
4924
  "b19c9073ac69315cffb122af22b82c1c5a59ab0838a464cb54150101cec3ef30",
4905
4925
  "b24b4dd50b7f9b987b689578798585639993dcf7210b8f38c7b1ba82c851a0d4",
4906
4926
  "b2f392ac7eb9f645583dfbe357d608ab266c19177230b9b4420baa8975573b2c",
@@ -4937,6 +4957,7 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
4937
4957
  "e6aa56958b9f2f0c1e52019cc7e22822df59f126953c1c7f395246e3c66f3c82",
4938
4958
  "e6c2ba2036e39587dd8cd01791dc24f7cf228796be59eea36514a3e1c2f758eb",
4939
4959
  "e8b1e5b4edd7a6fb692e4e2e140dfd59282152ed741af98c2a4dfdf9c3c4c32e",
4960
+ "e8e94cd938a8a275f7a1c9e8d30ba5fbc0e60ea8da7d375df1d555178f3c5e1e",
4940
4961
  "e9048ea95f21e9f6f400853da11a23f1159368d1768215c968a1d6d357f8bbbf",
4941
4962
  "ea6b393b8088607d37599019bebb1e4416745b746d93add466a1567ceebd2323",
4942
4963
  "ecb3d980f2f2fecc7306224d1c1d32218d5c7769fd3a4c651e3328a1e698cb01",
@@ -4954,6 +4975,7 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
4954
4975
  "fb43be1093b0219b8756281185d41d9786ef50018cf3aa25bc3e3f6f7617ed59",
4955
4976
  "fd03f197b4db3dee95244df3d0af638fb371fd5d2726c173e0f6be40f5e92b88",
4956
4977
  "fd4fbcb59454b11e22c6ba067854570f644cadfa2e943fcb1a068c3be8ec74ab",
4978
+ "fd7e69942bf8f9a08a9c63a7818f3678d73f7973daf5855d77e618b18e065925",
4957
4979
  "fd96a6f85f2a3dae85c032d7a32a31258305e04aaaa0aa8ed5c25a39e5a3d73c",
4958
4980
  "fdb4437f15a0be6a5a14377d1efcd93b2fc7b0d86d780200a4df249ec1b8f3d1",
4959
4981
  "fe29a7b692576d3a3fbfacaf0f6e92d13958daf7c11bbcdbfe3256559f5e11f4",