@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
@@ -24,14 +24,14 @@ declare const SourceMaterialLedgerEntrySchema: z.ZodObject<{
24
24
  storageLocatorSemantic: z.ZodLiteral<false>;
25
25
  legacyAliases: z.ZodArray<z.ZodString, "many">;
26
26
  }, "strip", z.ZodTypeAny, {
27
- storageLocator: string | null;
28
27
  storageLocatorSemantic: false;
28
+ storageLocator: string | null;
29
29
  publicUuid: string;
30
30
  publicIdVersion: "uuidv7";
31
31
  legacyAliases: string[];
32
32
  }, {
33
- storageLocator: string | null;
34
33
  storageLocatorSemantic: false;
34
+ storageLocator: string | null;
35
35
  publicUuid: string;
36
36
  publicIdVersion: "uuidv7";
37
37
  legacyAliases: string[];
@@ -74,21 +74,21 @@ declare const SourceMaterialLedgerEntrySchema: z.ZodObject<{
74
74
  contentHash: z.ZodString;
75
75
  citationMode: z.ZodEnum<["cite_exact", "cite_summary", "sealed_omission"]>;
76
76
  }, "strip", z.ZodTypeAny, {
77
+ contentHash: string;
78
+ sourceSpanUuid: string;
77
79
  sourceUuid: string;
78
80
  citationMode: "cite_exact" | "cite_summary" | "sealed_omission";
79
- sourceSpanUuid: string;
80
- contentHash: string;
81
81
  canonicalPath: string;
82
- sourceKind: "transcript" | "external" | "code" | "docs_canon" | "staging_source_material";
82
+ sourceKind: "code" | "transcript" | "external" | "docs_canon" | "staging_source_material";
83
83
  lineStart: number | null;
84
84
  lineEnd: number | null;
85
85
  }, {
86
+ contentHash: string;
87
+ sourceSpanUuid: string;
86
88
  sourceUuid: string;
87
89
  citationMode: "cite_exact" | "cite_summary" | "sealed_omission";
88
- sourceSpanUuid: string;
89
- contentHash: string;
90
90
  canonicalPath: string;
91
- sourceKind: "transcript" | "external" | "code" | "docs_canon" | "staging_source_material";
91
+ sourceKind: "code" | "transcript" | "external" | "docs_canon" | "staging_source_material";
92
92
  lineStart: number | null;
93
93
  lineEnd: number | null;
94
94
  }>, "many">;
@@ -100,14 +100,14 @@ declare const SourceMaterialLedgerEntrySchema: z.ZodObject<{
100
100
  permitResourceId: z.ZodString;
101
101
  tenantAuthorRef: z.ZodString;
102
102
  }, "strip", z.ZodTypeAny, {
103
- resourceType: "source" | "topic" | "belief" | "question" | "evidence" | "source_span" | "transcript" | "output";
103
+ resourceType: "topic" | "belief" | "question" | "evidence" | "source" | "output" | "source_span" | "transcript";
104
104
  policyTagUuid: string;
105
105
  tagKey: string;
106
106
  tagValue: string;
107
107
  permitResourceId: string;
108
108
  tenantAuthorRef: string;
109
109
  }, {
110
- resourceType: "source" | "topic" | "belief" | "question" | "evidence" | "source_span" | "transcript" | "output";
110
+ resourceType: "topic" | "belief" | "question" | "evidence" | "source" | "output" | "source_span" | "transcript";
111
111
  policyTagUuid: string;
112
112
  tagKey: string;
113
113
  tagValue: string;
@@ -144,19 +144,19 @@ declare const SourceMaterialLedgerEntrySchema: z.ZodObject<{
144
144
  rationale: z.ZodString;
145
145
  sourceSpanUuids: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
146
146
  }, "strip", z.ZodTypeAny, {
147
- edgeType: "contradicts" | "supports" | "derived_from" | "supersedes" | "belongs_to" | "migration_of";
147
+ rationale: string;
148
+ sourceSpanUuids: string[];
149
+ edgeType: "belongs_to" | "derived_from" | "contradicts" | "supports" | "supersedes" | "migration_of";
148
150
  fromUuid: string;
149
151
  toUuid: string;
150
152
  edgeUuid: string;
151
- sourceSpanUuids: string[];
152
- rationale: string;
153
153
  }, {
154
- edgeType: "contradicts" | "supports" | "derived_from" | "supersedes" | "belongs_to" | "migration_of";
154
+ rationale: string;
155
+ sourceSpanUuids: string[];
156
+ edgeType: "belongs_to" | "derived_from" | "contradicts" | "supports" | "supersedes" | "migration_of";
155
157
  fromUuid: string;
156
158
  toUuid: string;
157
159
  edgeUuid: string;
158
- sourceSpanUuids: string[];
159
- rationale: string;
160
160
  }>, "many">;
161
161
  conflicts: z.ZodArray<z.ZodObject<{
162
162
  conflictUuid: z.ZodEffects<z.ZodString, string, string>;
@@ -165,14 +165,14 @@ declare const SourceMaterialLedgerEntrySchema: z.ZodObject<{
165
165
  disposition: z.ZodEnum<["unresolved", "resolved", "accepted_risk"]>;
166
166
  rationale: z.ZodString;
167
167
  }, "strip", z.ZodTypeAny, {
168
- disposition: "unresolved" | "resolved" | "accepted_risk";
169
168
  rationale: string;
169
+ disposition: "unresolved" | "resolved" | "accepted_risk";
170
170
  conflictUuid: string;
171
171
  conflictType: "duplicate" | "contradiction" | "stale_source" | "policy_conflict" | "identity_collision";
172
172
  relatedSourceMaterialUuids: string[];
173
173
  }, {
174
- disposition: "unresolved" | "resolved" | "accepted_risk";
175
174
  rationale: string;
175
+ disposition: "unresolved" | "resolved" | "accepted_risk";
176
176
  conflictUuid: string;
177
177
  conflictType: "duplicate" | "contradiction" | "stale_source" | "policy_conflict" | "identity_collision";
178
178
  relatedSourceMaterialUuids: string[];
@@ -189,11 +189,11 @@ declare const SourceMaterialLedgerEntrySchema: z.ZodObject<{
189
189
  clerkId: z.ZodNullable<z.ZodString>;
190
190
  }, "strip", z.ZodTypeAny, {
191
191
  principalId: string;
192
- principalType: "user" | "agent" | "system";
192
+ principalType: "agent" | "user" | "system";
193
193
  clerkId: string | null;
194
194
  }, {
195
195
  principalId: string;
196
- principalType: "user" | "agent" | "system";
196
+ principalType: "agent" | "user" | "system";
197
197
  clerkId: string | null;
198
198
  }>;
199
199
  decidedAt: z.ZodString;
@@ -204,45 +204,45 @@ declare const SourceMaterialLedgerEntrySchema: z.ZodObject<{
204
204
  axiomTraceId: z.ZodString;
205
205
  queryableBy: z.ZodArray<z.ZodEnum<["compile_context", "source_material_adoption", "c2_z_fresh_agent_eval", "graph_v2_seed"]>, "many">;
206
206
  }, "strip", z.ZodTypeAny, {
207
+ rationale: string;
207
208
  receiptUuid: string;
208
- sourceSpanUuids: string[];
209
209
  actor: {
210
210
  principalId: string;
211
- principalType: "user" | "agent" | "system";
211
+ principalType: "agent" | "user" | "system";
212
212
  clerkId: string | null;
213
213
  };
214
- sourceMaterialUuid: string;
215
- axiomTraceId: string;
214
+ sourceSpanUuids: string[];
216
215
  evidenceRefs: string[];
217
- rationale: string;
216
+ axiomTraceId: string;
217
+ sourceMaterialUuid: string;
218
218
  receiptType: "raw_ingest" | "candidate_promotion" | "adoption" | "merge" | "rejection" | "archive";
219
219
  fromState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
220
220
  toState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
221
221
  decidedAt: string;
222
222
  policyDecisionRefs: string[];
223
- queryableBy: ("compile_context" | "source_material_adoption" | "c2_z_fresh_agent_eval" | "graph_v2_seed")[];
223
+ queryableBy: ("graph_v2_seed" | "compile_context" | "c2_z_fresh_agent_eval" | "source_material_adoption")[];
224
224
  }, {
225
+ rationale: string;
225
226
  receiptUuid: string;
226
- sourceSpanUuids: string[];
227
227
  actor: {
228
228
  principalId: string;
229
- principalType: "user" | "agent" | "system";
229
+ principalType: "agent" | "user" | "system";
230
230
  clerkId: string | null;
231
231
  };
232
- sourceMaterialUuid: string;
233
- axiomTraceId: string;
232
+ sourceSpanUuids: string[];
234
233
  evidenceRefs: string[];
235
- rationale: string;
234
+ axiomTraceId: string;
235
+ sourceMaterialUuid: string;
236
236
  receiptType: "raw_ingest" | "candidate_promotion" | "adoption" | "merge" | "rejection" | "archive";
237
237
  fromState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
238
238
  toState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
239
239
  decidedAt: string;
240
240
  policyDecisionRefs: string[];
241
- queryableBy: ("compile_context" | "source_material_adoption" | "c2_z_fresh_agent_eval" | "graph_v2_seed")[];
241
+ queryableBy: ("graph_v2_seed" | "compile_context" | "c2_z_fresh_agent_eval" | "source_material_adoption")[];
242
242
  }>, "many">;
243
243
  }, "strip", z.ZodTypeAny, {
244
244
  policyTags: {
245
- resourceType: "source" | "topic" | "belief" | "question" | "evidence" | "source_span" | "transcript" | "output";
245
+ resourceType: "topic" | "belief" | "question" | "evidence" | "source" | "output" | "source_span" | "transcript";
246
246
  policyTagUuid: string;
247
247
  tagKey: string;
248
248
  tagValue: string;
@@ -250,23 +250,23 @@ declare const SourceMaterialLedgerEntrySchema: z.ZodObject<{
250
250
  tenantAuthorRef: string;
251
251
  }[];
252
252
  state: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
253
- sourceMaterialUuid: string;
254
253
  sourceSpans: {
254
+ contentHash: string;
255
+ sourceSpanUuid: string;
255
256
  sourceUuid: string;
256
257
  citationMode: "cite_exact" | "cite_summary" | "sealed_omission";
257
- sourceSpanUuid: string;
258
- contentHash: string;
259
258
  canonicalPath: string;
260
- sourceKind: "transcript" | "external" | "code" | "docs_canon" | "staging_source_material";
259
+ sourceKind: "code" | "transcript" | "external" | "docs_canon" | "staging_source_material";
261
260
  lineStart: number | null;
262
261
  lineEnd: number | null;
263
262
  }[];
263
+ sourceMaterialUuid: string;
264
264
  ledgerEntryUuid: string;
265
265
  sourceMaterialType: "legacy_epistemic_node" | "legacy_epistemic_edge" | "legacy_topic" | "legacy_worktree" | "legacy_task" | "docs_source_span" | "transcript_span" | "external_source" | "code_span";
266
266
  cleanProdEligible: boolean;
267
267
  canonicalIdentity: {
268
- storageLocator: string | null;
269
268
  storageLocatorSemantic: false;
269
+ storageLocator: string | null;
270
270
  publicUuid: string;
271
271
  publicIdVersion: "uuidv7";
272
272
  legacyAliases: string[];
@@ -290,42 +290,42 @@ declare const SourceMaterialLedgerEntrySchema: z.ZodObject<{
290
290
  replay: "not_replayable" | "receipt_bound" | "bitemporal_bound";
291
291
  };
292
292
  edgeRationales: {
293
- edgeType: "contradicts" | "supports" | "derived_from" | "supersedes" | "belongs_to" | "migration_of";
293
+ rationale: string;
294
+ sourceSpanUuids: string[];
295
+ edgeType: "belongs_to" | "derived_from" | "contradicts" | "supports" | "supersedes" | "migration_of";
294
296
  fromUuid: string;
295
297
  toUuid: string;
296
298
  edgeUuid: string;
297
- sourceSpanUuids: string[];
298
- rationale: string;
299
299
  }[];
300
300
  conflicts: {
301
- disposition: "unresolved" | "resolved" | "accepted_risk";
302
301
  rationale: string;
302
+ disposition: "unresolved" | "resolved" | "accepted_risk";
303
303
  conflictUuid: string;
304
304
  conflictType: "duplicate" | "contradiction" | "stale_source" | "policy_conflict" | "identity_collision";
305
305
  relatedSourceMaterialUuids: string[];
306
306
  }[];
307
307
  receipts: {
308
+ rationale: string;
308
309
  receiptUuid: string;
309
- sourceSpanUuids: string[];
310
310
  actor: {
311
311
  principalId: string;
312
- principalType: "user" | "agent" | "system";
312
+ principalType: "agent" | "user" | "system";
313
313
  clerkId: string | null;
314
314
  };
315
- sourceMaterialUuid: string;
316
- axiomTraceId: string;
315
+ sourceSpanUuids: string[];
317
316
  evidenceRefs: string[];
318
- rationale: string;
317
+ axiomTraceId: string;
318
+ sourceMaterialUuid: string;
319
319
  receiptType: "raw_ingest" | "candidate_promotion" | "adoption" | "merge" | "rejection" | "archive";
320
320
  fromState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
321
321
  toState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
322
322
  decidedAt: string;
323
323
  policyDecisionRefs: string[];
324
- queryableBy: ("compile_context" | "source_material_adoption" | "c2_z_fresh_agent_eval" | "graph_v2_seed")[];
324
+ queryableBy: ("graph_v2_seed" | "compile_context" | "c2_z_fresh_agent_eval" | "source_material_adoption")[];
325
325
  }[];
326
326
  }, {
327
327
  policyTags: {
328
- resourceType: "source" | "topic" | "belief" | "question" | "evidence" | "source_span" | "transcript" | "output";
328
+ resourceType: "topic" | "belief" | "question" | "evidence" | "source" | "output" | "source_span" | "transcript";
329
329
  policyTagUuid: string;
330
330
  tagKey: string;
331
331
  tagValue: string;
@@ -333,23 +333,23 @@ declare const SourceMaterialLedgerEntrySchema: z.ZodObject<{
333
333
  tenantAuthorRef: string;
334
334
  }[];
335
335
  state: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
336
- sourceMaterialUuid: string;
337
336
  sourceSpans: {
337
+ contentHash: string;
338
+ sourceSpanUuid: string;
338
339
  sourceUuid: string;
339
340
  citationMode: "cite_exact" | "cite_summary" | "sealed_omission";
340
- sourceSpanUuid: string;
341
- contentHash: string;
342
341
  canonicalPath: string;
343
- sourceKind: "transcript" | "external" | "code" | "docs_canon" | "staging_source_material";
342
+ sourceKind: "code" | "transcript" | "external" | "docs_canon" | "staging_source_material";
344
343
  lineStart: number | null;
345
344
  lineEnd: number | null;
346
345
  }[];
346
+ sourceMaterialUuid: string;
347
347
  ledgerEntryUuid: string;
348
348
  sourceMaterialType: "legacy_epistemic_node" | "legacy_epistemic_edge" | "legacy_topic" | "legacy_worktree" | "legacy_task" | "docs_source_span" | "transcript_span" | "external_source" | "code_span";
349
349
  cleanProdEligible: boolean;
350
350
  canonicalIdentity: {
351
- storageLocator: string | null;
352
351
  storageLocatorSemantic: false;
352
+ storageLocator: string | null;
353
353
  publicUuid: string;
354
354
  publicIdVersion: "uuidv7";
355
355
  legacyAliases: string[];
@@ -373,38 +373,38 @@ declare const SourceMaterialLedgerEntrySchema: z.ZodObject<{
373
373
  replay: "not_replayable" | "receipt_bound" | "bitemporal_bound";
374
374
  };
375
375
  edgeRationales: {
376
- edgeType: "contradicts" | "supports" | "derived_from" | "supersedes" | "belongs_to" | "migration_of";
376
+ rationale: string;
377
+ sourceSpanUuids: string[];
378
+ edgeType: "belongs_to" | "derived_from" | "contradicts" | "supports" | "supersedes" | "migration_of";
377
379
  fromUuid: string;
378
380
  toUuid: string;
379
381
  edgeUuid: string;
380
- sourceSpanUuids: string[];
381
- rationale: string;
382
382
  }[];
383
383
  conflicts: {
384
- disposition: "unresolved" | "resolved" | "accepted_risk";
385
384
  rationale: string;
385
+ disposition: "unresolved" | "resolved" | "accepted_risk";
386
386
  conflictUuid: string;
387
387
  conflictType: "duplicate" | "contradiction" | "stale_source" | "policy_conflict" | "identity_collision";
388
388
  relatedSourceMaterialUuids: string[];
389
389
  }[];
390
390
  receipts: {
391
+ rationale: string;
391
392
  receiptUuid: string;
392
- sourceSpanUuids: string[];
393
393
  actor: {
394
394
  principalId: string;
395
- principalType: "user" | "agent" | "system";
395
+ principalType: "agent" | "user" | "system";
396
396
  clerkId: string | null;
397
397
  };
398
- sourceMaterialUuid: string;
399
- axiomTraceId: string;
398
+ sourceSpanUuids: string[];
400
399
  evidenceRefs: string[];
401
- rationale: string;
400
+ axiomTraceId: string;
401
+ sourceMaterialUuid: string;
402
402
  receiptType: "raw_ingest" | "candidate_promotion" | "adoption" | "merge" | "rejection" | "archive";
403
403
  fromState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
404
404
  toState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
405
405
  decidedAt: string;
406
406
  policyDecisionRefs: string[];
407
- queryableBy: ("compile_context" | "source_material_adoption" | "c2_z_fresh_agent_eval" | "graph_v2_seed")[];
407
+ queryableBy: ("graph_v2_seed" | "compile_context" | "c2_z_fresh_agent_eval" | "source_material_adoption")[];
408
408
  }[];
409
409
  }>;
410
410
  declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObject<{
@@ -447,14 +447,14 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
447
447
  storageLocatorSemantic: z.ZodLiteral<false>;
448
448
  legacyAliases: z.ZodArray<z.ZodString, "many">;
449
449
  }, "strip", z.ZodTypeAny, {
450
- storageLocator: string | null;
451
450
  storageLocatorSemantic: false;
451
+ storageLocator: string | null;
452
452
  publicUuid: string;
453
453
  publicIdVersion: "uuidv7";
454
454
  legacyAliases: string[];
455
455
  }, {
456
- storageLocator: string | null;
457
456
  storageLocatorSemantic: false;
457
+ storageLocator: string | null;
458
458
  publicUuid: string;
459
459
  publicIdVersion: "uuidv7";
460
460
  legacyAliases: string[];
@@ -497,21 +497,21 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
497
497
  contentHash: z.ZodString;
498
498
  citationMode: z.ZodEnum<["cite_exact", "cite_summary", "sealed_omission"]>;
499
499
  }, "strip", z.ZodTypeAny, {
500
+ contentHash: string;
501
+ sourceSpanUuid: string;
500
502
  sourceUuid: string;
501
503
  citationMode: "cite_exact" | "cite_summary" | "sealed_omission";
502
- sourceSpanUuid: string;
503
- contentHash: string;
504
504
  canonicalPath: string;
505
- sourceKind: "transcript" | "external" | "code" | "docs_canon" | "staging_source_material";
505
+ sourceKind: "code" | "transcript" | "external" | "docs_canon" | "staging_source_material";
506
506
  lineStart: number | null;
507
507
  lineEnd: number | null;
508
508
  }, {
509
+ contentHash: string;
510
+ sourceSpanUuid: string;
509
511
  sourceUuid: string;
510
512
  citationMode: "cite_exact" | "cite_summary" | "sealed_omission";
511
- sourceSpanUuid: string;
512
- contentHash: string;
513
513
  canonicalPath: string;
514
- sourceKind: "transcript" | "external" | "code" | "docs_canon" | "staging_source_material";
514
+ sourceKind: "code" | "transcript" | "external" | "docs_canon" | "staging_source_material";
515
515
  lineStart: number | null;
516
516
  lineEnd: number | null;
517
517
  }>, "many">;
@@ -523,14 +523,14 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
523
523
  permitResourceId: z.ZodString;
524
524
  tenantAuthorRef: z.ZodString;
525
525
  }, "strip", z.ZodTypeAny, {
526
- resourceType: "source" | "topic" | "belief" | "question" | "evidence" | "source_span" | "transcript" | "output";
526
+ resourceType: "topic" | "belief" | "question" | "evidence" | "source" | "output" | "source_span" | "transcript";
527
527
  policyTagUuid: string;
528
528
  tagKey: string;
529
529
  tagValue: string;
530
530
  permitResourceId: string;
531
531
  tenantAuthorRef: string;
532
532
  }, {
533
- resourceType: "source" | "topic" | "belief" | "question" | "evidence" | "source_span" | "transcript" | "output";
533
+ resourceType: "topic" | "belief" | "question" | "evidence" | "source" | "output" | "source_span" | "transcript";
534
534
  policyTagUuid: string;
535
535
  tagKey: string;
536
536
  tagValue: string;
@@ -567,19 +567,19 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
567
567
  rationale: z.ZodString;
568
568
  sourceSpanUuids: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
569
569
  }, "strip", z.ZodTypeAny, {
570
- edgeType: "contradicts" | "supports" | "derived_from" | "supersedes" | "belongs_to" | "migration_of";
570
+ rationale: string;
571
+ sourceSpanUuids: string[];
572
+ edgeType: "belongs_to" | "derived_from" | "contradicts" | "supports" | "supersedes" | "migration_of";
571
573
  fromUuid: string;
572
574
  toUuid: string;
573
575
  edgeUuid: string;
574
- sourceSpanUuids: string[];
575
- rationale: string;
576
576
  }, {
577
- edgeType: "contradicts" | "supports" | "derived_from" | "supersedes" | "belongs_to" | "migration_of";
577
+ rationale: string;
578
+ sourceSpanUuids: string[];
579
+ edgeType: "belongs_to" | "derived_from" | "contradicts" | "supports" | "supersedes" | "migration_of";
578
580
  fromUuid: string;
579
581
  toUuid: string;
580
582
  edgeUuid: string;
581
- sourceSpanUuids: string[];
582
- rationale: string;
583
583
  }>, "many">;
584
584
  conflicts: z.ZodArray<z.ZodObject<{
585
585
  conflictUuid: z.ZodEffects<z.ZodString, string, string>;
@@ -588,14 +588,14 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
588
588
  disposition: z.ZodEnum<["unresolved", "resolved", "accepted_risk"]>;
589
589
  rationale: z.ZodString;
590
590
  }, "strip", z.ZodTypeAny, {
591
- disposition: "unresolved" | "resolved" | "accepted_risk";
592
591
  rationale: string;
592
+ disposition: "unresolved" | "resolved" | "accepted_risk";
593
593
  conflictUuid: string;
594
594
  conflictType: "duplicate" | "contradiction" | "stale_source" | "policy_conflict" | "identity_collision";
595
595
  relatedSourceMaterialUuids: string[];
596
596
  }, {
597
- disposition: "unresolved" | "resolved" | "accepted_risk";
598
597
  rationale: string;
598
+ disposition: "unresolved" | "resolved" | "accepted_risk";
599
599
  conflictUuid: string;
600
600
  conflictType: "duplicate" | "contradiction" | "stale_source" | "policy_conflict" | "identity_collision";
601
601
  relatedSourceMaterialUuids: string[];
@@ -612,11 +612,11 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
612
612
  clerkId: z.ZodNullable<z.ZodString>;
613
613
  }, "strip", z.ZodTypeAny, {
614
614
  principalId: string;
615
- principalType: "user" | "agent" | "system";
615
+ principalType: "agent" | "user" | "system";
616
616
  clerkId: string | null;
617
617
  }, {
618
618
  principalId: string;
619
- principalType: "user" | "agent" | "system";
619
+ principalType: "agent" | "user" | "system";
620
620
  clerkId: string | null;
621
621
  }>;
622
622
  decidedAt: z.ZodString;
@@ -627,45 +627,45 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
627
627
  axiomTraceId: z.ZodString;
628
628
  queryableBy: z.ZodArray<z.ZodEnum<["compile_context", "source_material_adoption", "c2_z_fresh_agent_eval", "graph_v2_seed"]>, "many">;
629
629
  }, "strip", z.ZodTypeAny, {
630
+ rationale: string;
630
631
  receiptUuid: string;
631
- sourceSpanUuids: string[];
632
632
  actor: {
633
633
  principalId: string;
634
- principalType: "user" | "agent" | "system";
634
+ principalType: "agent" | "user" | "system";
635
635
  clerkId: string | null;
636
636
  };
637
- sourceMaterialUuid: string;
638
- axiomTraceId: string;
637
+ sourceSpanUuids: string[];
639
638
  evidenceRefs: string[];
640
- rationale: string;
639
+ axiomTraceId: string;
640
+ sourceMaterialUuid: string;
641
641
  receiptType: "raw_ingest" | "candidate_promotion" | "adoption" | "merge" | "rejection" | "archive";
642
642
  fromState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
643
643
  toState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
644
644
  decidedAt: string;
645
645
  policyDecisionRefs: string[];
646
- queryableBy: ("compile_context" | "source_material_adoption" | "c2_z_fresh_agent_eval" | "graph_v2_seed")[];
646
+ queryableBy: ("graph_v2_seed" | "compile_context" | "c2_z_fresh_agent_eval" | "source_material_adoption")[];
647
647
  }, {
648
+ rationale: string;
648
649
  receiptUuid: string;
649
- sourceSpanUuids: string[];
650
650
  actor: {
651
651
  principalId: string;
652
- principalType: "user" | "agent" | "system";
652
+ principalType: "agent" | "user" | "system";
653
653
  clerkId: string | null;
654
654
  };
655
- sourceMaterialUuid: string;
656
- axiomTraceId: string;
655
+ sourceSpanUuids: string[];
657
656
  evidenceRefs: string[];
658
- rationale: string;
657
+ axiomTraceId: string;
658
+ sourceMaterialUuid: string;
659
659
  receiptType: "raw_ingest" | "candidate_promotion" | "adoption" | "merge" | "rejection" | "archive";
660
660
  fromState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
661
661
  toState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
662
662
  decidedAt: string;
663
663
  policyDecisionRefs: string[];
664
- queryableBy: ("compile_context" | "source_material_adoption" | "c2_z_fresh_agent_eval" | "graph_v2_seed")[];
664
+ queryableBy: ("graph_v2_seed" | "compile_context" | "c2_z_fresh_agent_eval" | "source_material_adoption")[];
665
665
  }>, "many">;
666
666
  }, "strip", z.ZodTypeAny, {
667
667
  policyTags: {
668
- resourceType: "source" | "topic" | "belief" | "question" | "evidence" | "source_span" | "transcript" | "output";
668
+ resourceType: "topic" | "belief" | "question" | "evidence" | "source" | "output" | "source_span" | "transcript";
669
669
  policyTagUuid: string;
670
670
  tagKey: string;
671
671
  tagValue: string;
@@ -673,23 +673,23 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
673
673
  tenantAuthorRef: string;
674
674
  }[];
675
675
  state: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
676
- sourceMaterialUuid: string;
677
676
  sourceSpans: {
677
+ contentHash: string;
678
+ sourceSpanUuid: string;
678
679
  sourceUuid: string;
679
680
  citationMode: "cite_exact" | "cite_summary" | "sealed_omission";
680
- sourceSpanUuid: string;
681
- contentHash: string;
682
681
  canonicalPath: string;
683
- sourceKind: "transcript" | "external" | "code" | "docs_canon" | "staging_source_material";
682
+ sourceKind: "code" | "transcript" | "external" | "docs_canon" | "staging_source_material";
684
683
  lineStart: number | null;
685
684
  lineEnd: number | null;
686
685
  }[];
686
+ sourceMaterialUuid: string;
687
687
  ledgerEntryUuid: string;
688
688
  sourceMaterialType: "legacy_epistemic_node" | "legacy_epistemic_edge" | "legacy_topic" | "legacy_worktree" | "legacy_task" | "docs_source_span" | "transcript_span" | "external_source" | "code_span";
689
689
  cleanProdEligible: boolean;
690
690
  canonicalIdentity: {
691
- storageLocator: string | null;
692
691
  storageLocatorSemantic: false;
692
+ storageLocator: string | null;
693
693
  publicUuid: string;
694
694
  publicIdVersion: "uuidv7";
695
695
  legacyAliases: string[];
@@ -713,42 +713,42 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
713
713
  replay: "not_replayable" | "receipt_bound" | "bitemporal_bound";
714
714
  };
715
715
  edgeRationales: {
716
- edgeType: "contradicts" | "supports" | "derived_from" | "supersedes" | "belongs_to" | "migration_of";
716
+ rationale: string;
717
+ sourceSpanUuids: string[];
718
+ edgeType: "belongs_to" | "derived_from" | "contradicts" | "supports" | "supersedes" | "migration_of";
717
719
  fromUuid: string;
718
720
  toUuid: string;
719
721
  edgeUuid: string;
720
- sourceSpanUuids: string[];
721
- rationale: string;
722
722
  }[];
723
723
  conflicts: {
724
- disposition: "unresolved" | "resolved" | "accepted_risk";
725
724
  rationale: string;
725
+ disposition: "unresolved" | "resolved" | "accepted_risk";
726
726
  conflictUuid: string;
727
727
  conflictType: "duplicate" | "contradiction" | "stale_source" | "policy_conflict" | "identity_collision";
728
728
  relatedSourceMaterialUuids: string[];
729
729
  }[];
730
730
  receipts: {
731
+ rationale: string;
731
732
  receiptUuid: string;
732
- sourceSpanUuids: string[];
733
733
  actor: {
734
734
  principalId: string;
735
- principalType: "user" | "agent" | "system";
735
+ principalType: "agent" | "user" | "system";
736
736
  clerkId: string | null;
737
737
  };
738
- sourceMaterialUuid: string;
739
- axiomTraceId: string;
738
+ sourceSpanUuids: string[];
740
739
  evidenceRefs: string[];
741
- rationale: string;
740
+ axiomTraceId: string;
741
+ sourceMaterialUuid: string;
742
742
  receiptType: "raw_ingest" | "candidate_promotion" | "adoption" | "merge" | "rejection" | "archive";
743
743
  fromState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
744
744
  toState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
745
745
  decidedAt: string;
746
746
  policyDecisionRefs: string[];
747
- queryableBy: ("compile_context" | "source_material_adoption" | "c2_z_fresh_agent_eval" | "graph_v2_seed")[];
747
+ queryableBy: ("graph_v2_seed" | "compile_context" | "c2_z_fresh_agent_eval" | "source_material_adoption")[];
748
748
  }[];
749
749
  }, {
750
750
  policyTags: {
751
- resourceType: "source" | "topic" | "belief" | "question" | "evidence" | "source_span" | "transcript" | "output";
751
+ resourceType: "topic" | "belief" | "question" | "evidence" | "source" | "output" | "source_span" | "transcript";
752
752
  policyTagUuid: string;
753
753
  tagKey: string;
754
754
  tagValue: string;
@@ -756,23 +756,23 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
756
756
  tenantAuthorRef: string;
757
757
  }[];
758
758
  state: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
759
- sourceMaterialUuid: string;
760
759
  sourceSpans: {
760
+ contentHash: string;
761
+ sourceSpanUuid: string;
761
762
  sourceUuid: string;
762
763
  citationMode: "cite_exact" | "cite_summary" | "sealed_omission";
763
- sourceSpanUuid: string;
764
- contentHash: string;
765
764
  canonicalPath: string;
766
- sourceKind: "transcript" | "external" | "code" | "docs_canon" | "staging_source_material";
765
+ sourceKind: "code" | "transcript" | "external" | "docs_canon" | "staging_source_material";
767
766
  lineStart: number | null;
768
767
  lineEnd: number | null;
769
768
  }[];
769
+ sourceMaterialUuid: string;
770
770
  ledgerEntryUuid: string;
771
771
  sourceMaterialType: "legacy_epistemic_node" | "legacy_epistemic_edge" | "legacy_topic" | "legacy_worktree" | "legacy_task" | "docs_source_span" | "transcript_span" | "external_source" | "code_span";
772
772
  cleanProdEligible: boolean;
773
773
  canonicalIdentity: {
774
- storageLocator: string | null;
775
774
  storageLocatorSemantic: false;
775
+ storageLocator: string | null;
776
776
  publicUuid: string;
777
777
  publicIdVersion: "uuidv7";
778
778
  legacyAliases: string[];
@@ -796,38 +796,38 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
796
796
  replay: "not_replayable" | "receipt_bound" | "bitemporal_bound";
797
797
  };
798
798
  edgeRationales: {
799
- edgeType: "contradicts" | "supports" | "derived_from" | "supersedes" | "belongs_to" | "migration_of";
799
+ rationale: string;
800
+ sourceSpanUuids: string[];
801
+ edgeType: "belongs_to" | "derived_from" | "contradicts" | "supports" | "supersedes" | "migration_of";
800
802
  fromUuid: string;
801
803
  toUuid: string;
802
804
  edgeUuid: string;
803
- sourceSpanUuids: string[];
804
- rationale: string;
805
805
  }[];
806
806
  conflicts: {
807
- disposition: "unresolved" | "resolved" | "accepted_risk";
808
807
  rationale: string;
808
+ disposition: "unresolved" | "resolved" | "accepted_risk";
809
809
  conflictUuid: string;
810
810
  conflictType: "duplicate" | "contradiction" | "stale_source" | "policy_conflict" | "identity_collision";
811
811
  relatedSourceMaterialUuids: string[];
812
812
  }[];
813
813
  receipts: {
814
+ rationale: string;
814
815
  receiptUuid: string;
815
- sourceSpanUuids: string[];
816
816
  actor: {
817
817
  principalId: string;
818
- principalType: "user" | "agent" | "system";
818
+ principalType: "agent" | "user" | "system";
819
819
  clerkId: string | null;
820
820
  };
821
- sourceMaterialUuid: string;
822
- axiomTraceId: string;
821
+ sourceSpanUuids: string[];
823
822
  evidenceRefs: string[];
824
- rationale: string;
823
+ axiomTraceId: string;
824
+ sourceMaterialUuid: string;
825
825
  receiptType: "raw_ingest" | "candidate_promotion" | "adoption" | "merge" | "rejection" | "archive";
826
826
  fromState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
827
827
  toState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
828
828
  decidedAt: string;
829
829
  policyDecisionRefs: string[];
830
- queryableBy: ("compile_context" | "source_material_adoption" | "c2_z_fresh_agent_eval" | "graph_v2_seed")[];
830
+ queryableBy: ("graph_v2_seed" | "compile_context" | "c2_z_fresh_agent_eval" | "source_material_adoption")[];
831
831
  }[];
832
832
  }>, "many">;
833
833
  noSilentPromotionRefusals: z.ZodArray<z.ZodEnum<["adopted_without_adoption_receipt", "merged_without_merge_receipt", "candidate_without_uuidv7_identity", "candidate_without_legacy_provenance", "candidate_without_source_span_or_horizon", "clean_prod_eligible_without_policy_tags", "clean_prod_eligible_without_state_vector", "clean_prod_eligible_without_edge_rationale", "rejected_without_rejection_receipt", "archived_without_archive_receipt"]>, "many">;
@@ -843,41 +843,41 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
843
843
  receiptCoverage: z.ZodLiteral<1>;
844
844
  querySurfaceCoverage: z.ZodLiteral<1>;
845
845
  }, "strip", z.ZodTypeAny, {
846
+ receiptCoverage: 1;
847
+ policyTagCoverage: 1;
846
848
  stateCoverage: 1;
847
849
  transitionGateCoverage: 1;
848
850
  uuidv7Coverage: 1;
849
851
  legacyProvenanceCoverage: 1;
850
- policyTagCoverage: 1;
851
852
  stateVectorCoverage: 1;
852
853
  edgeRationaleCoverage: 1;
853
- receiptCoverage: 1;
854
854
  querySurfaceCoverage: 1;
855
855
  }, {
856
+ receiptCoverage: 1;
857
+ policyTagCoverage: 1;
856
858
  stateCoverage: 1;
857
859
  transitionGateCoverage: 1;
858
860
  uuidv7Coverage: 1;
859
861
  legacyProvenanceCoverage: 1;
860
- policyTagCoverage: 1;
861
862
  stateVectorCoverage: 1;
862
863
  edgeRationaleCoverage: 1;
863
- receiptCoverage: 1;
864
864
  querySurfaceCoverage: 1;
865
865
  }>;
866
866
  }, "strip", z.ZodTypeAny, {
867
867
  worktree: "C2-GF.5";
868
- lane: "c2-gf-avatar-tree-foundation";
869
868
  contractVersion: "c2_gf_source_material_adoption_ledger.v1";
869
+ lane: "c2-gf-avatar-tree-foundation";
870
870
  graphWorktreeId: "tn78cf75tyb9tkwrh347b30edx87yp48";
871
871
  compositionKey: "source_material_adoption_ledger_v1";
872
872
  quality: {
873
+ receiptCoverage: 1;
874
+ policyTagCoverage: 1;
873
875
  stateCoverage: 1;
874
876
  transitionGateCoverage: 1;
875
877
  uuidv7Coverage: 1;
876
878
  legacyProvenanceCoverage: 1;
877
- policyTagCoverage: 1;
878
879
  stateVectorCoverage: 1;
879
880
  edgeRationaleCoverage: 1;
880
- receiptCoverage: 1;
881
881
  querySurfaceCoverage: 1;
882
882
  };
883
883
  states: ("archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged")[];
@@ -891,7 +891,7 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
891
891
  }[];
892
892
  ledgerEntries: {
893
893
  policyTags: {
894
- resourceType: "source" | "topic" | "belief" | "question" | "evidence" | "source_span" | "transcript" | "output";
894
+ resourceType: "topic" | "belief" | "question" | "evidence" | "source" | "output" | "source_span" | "transcript";
895
895
  policyTagUuid: string;
896
896
  tagKey: string;
897
897
  tagValue: string;
@@ -899,23 +899,23 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
899
899
  tenantAuthorRef: string;
900
900
  }[];
901
901
  state: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
902
- sourceMaterialUuid: string;
903
902
  sourceSpans: {
903
+ contentHash: string;
904
+ sourceSpanUuid: string;
904
905
  sourceUuid: string;
905
906
  citationMode: "cite_exact" | "cite_summary" | "sealed_omission";
906
- sourceSpanUuid: string;
907
- contentHash: string;
908
907
  canonicalPath: string;
909
- sourceKind: "transcript" | "external" | "code" | "docs_canon" | "staging_source_material";
908
+ sourceKind: "code" | "transcript" | "external" | "docs_canon" | "staging_source_material";
910
909
  lineStart: number | null;
911
910
  lineEnd: number | null;
912
911
  }[];
912
+ sourceMaterialUuid: string;
913
913
  ledgerEntryUuid: string;
914
914
  sourceMaterialType: "legacy_epistemic_node" | "legacy_epistemic_edge" | "legacy_topic" | "legacy_worktree" | "legacy_task" | "docs_source_span" | "transcript_span" | "external_source" | "code_span";
915
915
  cleanProdEligible: boolean;
916
916
  canonicalIdentity: {
917
- storageLocator: string | null;
918
917
  storageLocatorSemantic: false;
918
+ storageLocator: string | null;
919
919
  publicUuid: string;
920
920
  publicIdVersion: "uuidv7";
921
921
  legacyAliases: string[];
@@ -939,57 +939,57 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
939
939
  replay: "not_replayable" | "receipt_bound" | "bitemporal_bound";
940
940
  };
941
941
  edgeRationales: {
942
- edgeType: "contradicts" | "supports" | "derived_from" | "supersedes" | "belongs_to" | "migration_of";
942
+ rationale: string;
943
+ sourceSpanUuids: string[];
944
+ edgeType: "belongs_to" | "derived_from" | "contradicts" | "supports" | "supersedes" | "migration_of";
943
945
  fromUuid: string;
944
946
  toUuid: string;
945
947
  edgeUuid: string;
946
- sourceSpanUuids: string[];
947
- rationale: string;
948
948
  }[];
949
949
  conflicts: {
950
- disposition: "unresolved" | "resolved" | "accepted_risk";
951
950
  rationale: string;
951
+ disposition: "unresolved" | "resolved" | "accepted_risk";
952
952
  conflictUuid: string;
953
953
  conflictType: "duplicate" | "contradiction" | "stale_source" | "policy_conflict" | "identity_collision";
954
954
  relatedSourceMaterialUuids: string[];
955
955
  }[];
956
956
  receipts: {
957
+ rationale: string;
957
958
  receiptUuid: string;
958
- sourceSpanUuids: string[];
959
959
  actor: {
960
960
  principalId: string;
961
- principalType: "user" | "agent" | "system";
961
+ principalType: "agent" | "user" | "system";
962
962
  clerkId: string | null;
963
963
  };
964
- sourceMaterialUuid: string;
965
- axiomTraceId: string;
964
+ sourceSpanUuids: string[];
966
965
  evidenceRefs: string[];
967
- rationale: string;
966
+ axiomTraceId: string;
967
+ sourceMaterialUuid: string;
968
968
  receiptType: "raw_ingest" | "candidate_promotion" | "adoption" | "merge" | "rejection" | "archive";
969
969
  fromState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
970
970
  toState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
971
971
  decidedAt: string;
972
972
  policyDecisionRefs: string[];
973
- queryableBy: ("compile_context" | "source_material_adoption" | "c2_z_fresh_agent_eval" | "graph_v2_seed")[];
973
+ queryableBy: ("graph_v2_seed" | "compile_context" | "c2_z_fresh_agent_eval" | "source_material_adoption")[];
974
974
  }[];
975
975
  }[];
976
976
  noSilentPromotionRefusals: ("adopted_without_adoption_receipt" | "merged_without_merge_receipt" | "candidate_without_uuidv7_identity" | "candidate_without_legacy_provenance" | "candidate_without_source_span_or_horizon" | "clean_prod_eligible_without_policy_tags" | "clean_prod_eligible_without_state_vector" | "clean_prod_eligible_without_edge_rationale" | "rejected_without_rejection_receipt" | "archived_without_archive_receipt")[];
977
- querySurfaces: ("compile_context" | "source_material_adoption" | "c2_z_fresh_agent_eval" | "graph_v2_seed")[];
977
+ querySurfaces: ("graph_v2_seed" | "compile_context" | "c2_z_fresh_agent_eval" | "source_material_adoption")[];
978
978
  }, {
979
979
  worktree: "C2-GF.5";
980
- lane: "c2-gf-avatar-tree-foundation";
981
980
  contractVersion: "c2_gf_source_material_adoption_ledger.v1";
981
+ lane: "c2-gf-avatar-tree-foundation";
982
982
  graphWorktreeId: "tn78cf75tyb9tkwrh347b30edx87yp48";
983
983
  compositionKey: "source_material_adoption_ledger_v1";
984
984
  quality: {
985
+ receiptCoverage: 1;
986
+ policyTagCoverage: 1;
985
987
  stateCoverage: 1;
986
988
  transitionGateCoverage: 1;
987
989
  uuidv7Coverage: 1;
988
990
  legacyProvenanceCoverage: 1;
989
- policyTagCoverage: 1;
990
991
  stateVectorCoverage: 1;
991
992
  edgeRationaleCoverage: 1;
992
- receiptCoverage: 1;
993
993
  querySurfaceCoverage: 1;
994
994
  };
995
995
  states: ("archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged")[];
@@ -1003,7 +1003,7 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
1003
1003
  }[];
1004
1004
  ledgerEntries: {
1005
1005
  policyTags: {
1006
- resourceType: "source" | "topic" | "belief" | "question" | "evidence" | "source_span" | "transcript" | "output";
1006
+ resourceType: "topic" | "belief" | "question" | "evidence" | "source" | "output" | "source_span" | "transcript";
1007
1007
  policyTagUuid: string;
1008
1008
  tagKey: string;
1009
1009
  tagValue: string;
@@ -1011,23 +1011,23 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
1011
1011
  tenantAuthorRef: string;
1012
1012
  }[];
1013
1013
  state: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
1014
- sourceMaterialUuid: string;
1015
1014
  sourceSpans: {
1015
+ contentHash: string;
1016
+ sourceSpanUuid: string;
1016
1017
  sourceUuid: string;
1017
1018
  citationMode: "cite_exact" | "cite_summary" | "sealed_omission";
1018
- sourceSpanUuid: string;
1019
- contentHash: string;
1020
1019
  canonicalPath: string;
1021
- sourceKind: "transcript" | "external" | "code" | "docs_canon" | "staging_source_material";
1020
+ sourceKind: "code" | "transcript" | "external" | "docs_canon" | "staging_source_material";
1022
1021
  lineStart: number | null;
1023
1022
  lineEnd: number | null;
1024
1023
  }[];
1024
+ sourceMaterialUuid: string;
1025
1025
  ledgerEntryUuid: string;
1026
1026
  sourceMaterialType: "legacy_epistemic_node" | "legacy_epistemic_edge" | "legacy_topic" | "legacy_worktree" | "legacy_task" | "docs_source_span" | "transcript_span" | "external_source" | "code_span";
1027
1027
  cleanProdEligible: boolean;
1028
1028
  canonicalIdentity: {
1029
- storageLocator: string | null;
1030
1029
  storageLocatorSemantic: false;
1030
+ storageLocator: string | null;
1031
1031
  publicUuid: string;
1032
1032
  publicIdVersion: "uuidv7";
1033
1033
  legacyAliases: string[];
@@ -1051,57 +1051,57 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
1051
1051
  replay: "not_replayable" | "receipt_bound" | "bitemporal_bound";
1052
1052
  };
1053
1053
  edgeRationales: {
1054
- edgeType: "contradicts" | "supports" | "derived_from" | "supersedes" | "belongs_to" | "migration_of";
1054
+ rationale: string;
1055
+ sourceSpanUuids: string[];
1056
+ edgeType: "belongs_to" | "derived_from" | "contradicts" | "supports" | "supersedes" | "migration_of";
1055
1057
  fromUuid: string;
1056
1058
  toUuid: string;
1057
1059
  edgeUuid: string;
1058
- sourceSpanUuids: string[];
1059
- rationale: string;
1060
1060
  }[];
1061
1061
  conflicts: {
1062
- disposition: "unresolved" | "resolved" | "accepted_risk";
1063
1062
  rationale: string;
1063
+ disposition: "unresolved" | "resolved" | "accepted_risk";
1064
1064
  conflictUuid: string;
1065
1065
  conflictType: "duplicate" | "contradiction" | "stale_source" | "policy_conflict" | "identity_collision";
1066
1066
  relatedSourceMaterialUuids: string[];
1067
1067
  }[];
1068
1068
  receipts: {
1069
+ rationale: string;
1069
1070
  receiptUuid: string;
1070
- sourceSpanUuids: string[];
1071
1071
  actor: {
1072
1072
  principalId: string;
1073
- principalType: "user" | "agent" | "system";
1073
+ principalType: "agent" | "user" | "system";
1074
1074
  clerkId: string | null;
1075
1075
  };
1076
- sourceMaterialUuid: string;
1077
- axiomTraceId: string;
1076
+ sourceSpanUuids: string[];
1078
1077
  evidenceRefs: string[];
1079
- rationale: string;
1078
+ axiomTraceId: string;
1079
+ sourceMaterialUuid: string;
1080
1080
  receiptType: "raw_ingest" | "candidate_promotion" | "adoption" | "merge" | "rejection" | "archive";
1081
1081
  fromState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
1082
1082
  toState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
1083
1083
  decidedAt: string;
1084
1084
  policyDecisionRefs: string[];
1085
- queryableBy: ("compile_context" | "source_material_adoption" | "c2_z_fresh_agent_eval" | "graph_v2_seed")[];
1085
+ queryableBy: ("graph_v2_seed" | "compile_context" | "c2_z_fresh_agent_eval" | "source_material_adoption")[];
1086
1086
  }[];
1087
1087
  }[];
1088
1088
  noSilentPromotionRefusals: ("adopted_without_adoption_receipt" | "merged_without_merge_receipt" | "candidate_without_uuidv7_identity" | "candidate_without_legacy_provenance" | "candidate_without_source_span_or_horizon" | "clean_prod_eligible_without_policy_tags" | "clean_prod_eligible_without_state_vector" | "clean_prod_eligible_without_edge_rationale" | "rejected_without_rejection_receipt" | "archived_without_archive_receipt")[];
1089
- querySurfaces: ("compile_context" | "source_material_adoption" | "c2_z_fresh_agent_eval" | "graph_v2_seed")[];
1089
+ querySurfaces: ("graph_v2_seed" | "compile_context" | "c2_z_fresh_agent_eval" | "source_material_adoption")[];
1090
1090
  }>, {
1091
1091
  worktree: "C2-GF.5";
1092
- lane: "c2-gf-avatar-tree-foundation";
1093
1092
  contractVersion: "c2_gf_source_material_adoption_ledger.v1";
1093
+ lane: "c2-gf-avatar-tree-foundation";
1094
1094
  graphWorktreeId: "tn78cf75tyb9tkwrh347b30edx87yp48";
1095
1095
  compositionKey: "source_material_adoption_ledger_v1";
1096
1096
  quality: {
1097
+ receiptCoverage: 1;
1098
+ policyTagCoverage: 1;
1097
1099
  stateCoverage: 1;
1098
1100
  transitionGateCoverage: 1;
1099
1101
  uuidv7Coverage: 1;
1100
1102
  legacyProvenanceCoverage: 1;
1101
- policyTagCoverage: 1;
1102
1103
  stateVectorCoverage: 1;
1103
1104
  edgeRationaleCoverage: 1;
1104
- receiptCoverage: 1;
1105
1105
  querySurfaceCoverage: 1;
1106
1106
  };
1107
1107
  states: ("archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged")[];
@@ -1115,7 +1115,7 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
1115
1115
  }[];
