@lucern/contracts 1.0.30 → 1.0.31

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 (78) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/assembly-acceptance-gate.contract.d.ts +1234 -1234
  3. package/dist/assembly-instrumentation.contract.d.ts +413 -413
  4. package/dist/belongs-to-membership-model.contract.d.ts +45 -45
  5. package/dist/campaign-context-compiler.contract.d.ts +87 -87
  6. package/dist/canonical-edge-public-noun-lock.contract.d.ts +106 -106
  7. package/dist/concept-maturity-rubric.contract.d.ts +131 -131
  8. package/dist/docs-canon-reconciliation-loop.contract.d.ts +37 -37
  9. package/dist/{edge-policy-manifest-Bg3B5G0u.d.ts → edge-policy-manifest-C38kuf7v.d.ts} +26 -26
  10. package/dist/evidence-question-forecast-maturity.contract.d.ts +76 -76
  11. package/dist/evidence-taxonomy-target-scope.contract.d.ts +61 -61
  12. package/dist/final-substrate-source-ledger.contract.d.ts +149 -149
  13. package/dist/function-registry/helpers.d.ts +1 -1
  14. package/dist/function-registry/index.d.ts +11 -11
  15. package/dist/generated/state-vector-transition-table.d.ts +1 -1
  16. package/dist/golden-reasoning-eval-harness.contract.d.ts +2178 -2178
  17. package/dist/graph-traversal-canon.contract.d.ts +121 -121
  18. package/dist/graph-traversal-invariant-guardrails.contract.d.ts +68 -68
  19. package/dist/graph-v2-write-policy-constitution.contract.d.ts +219 -219
  20. package/dist/heartbeat-property-validation.contract.d.ts +86 -86
  21. package/dist/index.d.ts +2 -2
  22. package/dist/manifest-projection-generation.contract.d.ts +34 -34
  23. package/dist/manifests/check-manifest.d.ts +12 -12
  24. package/dist/manifests/edge-policy-manifest.d.ts +1 -1
  25. package/dist/manifests/edge-policy-manifest.data.d.ts +3 -3
  26. package/dist/manifests/invariant-manifest.d.ts +6 -6
  27. package/dist/observability-audit-store-migration.contract.d.ts +110 -110
  28. package/dist/parsimony-diagnostic.contract.d.ts +328 -328
  29. package/dist/post-substrate-surface-lock.contract.d.ts +48 -48
  30. package/dist/post-substrate-surface-upgrade.contract.d.ts +82 -82
  31. package/dist/pre-rebuild-closeout-gate.contract.d.ts +153 -153
  32. package/dist/primitive-epistemic-state-constitution.contract.d.ts +34 -34
  33. package/dist/primitive-epistemic-state-constitution.data.d.ts +1 -1
  34. package/dist/primitive-maturity-matrix.contract.d.ts +100 -100
  35. package/dist/prior-art-vocabulary-firewall.contract.d.ts +19 -19
  36. package/dist/projections/create-evidence.projection.d.ts +36 -36
  37. package/dist/projections/index.d.ts +7 -7
  38. package/dist/projections/list-beliefs.projection.d.ts +3 -3
  39. package/dist/proof-attestation.json +1 -1
  40. package/dist/propagation-v2-contract.contract.d.ts +74 -74
  41. package/dist/published-belief-artifact.contract.d.ts +325 -325
  42. package/dist/reset-authorization-package.contract.d.ts +84 -84
  43. package/dist/retrieval-search-discovery-receipt.contract.d.ts +288 -288
  44. package/dist/schema-change-belief.contract.d.ts +179 -179
  45. package/dist/schemas/component-table-manifest.d.ts +8 -8
  46. package/dist/schemas/manifest.d.ts +580 -580
  47. package/dist/schemas/tables/kernel/epistemic.d.ts +2 -2
  48. package/dist/schemas/tables/kernel/intelligence.d.ts +16 -16
  49. package/dist/schemas/tables/kernel/lens.d.ts +10 -10
  50. package/dist/schemas/tables/kernel/platform.d.ts +14 -14
  51. package/dist/schemas/tables/kernel/task.d.ts +26 -26
  52. package/dist/schemas/tables/kernel/worktree.d.ts +18 -18
  53. package/dist/schemas/tables/mc/identity.d.ts +2 -2
  54. package/dist/schemas/tables/mc/methodology.d.ts +2 -2
  55. package/dist/schemas/tables/mc/pack.d.ts +24 -24
  56. package/dist/schemas/tables/mc/runtime.d.ts +2 -2
  57. package/dist/slice-serialization.contract.d.ts +1325 -1325
  58. package/dist/source-material-adoption-ledger.contract.d.ts +250 -250
  59. package/dist/source-material-total-partition.contract.d.ts +254 -254
  60. package/dist/state-vector-manifest.contract.d.ts +83 -83
  61. package/dist/state-vector-manifest.data.contract.d.ts +1 -1
  62. package/dist/state-vector-runtime.contract.d.ts +28 -28
  63. package/dist/substrate-envelope.contract.d.ts +117 -117
  64. package/dist/substrate-lifecycle-lineage.contract.d.ts +30 -30
  65. package/dist/substrate-migration-cutover-ledger.contract.d.ts +13 -13
  66. package/dist/substrate-neo4j-projection.contract.d.ts +179 -179
  67. package/dist/transition-receipt.contract.d.ts +543 -543
  68. package/dist/traversal-mode-constitution.contract.d.ts +123 -123
  69. package/dist/typed-gate-registry.contract.d.ts +61 -61
  70. package/dist/typed-need.contract.d.ts +248 -248
  71. package/dist/{unified-state-matrix.contract-BJDYNhnf.d.ts → unified-state-matrix.contract-BTxqLggA.d.ts} +96 -96
  72. package/dist/unified-state-matrix.contract.d.ts +1 -1
  73. package/dist/unified-state-matrix.data.contract.d.ts +1 -1
  74. package/dist/workspace-data-sovereignty.contract.d.ts +114 -114
  75. package/dist/worktree-belief-adoption.contract.d.ts +91 -91
  76. package/dist/worktree-delta-ledger.contract.d.ts +124 -124
  77. package/dist/worktree-graph-branch-maturity.contract.d.ts +63 -63
  78. package/package.json +1 -1
@@ -92,30 +92,30 @@ declare const RetrievalSearchDiscoveryReceiptMetadataSchema: z.ZodEffects<z.ZodO
92
92
  clerkId: z.ZodNullable<z.ZodString>;
93
93
  }, "strip", z.ZodTypeAny, {
94
94
  principalId: string;
95
- principalType: "user" | "agent" | "system";
95
+ principalType: "agent" | "user" | "system";
96
96
  clerkId: string | null;
97
97
  }, {
98
98
  principalId: string;
99
- principalType: "user" | "agent" | "system";
99
+ principalType: "agent" | "user" | "system";
100
100
  clerkId: string | null;
101
101
  }>;
102
102
  rationale: z.ZodString;