1116
1116
  ledgerEntries: {
1117
1117
  policyTags: {
1118
- resourceType: "source" | "topic" | "belief" | "question" | "evidence" | "source_span" | "transcript" | "output";
1118
+ resourceType: "topic" | "belief" | "question" | "evidence" | "source" | "output" | "source_span" | "transcript";
1119
1119
  policyTagUuid: string;
1120
1120
  tagKey: string;
1121
1121
  tagValue: string;
@@ -1123,23 +1123,23 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
1123
1123
  tenantAuthorRef: string;
1124
1124
  }[];
1125
1125
  state: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
1126
- sourceMaterialUuid: string;
1127
1126
  sourceSpans: {
1127
+ contentHash: string;
1128
+ sourceSpanUuid: string;
1128
1129
  sourceUuid: string;
1129
1130
  citationMode: "cite_exact" | "cite_summary" | "sealed_omission";
1130
- sourceSpanUuid: string;
1131
- contentHash: string;
1132
1131
  canonicalPath: string;
1133
- sourceKind: "transcript" | "external" | "code" | "docs_canon" | "staging_source_material";
1132
+ sourceKind: "code" | "transcript" | "external" | "docs_canon" | "staging_source_material";
1134
1133
  lineStart: number | null;
1135
1134
  lineEnd: number | null;
1136
1135
  }[];
1136
+ sourceMaterialUuid: string;
1137
1137
  ledgerEntryUuid: string;
1138
1138
  sourceMaterialType: "legacy_epistemic_node" | "legacy_epistemic_edge" | "legacy_topic" | "legacy_worktree" | "legacy_task" | "docs_source_span" | "transcript_span" | "external_source" | "code_span";
1139
1139
  cleanProdEligible: boolean;
1140
1140
  canonicalIdentity: {
1141
- storageLocator: string | null;
1142
1141
  storageLocatorSemantic: false;
1142
+ storageLocator: string | null;
1143
1143
  publicUuid: string;
1144
1144
  publicIdVersion: "uuidv7";
1145
1145
  legacyAliases: string[];
@@ -1163,57 +1163,57 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
1163
1163
  replay: "not_replayable" | "receipt_bound" | "bitemporal_bound";
1164
1164
  };
1165
1165
  edgeRationales: {
1166
- edgeType: "contradicts" | "supports" | "derived_from" | "supersedes" | "belongs_to" | "migration_of";
1166
+ rationale: string;
1167
+ sourceSpanUuids: string[];
1168
+ edgeType: "belongs_to" | "derived_from" | "contradicts" | "supports" | "supersedes" | "migration_of";
1167
1169
  fromUuid: string;
1168
1170
  toUuid: string;
1169
1171
  edgeUuid: string;
1170
- sourceSpanUuids: string[];
1171
- rationale: string;
1172
1172
  }[];
1173
1173
  conflicts: {
1174
- disposition: "unresolved" | "resolved" | "accepted_risk";
1175
1174
  rationale: string;
1175
+ disposition: "unresolved" | "resolved" | "accepted_risk";
1176
1176
  conflictUuid: string;
1177
1177
  conflictType: "duplicate" | "contradiction" | "stale_source" | "policy_conflict" | "identity_collision";
1178
1178
  relatedSourceMaterialUuids: string[];
1179
1179
  }[];
1180
1180
  receipts: {
1181
+ rationale: string;
1181
1182
  receiptUuid: string;
1182
- sourceSpanUuids: string[];
1183
1183
  actor: {
1184
1184
  principalId: string;
1185
- principalType: "user" | "agent" | "system";
1185
+ principalType: "agent" | "user" | "system";
1186
1186
  clerkId: string | null;
1187
1187
  };
1188
- sourceMaterialUuid: string;
1189
- axiomTraceId: string;
1188
+ sourceSpanUuids: string[];
1190
1189
  evidenceRefs: string[];
1191
- rationale: string;
1190
+ axiomTraceId: string;
1191
+ sourceMaterialUuid: string;
1192
1192
  receiptType: "raw_ingest" | "candidate_promotion" | "adoption" | "merge" | "rejection" | "archive";
1193
1193
  fromState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
1194
1194
  toState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
1195
1195
  decidedAt: string;
1196
1196
  policyDecisionRefs: string[];
1197
- queryableBy: ("compile_context" | "source_material_adoption" | "c2_z_fresh_agent_eval" | "graph_v2_seed")[];
1197
+ queryableBy: ("graph_v2_seed" | "compile_context" | "c2_z_fresh_agent_eval" | "source_material_adoption")[];
1198
1198
  }[];
1199
1199
  }[];
1200
1200
  noSilentPromotionRefusals: ("adopted_without_adoption_receipt" | "merged_without_merge_receipt" | "candidate_without_uuidv7_identity" | "candidate_without_legacy_provenance" | "candidate_without_source_span_or_horizon" | "clean_prod_eligible_without_policy_tags" | "clean_prod_eligible_without_state_vector" | "clean_prod_eligible_without_edge_rationale" | "rejected_without_rejection_receipt" | "archived_without_archive_receipt")[];
1201
- querySurfaces: ("compile_context" | "source_material_adoption" | "c2_z_fresh_agent_eval" | "graph_v2_seed")[];
1201
+ querySurfaces: ("graph_v2_seed" | "compile_context" | "c2_z_fresh_agent_eval" | "source_material_adoption")[];
1202
1202
  }, {
1203
1203
  worktree: "C2-GF.5";
1204
- lane: "c2-gf-avatar-tree-foundation";
1205
1204
  contractVersion: "c2_gf_source_material_adoption_ledger.v1";
1205
+ lane: "c2-gf-avatar-tree-foundation";
1206
1206
  graphWorktreeId: "tn78cf75tyb9tkwrh347b30edx87yp48";
1207
1207
  compositionKey: "source_material_adoption_ledger_v1";
1208
1208
  quality: {
1209
+ receiptCoverage: 1;
1210
+ policyTagCoverage: 1;
1209
1211
  stateCoverage: 1;
1210
1212
  transitionGateCoverage: 1;
1211
1213
  uuidv7Coverage: 1;
1212
1214
  legacyProvenanceCoverage: 1;
1213
- policyTagCoverage: 1;
1214
1215
  stateVectorCoverage: 1;
1215
1216
  edgeRationaleCoverage: 1;
1216
- receiptCoverage: 1;
1217
1217
  querySurfaceCoverage: 1;
1218
1218
  };
1219
1219
  states: ("archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged")[];
@@ -1227,7 +1227,7 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
1227
1227
  }[];