103
103
  }, "strip", z.ZodTypeAny, {
104
+ rationale: string;
104
105
  contractVersion: "retrieval_search_discovery_receipt_v1";
105
- ownerWorktree: "GV2.0.6";
106
106
  createdAt: string;
107
- createdBy: {
108
- principalId: string;
109
- principalType: "user" | "agent" | "system";
110
- clerkId: string | null;
111
- };
107
+ ownerWorktree: "GV2.0.6";
112
108
  metadataReceiptUuid: string;
113
109
  operationKind: "search" | "retrieval" | "representation_adoption";
114
110
  sourceHorizonRef: string;
115
111
  surfacedExisting: boolean;
116
112
  learnedNewCommitment: boolean;
117
113
  receiptRefs: string[];
118
- rationale: string;
114
+ createdBy: {
115
+ principalId: string;
116
+ principalType: "agent" | "user" | "system";
117
+ clerkId: string | null;
118
+ };
119
119
  bridgeMetadata: {
120
120
  storageLocator: {
121
121
  table: string;
@@ -133,21 +133,21 @@ declare const RetrievalSearchDiscoveryReceiptMetadataSchema: z.ZodEffects<z.ZodO
133
133
  containsPaperSpecificVocabulary: false;
134
134
  };
135
135
  }, {
136
+ rationale: string;
136
137
  contractVersion: "retrieval_search_discovery_receipt_v1";
137
- ownerWorktree: "GV2.0.6";
138
138
  createdAt: string;
139
- createdBy: {
140
- principalId: string;
141
- principalType: "user" | "agent" | "system";
142
- clerkId: string | null;
143
- };
139
+ ownerWorktree: "GV2.0.6";
144
140
  metadataReceiptUuid: string;
145
141
  operationKind: "search" | "retrieval" | "representation_adoption";
146
142
  sourceHorizonRef: string;
147
143
  surfacedExisting: boolean;
148
144
  learnedNewCommitment: boolean;
149
145
  receiptRefs: string[];
150
- rationale: string;
146
+ createdBy: {
147
+ principalId: string;
148
+ principalType: "agent" | "user" | "system";
149
+ clerkId: string | null;
150
+ };
151
151
  bridgeMetadata: {
152
152
  storageLocator: {
153
153
  table: string;
@@ -165,21 +165,21 @@ declare const RetrievalSearchDiscoveryReceiptMetadataSchema: z.ZodEffects<z.ZodO
165
165
  containsPaperSpecificVocabulary: false;
166
166
  };
167
167
  }>, {
168
+ rationale: string;
168
169
  contractVersion: "retrieval_search_discovery_receipt_v1";
169
- ownerWorktree: "GV2.0.6";
170
170
  createdAt: string;
171
- createdBy: {
172
- principalId: string;
173
- principalType: "user" | "agent" | "system";
174
- clerkId: string | null;
175
- };
171
+ ownerWorktree: "GV2.0.6";
176
172
  metadataReceiptUuid: string;
177
173
  operationKind: "search" | "retrieval" | "representation_adoption";
178
174
  sourceHorizonRef: string;
179
175
  surfacedExisting: boolean;
180
176
  learnedNewCommitment: boolean;
181
177
  receiptRefs: string[];
182
- rationale: string;
178
+ createdBy: {
179
+ principalId: string;
180
+ principalType: "agent" | "user" | "system";
181
+ clerkId: string | null;
182
+ };
183
183
  bridgeMetadata: {
184
184
  storageLocator: {
185
185
  table: string;
@@ -197,21 +197,21 @@ declare const RetrievalSearchDiscoveryReceiptMetadataSchema: z.ZodEffects<z.ZodO
197
197
  containsPaperSpecificVocabulary: false;
198
198
  };
199
199
  }, {
200
+ rationale: string;
200
201
  contractVersion: "retrieval_search_discovery_receipt_v1";
201
- ownerWorktree: "GV2.0.6";
202
202
  createdAt: string;
203
- createdBy: {
204
- principalId: string;
205
- principalType: "user" | "agent" | "system";
206
- clerkId: string | null;
207
- };
203
+ ownerWorktree: "GV2.0.6";
208
204
  metadataReceiptUuid: string;
209
205
  operationKind: "search" | "retrieval" | "representation_adoption";
210
206
  sourceHorizonRef: string;
211
207
  surfacedExisting: boolean;
212
208
  learnedNewCommitment: boolean;
213
209
  receiptRefs: string[];
214
- rationale: string;
210
+ createdBy: {
211
+ principalId: string;
212
+ principalType: "agent" | "user" | "system";
213
+ clerkId: string | null;
214
+ };
215
215
  bridgeMetadata: {
216
216
  storageLocator: {
217
217
  table: string;
@@ -304,30 +304,30 @@ declare const RetrievalSearchDiscoveryReceiptPacketSchema: z.ZodEffects<z.ZodObj
304
304
  clerkId: z.ZodNullable<z.ZodString>;
305
305
  }, "strip", z.ZodTypeAny, {
306
306
  principalId: string;
307
- principalType: "user" | "agent" | "system";
307
+ principalType: "agent" | "user" | "system";
308
308
  clerkId: string | null;
309
309
  }, {
310
310
  principalId: string;
311
- principalType: "user" | "agent" | "system";
311
+ principalType: "agent" | "user" | "system";
312
312
  clerkId: string | null;
313
313
  }>;
314
314
  rationale: z.ZodString;
315
315
  }, "strip", z.ZodTypeAny, {
316
+ rationale: string;
316
317
  contractVersion: "retrieval_search_discovery_receipt_v1";
317
- ownerWorktree: "GV2.0.6";
318
318
  createdAt: string;
319
- createdBy: {
320
- principalId: string;
321
- principalType: "user" | "agent" | "system";
322
- clerkId: string | null;
323
- };
319
+ ownerWorktree: "GV2.0.6";
324
320
  metadataReceiptUuid: string;
325
321
  operationKind: "search" | "retrieval" | "representation_adoption";
326
322
  sourceHorizonRef: string;
327
323
  surfacedExisting: boolean;
328
324
  learnedNewCommitment: boolean;
329
325
  receiptRefs: string[];
330
- rationale: string;
326
+ createdBy: {
327
+ principalId: string;
328
+ principalType: "agent" | "user" | "system";
329
+ clerkId: string | null;
330
+ };
331
331
  bridgeMetadata: {
332
332
  storageLocator: {
333
333
  table: string;
@@ -345,21 +345,21 @@ declare const RetrievalSearchDiscoveryReceiptPacketSchema: z.ZodEffects<z.ZodObj
345
345
  containsPaperSpecificVocabulary: false;
346
346
  };
347
347
  }, {
348
+ rationale: string;
348
349
  contractVersion: "retrieval_search_discovery_receipt_v1";
349
- ownerWorktree: "GV2.0.6";
350
350
  createdAt: string;
351
- createdBy: {
352
- principalId: string;
353
- principalType: "user" | "agent" | "system";
354
- clerkId: string | null;
355
- };
351
+ ownerWorktree: "GV2.0.6";
356
352
  metadataReceiptUuid: string;
357
353
  operationKind: "search" | "retrieval" | "representation_adoption";
358
354
  sourceHorizonRef: string;
359
355
  surfacedExisting: boolean;
360
356
  learnedNewCommitment: boolean;
361
357
  receiptRefs: string[];
362
- rationale: string;
358
+ createdBy: {
359
+ principalId: string;
360
+ principalType: "agent" | "user" | "system";
361
+ clerkId: string | null;
362
+ };
363
363
  bridgeMetadata: {
364
364
  storageLocator: {
365
365
  table: string;
@@ -377,21 +377,21 @@ declare const RetrievalSearchDiscoveryReceiptPacketSchema: z.ZodEffects<z.ZodObj
377
377
  containsPaperSpecificVocabulary: false;
378
378
  };
379
379
  }>, {
380
+ rationale: string;
380
381
  contractVersion: "retrieval_search_discovery_receipt_v1";
381
- ownerWorktree: "GV2.0.6";
382
382
  createdAt: string;
383
- createdBy: {
384
- principalId: string;
385
- principalType: "user" | "agent" | "system";
386
- clerkId: string | null;
387
- };
383
+ ownerWorktree: "GV2.0.6";
388
384
  metadataReceiptUuid: string;
389
385
  operationKind: "search" | "retrieval" | "representation_adoption";
390
386
  sourceHorizonRef: string;
391
387
  surfacedExisting: boolean;
392
388
  learnedNewCommitment: boolean;
393
389
  receiptRefs: string[];
394
- rationale: string;
390
+ createdBy: {
391
+ principalId: string;
392
+ principalType: "agent" | "user" | "system";
393
+ clerkId: string | null;
394
+ };
395
395
  bridgeMetadata: {
396
396
  storageLocator: {
397
397
  table: string;
@@ -409,21 +409,21 @@ declare const RetrievalSearchDiscoveryReceiptPacketSchema: z.ZodEffects<z.ZodObj
409
409
  containsPaperSpecificVocabulary: false;
410
410
  };
411
411
  }, {
412
+ rationale: string;
412
413
  contractVersion: "retrieval_search_discovery_receipt_v1";
413
- ownerWorktree: "GV2.0.6";
414
414
  createdAt: string;
415
- createdBy: {
416
- principalId: string;
417
- principalType: "user" | "agent" | "system";
418
- clerkId: string | null;
419
- };
415
+ ownerWorktree: "GV2.0.6";
420
416
  metadataReceiptUuid: string;
421
417
  operationKind: "search" | "retrieval" | "representation_adoption";
422
418
  sourceHorizonRef: string;
423
419
  surfacedExisting: boolean;
424
420
  learnedNewCommitment: boolean;
425
421
  receiptRefs: string[];
426
- rationale: string;
422
+ createdBy: {
423
+ principalId: string;
424
+ principalType: "agent" | "user" | "system";
425
+ clerkId: string | null;
426
+ };
427
427
  bridgeMetadata: {
428
428
  storageLocator: {
429
429
  table: string;
@@ -453,21 +453,21 @@ declare const RetrievalSearchDiscoveryReceiptPacketSchema: z.ZodEffects<z.ZodObj
453
453
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
454
454
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
455
455
  metadataReceipts: {
456
+ rationale: string;
456
457
  contractVersion: "retrieval_search_discovery_receipt_v1";
457
- ownerWorktree: "GV2.0.6";
458
458
  createdAt: string;
459
- createdBy: {
460
- principalId: string;
461
- principalType: "user" | "agent" | "system";
462
- clerkId: string | null;
463
- };
459
+ ownerWorktree: "GV2.0.6";
464
460
  metadataReceiptUuid: string;
465
461
  operationKind: "search" | "retrieval" | "representation_adoption";
466
462
  sourceHorizonRef: string;
467
463
  surfacedExisting: boolean;
468
464
  learnedNewCommitment: boolean;
469
465
  receiptRefs: string[];
470
- rationale: string;
466
+ createdBy: {
467
+ principalId: string;
468
+ principalType: "agent" | "user" | "system";
469
+ clerkId: string | null;
470
+ };
471
471
  bridgeMetadata: {
472
472
  storageLocator: {
473
473
  table: string;
@@ -495,21 +495,21 @@ declare const RetrievalSearchDiscoveryReceiptPacketSchema: z.ZodEffects<z.ZodObj
495
495
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
496
496
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
497
497
  metadataReceipts: {
498
+ rationale: string;
498
499
  contractVersion: "retrieval_search_discovery_receipt_v1";
499
- ownerWorktree: "GV2.0.6";
500
500
  createdAt: string;
501
- createdBy: {
502
- principalId: string;
503
- principalType: "user" | "agent" | "system";
504
- clerkId: string | null;
505
- };
501
+ ownerWorktree: "GV2.0.6";
506
502
  metadataReceiptUuid: string;
507
503
  operationKind: "search" | "retrieval" | "representation_adoption";
508
504
  sourceHorizonRef: string;
509
505
  surfacedExisting: boolean;
510
506
  learnedNewCommitment: boolean;
511
507
  receiptRefs: string[];
512
- rationale: string;
508
+ createdBy: {
509
+ principalId: string;
510
+ principalType: "agent" | "user" | "system";
511
+ clerkId: string | null;
512
+ };
513
513
  bridgeMetadata: {
514
514
  storageLocator: {
515
515
  table: string;
@@ -537,21 +537,21 @@ declare const RetrievalSearchDiscoveryReceiptPacketSchema: z.ZodEffects<z.ZodObj
537
537
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
538
538
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
539
539
  metadataReceipts: {
540
+ rationale: string;
540
541
  contractVersion: "retrieval_search_discovery_receipt_v1";
541
- ownerWorktree: "GV2.0.6";
542
542
  createdAt: string;
543
- createdBy: {
544
- principalId: string;
545
- principalType: "user" | "agent" | "system";
546
- clerkId: string | null;
547
- };
543
+ ownerWorktree: "GV2.0.6";
548
544
  metadataReceiptUuid: string;
549
545
  operationKind: "search" | "retrieval" | "representation_adoption";
550
546
  sourceHorizonRef: string;
551
547
  surfacedExisting: boolean;
552
548
  learnedNewCommitment: boolean;
553
549
  receiptRefs: string[];
554
- rationale: string;
550
+ createdBy: {
551
+ principalId: string;
552
+ principalType: "agent" | "user" | "system";
553
+ clerkId: string | null;
554
+ };
555
555
  bridgeMetadata: {
556
556
  storageLocator: {
557
557
  table: string;
@@ -579,21 +579,21 @@ declare const RetrievalSearchDiscoveryReceiptPacketSchema: z.ZodEffects<z.ZodObj
579
579
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
580
580
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
581
581
  metadataReceipts: {
582
+ rationale: string;
582
583
  contractVersion: "retrieval_search_discovery_receipt_v1";
583
- ownerWorktree: "GV2.0.6";
584
584
  createdAt: string;
585
- createdBy: {
586
- principalId: string;
587
- principalType: "user" | "agent" | "system";
588
- clerkId: string | null;
589
- };
585
+ ownerWorktree: "GV2.0.6";
590
586
  metadataReceiptUuid: string;
591
587
  operationKind: "search" | "retrieval" | "representation_adoption";
592
588
  sourceHorizonRef: string;
593
589
  surfacedExisting: boolean;
594
590
  learnedNewCommitment: boolean;
595
591
  receiptRefs: string[];
596
- rationale: string;
592
+ createdBy: {
593
+ principalId: string;
594
+ principalType: "agent" | "user" | "system";
595
+ clerkId: string | null;
596
+ };
597
597
  bridgeMetadata: {
598
598
  storageLocator: {
599
599
  table: string;
@@ -709,30 +709,30 @@ declare const RetrievalSearchDiscoveryReceiptContractSchema: z.ZodObject<{
709
709
  clerkId: z.ZodNullable<z.ZodString>;
710
710
  }, "strip", z.ZodTypeAny, {
711
711
  principalId: string;
712
- principalType: "user" | "agent" | "system";
712
+ principalType: "agent" | "user" | "system";
713
713
  clerkId: string | null;
714
714
  }, {
715
715
  principalId: string;
716
- principalType: "user" | "agent" | "system";
716
+ principalType: "agent" | "user" | "system";
717
717
  clerkId: string | null;
718
718
  }>;
719
719
  rationale: z.ZodString;
720
720
  }, "strip", z.ZodTypeAny, {
721
+ rationale: string;
721
722
  contractVersion: "retrieval_search_discovery_receipt_v1";
722
- ownerWorktree: "GV2.0.6";
723
723
  createdAt: string;
724
- createdBy: {
725
- principalId: string;
726
- principalType: "user" | "agent" | "system";
727
- clerkId: string | null;
728
- };
724
+ ownerWorktree: "GV2.0.6";
729
725
  metadataReceiptUuid: string;
730
726
  operationKind: "search" | "retrieval" | "representation_adoption";
731
727
  sourceHorizonRef: string;
732
728
  surfacedExisting: boolean;
733
729
  learnedNewCommitment: boolean;
734
730
  receiptRefs: string[];
735
- rationale: string;
731
+ createdBy: {
732
+ principalId: string;
733
+ principalType: "agent" | "user" | "system";
734
+ clerkId: string | null;
735
+ };
736
736
  bridgeMetadata: {
737
737
  storageLocator: {
738
738
  table: string;
@@ -750,21 +750,21 @@ declare const RetrievalSearchDiscoveryReceiptContractSchema: z.ZodObject<{
750
750
  containsPaperSpecificVocabulary: false;
751
751
  };
752
752
  }, {
753
+ rationale: string;
753
754
  contractVersion: "retrieval_search_discovery_receipt_v1";
754
- ownerWorktree: "GV2.0.6";
755
755
  createdAt: string;
756
- createdBy: {
757
- principalId: string;
758
- principalType: "user" | "agent" | "system";
759
- clerkId: string | null;
760
- };
756
+ ownerWorktree: "GV2.0.6";
761
757
  metadataReceiptUuid: string;
762
758
  operationKind: "search" | "retrieval" | "representation_adoption";
763
759
  sourceHorizonRef: string;
764
760
  surfacedExisting: boolean;
765
761
  learnedNewCommitment: boolean;
766
762
  receiptRefs: string[];
767
- rationale: string;
763
+ createdBy: {
764
+ principalId: string;
765
+ principalType: "agent" | "user" | "system";
766
+ clerkId: string | null;
767
+ };
768
768
  bridgeMetadata: {
769
769
  storageLocator: {
770
770
  table: string;
@@ -782,21 +782,21 @@ declare const RetrievalSearchDiscoveryReceiptContractSchema: z.ZodObject<{
782
782
  containsPaperSpecificVocabulary: false;
783
783
  };
784
784
  }>, {
785
+ rationale: string;
785
786
  contractVersion: "retrieval_search_discovery_receipt_v1";
786
- ownerWorktree: "GV2.0.6";
787
787
  createdAt: string;
788
- createdBy: {
789
- principalId: string;
790
- principalType: "user" | "agent" | "system";
791
- clerkId: string | null;
792
- };
788
+ ownerWorktree: "GV2.0.6";
793
789
  metadataReceiptUuid: string;
794
790
  operationKind: "search" | "retrieval" | "representation_adoption";
795
791
  sourceHorizonRef: string;
796
792
  surfacedExisting: boolean;
797
793
  learnedNewCommitment: boolean;
798
794
  receiptRefs: string[];
799
- rationale: string;
795
+ createdBy: {
796
+ principalId: string;
797
+ principalType: "agent" | "user" | "system";
798
+ clerkId: string | null;
799
+ };
800
800
  bridgeMetadata: {
801
801
  storageLocator: {
802
802
  table: string;
@@ -814,21 +814,21 @@ declare const RetrievalSearchDiscoveryReceiptContractSchema: z.ZodObject<{
814
814
  containsPaperSpecificVocabulary: false;
815
815
  };
816
816
  }, {
817
+ rationale: string;
817
818
  contractVersion: "retrieval_search_discovery_receipt_v1";
818
- ownerWorktree: "GV2.0.6";
819
819
  createdAt: string;
820
- createdBy: {
821
- principalId: string;
822
- principalType: "user" | "agent" | "system";
823
- clerkId: string | null;
824
- };
820
+ ownerWorktree: "GV2.0.6";
825
821
  metadataReceiptUuid: string;
826
822
  operationKind: "search" | "retrieval" | "representation_adoption";
827
823
  sourceHorizonRef: string;
828
824
  surfacedExisting: boolean;
829
825
  learnedNewCommitment: boolean;
830
826
  receiptRefs: string[];
831
- rationale: string;
827
+ createdBy: {
828
+ principalId: string;
829
+ principalType: "agent" | "user" | "system";
830
+ clerkId: string | null;
831
+ };
832
832
  bridgeMetadata: {
833
833
  storageLocator: {
834
834
  table: string;
@@ -858,21 +858,21 @@ declare const RetrievalSearchDiscoveryReceiptContractSchema: z.ZodObject<{
858
858
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
859
859
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
860
860
  metadataReceipts: {
861
+ rationale: string;
861
862
  contractVersion: "retrieval_search_discovery_receipt_v1";
862
- ownerWorktree: "GV2.0.6";
863
863
  createdAt: string;
864
- createdBy: {
865
- principalId: string;
866
- principalType: "user" | "agent" | "system";
867
- clerkId: string | null;
868
- };
864
+ ownerWorktree: "GV2.0.6";
869
865
  metadataReceiptUuid: string;
870
866
  operationKind: "search" | "retrieval" | "representation_adoption";
871
867
  sourceHorizonRef: string;
872
868
  surfacedExisting: boolean;
873
869
  learnedNewCommitment: boolean;
874
870
  receiptRefs: string[];
875
- rationale: string;
871
+ createdBy: {
872
+ principalId: string;
873
+ principalType: "agent" | "user" | "system";
874
+ clerkId: string | null;
875
+ };
876
876
  bridgeMetadata: {
877
877
  storageLocator: {
878
878
  table: string;
@@ -900,21 +900,21 @@ declare const RetrievalSearchDiscoveryReceiptContractSchema: z.ZodObject<{
900
900
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
901
901
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
902
902
  metadataReceipts: {
903
+ rationale: string;
903
904
  contractVersion: "retrieval_search_discovery_receipt_v1";
904
- ownerWorktree: "GV2.0.6";
905
905
  createdAt: string;
906
- createdBy: {
907
- principalId: string;
908
- principalType: "user" | "agent" | "system";
909
- clerkId: string | null;
910
- };
906
+ ownerWorktree: "GV2.0.6";
911
907
  metadataReceiptUuid: string;
912
908
  operationKind: "search" | "retrieval" | "representation_adoption";
913
909
  sourceHorizonRef: string;
914
910
  surfacedExisting: boolean;
915
911
  learnedNewCommitment: boolean;
916
912
  receiptRefs: string[];
917
- rationale: string;
913
+ createdBy: {
914
+ principalId: string;
915
+ principalType: "agent" | "user" | "system";
916
+ clerkId: string | null;
917
+ };
918
918
  bridgeMetadata: {
919
919
  storageLocator: {
920
920
  table: string;
@@ -942,21 +942,21 @@ declare const RetrievalSearchDiscoveryReceiptContractSchema: z.ZodObject<{
942
942
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
943
943
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
944
944
  metadataReceipts: {
945
+ rationale: string;
945
946
  contractVersion: "retrieval_search_discovery_receipt_v1";
946
- ownerWorktree: "GV2.0.6";
947
947
  createdAt: string;
948
- createdBy: {
949
- principalId: string;
950
- principalType: "user" | "agent" | "system";
951
- clerkId: string | null;
952
- };
948
+ ownerWorktree: "GV2.0.6";
953
949
  metadataReceiptUuid: string;
954
950
  operationKind: "search" | "retrieval" | "representation_adoption";
955
951
  sourceHorizonRef: string;
956
952
  surfacedExisting: boolean;
957
953
  learnedNewCommitment: boolean;
958
954
  receiptRefs: string[];
959
- rationale: string;
955
+ createdBy: {
956
+ principalId: string;
957
+ principalType: "agent" | "user" | "system";
958
+ clerkId: string | null;
959
+ };
960
960
  bridgeMetadata: {
961
961
  storageLocator: {
962
962
  table: string;
@@ -984,21 +984,21 @@ declare const RetrievalSearchDiscoveryReceiptContractSchema: z.ZodObject<{
984
984
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
985
985
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
986
986
  metadataReceipts: {
987
+ rationale: string;
987
988
  contractVersion: "retrieval_search_discovery_receipt_v1";
988
- ownerWorktree: "GV2.0.6";
989
989
  createdAt: string;
990
- createdBy: {
991
- principalId: string;
992
- principalType: "user" | "agent" | "system";
993
- clerkId: string | null;
994
- };
990
+ ownerWorktree: "GV2.0.6";
995
991
  metadataReceiptUuid: string;
996
992
  operationKind: "search" | "retrieval" | "representation_adoption";
997
993
  sourceHorizonRef: string;
998
994
  surfacedExisting: boolean;
999
995
  learnedNewCommitment: boolean;
1000
996
  receiptRefs: string[];
1001
- rationale: string;
997
+ createdBy: {
998
+ principalId: string;
999
+ principalType: "agent" | "user" | "system";
1000
+ clerkId: string | null;
1001
+ };
1002
1002
  bridgeMetadata: {
1003
1003
  storageLocator: {
1004
1004
  table: string;
@@ -1019,17 +1019,17 @@ declare const RetrievalSearchDiscoveryReceiptContractSchema: z.ZodObject<{
1019
1019
  }>;
1020
1020
  }, "strip", z.ZodTypeAny, {
1021
1021
  worktree: "GV2.0.6";
1022
- lane: "c2-gv2-transition-intelligence-preflight";
1023
1022
  contractVersion: "retrieval_search_discovery_receipt_v1";
1024
- refusalFixtures: ("non_uuidv7_metadata_receipt_identity" | "unknown_operation_kind" | "missing_source_horizon_ref" | "receipt_refs_empty" | "retrieval_marked_learned_new_commitment" | "retrieval_missing_context_compile_receipt" | "search_marked_learned_new_commitment" | "search_missing_search_receipt" | "representation_adoption_missing_adoption_receipt" | "representation_adoption_marked_surfaced_existing_only" | "bridge_id_used_as_semantic_identity" | "receipt_refs_do_not_prove_classification" | "paper_specific_vocabulary_leak" | "row_migration_attempt" | "mirror_rebuild_unblocked")[];
1023
+ lane: "c2-gv2-transition-intelligence-preflight";
1025
1024
  graphWorktreeId: "tn72eqx4dbpb5ssvj9ttv1rzr5884s57";
1026
1025
  compositionKey: "retrieval_search_discovery_receipt_v1";
1026
+ refusalFixtures: ("non_uuidv7_metadata_receipt_identity" | "unknown_operation_kind" | "missing_source_horizon_ref" | "receipt_refs_empty" | "retrieval_marked_learned_new_commitment" | "retrieval_missing_context_compile_receipt" | "search_marked_learned_new_commitment" | "search_missing_search_receipt" | "representation_adoption_missing_adoption_receipt" | "representation_adoption_marked_surfaced_existing_only" | "bridge_id_used_as_semantic_identity" | "receipt_refs_do_not_prove_classification" | "paper_specific_vocabulary_leak" | "row_migration_attempt" | "mirror_rebuild_unblocked")[];
1027
1027
  tasks: {
1028
1028
  title: string;
1029
1029
  requiredProof: string;
1030
1030
  taskId: string;
1031
1031
  }[];
1032
- dependsOnCompositions: ("source_material_adoption_ledger_v1" | "transition_receipt_v1" | "source_material_total_partition_v1" | "typed_need_v1" | "parsimony_diagnostic_v1")[];
1032
+ dependsOnCompositions: ("transition_receipt_v1" | "source_material_adoption_ledger_v1" | "source_material_total_partition_v1" | "typed_need_v1" | "parsimony_diagnostic_v1")[];
1033
1033
  positivePacket: {
1034
1034
  contractVersion: "retrieval_search_discovery_receipt_v1";
1035
1035
  transitionReceiptVersion: "transition_receipt_v1";
@@ -1040,21 +1040,21 @@ declare const RetrievalSearchDiscoveryReceiptContractSchema: z.ZodObject<{
1040
1040
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
1041
1041
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
1042
1042
  metadataReceipts: {
1043
+ rationale: string;
1043
1044
  contractVersion: "retrieval_search_discovery_receipt_v1";
1044
- ownerWorktree: "GV2.0.6";
1045
1045
  createdAt: string;
1046
- createdBy: {
1047
- principalId: string;
1048
- principalType: "user" | "agent" | "system";
1049
- clerkId: string | null;
1050
- };
1046
+ ownerWorktree: "GV2.0.6";
1051
1047
  metadataReceiptUuid: string;
1052
1048
  operationKind: "search" | "retrieval" | "representation_adoption";
1053
1049
  sourceHorizonRef: string;
1054
1050
  surfacedExisting: boolean;
1055
1051
  learnedNewCommitment: boolean;
1056
1052
  receiptRefs: string[];
1057
- rationale: string;
1053
+ createdBy: {
1054
+ principalId: string;
1055
+ principalType: "agent" | "user" | "system";
1056
+ clerkId: string | null;
1057
+ };
1058
1058
  bridgeMetadata: {
1059
1059
  storageLocator: {
1060
1060
  table: string;
@@ -1076,17 +1076,17 @@ declare const RetrievalSearchDiscoveryReceiptContractSchema: z.ZodObject<{
1076
1076
  operationKinds: ("search" | "retrieval" | "representation_adoption")[];
1077
1077
  }, {
1078
1078
  worktree: "GV2.0.6";
1079
- lane: "c2-gv2-transition-intelligence-preflight";
1080
1079
  contractVersion: "retrieval_search_discovery_receipt_v1";
1081
- refusalFixtures: ("non_uuidv7_metadata_receipt_identity" | "unknown_operation_kind" | "missing_source_horizon_ref" | "receipt_refs_empty" | "retrieval_marked_learned_new_commitment" | "retrieval_missing_context_compile_receipt" | "search_marked_learned_new_commitment" | "search_missing_search_receipt" | "representation_adoption_missing_adoption_receipt" | "representation_adoption_marked_surfaced_existing_only" | "bridge_id_used_as_semantic_identity" | "receipt_refs_do_not_prove_classification" | "paper_specific_vocabulary_leak" | "row_migration_attempt" | "mirror_rebuild_unblocked")[];
1080
+ lane: "c2-gv2-transition-intelligence-preflight";
1082
1081
  graphWorktreeId: "tn72eqx4dbpb5ssvj9ttv1rzr5884s57";
1083
1082
  compositionKey: "retrieval_search_discovery_receipt_v1";
1083
+ refusalFixtures: ("non_uuidv7_metadata_receipt_identity" | "unknown_operation_kind" | "missing_source_horizon_ref" | "receipt_refs_empty" | "retrieval_marked_learned_new_commitment" | "retrieval_missing_context_compile_receipt" | "search_marked_learned_new_commitment" | "search_missing_search_receipt" | "representation_adoption_missing_adoption_receipt" | "representation_adoption_marked_surfaced_existing_only" | "bridge_id_used_as_semantic_identity" | "receipt_refs_do_not_prove_classification" | "paper_specific_vocabulary_leak" | "row_migration_attempt" | "mirror_rebuild_unblocked")[];
1084
1084
  tasks: {
1085
1085
  title: string;
1086
1086
  requiredProof: string;
1087
1087
  taskId: string;
1088
1088
  }[];
1089
- dependsOnCompositions: ("source_material_adoption_ledger_v1" | "transition_receipt_v1" | "source_material_total_partition_v1" | "typed_need_v1" | "parsimony_diagnostic_v1")[];
1089
+ dependsOnCompositions: ("transition_receipt_v1" | "source_material_adoption_ledger_v1" | "source_material_total_partition_v1" | "typed_need_v1" | "parsimony_diagnostic_v1")[];
1090
1090
  positivePacket: {
1091
1091
  contractVersion: "retrieval_search_discovery_receipt_v1";
1092
1092
  transitionReceiptVersion: "transition_receipt_v1";
@@ -1097,21 +1097,21 @@ declare const RetrievalSearchDiscoveryReceiptContractSchema: z.ZodObject<{
1097
1097
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
1098
1098
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
1099
1099
  metadataReceipts: {
1100
+ rationale: string;
1100
1101
  contractVersion: "retrieval_search_discovery_receipt_v1";
1101
- ownerWorktree: "GV2.0.6";
1102
1102
  createdAt: string;
1103
- createdBy: {
1104
- principalId: string;
1105
- principalType: "user" | "agent" | "system";
1106
- clerkId: string | null;
1107
- };
1103
+ ownerWorktree: "GV2.0.6";
1108
1104
  metadataReceiptUuid: string;
1109
1105
  operationKind: "search" | "retrieval" | "representation_adoption";
1110
1106
  sourceHorizonRef: string;
1111
1107
  surfacedExisting: boolean;
1112
1108
  learnedNewCommitment: boolean;
1113
1109
  receiptRefs: string[];
1114
- rationale: string;
1110
+ createdBy: {
1111
+ principalId: string;
1112
+ principalType: "agent" | "user" | "system";
1113
+ clerkId: string | null;
1114
+ };
1115
1115
  bridgeMetadata: {
1116
1116
  storageLocator: {
1117
1117
  table: string;
@@ -1170,7 +1170,7 @@ declare const RETRIEVAL_SEARCH_DISCOVERY_POSITIVE_PACKET: {
1170
1170
  createdAt: string;
1171
1171
  createdBy: {
1172
1172
  principalId: string;
1173
- principalType: "user" | "agent" | "system";
1173
+ principalType: "agent" | "user" | "system";
1174
1174
  clerkId: string | null;
1175
1175
  };
1176
1176
  rationale: string;
@@ -1202,7 +1202,7 @@ declare const RETRIEVAL_SEARCH_DISCOVERY_POSITIVE_PACKET: {
1202
1202
  createdAt: string;
1203
1203
  createdBy: {
1204
1204
  principalId: string;
1205
- principalType: "user" | "agent" | "system";
1205
+ principalType: "agent" | "user" | "system";
1206
1206
  clerkId: string | null;
1207
1207
  };
1208
1208
  rationale: string;
@@ -1234,7 +1234,7 @@ declare const RETRIEVAL_SEARCH_DISCOVERY_POSITIVE_PACKET: {
1234
1234
  createdAt: string;
1235
1235
  createdBy: {
1236
1236
  principalId: string;
1237
- principalType: "user" | "agent" | "system";
1237
+ principalType: "agent" | "user" | "system";
1238
1238
  clerkId: string | null;
1239
1239
  };
1240
1240
  rationale: string;
@@ -1248,7 +1248,7 @@ declare const RETRIEVAL_SEARCH_DISCOVERY_RECEIPT_CONTRACT: {
1248
1248
  graphWorktreeId: "tn72eqx4dbpb5ssvj9ttv1rzr5884s57";
1249
1249
  lane: "c2-gv2-transition-intelligence-preflight";
1250
1250
  compositionKey: "retrieval_search_discovery_receipt_v1";
1251
- dependsOnCompositions: ("source_material_adoption_ledger_v1" | "transition_receipt_v1" | "source_material_total_partition_v1" | "typed_need_v1" | "parsimony_diagnostic_v1")[];
1251
+ dependsOnCompositions: ("transition_receipt_v1" | "source_material_adoption_ledger_v1" | "source_material_total_partition_v1" | "typed_need_v1" | "parsimony_diagnostic_v1")[];
1252
1252
  operationKinds: ("search" | "retrieval" | "representation_adoption")[];
1253
1253
  tasks: ({
1254
1254
  taskId: "s17c3kt1maxa5xt7t1097260m98850kc";
@@ -1303,7 +1303,7 @@ declare const RETRIEVAL_SEARCH_DISCOVERY_RECEIPT_CONTRACT: {
1303
1303
  createdAt: string;
1304
1304
  createdBy: {
1305
1305
  principalId: string;
1306
- principalType: "user" | "agent" | "system";
1306
+ principalType: "agent" | "user" | "system";
1307
1307
  clerkId: string | null;
1308
1308
  };
1309
1309
  rationale: string;
@@ -1335,7 +1335,7 @@ declare const RETRIEVAL_SEARCH_DISCOVERY_RECEIPT_CONTRACT: {
1335
1335
  createdAt: string;
1336
1336
  createdBy: {
1337
1337
  principalId: string;
1338
- principalType: "user" | "agent" | "system";
1338
+ principalType: "agent" | "user" | "system";
1339
1339
  clerkId: string | null;
1340
1340
  };
1341
1341
  rationale: string;
@@ -1367,7 +1367,7 @@ declare const RETRIEVAL_SEARCH_DISCOVERY_RECEIPT_CONTRACT: {
1367
1367
  createdAt: string;
1368
1368
  createdBy: {
1369
1369
  principalId: string;
1370
- principalType: "user" | "agent" | "system";
1370
+ principalType: "agent" | "user" | "system";
1371
1371
  clerkId: string | null;
1372
1372
  };
1373
1373
  rationale: string;
@@ -1378,17 +1378,17 @@ declare const RETRIEVAL_SEARCH_DISCOVERY_RECEIPT_CONTRACT: {
1378
1378
  };
1379
1379
  declare const parsedRetrievalSearchDiscoveryReceiptContract: {
1380
1380
  worktree: "GV2.0.6";
1381
- lane: "c2-gv2-transition-intelligence-preflight";
1382
1381
  contractVersion: "retrieval_search_discovery_receipt_v1";
1383
- refusalFixtures: ("non_uuidv7_metadata_receipt_identity" | "unknown_operation_kind" | "missing_source_horizon_ref" | "receipt_refs_empty" | "retrieval_marked_learned_new_commitment" | "retrieval_missing_context_compile_receipt" | "search_marked_learned_new_commitment" | "search_missing_search_receipt" | "representation_adoption_missing_adoption_receipt" | "representation_adoption_marked_surfaced_existing_only" | "bridge_id_used_as_semantic_identity" | "receipt_refs_do_not_prove_classification" | "paper_specific_vocabulary_leak" | "row_migration_attempt" | "mirror_rebuild_unblocked")[];
1382
+ lane: "c2-gv2-transition-intelligence-preflight";
1384
1383
  graphWorktreeId: "tn72eqx4dbpb5ssvj9ttv1rzr5884s57";
1385
1384
  compositionKey: "retrieval_search_discovery_receipt_v1";
1385
+ refusalFixtures: ("non_uuidv7_metadata_receipt_identity" | "unknown_operation_kind" | "missing_source_horizon_ref" | "receipt_refs_empty" | "retrieval_marked_learned_new_commitment" | "retrieval_missing_context_compile_receipt" | "search_marked_learned_new_commitment" | "search_missing_search_receipt" | "representation_adoption_missing_adoption_receipt" | "representation_adoption_marked_surfaced_existing_only" | "bridge_id_used_as_semantic_identity" | "receipt_refs_do_not_prove_classification" | "paper_specific_vocabulary_leak" | "row_migration_attempt" | "mirror_rebuild_unblocked")[];
1386
1386
  tasks: {
1387
1387
  title: string;
1388
1388
  requiredProof: string;
1389
1389
  taskId: string;
1390
1390
  }[];
1391
- dependsOnCompositions: ("source_material_adoption_ledger_v1" | "transition_receipt_v1" | "source_material_total_partition_v1" | "typed_need_v1" | "parsimony_diagnostic_v1")[];
1391
+ dependsOnCompositions: ("transition_receipt_v1" | "source_material_adoption_ledger_v1" | "source_material_total_partition_v1" | "typed_need_v1" | "parsimony_diagnostic_v1")[];
1392
1392
  positivePacket: {
1393
1393
  contractVersion: "retrieval_search_discovery_receipt_v1";
1394
1394
  transitionReceiptVersion: "transition_receipt_v1";
@@ -1399,21 +1399,21 @@ declare const parsedRetrievalSearchDiscoveryReceiptContract: {
1399
1399
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
1400
1400
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
1401
1401
  metadataReceipts: {
1402
+ rationale: string;
1402
1403
  contractVersion: "retrieval_search_discovery_receipt_v1";
1403
- ownerWorktree: "GV2.0.6";
1404
1404
  createdAt: string;
1405
- createdBy: {
1406
- principalId: string;
1407
- principalType: "user" | "agent" | "system";
1408
- clerkId: string | null;
1409
- };
1405
+ ownerWorktree: "GV2.0.6";
1410
1406
  metadataReceiptUuid: string;
1411
1407
  operationKind: "search" | "retrieval" | "representation_adoption";
1412
1408
  sourceHorizonRef: string;
1413
1409
  surfacedExisting: boolean;
1414
1410
  learnedNewCommitment: boolean;
1415
1411
  receiptRefs: string[];
1416
- rationale: string;
1412
+ createdBy: {
1413
+ principalId: string;
1414
+ principalType: "agent" | "user" | "system";
1415
+ clerkId: string | null;
1416
+ };
1417
1417
  bridgeMetadata: {
1418
1418
  storageLocator: {
1419
1419
  table: string;
@@ -1446,21 +1446,21 @@ declare function buildRetrievalSearchDiscoveryRefusalFixtures(): ({
1446
1446
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
1447
1447
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
1448
1448
  metadataReceipts: {
1449
+ rationale: string;
1449
1450
  contractVersion: "retrieval_search_discovery_receipt_v1";
1450
- ownerWorktree: "GV2.0.6";
1451
1451
  createdAt: string;
1452
- createdBy: {
1453
- principalId: string;
1454
- principalType: "user" | "agent" | "system";
1455
- clerkId: string | null;
1456
- };
1452
+ ownerWorktree: "GV2.0.6";
1457
1453
  metadataReceiptUuid: string;
1458
1454
  operationKind: "search" | "retrieval" | "representation_adoption";
1459
1455
  sourceHorizonRef: string;
1460
1456
  surfacedExisting: boolean;
1461
1457
  learnedNewCommitment: boolean;
1462
1458
  receiptRefs: string[];
1463
- rationale: string;
1459
+ createdBy: {
1460
+ principalId: string;
1461
+ principalType: "agent" | "user" | "system";
1462
+ clerkId: string | null;
1463
+ };
1464
1464
  bridgeMetadata: {
1465
1465
  storageLocator: {
1466
1466
  table: string;
@@ -1491,21 +1491,21 @@ declare function buildRetrievalSearchDiscoveryRefusalFixtures(): ({
1491
1491
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
1492
1492
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
1493
1493
  metadataReceipts: {
1494
+ rationale: string;
1494
1495
  contractVersion: "retrieval_search_discovery_receipt_v1";
1495
- ownerWorktree: "GV2.0.6";
1496
1496
  createdAt: string;
1497
- createdBy: {
1498
- principalId: string;
1499
- principalType: "user" | "agent" | "system";
1500
- clerkId: string | null;
1501
- };
1497
+ ownerWorktree: "GV2.0.6";
1502
1498
  metadataReceiptUuid: string;
1503
1499
  operationKind: "search" | "retrieval" | "representation_adoption";
1504
1500
  sourceHorizonRef: string;
1505
1501
  surfacedExisting: boolean;
1506
1502
  learnedNewCommitment: boolean;
1507
1503
  receiptRefs: string[];
1508
- rationale: string;
1504
+ createdBy: {
1505
+ principalId: string;
1506
+ principalType: "agent" | "user" | "system";
1507
+ clerkId: string | null;
1508
+ };
1509
1509
  bridgeMetadata: {
1510
1510
  storageLocator: {
1511
1511
  table: string;
@@ -1536,21 +1536,21 @@ declare function buildRetrievalSearchDiscoveryRefusalFixtures(): ({
1536
1536
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
1537
1537
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
1538
1538
  metadataReceipts: {
1539
+ rationale: string;
1539
1540
  contractVersion: "retrieval_search_discovery_receipt_v1";
1540
- ownerWorktree: "GV2.0.6";
1541
1541
  createdAt: string;
1542
- createdBy: {
1543
- principalId: string;
1544
- principalType: "user" | "agent" | "system";
1545
- clerkId: string | null;
1546
- };
1542
+ ownerWorktree: "GV2.0.6";
1547
1543
  metadataReceiptUuid: string;
1548
1544
  operationKind: "search" | "retrieval" | "representation_adoption";
1549
1545
  sourceHorizonRef: string;
1550
1546
  surfacedExisting: boolean;
1551
1547
  learnedNewCommitment: boolean;
1552
1548
  receiptRefs: string[];
1553
- rationale: string;
1549
+ createdBy: {
1550
+ principalId: string;
1551
+ principalType: "agent" | "user" | "system";
1552
+ clerkId: string | null;
1553
+ };
1554
1554
  bridgeMetadata: {
1555
1555
  storageLocator: {
1556
1556
  table: string;
@@ -1581,21 +1581,21 @@ declare function buildRetrievalSearchDiscoveryRefusalFixtures(): ({
1581
1581
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
1582
1582
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
1583
1583
  metadataReceipts: {
1584
+ rationale: string;
1584
1585
  contractVersion: "retrieval_search_discovery_receipt_v1";
1585
- ownerWorktree: "GV2.0.6";
1586
1586
  createdAt: string;
1587
- createdBy: {
1588
- principalId: string;
1589
- principalType: "user" | "agent" | "system";
1590
- clerkId: string | null;
1591
- };
1587
+ ownerWorktree: "GV2.0.6";
1592
1588
  metadataReceiptUuid: string;
1593
1589
  operationKind: "search" | "retrieval" | "representation_adoption";
1594
1590
  sourceHorizonRef: string;
1595
1591
  surfacedExisting: boolean;
1596
1592
  learnedNewCommitment: boolean;
1597
1593
  receiptRefs: string[];
1598
- rationale: string;
1594
+ createdBy: {
1595
+ principalId: string;
1596
+ principalType: "agent" | "user" | "system";
1597
+ clerkId: string | null;
1598
+ };
1599
1599
  bridgeMetadata: {
1600
1600
  storageLocator: {
1601
1601
  table: string;
@@ -1626,21 +1626,21 @@ declare function buildRetrievalSearchDiscoveryRefusalFixtures(): ({
1626
1626
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
1627
1627
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
1628
1628
  metadataReceipts: {
1629
+ rationale: string;
1629
1630
  contractVersion: "retrieval_search_discovery_receipt_v1";
1630
- ownerWorktree: "GV2.0.6";
1631
1631
  createdAt: string;
1632
- createdBy: {
1633
- principalId: string;
1634
- principalType: "user" | "agent" | "system";
1635
- clerkId: string | null;
1636
- };
1632
+ ownerWorktree: "GV2.0.6";
1637
1633
  metadataReceiptUuid: string;
1638
1634
  operationKind: "search" | "retrieval" | "representation_adoption";
1639
1635
  sourceHorizonRef: string;
1640
1636
  surfacedExisting: boolean;
1641
1637
  learnedNewCommitment: boolean;
1642
1638
  receiptRefs: string[];
1643
- rationale: string;
1639
+ createdBy: {
1640
+ principalId: string;
1641
+ principalType: "agent" | "user" | "system";
1642
+ clerkId: string | null;
1643
+ };
1644
1644
  bridgeMetadata: {
1645
1645
  storageLocator: {
1646
1646
  table: string;
@@ -1671,21 +1671,21 @@ declare function buildRetrievalSearchDiscoveryRefusalFixtures(): ({
1671
1671
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
1672
1672
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
1673
1673
  metadataReceipts: {
1674
+ rationale: string;
1674
1675
  contractVersion: "retrieval_search_discovery_receipt_v1";
1675
- ownerWorktree: "GV2.0.6";
1676
1676
  createdAt: string;
1677
- createdBy: {
1678
- principalId: string;
1679
- principalType: "user" | "agent" | "system";
1680
- clerkId: string | null;
1681
- };
1677
+ ownerWorktree: "GV2.0.6";
1682
1678
  metadataReceiptUuid: string;
1683
1679
  operationKind: "search" | "retrieval" | "representation_adoption";
1684
1680
  sourceHorizonRef: string;
1685
1681
  surfacedExisting: boolean;
1686
1682
  learnedNewCommitment: boolean;
1687
1683
  receiptRefs: string[];
1688
- rationale: string;
1684
+ createdBy: {
1685
+ principalId: string;
1686
+ principalType: "agent" | "user" | "system";
1687
+ clerkId: string | null;
1688
+ };
1689
1689
  bridgeMetadata: {
1690
1690
  storageLocator: {
1691
1691
  table: string;
@@ -1716,21 +1716,21 @@ declare function buildRetrievalSearchDiscoveryRefusalFixtures(): ({
1716
1716
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
1717
1717
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
1718
1718
  metadataReceipts: {
1719
+ rationale: string;
1719
1720
  contractVersion: "retrieval_search_discovery_receipt_v1";
1720
- ownerWorktree: "GV2.0.6";
1721
1721
  createdAt: string;
1722
- createdBy: {
1723
- principalId: string;
1724
- principalType: "user" | "agent" | "system";
1725
- clerkId: string | null;
1726
- };
1722
+ ownerWorktree: "GV2.0.6";
1727
1723
  metadataReceiptUuid: string;
1728
1724
  operationKind: "search" | "retrieval" | "representation_adoption";
1729
1725
  sourceHorizonRef: string;
1730
1726
  surfacedExisting: boolean;
1731
1727
  learnedNewCommitment: boolean;
1732
1728
  receiptRefs: string[];
1733
- rationale: string;
1729
+ createdBy: {
1730
+ principalId: string;
1731
+ principalType: "agent" | "user" | "system";
1732
+ clerkId: string | null;
1733
+ };
1734
1734
  bridgeMetadata: {
1735
1735
  storageLocator: {
1736
1736
  table: string;
@@ -1761,21 +1761,21 @@ declare function buildRetrievalSearchDiscoveryRefusalFixtures(): ({
1761
1761
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
1762
1762
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
1763
1763
  metadataReceipts: {
1764
+ rationale: string;
1764
1765
  contractVersion: "retrieval_search_discovery_receipt_v1";
1765
- ownerWorktree: "GV2.0.6";
1766
1766
  createdAt: string;
1767
- createdBy: {
1768
- principalId: string;
1769
- principalType: "user" | "agent" | "system";
1770
- clerkId: string | null;
1771
- };
1767
+ ownerWorktree: "GV2.0.6";
1772
1768
  metadataReceiptUuid: string;
1773
1769
  operationKind: "search" | "retrieval" | "representation_adoption";
1774
1770
  sourceHorizonRef: string;
1775
1771
  surfacedExisting: boolean;
1776
1772
  learnedNewCommitment: boolean;
1777
1773
  receiptRefs: string[];
1778
- rationale: string;
1774
+ createdBy: {
1775
+ principalId: string;
1776
+ principalType: "agent" | "user" | "system";
1777
+ clerkId: string | null;
1778
+ };
1779
1779
  bridgeMetadata: {
1780
1780
  storageLocator: {
1781
1781
  table: string;
@@ -1806,21 +1806,21 @@ declare function buildRetrievalSearchDiscoveryRefusalFixtures(): ({
1806
1806
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
1807
1807
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
1808
1808
  metadataReceipts: {
1809
+ rationale: string;
1809
1810
  contractVersion: "retrieval_search_discovery_receipt_v1";
1810
- ownerWorktree: "GV2.0.6";
1811
1811
  createdAt: string;
1812
- createdBy: {
1813
- principalId: string;
1814
- principalType: "user" | "agent" | "system";
1815
- clerkId: string | null;
1816
- };
1812
+ ownerWorktree: "GV2.0.6";
1817
1813
  metadataReceiptUuid: string;
1818
1814
  operationKind: "search" | "retrieval" | "representation_adoption";
1819
1815
  sourceHorizonRef: string;
1820
1816
  surfacedExisting: boolean;
1821
1817
  learnedNewCommitment: boolean;
1822
1818
  receiptRefs: string[];
1823
- rationale: string;
1819
+ createdBy: {
1820
+ principalId: string;
1821
+ principalType: "agent" | "user" | "system";
1822
+ clerkId: string | null;
1823
+ };
1824
1824
  bridgeMetadata: {
1825
1825
  storageLocator: {
1826
1826
  table: string;
@@ -1851,21 +1851,21 @@ declare function buildRetrievalSearchDiscoveryRefusalFixtures(): ({
1851
1851
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
1852
1852
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
1853
1853
  metadataReceipts: {
1854
+ rationale: string;
1854
1855
  contractVersion: "retrieval_search_discovery_receipt_v1";
1855
- ownerWorktree: "GV2.0.6";
1856
1856
  createdAt: string;
1857
- createdBy: {
1858
- principalId: string;
1859
- principalType: "user" | "agent" | "system";
1860
- clerkId: string | null;
1861
- };
1857
+ ownerWorktree: "GV2.0.6";
1862
1858
  metadataReceiptUuid: string;
1863
1859
  operationKind: "search" | "retrieval" | "representation_adoption";
1864
1860
  sourceHorizonRef: string;
1865
1861
  surfacedExisting: boolean;
1866
1862
  learnedNewCommitment: boolean;
1867
1863
  receiptRefs: string[];
1868
- rationale: string;
1864
+ createdBy: {
1865
+ principalId: string;
1866
+ principalType: "agent" | "user" | "system";
1867
+ clerkId: string | null;
1868
+ };
1869
1869
  bridgeMetadata: {
1870
1870
  storageLocator: {
1871
1871
  table: string;
@@ -1896,21 +1896,21 @@ declare function buildRetrievalSearchDiscoveryRefusalFixtures(): ({
1896
1896
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
1897
1897
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
1898
1898
  metadataReceipts: {
1899
+ rationale: string;
1899
1900
  contractVersion: "retrieval_search_discovery_receipt_v1";
1900
- ownerWorktree: "GV2.0.6";
1901
1901
  createdAt: string;
1902
- createdBy: {
1903
- principalId: string;
1904
- principalType: "user" | "agent" | "system";
1905
- clerkId: string | null;
1906
- };
1902
+ ownerWorktree: "GV2.0.6";
1907
1903
  metadataReceiptUuid: string;
1908
1904
  operationKind: "search" | "retrieval" | "representation_adoption";
1909
1905
  sourceHorizonRef: string;
1910
1906
  surfacedExisting: boolean;
1911
1907
  learnedNewCommitment: boolean;
1912
1908
  receiptRefs: string[];
1913
- rationale: string;
1909
+ createdBy: {
1910
+ principalId: string;
1911
+ principalType: "agent" | "user" | "system";
1912
+ clerkId: string | null;
1913
+ };
1914
1914
  bridgeMetadata: {
1915
1915
  storageLocator: {
1916
1916
  table: string;
@@ -1941,21 +1941,21 @@ declare function buildRetrievalSearchDiscoveryRefusalFixtures(): ({
1941
1941
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
1942
1942
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
1943
1943
  metadataReceipts: {
1944
+ rationale: string;
1944
1945
  contractVersion: "retrieval_search_discovery_receipt_v1";
1945
- ownerWorktree: "GV2.0.6";
1946
1946
  createdAt: string;
1947
- createdBy: {
1948
- principalId: string;
1949
- principalType: "user" | "agent" | "system";
1950
- clerkId: string | null;
1951
- };
1947
+ ownerWorktree: "GV2.0.6";
1952
1948
  metadataReceiptUuid: string;
1953
1949
  operationKind: "search" | "retrieval" | "representation_adoption";
1954
1950
  sourceHorizonRef: string;
1955
1951
  surfacedExisting: boolean;
1956
1952
  learnedNewCommitment: boolean;
1957
1953
  receiptRefs: string[];
1958
- rationale: string;
1954
+ createdBy: {
1955
+ principalId: string;
1956
+ principalType: "agent" | "user" | "system";
1957
+ clerkId: string | null;
1958
+ };
1959
1959
  bridgeMetadata: {
1960
1960
  storageLocator: {
1961
1961
  table: string;
@@ -1986,21 +1986,21 @@ declare function buildRetrievalSearchDiscoveryRefusalFixtures(): ({
1986
1986
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
1987
1987
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
1988
1988
  metadataReceipts: {
1989
+ rationale: string;
1989
1990
  contractVersion: "retrieval_search_discovery_receipt_v1";
1990
- ownerWorktree: "GV2.0.6";
1991
1991
  createdAt: string;
1992
- createdBy: {
1993
- principalId: string;
1994
- principalType: "user" | "agent" | "system";
1995
- clerkId: string | null;
1996
- };
1992
+ ownerWorktree: "GV2.0.6";
1997
1993
  metadataReceiptUuid: string;
1998
1994
  operationKind: "search" | "retrieval" | "representation_adoption";
1999
1995
  sourceHorizonRef: string;
2000
1996
  surfacedExisting: boolean;
2001
1997
  learnedNewCommitment: boolean;
2002
1998
  receiptRefs: string[];
2003
- rationale: string;
1999
+ createdBy: {
2000
+ principalId: string;
2001
+ principalType: "agent" | "user" | "system";
2002
+ clerkId: string | null;
2003
+ };
2004
2004
  bridgeMetadata: {
2005
2005
  storageLocator: {
2006
2006
  table: string;
@@ -2031,21 +2031,21 @@ declare function buildRetrievalSearchDiscoveryRefusalFixtures(): ({
2031
2031
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
2032
2032
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
2033
2033
  metadataReceipts: {
2034
+ rationale: string;
2034
2035
  contractVersion: "retrieval_search_discovery_receipt_v1";
2035
- ownerWorktree: "GV2.0.6";
2036
2036
  createdAt: string;
2037
- createdBy: {
2038
- principalId: string;
2039
- principalType: "user" | "agent" | "system";
2040
- clerkId: string | null;
2041
- };
2037
+ ownerWorktree: "GV2.0.6";
2042
2038
  metadataReceiptUuid: string;
2043
2039
  operationKind: "search" | "retrieval" | "representation_adoption";
2044
2040
  sourceHorizonRef: string;
2045
2041
  surfacedExisting: boolean;
2046
2042
  learnedNewCommitment: boolean;
2047
2043
  receiptRefs: string[];
2048
- rationale: string;
2044
+ createdBy: {
2045
+ principalId: string;
2046
+ principalType: "agent" | "user" | "system";
2047
+ clerkId: string | null;
2048
+ };
2049
2049
  bridgeMetadata: {
2050
2050
  storageLocator: {
2051
2051
  table: string;
@@ -2076,21 +2076,21 @@ declare function buildRetrievalSearchDiscoveryRefusalFixtures(): ({
2076
2076
  sourceMaterialTotalPartitionVersion: "source_material_total_partition_v1";
2077
2077
  parsimonyDiagnosticVersion: "parsimony_diagnostic_v1";
2078
2078
  metadataReceipts: {
2079
+ rationale: string;
2079
2080
  contractVersion: "retrieval_search_discovery_receipt_v1";
2080
- ownerWorktree: "GV2.0.6";
2081
2081
  createdAt: string;
2082
- createdBy: {
2083
- principalId: string;
2084
- principalType: "user" | "agent" | "system";
2085
- clerkId: string | null;
2086
- };
2082
+ ownerWorktree: "GV2.0.6";
2087
2083
  metadataReceiptUuid: string;
2088
2084
  operationKind: "search" | "retrieval" | "representation_adoption";
2089
2085
  sourceHorizonRef: string;
2090
2086
  surfacedExisting: boolean;
2091
2087
  learnedNewCommitment: boolean;
2092
2088
  receiptRefs: string[];
2093
- rationale: string;
2089
+ createdBy: {
2090
+ principalId: string;
2091
+ principalType: "agent" | "user" | "system";
2092
+ clerkId: string | null;
2093
+ };
2094
2094
  bridgeMetadata: {
2095
2095
  storageLocator: {
2096
2096
  table: string;