1228
1228
  ledgerEntries: {
1229
1229
  policyTags: {
1230
- resourceType: "source" | "topic" | "belief" | "question" | "evidence" | "source_span" | "transcript" | "output";
1230
+ resourceType: "topic" | "belief" | "question" | "evidence" | "source" | "output" | "source_span" | "transcript";
1231
1231
  policyTagUuid: string;
1232
1232
  tagKey: string;
1233
1233
  tagValue: string;
@@ -1235,23 +1235,23 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
1235
1235
  tenantAuthorRef: string;
1236
1236
  }[];
1237
1237
  state: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
1238
- sourceMaterialUuid: string;
1239
1238
  sourceSpans: {
1239
+ contentHash: string;
1240
+ sourceSpanUuid: string;
1240
1241
  sourceUuid: string;
1241
1242
  citationMode: "cite_exact" | "cite_summary" | "sealed_omission";
1242
- sourceSpanUuid: string;
1243
- contentHash: string;
1244
1243
  canonicalPath: string;
1245
- sourceKind: "transcript" | "external" | "code" | "docs_canon" | "staging_source_material";
1244
+ sourceKind: "code" | "transcript" | "external" | "docs_canon" | "staging_source_material";
1246
1245
  lineStart: number | null;
1247
1246
  lineEnd: number | null;
1248
1247
  }[];
1248
+ sourceMaterialUuid: string;
1249
1249
  ledgerEntryUuid: string;
1250
1250
  sourceMaterialType: "legacy_epistemic_node" | "legacy_epistemic_edge" | "legacy_topic" | "legacy_worktree" | "legacy_task" | "docs_source_span" | "transcript_span" | "external_source" | "code_span";
1251
1251
  cleanProdEligible: boolean;
1252
1252
  canonicalIdentity: {
1253
- storageLocator: string | null;
1254
1253
  storageLocatorSemantic: false;
1254
+ storageLocator: string | null;
1255
1255
  publicUuid: string;
1256
1256
  publicIdVersion: "uuidv7";
1257
1257
  legacyAliases: string[];
@@ -1275,42 +1275,42 @@ declare const SourceMaterialAdoptionLedgerContractSchema: z.ZodEffects<z.ZodObje
1275
1275
  replay: "not_replayable" | "receipt_bound" | "bitemporal_bound";
1276
1276
  };
1277
1277
  edgeRationales: {
1278
- edgeType: "contradicts" | "supports" | "derived_from" | "supersedes" | "belongs_to" | "migration_of";
1278
+ rationale: string;
1279
+ sourceSpanUuids: string[];
1280
+ edgeType: "belongs_to" | "derived_from" | "contradicts" | "supports" | "supersedes" | "migration_of";
1279
1281
  fromUuid: string;
1280
1282
  toUuid: string;
1281
1283
  edgeUuid: string;
1282
- sourceSpanUuids: string[];
1283
- rationale: string;
1284
1284
  }[];
1285
1285
  conflicts: {
1286
- disposition: "unresolved" | "resolved" | "accepted_risk";
1287
1286
  rationale: string;
1287
+ disposition: "unresolved" | "resolved" | "accepted_risk";
1288
1288
  conflictUuid: string;
1289
1289
  conflictType: "duplicate" | "contradiction" | "stale_source" | "policy_conflict" | "identity_collision";
1290
1290
  relatedSourceMaterialUuids: string[];
1291
1291
  }[];
1292
1292
  receipts: {
1293
+ rationale: string;
1293
1294
  receiptUuid: string;
1294
- sourceSpanUuids: string[];
1295
1295
  actor: {
1296
1296
  principalId: string;
1297
- principalType: "user" | "agent" | "system";
1297
+ principalType: "agent" | "user" | "system";
1298
1298
  clerkId: string | null;
1299
1299
  };
1300
- sourceMaterialUuid: string;
1301
- axiomTraceId: string;
1300
+ sourceSpanUuids: string[];
1302
1301
  evidenceRefs: string[];
1303
- rationale: string;
1302
+ axiomTraceId: string;
1303
+ sourceMaterialUuid: string;
1304
1304
  receiptType: "raw_ingest" | "candidate_promotion" | "adoption" | "merge" | "rejection" | "archive";
1305
1305
  fromState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
1306
1306
  toState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
1307
1307
  decidedAt: string;
1308
1308
  policyDecisionRefs: string[];
1309
- queryableBy: ("compile_context" | "source_material_adoption" | "c2_z_fresh_agent_eval" | "graph_v2_seed")[];
1309
+ queryableBy: ("graph_v2_seed" | "compile_context" | "c2_z_fresh_agent_eval" | "source_material_adoption")[];
1310
1310
  }[];
1311
1311
  }[];
1312
1312
  noSilentPromotionRefusals: ("adopted_without_adoption_receipt" | "merged_without_merge_receipt" | "candidate_without_uuidv7_identity" | "candidate_without_legacy_provenance" | "candidate_without_source_span_or_horizon" | "clean_prod_eligible_without_policy_tags" | "clean_prod_eligible_without_state_vector" | "clean_prod_eligible_without_edge_rationale" | "rejected_without_rejection_receipt" | "archived_without_archive_receipt")[];
1313
- querySurfaces: ("compile_context" | "source_material_adoption" | "c2_z_fresh_agent_eval" | "graph_v2_seed")[];
1313
+ querySurfaces: ("graph_v2_seed" | "compile_context" | "c2_z_fresh_agent_eval" | "source_material_adoption")[];
1314
1314
  }>;
1315
1315
  type SourceMaterialAdoptionLedgerContract = z.infer<typeof SourceMaterialAdoptionLedgerContractSchema>;
1316
1316
  type SourceMaterialLedgerEntry = z.infer<typeof SourceMaterialLedgerEntrySchema>;
@@ -1436,7 +1436,7 @@ declare const SOURCE_MATERIAL_ADOPTION_LEDGER_CONTRACT: {
1436
1436
  evidenceRefs: string[];
1437
1437
  policyDecisionRefs: string[];
1438
1438
  axiomTraceId: string;
1439
- queryableBy: ("compile_context" | "source_material_adoption" | "c2_z_fresh_agent_eval" | "graph_v2_seed")[];
1439
+ queryableBy: ("graph_v2_seed" | "compile_context" | "c2_z_fresh_agent_eval" | "source_material_adoption")[];
1440
1440
  } | {
1441
1441
  receiptUuid: string;
1442
1442
  receiptType: "adoption";
@@ -1454,7 +1454,7 @@ declare const SOURCE_MATERIAL_ADOPTION_LEDGER_CONTRACT: {
1454
1454
  evidenceRefs: string[];
1455
1455
  policyDecisionRefs: string[];
1456
1456
  axiomTraceId: string;
1457
- queryableBy: ("compile_context" | "source_material_adoption" | "c2_z_fresh_agent_eval" | "graph_v2_seed")[];
1457
+ queryableBy: ("graph_v2_seed" | "compile_context" | "c2_z_fresh_agent_eval" | "source_material_adoption")[];
1458
1458
  })[];
1459
1459
  } | {
1460
1460
  ledgerEntryUuid: string;
@@ -1537,11 +1537,11 @@ declare const SOURCE_MATERIAL_ADOPTION_LEDGER_CONTRACT: {
1537
1537
  evidenceRefs: string[];
1538
1538
  policyDecisionRefs: string[];
1539
1539
  axiomTraceId: string;
1540
- queryableBy: ("compile_context" | "source_material_adoption" | "c2_z_fresh_agent_eval" | "graph_v2_seed")[];
1540
+ queryableBy: ("graph_v2_seed" | "compile_context" | "c2_z_fresh_agent_eval" | "source_material_adoption")[];
1541
1541
  }[];
1542
1542
  })[];
1543
1543
  noSilentPromotionRefusals: ("adopted_without_adoption_receipt" | "merged_without_merge_receipt" | "candidate_without_uuidv7_identity" | "candidate_without_legacy_provenance" | "candidate_without_source_span_or_horizon" | "clean_prod_eligible_without_policy_tags" | "clean_prod_eligible_without_state_vector" | "clean_prod_eligible_without_edge_rationale" | "rejected_without_rejection_receipt" | "archived_without_archive_receipt")[];
1544
- querySurfaces: ("compile_context" | "source_material_adoption" | "c2_z_fresh_agent_eval" | "graph_v2_seed")[];
1544
+ querySurfaces: ("graph_v2_seed" | "compile_context" | "c2_z_fresh_agent_eval" | "source_material_adoption")[];
1545
1545
  quality: {
1546
1546
  stateCoverage: 1;
1547
1547
  transitionGateCoverage: 1;
@@ -1556,19 +1556,19 @@ declare const SOURCE_MATERIAL_ADOPTION_LEDGER_CONTRACT: {
1556
1556
  };
1557
1557
  declare const parsedSourceMaterialAdoptionLedgerContract: {
1558
1558
  worktree: "C2-GF.5";
1559
- lane: "c2-gf-avatar-tree-foundation";
1560
1559
  contractVersion: "c2_gf_source_material_adoption_ledger.v1";
1560
+ lane: "c2-gf-avatar-tree-foundation";
1561
1561
  graphWorktreeId: "tn78cf75tyb9tkwrh347b30edx87yp48";
1562
1562
  compositionKey: "source_material_adoption_ledger_v1";
1563
1563
  quality: {
1564
+ receiptCoverage: 1;
1565
+ policyTagCoverage: 1;
1564
1566
  stateCoverage: 1;
1565
1567
  transitionGateCoverage: 1;
1566
1568
  uuidv7Coverage: 1;
1567
1569
  legacyProvenanceCoverage: 1;
1568
- policyTagCoverage: 1;
1569
1570
  stateVectorCoverage: 1;
1570
1571
  edgeRationaleCoverage: 1;
1571
- receiptCoverage: 1;
1572
1572
  querySurfaceCoverage: 1;
1573
1573
  };
1574
1574
  states: ("archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged")[];
@@ -1582,7 +1582,7 @@ declare const parsedSourceMaterialAdoptionLedgerContract: {
1582
1582
  }[];
1583
1583
  ledgerEntries: {
1584
1584
  policyTags: {
1585
- resourceType: "source" | "topic" | "belief" | "question" | "evidence" | "source_span" | "transcript" | "output";
1585
+ resourceType: "topic" | "belief" | "question" | "evidence" | "source" | "output" | "source_span" | "transcript";
1586
1586
  policyTagUuid: string;
1587
1587
  tagKey: string;
1588
1588
  tagValue: string;
@@ -1590,23 +1590,23 @@ declare const parsedSourceMaterialAdoptionLedgerContract: {
1590
1590
  tenantAuthorRef: string;
1591
1591
  }[];
1592
1592
  state: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
1593
- sourceMaterialUuid: string;
1594
1593
  sourceSpans: {
1594
+ contentHash: string;
1595
+ sourceSpanUuid: string;
1595
1596
  sourceUuid: string;
1596
1597
  citationMode: "cite_exact" | "cite_summary" | "sealed_omission";
1597
- sourceSpanUuid: string;
1598
- contentHash: string;
1599
1598
  canonicalPath: string;
1600
- sourceKind: "transcript" | "external" | "code" | "docs_canon" | "staging_source_material";
1599
+ sourceKind: "code" | "transcript" | "external" | "docs_canon" | "staging_source_material";
1601
1600
  lineStart: number | null;
1602
1601
  lineEnd: number | null;
1603
1602
  }[];
1603
+ sourceMaterialUuid: string;
1604
1604
  ledgerEntryUuid: string;
1605
1605
  sourceMaterialType: "legacy_epistemic_node" | "legacy_epistemic_edge" | "legacy_topic" | "legacy_worktree" | "legacy_task" | "docs_source_span" | "transcript_span" | "external_source" | "code_span";
1606
1606
  cleanProdEligible: boolean;
1607
1607
  canonicalIdentity: {
1608
- storageLocator: string | null;
1609
1608
  storageLocatorSemantic: false;
1609
+ storageLocator: string | null;
1610
1610
  publicUuid: string;
1611
1611
  publicIdVersion: "uuidv7";
1612
1612
  legacyAliases: string[];
@@ -1630,42 +1630,42 @@ declare const parsedSourceMaterialAdoptionLedgerContract: {
1630
1630
  replay: "not_replayable" | "receipt_bound" | "bitemporal_bound";
1631
1631
  };
1632
1632
  edgeRationales: {
1633
- edgeType: "contradicts" | "supports" | "derived_from" | "supersedes" | "belongs_to" | "migration_of";
1633
+ rationale: string;
1634
+ sourceSpanUuids: string[];
1635
+ edgeType: "belongs_to" | "derived_from" | "contradicts" | "supports" | "supersedes" | "migration_of";
1634
1636
  fromUuid: string;
1635
1637
  toUuid: string;
1636
1638
  edgeUuid: string;
1637
- sourceSpanUuids: string[];
1638
- rationale: string;
1639
1639
  }[];
1640
1640
  conflicts: {
1641
- disposition: "unresolved" | "resolved" | "accepted_risk";
1642
1641
  rationale: string;
1642
+ disposition: "unresolved" | "resolved" | "accepted_risk";
1643
1643
  conflictUuid: string;
1644
1644
  conflictType: "duplicate" | "contradiction" | "stale_source" | "policy_conflict" | "identity_collision";
1645
1645
  relatedSourceMaterialUuids: string[];
1646
1646
  }[];
1647
1647
  receipts: {
1648
+ rationale: string;
1648
1649
  receiptUuid: string;
1649
- sourceSpanUuids: string[];
1650
1650
  actor: {
1651
1651
  principalId: string;
1652
- principalType: "user" | "agent" | "system";
1652
+ principalType: "agent" | "user" | "system";
1653
1653
  clerkId: string | null;
1654
1654
  };
1655
- sourceMaterialUuid: string;
1656
- axiomTraceId: string;
1655
+ sourceSpanUuids: string[];
1657
1656
  evidenceRefs: string[];
1658
- rationale: string;
1657
+ axiomTraceId: string;
1658
+ sourceMaterialUuid: string;
1659
1659
  receiptType: "raw_ingest" | "candidate_promotion" | "adoption" | "merge" | "rejection" | "archive";
1660
1660
  fromState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
1661
1661
  toState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
1662
1662
  decidedAt: string;
1663
1663
  policyDecisionRefs: string[];
1664
- queryableBy: ("compile_context" | "source_material_adoption" | "c2_z_fresh_agent_eval" | "graph_v2_seed")[];
1664
+ queryableBy: ("graph_v2_seed" | "compile_context" | "c2_z_fresh_agent_eval" | "source_material_adoption")[];
1665
1665
  }[];
1666
1666
  }[];
1667
1667
  noSilentPromotionRefusals: ("adopted_without_adoption_receipt" | "merged_without_merge_receipt" | "candidate_without_uuidv7_identity" | "candidate_without_legacy_provenance" | "candidate_without_source_span_or_horizon" | "clean_prod_eligible_without_policy_tags" | "clean_prod_eligible_without_state_vector" | "clean_prod_eligible_without_edge_rationale" | "rejected_without_rejection_receipt" | "archived_without_archive_receipt")[];
1668
- querySurfaces: ("compile_context" | "source_material_adoption" | "c2_z_fresh_agent_eval" | "graph_v2_seed")[];
1668
+ querySurfaces: ("graph_v2_seed" | "compile_context" | "c2_z_fresh_agent_eval" | "source_material_adoption")[];
1669
1669
  };
1670
1670
  declare const SOURCE_MATERIAL_ADOPTION_LEDGER_COMPOSITION_ROW: {
1671
1671
  key: string;
@@ -1680,10 +1680,10 @@ declare const SOURCE_MATERIAL_ADOPTION_LEDGER_COMPOSITION_ROW: {
1680
1680
  allowedDepths: ("low" | "medium" | "high" | "extra-high")[];
1681
1681
  qualityVector: string[];
1682
1682
  identity: {
1683
+ registryKeyField: "key";
1683
1684
  canonicalPublicIdField: "compositionUuid";
1684
1685
  canonicalPublicIdVersion: "uuidv7";
1685
1686
  storageLocatorSemantic: false;
1686
- registryKeyField: "key";
1687
1687
  contentAddressFields: string[];
1688
1688
  };
1689
1689
  authorization: {
@@ -1722,10 +1722,10 @@ declare const SOURCE_MATERIAL_ADOPTION_LEDGER_COMPOSITION_ROW: {
1722
1722
  allowedDepths: ("medium" | "high" | "extra-high")[];
1723
1723
  qualityVector: string[];
1724
1724
  identity: {
1725
+ registryKeyField: "key";
1725
1726
  canonicalPublicIdField: "compositionUuid";
1726
1727
  canonicalPublicIdVersion: "uuidv7";
1727
1728
  storageLocatorSemantic: false;
1728
- registryKeyField: "key";
1729
1729
  contentAddressFields: string[];
1730
1730
  };
1731
1731
  authorization: {
@@ -1764,10 +1764,10 @@ declare const SOURCE_MATERIAL_ADOPTION_LEDGER_COMPOSITION_ROW: {
1764
1764
  allowedDepths: ("low" | "medium" | "high" | "extra-high")[];
1765
1765
  qualityVector: string[];
1766
1766
  identity: {
1767
+ registryKeyField: "key";
1767
1768
  canonicalPublicIdField: "compositionUuid";
1768
1769
  canonicalPublicIdVersion: "uuidv7";
1769
1770
  storageLocatorSemantic: false;
1770
- registryKeyField: "key";
1771
1771
  contentAddressFields: string[];
1772
1772
  };
1773
1773
  authorization: {
@@ -1806,10 +1806,10 @@ declare const SOURCE_MATERIAL_ADOPTION_LEDGER_COMPOSITION_ROW: {
1806
1806
  allowedDepths: ("low" | "medium" | "high" | "extra-high")[];
1807
1807
  qualityVector: string[];
1808
1808
  identity: {
1809
+ registryKeyField: "key";
1809
1810
  canonicalPublicIdField: "compositionUuid";
1810
1811
  canonicalPublicIdVersion: "uuidv7";
1811
1812
  storageLocatorSemantic: false;
1812
- registryKeyField: "key";
1813
1813
  contentAddressFields: string[];
1814
1814
  };
1815
1815
  authorization: {
@@ -1839,19 +1839,19 @@ declare const SOURCE_MATERIAL_ADOPTION_LEDGER_COMPOSITION_ROW: {
1839
1839
  key: string;
1840
1840
  emittedAs: string;
1841
1841
  classification: "substrate_contract";
1842
- lifecycle: "current";
1842
+ lifecycle: "reserved";
1843
1843
  ownerLane: string;
1844
1844
  dependsOn: string[];
1845
1845
  primitives: string[];
1846
1846
  sourceSurfaces: string[];
1847
1847
  defaultDepth: "extra-high";
1848
- allowedDepths: ("low" | "medium" | "high" | "extra-high")[];
1848
+ allowedDepths: ("high" | "extra-high")[];
1849
1849
  qualityVector: string[];
1850
1850
  identity: {
1851
+ registryKeyField: "key";
1851
1852
  canonicalPublicIdField: "compositionUuid";
1852
1853
  canonicalPublicIdVersion: "uuidv7";
1853
1854
  storageLocatorSemantic: false;
1854
- registryKeyField: "key";
1855
1855
  contentAddressFields: string[];
1856
1856
  };
1857
1857
  authorization: {
@@ -1886,14 +1886,14 @@ declare const SOURCE_MATERIAL_ADOPTION_LEDGER_COMPOSITION_ROW: {
1886
1886
  dependsOn: string[];
1887
1887
  primitives: string[];
1888
1888
  sourceSurfaces: string[];
1889
- defaultDepth: "extra-high";
1890
- allowedDepths: ("high" | "extra-high")[];
1889
+ defaultDepth: "high";
1890
+ allowedDepths: ("medium" | "high" | "extra-high")[];
1891
1891
  qualityVector: string[];
1892
1892
  identity: {
1893
+ registryKeyField: "key";
1893
1894
  canonicalPublicIdField: "compositionUuid";
1894
1895
  canonicalPublicIdVersion: "uuidv7";
1895
1896
  storageLocatorSemantic: false;
1896
- registryKeyField: "key";
1897
1897
  contentAddressFields: string[];
1898
1898
  };
1899
1899
  authorization: {
@@ -1923,19 +1923,19 @@ declare const SOURCE_MATERIAL_ADOPTION_LEDGER_COMPOSITION_ROW: {
1923
1923
  key: string;
1924
1924
  emittedAs: string;
1925
1925
  classification: "substrate_contract";
1926
- lifecycle: "reserved";
1926
+ lifecycle: "current";
1927
1927
  ownerLane: string;
1928
1928
  dependsOn: string[];
1929
1929
  primitives: string[];
1930
1930
  sourceSurfaces: string[];
1931
- defaultDepth: "high";
1932
- allowedDepths: ("medium" | "high" | "extra-high")[];
1931
+ defaultDepth: "extra-high";
1932
+ allowedDepths: ("low" | "medium" | "high" | "extra-high")[];
1933
1933
  qualityVector: string[];
1934
1934
  identity: {
1935
+ registryKeyField: "key";
1935
1936
  canonicalPublicIdField: "compositionUuid";
1936
1937
  canonicalPublicIdVersion: "uuidv7";
1937
1938
  storageLocatorSemantic: false;
1938
- registryKeyField: "key";
1939
1939
  contentAddressFields: string[];
1940
1940
  };
1941
1941
  authorization: {