@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
@@ -59,8 +59,8 @@ declare const TransitionReceiptPayloadSchema: z.ZodDiscriminatedUnion<"scope", [
59
59
  }>, "many">;
60
60
  schemaRedlineRef: z.ZodString;
61
61
  }, "strip", z.ZodTypeAny, {
62
- table: string;
63
62
  scope: "schema";
63
+ table: string;
64
64
  schemaVersionFrom: string;
65
65
  schemaVersionTo: string;
66
66
  fieldChanges: {
@@ -75,8 +75,8 @@ declare const TransitionReceiptPayloadSchema: z.ZodDiscriminatedUnion<"scope", [
75
75
  }[];
76
76
  schemaRedlineRef: string;
77
77
  }, {
78
- table: string;
79
78
  scope: "schema";
79
+ table: string;
80
80
  schemaVersionFrom: string;
81
81
  schemaVersionTo: string;
82
82
  fieldChanges: {
@@ -126,16 +126,16 @@ declare const TransitionReceiptPayloadSchema: z.ZodDiscriminatedUnion<"scope", [
126
126
  transitionPredicateRef: z.ZodString;
127
127
  proofRefs: z.ZodArray<z.ZodString, "many">;
128
128
  }, "strip", z.ZodTypeAny, {
129
- nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
130
129
  scope: "node_transition";
130
+ nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
131
131
  nodeUuid: string;
132
132
  fromEpistemicState: string;
133
133
  toEpistemicState: string;
134
134
  transitionPredicateRef: string;
135
135
  proofRefs: string[];
136
136
  }, {
137
- nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
138
137
  scope: "node_transition";
138
+ nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
139
139
  nodeUuid: string;
140
140
  fromEpistemicState: string;
141
141
  toEpistemicState: string;
@@ -171,19 +171,19 @@ declare const TransitionReceiptPayloadSchema: z.ZodDiscriminatedUnion<"scope", [
171
171
  taskIds: z.ZodArray<z.ZodString, "many">;
172
172
  evidenceReceiptRefs: z.ZodArray<z.ZodString, "many">;
173
173
  }, "strip", z.ZodTypeAny, {
174
- scope: "worktree_closeout";
175
- worktreeUuid: string;
176
174
  graphWorktreeId: string;
175
+ worktreeUuid: string;
176
+ scope: "worktree_closeout";
177
177
  taskIds: string[];
178
- fromStatus: "active" | "blocked" | "planning" | "paused";
178
+ fromStatus: "blocked" | "active" | "planning" | "paused";
179
179
  toStatus: "blocked" | "superseded" | "abandoned" | "completed";
180
180
  evidenceReceiptRefs: string[];
181
181
  }, {
182
- scope: "worktree_closeout";
183
- worktreeUuid: string;
184
182
  graphWorktreeId: string;
183
+ worktreeUuid: string;
184
+ scope: "worktree_closeout";
185
185
  taskIds: string[];
186
- fromStatus: "active" | "blocked" | "planning" | "paused";
186
+ fromStatus: "blocked" | "active" | "planning" | "paused";
187
187
  toStatus: "blocked" | "superseded" | "abandoned" | "completed";
188
188
  evidenceReceiptRefs: string[];
189
189
  }>]>;
@@ -235,13 +235,13 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
235
235
  sourceReceiptUuid: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
236
236
  }, "strip", z.ZodTypeAny, {
237
237
  state: string;
238
- contentHash: string;
239
238
  subjectUuid: string;
239
+ contentHash: string;
240
240
  sourceReceiptUuid: string | null;
241
241
  }, {
242
242
  state: string;
243
- contentHash: string;
244
243
  subjectUuid: string;
244
+ contentHash: string;
245
245
  sourceReceiptUuid: string | null;
246
246
  }>, "many">;
247
247
  to: z.ZodArray<z.ZodObject<{
@@ -251,13 +251,13 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
251
251
  sourceReceiptUuid: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
252
252
  }, "strip", z.ZodTypeAny, {
253
253
  state: string;
254
- contentHash: string;
255
254
  subjectUuid: string;
255
+ contentHash: string;
256
256
  sourceReceiptUuid: string | null;
257
257
  }, {
258
258
  state: string;
259
- contentHash: string;
260
259
  subjectUuid: string;
260
+ contentHash: string;
261
261
  sourceReceiptUuid: string | null;
262
262
  }>, "many">;
263
263
  mapping: z.ZodArray<z.ZodObject<{
@@ -266,15 +266,15 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
266
266
  mappingType: z.ZodEnum<["identity", "changed", "merge", "split", "archive", "unmapped", "residual"]>;
267
267
  rationale: z.ZodString;
268
268
  }, "strip", z.ZodTypeAny, {
269
+ rationale: string;
269
270
  fromUuid: string | null;
270
271
  toUuid: string | null;
271
- rationale: string;
272
- mappingType: "identity" | "split" | "merge" | "archive" | "changed" | "residual" | "unmapped";
272
+ mappingType: "split" | "identity" | "merge" | "archive" | "changed" | "residual" | "unmapped";
273
273
  }, {
274
+ rationale: string;
274
275
  fromUuid: string | null;
275
276
  toUuid: string | null;
276
- rationale: string;
277
- mappingType: "identity" | "split" | "merge" | "archive" | "changed" | "residual" | "unmapped";
277
+ mappingType: "split" | "identity" | "merge" | "archive" | "changed" | "residual" | "unmapped";
278
278
  }>, "many">;
279
279
  payload: z.ZodDiscriminatedUnion<"scope", [z.ZodObject<{
280
280
  scope: z.ZodLiteral<"schema">;
@@ -309,8 +309,8 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
309
309
  }>, "many">;
310
310
  schemaRedlineRef: z.ZodString;
311
311
  }, "strip", z.ZodTypeAny, {
312
- table: string;
313
312
  scope: "schema";
313
+ table: string;
314
314
  schemaVersionFrom: string;
315
315
  schemaVersionTo: string;
316
316
  fieldChanges: {
@@ -325,8 +325,8 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
325
325
  }[];
326
326
  schemaRedlineRef: string;
327
327
  }, {
328
- table: string;
329
328
  scope: "schema";
329
+ table: string;
330
330
  schemaVersionFrom: string;
331
331
  schemaVersionTo: string;
332
332
  fieldChanges: {
@@ -376,16 +376,16 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
376
376
  transitionPredicateRef: z.ZodString;
377
377
  proofRefs: z.ZodArray<z.ZodString, "many">;
378
378
  }, "strip", z.ZodTypeAny, {
379
- nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
380
379
  scope: "node_transition";
380
+ nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
381
381
  nodeUuid: string;
382
382
  fromEpistemicState: string;
383
383
  toEpistemicState: string;
384
384
  transitionPredicateRef: string;
385
385
  proofRefs: string[];
386
386
  }, {
387
- nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
388
387
  scope: "node_transition";
388
+ nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
389
389
  nodeUuid: string;
390
390
  fromEpistemicState: string;
391
391
  toEpistemicState: string;
@@ -421,19 +421,19 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
421
421
  taskIds: z.ZodArray<z.ZodString, "many">;
422
422
  evidenceReceiptRefs: z.ZodArray<z.ZodString, "many">;
423
423
  }, "strip", z.ZodTypeAny, {
424
- scope: "worktree_closeout";
425
- worktreeUuid: string;
426
424
  graphWorktreeId: string;
425
+ worktreeUuid: string;
426
+ scope: "worktree_closeout";
427
427
  taskIds: string[];
428
- fromStatus: "active" | "blocked" | "planning" | "paused";
428
+ fromStatus: "blocked" | "active" | "planning" | "paused";
429
429
  toStatus: "blocked" | "superseded" | "abandoned" | "completed";
430
430
  evidenceReceiptRefs: string[];
431
431
  }, {
432
- scope: "worktree_closeout";
433
- worktreeUuid: string;
434
432
  graphWorktreeId: string;
433
+ worktreeUuid: string;
434
+ scope: "worktree_closeout";
435
435
  taskIds: string[];
436
- fromStatus: "active" | "blocked" | "planning" | "paused";
436
+ fromStatus: "blocked" | "active" | "planning" | "paused";
437
437
  toStatus: "blocked" | "superseded" | "abandoned" | "completed";
438
438
  evidenceReceiptRefs: string[];
439
439
  }>]>;
@@ -443,14 +443,14 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
443
443
  ownerWorktree: z.ZodLiteral<"GV2.0.3">;
444
444
  rationale: z.ZodString;
445
445
  }, "strip", z.ZodTypeAny, {
446
- ownerWorktree: "GV2.0.3";
447
446
  rationale: string;
448
- bucket: "archived" | "identity" | "split" | "merged" | "changed" | "residual" | "unmapped";
447
+ ownerWorktree: "GV2.0.3";
448
+ bucket: "split" | "identity" | "archived" | "merged" | "changed" | "residual" | "unmapped";
449
449
  subjectUuids: string[];
450
450
  }, {
451
- ownerWorktree: "GV2.0.3";
452
451
  rationale: string;
453
- bucket: "archived" | "identity" | "split" | "merged" | "changed" | "residual" | "unmapped";
452
+ ownerWorktree: "GV2.0.3";
453
+ bucket: "split" | "identity" | "archived" | "merged" | "changed" | "residual" | "unmapped";
454
454
  subjectUuids: string[];
455
455
  }>, "many">;
456
456
  typedNeeds: z.ZodArray<z.ZodObject<{
@@ -460,17 +460,17 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
460
460
  disposition: z.ZodEnum<["open", "resolved", "deferred"]>;
461
461
  rationale: z.ZodString;
462
462
  }, "strip", z.ZodTypeAny, {
463
+ rationale: string;
463
464
  ownerWorktree: "GV2.0.4";
464
465
  needUuid: string;
465
- disposition: "resolved" | "open" | "deferred";
466
466
  needType: "missing_evidence" | "needs_mapping" | "needs_verifier" | "needs_source_span" | "needs_benchmark" | "needs_policy_decision" | "needs_lineage_disposition" | "needs_parsimony_review";
467
- rationale: string;
467
+ disposition: "resolved" | "open" | "deferred";
468
468
  }, {
469
+ rationale: string;
469
470
  ownerWorktree: "GV2.0.4";
470
471
  needUuid: string;
471
- disposition: "resolved" | "open" | "deferred";
472
472
  needType: "missing_evidence" | "needs_mapping" | "needs_verifier" | "needs_source_span" | "needs_benchmark" | "needs_policy_decision" | "needs_lineage_disposition" | "needs_parsimony_review";
473
- rationale: string;
473
+ disposition: "resolved" | "open" | "deferred";
474
474
  }>, "many">;
475
475
  gateRefs: z.ZodArray<z.ZodObject<{
476
476
  gateRef: z.ZodString;
@@ -508,11 +508,11 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
508
508
  clerkId: z.ZodNullable<z.ZodString>;
509
509
  }, "strip", z.ZodTypeAny, {
510
510
  principalId: string;
511
- principalType: "user" | "agent" | "system";
511
+ principalType: "agent" | "user" | "system";
512
512
  clerkId: string | null;
513
513
  }, {
514
514
  principalId: string;
515
- principalType: "user" | "agent" | "system";
515
+ principalType: "agent" | "user" | "system";
516
516
  clerkId: string | null;
517
517
  }>;
518
518
  createdAt: z.ZodString;
@@ -523,24 +523,36 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
523
523
  clerkId: z.ZodNullable<z.ZodString>;
524
524
  }, "strip", z.ZodTypeAny, {
525
525
  principalId: string;
526
- principalType: "user" | "agent" | "system";
526
+ principalType: "agent" | "user" | "system";
527
527
  clerkId: string | null;
528
528
  }, {
529
529
  principalId: string;
530
- principalType: "user" | "agent" | "system";
530
+ principalType: "agent" | "user" | "system";
531
531
  clerkId: string | null;
532
532
  }>>;
533
533
  }, "strip", z.ZodTypeAny, {
534
- scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
535
- contractVersion: "transition_receipt_v1";
536
- createdAt: string;
537
534
  receiptUuid: string;
535
+ contractVersion: "transition_receipt_v1";
538
536
  actor: {
539
537
  principalId: string;
540
- principalType: "user" | "agent" | "system";
538
+ principalType: "agent" | "user" | "system";
541
539
  clerkId: string | null;
542
540
  };
541
+ createdAt: string;
542
+ rulesetVersion: string;
543
+ scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
543
544
  stableInputHash: string;
545
+ supersedesReceiptUuid: string | null;
546
+ subjectRefs: {
547
+ uuid: string;
548
+ storageLocator: {
549
+ table: string;
550
+ semanticIdentity: false;
551
+ locator: string;
552
+ } | null;
553
+ kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
554
+ legacyRef: string | null;
555
+ }[];
544
556
  gateRefs: {
545
557
  gateType: "source_material_adoption" | "reset_authorization" | "worktree_gate" | "constitution_test" | "permit_policy";
546
558
  gateRef: string;
@@ -551,41 +563,29 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
551
563
  auditRef: string;
552
564
  auditType: "axiom_trace" | "graph_evidence" | "docs_receipt" | "validation_command" | "adoption_ledger";
553
565
  }[];
554
- supersedesReceiptUuid: string | null;
555
566
  typedNeeds: {
567
+ rationale: string;
556
568
  ownerWorktree: "GV2.0.4";
557
569
  needUuid: string;
558
- disposition: "resolved" | "open" | "deferred";
559
570
  needType: "missing_evidence" | "needs_mapping" | "needs_verifier" | "needs_source_span" | "needs_benchmark" | "needs_policy_decision" | "needs_lineage_disposition" | "needs_parsimony_review";
560
- rationale: string;
571
+ disposition: "resolved" | "open" | "deferred";
561
572
  }[];
562
573
  disposition: "superseded" | "rejected" | "proposed" | "deferred" | "ratified";
563
- rulesetVersion: string;
564
- subjectRefs: {
565
- uuid: string;
566
- storageLocator: {
567
- table: string;
568
- semanticIdentity: false;
569
- locator: string;
570
- } | null;
571
- kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
572
- legacyRef: string | null;
573
- }[];
574
574
  from: {
575
575
  state: string;
576
- contentHash: string;
577
576
  subjectUuid: string;
577
+ contentHash: string;
578
578
  sourceReceiptUuid: string | null;
579
579
  }[];
580
580
  to: {
581
581
  state: string;
582
- contentHash: string;
583
582
  subjectUuid: string;
583
+ contentHash: string;
584
584
  sourceReceiptUuid: string | null;
585
585
  }[];
586
586
  payload: {
587
- table: string;
588
587
  scope: "schema";
588
+ table: string;
589
589
  schemaVersionFrom: string;
590
590
  schemaVersionTo: string;
591
591
  fieldChanges: {
@@ -609,8 +609,8 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
609
609
  vocabularyFirewallRef: "prior_art_vocabulary_firewall_v1";
610
610
  publicationReceiptRef: string;
611
611
  } | {
612
- nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
613
612
  scope: "node_transition";
613
+ nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
614
614
  nodeUuid: string;
615
615
  fromEpistemicState: string;
616
616
  toEpistemicState: string;
@@ -624,44 +624,56 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
624
624
  fromAdoptionState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
625
625
  toAdoptionState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
626
626
  } | {
627
- scope: "worktree_closeout";
628
- worktreeUuid: string;
629
627
  graphWorktreeId: string;
628
+ worktreeUuid: string;
629
+ scope: "worktree_closeout";
630
630
  taskIds: string[];
631
- fromStatus: "active" | "blocked" | "planning" | "paused";
631
+ fromStatus: "blocked" | "active" | "planning" | "paused";
632
632
  toStatus: "blocked" | "superseded" | "abandoned" | "completed";
633
633
  evidenceReceiptRefs: string[];
634
634
  };
635
635
  diff: {
636
- ownerWorktree: "GV2.0.3";
637
636
  rationale: string;
638
- bucket: "archived" | "identity" | "split" | "merged" | "changed" | "residual" | "unmapped";
637
+ ownerWorktree: "GV2.0.3";
638
+ bucket: "split" | "identity" | "archived" | "merged" | "changed" | "residual" | "unmapped";
639
639
  subjectUuids: string[];
640
640
  }[];
641
641
  mapping: {
642
+ rationale: string;
642
643
  fromUuid: string | null;
643
644
  toUuid: string | null;
644
- rationale: string;
645
- mappingType: "identity" | "split" | "merge" | "archive" | "changed" | "residual" | "unmapped";
645
+ mappingType: "split" | "identity" | "merge" | "archive" | "changed" | "residual" | "unmapped";
646
646
  }[];
647
647
  stableInputHashAlgorithm: "sha256_canonical_json_v1";
648
648
  ratifiedAt: string | null;
649
649
  ratifiedBy: {
650
650
  principalId: string;
651
- principalType: "user" | "agent" | "system";
651
+ principalType: "agent" | "user" | "system";
652
652
  clerkId: string | null;
653
653
  } | null;
654
654
  }, {
655
- scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
656
- contractVersion: "transition_receipt_v1";
657
- createdAt: string;
658
655
  receiptUuid: string;
656
+ contractVersion: "transition_receipt_v1";
659
657
  actor: {
660
658
  principalId: string;
661
- principalType: "user" | "agent" | "system";
659
+ principalType: "agent" | "user" | "system";
662
660
  clerkId: string | null;
663
661
  };
662
+ createdAt: string;
663
+ rulesetVersion: string;
664
+ scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
664
665
  stableInputHash: string;
666
+ supersedesReceiptUuid: string | null;
667
+ subjectRefs: {
668
+ uuid: string;
669
+ storageLocator: {
670
+ table: string;
671
+ semanticIdentity: false;
672
+ locator: string;
673
+ } | null;
674
+ kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
675
+ legacyRef: string | null;
676
+ }[];
665
677
  gateRefs: {
666
678
  gateType: "source_material_adoption" | "reset_authorization" | "worktree_gate" | "constitution_test" | "permit_policy";
667
679
  gateRef: string;
@@ -672,41 +684,29 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
672
684
  auditRef: string;
673
685
  auditType: "axiom_trace" | "graph_evidence" | "docs_receipt" | "validation_command" | "adoption_ledger";
674
686
  }[];
675
- supersedesReceiptUuid: string | null;
676
687
  typedNeeds: {
688
+ rationale: string;
677
689
  ownerWorktree: "GV2.0.4";
678
690
  needUuid: string;
679
- disposition: "resolved" | "open" | "deferred";
680
691
  needType: "missing_evidence" | "needs_mapping" | "needs_verifier" | "needs_source_span" | "needs_benchmark" | "needs_policy_decision" | "needs_lineage_disposition" | "needs_parsimony_review";
681
- rationale: string;
692
+ disposition: "resolved" | "open" | "deferred";
682
693
  }[];
683
694
  disposition: "superseded" | "rejected" | "proposed" | "deferred" | "ratified";
684
- rulesetVersion: string;
685
- subjectRefs: {
686
- uuid: string;
687
- storageLocator: {
688
- table: string;
689
- semanticIdentity: false;
690
- locator: string;
691
- } | null;
692
- kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
693
- legacyRef: string | null;
694
- }[];
695
695
  from: {
696
696
  state: string;
697
- contentHash: string;
698
697
  subjectUuid: string;
698
+ contentHash: string;
699
699
  sourceReceiptUuid: string | null;
700
700
  }[];
701
701
  to: {
702
702
  state: string;
703
- contentHash: string;
704
703
  subjectUuid: string;
704
+ contentHash: string;
705
705
  sourceReceiptUuid: string | null;
706
706
  }[];
707
707
  payload: {
708
- table: string;
709
708
  scope: "schema";
709
+ table: string;
710
710
  schemaVersionFrom: string;
711
711
  schemaVersionTo: string;
712
712
  fieldChanges: {
@@ -730,8 +730,8 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
730
730
  vocabularyFirewallRef: "prior_art_vocabulary_firewall_v1";
731
731
  publicationReceiptRef: string;
732
732
  } | {
733
- nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
734
733
  scope: "node_transition";
734
+ nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
735
735
  nodeUuid: string;
736
736
  fromEpistemicState: string;
737
737
  toEpistemicState: string;
@@ -745,44 +745,56 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
745
745
  fromAdoptionState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
746
746
  toAdoptionState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
747
747
  } | {
748
- scope: "worktree_closeout";
749
- worktreeUuid: string;
750
748
  graphWorktreeId: string;
749
+ worktreeUuid: string;
750
+ scope: "worktree_closeout";
751
751
  taskIds: string[];
752
- fromStatus: "active" | "blocked" | "planning" | "paused";
752
+ fromStatus: "blocked" | "active" | "planning" | "paused";
753
753
  toStatus: "blocked" | "superseded" | "abandoned" | "completed";
754
754
  evidenceReceiptRefs: string[];
755
755
  };
756
756
  diff: {
757
- ownerWorktree: "GV2.0.3";
758
757
  rationale: string;
759
- bucket: "archived" | "identity" | "split" | "merged" | "changed" | "residual" | "unmapped";
758
+ ownerWorktree: "GV2.0.3";
759
+ bucket: "split" | "identity" | "archived" | "merged" | "changed" | "residual" | "unmapped";
760
760
  subjectUuids: string[];
761
761
  }[];
762
762
  mapping: {
763
+ rationale: string;
763
764
  fromUuid: string | null;
764
765
  toUuid: string | null;
765
- rationale: string;
766
- mappingType: "identity" | "split" | "merge" | "archive" | "changed" | "residual" | "unmapped";
766
+ mappingType: "split" | "identity" | "merge" | "archive" | "changed" | "residual" | "unmapped";
767
767
  }[];
768
768
  stableInputHashAlgorithm: "sha256_canonical_json_v1";
769
769
  ratifiedAt: string | null;
770
770
  ratifiedBy: {
771
771
  principalId: string;
772
- principalType: "user" | "agent" | "system";
772
+ principalType: "agent" | "user" | "system";
773
773
  clerkId: string | null;
774
774
  } | null;
775
775
  }>, {
776
- scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
777
- contractVersion: "transition_receipt_v1";
778
- createdAt: string;
779
776
  receiptUuid: string;
777
+ contractVersion: "transition_receipt_v1";
780
778
  actor: {
781
779
  principalId: string;
782
- principalType: "user" | "agent" | "system";
780
+ principalType: "agent" | "user" | "system";
783
781
  clerkId: string | null;
784
782
  };
783
+ createdAt: string;
784
+ rulesetVersion: string;
785
+ scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
785
786
  stableInputHash: string;
787
+ supersedesReceiptUuid: string | null;
788
+ subjectRefs: {
789
+ uuid: string;
790
+ storageLocator: {
791
+ table: string;
792
+ semanticIdentity: false;
793
+ locator: string;
794
+ } | null;
795
+ kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
796
+ legacyRef: string | null;
797
+ }[];
786
798
  gateRefs: {
787
799
  gateType: "source_material_adoption" | "reset_authorization" | "worktree_gate" | "constitution_test" | "permit_policy";
788
800
  gateRef: string;
@@ -793,41 +805,29 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
793
805
  auditRef: string;
794
806
  auditType: "axiom_trace" | "graph_evidence" | "docs_receipt" | "validation_command" | "adoption_ledger";
795
807
  }[];
796
- supersedesReceiptUuid: string | null;
797
808
  typedNeeds: {
809
+ rationale: string;
798
810
  ownerWorktree: "GV2.0.4";
799
811
  needUuid: string;
800
- disposition: "resolved" | "open" | "deferred";
801
812
  needType: "missing_evidence" | "needs_mapping" | "needs_verifier" | "needs_source_span" | "needs_benchmark" | "needs_policy_decision" | "needs_lineage_disposition" | "needs_parsimony_review";
802
- rationale: string;
813
+ disposition: "resolved" | "open" | "deferred";
803
814
  }[];
804
815
  disposition: "superseded" | "rejected" | "proposed" | "deferred" | "ratified";
805
- rulesetVersion: string;
806
- subjectRefs: {
807
- uuid: string;
808
- storageLocator: {
809
- table: string;
810
- semanticIdentity: false;
811
- locator: string;
812
- } | null;
813
- kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
814
- legacyRef: string | null;
815
- }[];
816
816
  from: {
817
817
  state: string;
818
- contentHash: string;
819
818
  subjectUuid: string;
819
+ contentHash: string;
820
820
  sourceReceiptUuid: string | null;
821
821
  }[];
822
822
  to: {
823
823
  state: string;
824
- contentHash: string;
825
824
  subjectUuid: string;
825
+ contentHash: string;
826
826
  sourceReceiptUuid: string | null;
827
827
  }[];
828
828
  payload: {
829
- table: string;
830
829
  scope: "schema";
830
+ table: string;
831
831
  schemaVersionFrom: string;
832
832
  schemaVersionTo: string;
833
833
  fieldChanges: {
@@ -851,8 +851,8 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
851
851
  vocabularyFirewallRef: "prior_art_vocabulary_firewall_v1";
852
852
  publicationReceiptRef: string;
853
853
  } | {
854
- nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
855
854
  scope: "node_transition";
855
+ nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
856
856
  nodeUuid: string;
857
857
  fromEpistemicState: string;
858
858
  toEpistemicState: string;
@@ -866,44 +866,56 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
866
866
  fromAdoptionState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
867
867
  toAdoptionState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
868
868
  } | {
869
- scope: "worktree_closeout";
870
- worktreeUuid: string;
871
869
  graphWorktreeId: string;
870
+ worktreeUuid: string;
871
+ scope: "worktree_closeout";
872
872
  taskIds: string[];
873
- fromStatus: "active" | "blocked" | "planning" | "paused";
873
+ fromStatus: "blocked" | "active" | "planning" | "paused";
874
874
  toStatus: "blocked" | "superseded" | "abandoned" | "completed";
875
875
  evidenceReceiptRefs: string[];
876
876
  };
877
877
  diff: {
878
- ownerWorktree: "GV2.0.3";
879
878
  rationale: string;
880
- bucket: "archived" | "identity" | "split" | "merged" | "changed" | "residual" | "unmapped";
879
+ ownerWorktree: "GV2.0.3";
880
+ bucket: "split" | "identity" | "archived" | "merged" | "changed" | "residual" | "unmapped";
881
881
  subjectUuids: string[];
882
882
  }[];
883
883
  mapping: {
884
+ rationale: string;
884
885
  fromUuid: string | null;
885
886
  toUuid: string | null;
886
- rationale: string;
887
- mappingType: "identity" | "split" | "merge" | "archive" | "changed" | "residual" | "unmapped";
887
+ mappingType: "split" | "identity" | "merge" | "archive" | "changed" | "residual" | "unmapped";
888
888
  }[];
889
889
  stableInputHashAlgorithm: "sha256_canonical_json_v1";
890
890
  ratifiedAt: string | null;
891
891
  ratifiedBy: {
892
892
  principalId: string;
893
- principalType: "user" | "agent" | "system";
893
+ principalType: "agent" | "user" | "system";
894
894
  clerkId: string | null;
895
895
  } | null;
896
896
  }, {
897
- scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
898
- contractVersion: "transition_receipt_v1";
899
- createdAt: string;
900
897
  receiptUuid: string;
898
+ contractVersion: "transition_receipt_v1";
901
899
  actor: {
902
900
  principalId: string;
903
- principalType: "user" | "agent" | "system";
901
+ principalType: "agent" | "user" | "system";
904
902
  clerkId: string | null;
905
903
  };
904
+ createdAt: string;
905
+ rulesetVersion: string;
906
+ scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
906
907
  stableInputHash: string;
908
+ supersedesReceiptUuid: string | null;
909
+ subjectRefs: {
910
+ uuid: string;
911
+ storageLocator: {
912
+ table: string;
913
+ semanticIdentity: false;
914
+ locator: string;
915
+ } | null;
916
+ kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
917
+ legacyRef: string | null;
918
+ }[];
907
919
  gateRefs: {
908
920
  gateType: "source_material_adoption" | "reset_authorization" | "worktree_gate" | "constitution_test" | "permit_policy";
909
921
  gateRef: string;
@@ -914,41 +926,29 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
914
926
  auditRef: string;
915
927
  auditType: "axiom_trace" | "graph_evidence" | "docs_receipt" | "validation_command" | "adoption_ledger";
916
928
  }[];
917
- supersedesReceiptUuid: string | null;
918
929
  typedNeeds: {
930
+ rationale: string;
919
931
  ownerWorktree: "GV2.0.4";
920
932
  needUuid: string;
921
- disposition: "resolved" | "open" | "deferred";
922
933
  needType: "missing_evidence" | "needs_mapping" | "needs_verifier" | "needs_source_span" | "needs_benchmark" | "needs_policy_decision" | "needs_lineage_disposition" | "needs_parsimony_review";
923
- rationale: string;
934
+ disposition: "resolved" | "open" | "deferred";
924
935
  }[];
925
936
  disposition: "superseded" | "rejected" | "proposed" | "deferred" | "ratified";
926
- rulesetVersion: string;
927
- subjectRefs: {
928
- uuid: string;
929
- storageLocator: {
930
- table: string;
931
- semanticIdentity: false;
932
- locator: string;
933
- } | null;
934
- kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
935
- legacyRef: string | null;
936
- }[];
937
937
  from: {
938
938
  state: string;
939
- contentHash: string;
940
939
  subjectUuid: string;
940
+ contentHash: string;
941
941
  sourceReceiptUuid: string | null;
942
942
  }[];
943
943
  to: {
944
944
  state: string;
945
- contentHash: string;
946
945
  subjectUuid: string;
946
+ contentHash: string;
947
947
  sourceReceiptUuid: string | null;
948
948
  }[];
949
949
  payload: {
950
- table: string;
951
950
  scope: "schema";
951
+ table: string;
952
952
  schemaVersionFrom: string;
953
953
  schemaVersionTo: string;
954
954
  fieldChanges: {
@@ -972,8 +972,8 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
972
972
  vocabularyFirewallRef: "prior_art_vocabulary_firewall_v1";
973
973
  publicationReceiptRef: string;
974
974
  } | {
975
- nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
976
975
  scope: "node_transition";
976
+ nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
977
977
  nodeUuid: string;
978
978
  fromEpistemicState: string;
979
979
  toEpistemicState: string;
@@ -987,31 +987,31 @@ declare const TransitionReceiptEnvelopeSchema: z.ZodEffects<z.ZodObject<{
987
987
  fromAdoptionState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
988
988
  toAdoptionState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
989
989
  } | {
990
- scope: "worktree_closeout";
991
- worktreeUuid: string;
992
990
  graphWorktreeId: string;
991
+ worktreeUuid: string;
992
+ scope: "worktree_closeout";
993
993
  taskIds: string[];
994
- fromStatus: "active" | "blocked" | "planning" | "paused";
994
+ fromStatus: "blocked" | "active" | "planning" | "paused";
995
995
  toStatus: "blocked" | "superseded" | "abandoned" | "completed";
996
996
  evidenceReceiptRefs: string[];
997
997
  };
998
998
  diff: {
999
- ownerWorktree: "GV2.0.3";
1000
999
  rationale: string;
1001
- bucket: "archived" | "identity" | "split" | "merged" | "changed" | "residual" | "unmapped";
1000
+ ownerWorktree: "GV2.0.3";
1001
+ bucket: "split" | "identity" | "archived" | "merged" | "changed" | "residual" | "unmapped";
1002
1002
  subjectUuids: string[];
1003
1003
  }[];
1004
1004
  mapping: {
1005
+ rationale: string;
1005
1006
  fromUuid: string | null;
1006
1007
  toUuid: string | null;
1007
- rationale: string;
1008
- mappingType: "identity" | "split" | "merge" | "archive" | "changed" | "residual" | "unmapped";
1008
+ mappingType: "split" | "identity" | "merge" | "archive" | "changed" | "residual" | "unmapped";
1009
1009
  }[];
1010
1010
  stableInputHashAlgorithm: "sha256_canonical_json_v1";
1011
1011
  ratifiedAt: string | null;
1012
1012
  ratifiedBy: {
1013
1013
  principalId: string;
1014
- principalType: "user" | "agent" | "system";
1014
+ principalType: "agent" | "user" | "system";
1015
1015
  clerkId: string | null;
1016
1016
  } | null;
1017
1017
  }>;
@@ -1030,11 +1030,11 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1030
1030
  }, "strip", z.ZodTypeAny, {
1031
1031
  refusal: "refuse_hash_that_excludes_mapping_or_discriminated_payload";
1032
1032
  algorithm: "sha256_canonical_json_v1";
1033
- canonicalFields: ("scope" | "contractVersion" | "rulesetVersion" | "from" | "to" | "payload" | "mapping")[];
1033
+ canonicalFields: ("contractVersion" | "rulesetVersion" | "scope" | "from" | "to" | "payload" | "mapping")[];
1034
1034
  }, {
1035
1035
  refusal: "refuse_hash_that_excludes_mapping_or_discriminated_payload";
1036
1036
  algorithm: "sha256_canonical_json_v1";
1037
- canonicalFields: ("scope" | "contractVersion" | "rulesetVersion" | "from" | "to" | "payload" | "mapping")[];
1037
+ canonicalFields: ("contractVersion" | "rulesetVersion" | "scope" | "from" | "to" | "payload" | "mapping")[];
1038
1038
  }>;
1039
1039
  appendOnlyRules: z.ZodArray<z.ZodString, "many">;
1040
1040
  rowMigrationBoundary: z.ZodObject<{
@@ -1136,13 +1136,13 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1136
1136
  sourceReceiptUuid: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
1137
1137
  }, "strip", z.ZodTypeAny, {
1138
1138
  state: string;
1139
- contentHash: string;
1140
1139
  subjectUuid: string;
1140
+ contentHash: string;
1141
1141
  sourceReceiptUuid: string | null;
1142
1142
  }, {
1143
1143
  state: string;
1144
- contentHash: string;
1145
1144
  subjectUuid: string;
1145
+ contentHash: string;
1146
1146
  sourceReceiptUuid: string | null;
1147
1147
  }>, "many">;
1148
1148
  to: z.ZodArray<z.ZodObject<{
@@ -1152,13 +1152,13 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1152
1152
  sourceReceiptUuid: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
1153
1153
  }, "strip", z.ZodTypeAny, {
1154
1154
  state: string;
1155
- contentHash: string;
1156
1155
  subjectUuid: string;
1156
+ contentHash: string;
1157
1157
  sourceReceiptUuid: string | null;
1158
1158
  }, {
1159
1159
  state: string;
1160
- contentHash: string;
1161
1160
  subjectUuid: string;
1161
+ contentHash: string;
1162
1162
  sourceReceiptUuid: string | null;
1163
1163
  }>, "many">;
1164
1164
  mapping: z.ZodArray<z.ZodObject<{
@@ -1167,15 +1167,15 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1167
1167
  mappingType: z.ZodEnum<["identity", "changed", "merge", "split", "archive", "unmapped", "residual"]>;
1168
1168
  rationale: z.ZodString;
1169
1169
  }, "strip", z.ZodTypeAny, {
1170
+ rationale: string;
1170
1171
  fromUuid: string | null;
1171
1172
  toUuid: string | null;
1172
- rationale: string;
1173
- mappingType: "identity" | "split" | "merge" | "archive" | "changed" | "residual" | "unmapped";
1173
+ mappingType: "split" | "identity" | "merge" | "archive" | "changed" | "residual" | "unmapped";
1174
1174
  }, {
1175
+ rationale: string;
1175
1176
  fromUuid: string | null;
1176
1177
  toUuid: string | null;
1177
- rationale: string;
1178
- mappingType: "identity" | "split" | "merge" | "archive" | "changed" | "residual" | "unmapped";
1178
+ mappingType: "split" | "identity" | "merge" | "archive" | "changed" | "residual" | "unmapped";
1179
1179
  }>, "many">;
1180
1180
  payload: z.ZodDiscriminatedUnion<"scope", [z.ZodObject<{
1181
1181
  scope: z.ZodLiteral<"schema">;
@@ -1210,8 +1210,8 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1210
1210
  }>, "many">;
1211
1211
  schemaRedlineRef: z.ZodString;
1212
1212
  }, "strip", z.ZodTypeAny, {
1213
- table: string;
1214
1213
  scope: "schema";
1214
+ table: string;
1215
1215
  schemaVersionFrom: string;
1216
1216
  schemaVersionTo: string;
1217
1217
  fieldChanges: {
@@ -1226,8 +1226,8 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1226
1226
  }[];
1227
1227
  schemaRedlineRef: string;
1228
1228
  }, {
1229
- table: string;
1230
1229
  scope: "schema";
1230
+ table: string;
1231
1231
  schemaVersionFrom: string;
1232
1232
  schemaVersionTo: string;
1233
1233
  fieldChanges: {
@@ -1277,16 +1277,16 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1277
1277
  transitionPredicateRef: z.ZodString;
1278
1278
  proofRefs: z.ZodArray<z.ZodString, "many">;
1279
1279
  }, "strip", z.ZodTypeAny, {
1280
- nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
1281
1280
  scope: "node_transition";
1281
+ nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
1282
1282
  nodeUuid: string;
1283
1283
  fromEpistemicState: string;
1284
1284
  toEpistemicState: string;
1285
1285
  transitionPredicateRef: string;
1286
1286
  proofRefs: string[];
1287
1287
  }, {
1288
- nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
1289
1288
  scope: "node_transition";
1289
+ nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
1290
1290
  nodeUuid: string;
1291
1291
  fromEpistemicState: string;
1292
1292
  toEpistemicState: string;
@@ -1322,19 +1322,19 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1322
1322
  taskIds: z.ZodArray<z.ZodString, "many">;
1323
1323
  evidenceReceiptRefs: z.ZodArray<z.ZodString, "many">;
1324
1324
  }, "strip", z.ZodTypeAny, {
1325
- scope: "worktree_closeout";
1326
- worktreeUuid: string;
1327
1325
  graphWorktreeId: string;
1326
+ worktreeUuid: string;
1327
+ scope: "worktree_closeout";
1328
1328
  taskIds: string[];
1329
- fromStatus: "active" | "blocked" | "planning" | "paused";
1329
+ fromStatus: "blocked" | "active" | "planning" | "paused";
1330
1330
  toStatus: "blocked" | "superseded" | "abandoned" | "completed";
1331
1331
  evidenceReceiptRefs: string[];
1332
1332
  }, {
1333
- scope: "worktree_closeout";
1334
- worktreeUuid: string;
1335
1333
  graphWorktreeId: string;
1334
+ worktreeUuid: string;
1335
+ scope: "worktree_closeout";
1336
1336
  taskIds: string[];
1337
- fromStatus: "active" | "blocked" | "planning" | "paused";
1337
+ fromStatus: "blocked" | "active" | "planning" | "paused";
1338
1338
  toStatus: "blocked" | "superseded" | "abandoned" | "completed";
1339
1339
  evidenceReceiptRefs: string[];
1340
1340
  }>]>;
@@ -1344,14 +1344,14 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1344
1344
  ownerWorktree: z.ZodLiteral<"GV2.0.3">;
1345
1345
  rationale: z.ZodString;
1346
1346
  }, "strip", z.ZodTypeAny, {
1347
- ownerWorktree: "GV2.0.3";
1348
1347
  rationale: string;
1349
- bucket: "archived" | "identity" | "split" | "merged" | "changed" | "residual" | "unmapped";
1348
+ ownerWorktree: "GV2.0.3";
1349
+ bucket: "split" | "identity" | "archived" | "merged" | "changed" | "residual" | "unmapped";
1350
1350
  subjectUuids: string[];
1351
1351
  }, {
1352
- ownerWorktree: "GV2.0.3";
1353
1352
  rationale: string;
1354
- bucket: "archived" | "identity" | "split" | "merged" | "changed" | "residual" | "unmapped";
1353
+ ownerWorktree: "GV2.0.3";
1354
+ bucket: "split" | "identity" | "archived" | "merged" | "changed" | "residual" | "unmapped";
1355
1355
  subjectUuids: string[];
1356
1356
  }>, "many">;
1357
1357
  typedNeeds: z.ZodArray<z.ZodObject<{
@@ -1361,17 +1361,17 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1361
1361
  disposition: z.ZodEnum<["open", "resolved", "deferred"]>;
1362
1362
  rationale: z.ZodString;
1363
1363
  }, "strip", z.ZodTypeAny, {
1364
+ rationale: string;
1364
1365
  ownerWorktree: "GV2.0.4";
1365
1366
  needUuid: string;
1366
- disposition: "resolved" | "open" | "deferred";
1367
1367
  needType: "missing_evidence" | "needs_mapping" | "needs_verifier" | "needs_source_span" | "needs_benchmark" | "needs_policy_decision" | "needs_lineage_disposition" | "needs_parsimony_review";
1368
- rationale: string;
1368
+ disposition: "resolved" | "open" | "deferred";
1369
1369
  }, {
1370
+ rationale: string;
1370
1371
  ownerWorktree: "GV2.0.4";
1371
1372
  needUuid: string;
1372
- disposition: "resolved" | "open" | "deferred";
1373
1373
  needType: "missing_evidence" | "needs_mapping" | "needs_verifier" | "needs_source_span" | "needs_benchmark" | "needs_policy_decision" | "needs_lineage_disposition" | "needs_parsimony_review";
1374
- rationale: string;
1374
+ disposition: "resolved" | "open" | "deferred";
1375
1375
  }>, "many">;
1376
1376
  gateRefs: z.ZodArray<z.ZodObject<{
1377
1377
  gateRef: z.ZodString;
@@ -1409,11 +1409,11 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1409
1409
  clerkId: z.ZodNullable<z.ZodString>;
1410
1410
  }, "strip", z.ZodTypeAny, {
1411
1411
  principalId: string;
1412
- principalType: "user" | "agent" | "system";
1412
+ principalType: "agent" | "user" | "system";
1413
1413
  clerkId: string | null;
1414
1414
  }, {
1415
1415
  principalId: string;
1416
- principalType: "user" | "agent" | "system";
1416
+ principalType: "agent" | "user" | "system";
1417
1417
  clerkId: string | null;
1418
1418
  }>;
1419
1419
  createdAt: z.ZodString;
@@ -1424,24 +1424,36 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1424
1424
  clerkId: z.ZodNullable<z.ZodString>;
1425
1425
  }, "strip", z.ZodTypeAny, {
1426
1426
  principalId: string;
1427
- principalType: "user" | "agent" | "system";
1427
+ principalType: "agent" | "user" | "system";
1428
1428
  clerkId: string | null;
1429
1429
  }, {
1430
1430
  principalId: string;
1431
- principalType: "user" | "agent" | "system";
1431
+ principalType: "agent" | "user" | "system";
1432
1432
  clerkId: string | null;
1433
1433
  }>>;
1434
1434
  }, "strip", z.ZodTypeAny, {
1435
- scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
1436
- contractVersion: "transition_receipt_v1";
1437
- createdAt: string;
1438
1435
  receiptUuid: string;
1436
+ contractVersion: "transition_receipt_v1";
1439
1437
  actor: {
1440
1438
  principalId: string;
1441
- principalType: "user" | "agent" | "system";
1439
+ principalType: "agent" | "user" | "system";
1442
1440
  clerkId: string | null;
1443
1441
  };
1442
+ createdAt: string;
1443
+ rulesetVersion: string;
1444
+ scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
1444
1445
  stableInputHash: string;
1446
+ supersedesReceiptUuid: string | null;
1447
+ subjectRefs: {
1448
+ uuid: string;
1449
+ storageLocator: {
1450
+ table: string;
1451
+ semanticIdentity: false;
1452
+ locator: string;
1453
+ } | null;
1454
+ kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
1455
+ legacyRef: string | null;
1456
+ }[];
1445
1457
  gateRefs: {
1446
1458
  gateType: "source_material_adoption" | "reset_authorization" | "worktree_gate" | "constitution_test" | "permit_policy";
1447
1459
  gateRef: string;
@@ -1452,41 +1464,29 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1452
1464
  auditRef: string;
1453
1465
  auditType: "axiom_trace" | "graph_evidence" | "docs_receipt" | "validation_command" | "adoption_ledger";
1454
1466
  }[];
1455
- supersedesReceiptUuid: string | null;
1456
1467
  typedNeeds: {
1468
+ rationale: string;
1457
1469
  ownerWorktree: "GV2.0.4";
1458
1470
  needUuid: string;
1459
- disposition: "resolved" | "open" | "deferred";
1460
1471
  needType: "missing_evidence" | "needs_mapping" | "needs_verifier" | "needs_source_span" | "needs_benchmark" | "needs_policy_decision" | "needs_lineage_disposition" | "needs_parsimony_review";
1461
- rationale: string;
1472
+ disposition: "resolved" | "open" | "deferred";
1462
1473
  }[];
1463
1474
  disposition: "superseded" | "rejected" | "proposed" | "deferred" | "ratified";
1464
- rulesetVersion: string;
1465
- subjectRefs: {
1466
- uuid: string;
1467
- storageLocator: {
1468
- table: string;
1469
- semanticIdentity: false;
1470
- locator: string;
1471
- } | null;
1472
- kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
1473
- legacyRef: string | null;
1474
- }[];
1475
1475
  from: {
1476
1476
  state: string;
1477
- contentHash: string;
1478
1477
  subjectUuid: string;
1478
+ contentHash: string;
1479
1479
  sourceReceiptUuid: string | null;
1480
1480
  }[];
1481
1481
  to: {
1482
1482
  state: string;
1483
- contentHash: string;
1484
1483
  subjectUuid: string;
1484
+ contentHash: string;
1485
1485
  sourceReceiptUuid: string | null;
1486
1486
  }[];
1487
1487
  payload: {
1488
- table: string;
1489
1488
  scope: "schema";
1489
+ table: string;
1490
1490
  schemaVersionFrom: string;
1491
1491
  schemaVersionTo: string;
1492
1492
  fieldChanges: {
@@ -1510,8 +1510,8 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1510
1510
  vocabularyFirewallRef: "prior_art_vocabulary_firewall_v1";
1511
1511
  publicationReceiptRef: string;
1512
1512
  } | {
1513
- nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
1514
1513
  scope: "node_transition";
1514
+ nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
1515
1515
  nodeUuid: string;
1516
1516
  fromEpistemicState: string;
1517
1517
  toEpistemicState: string;
@@ -1525,44 +1525,56 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1525
1525
  fromAdoptionState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
1526
1526
  toAdoptionState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
1527
1527
  } | {
1528
- scope: "worktree_closeout";
1529
- worktreeUuid: string;
1530
1528
  graphWorktreeId: string;
1529
+ worktreeUuid: string;
1530
+ scope: "worktree_closeout";
1531
1531
  taskIds: string[];
1532
- fromStatus: "active" | "blocked" | "planning" | "paused";
1532
+ fromStatus: "blocked" | "active" | "planning" | "paused";
1533
1533
  toStatus: "blocked" | "superseded" | "abandoned" | "completed";
1534
1534
  evidenceReceiptRefs: string[];
1535
1535
  };
1536
1536
  diff: {
1537
- ownerWorktree: "GV2.0.3";
1538
1537
  rationale: string;
1539
- bucket: "archived" | "identity" | "split" | "merged" | "changed" | "residual" | "unmapped";
1538
+ ownerWorktree: "GV2.0.3";
1539
+ bucket: "split" | "identity" | "archived" | "merged" | "changed" | "residual" | "unmapped";
1540
1540
  subjectUuids: string[];
1541
1541
  }[];
1542
1542
  mapping: {
1543
+ rationale: string;
1543
1544
  fromUuid: string | null;
1544
1545
  toUuid: string | null;
1545
- rationale: string;
1546
- mappingType: "identity" | "split" | "merge" | "archive" | "changed" | "residual" | "unmapped";
1546
+ mappingType: "split" | "identity" | "merge" | "archive" | "changed" | "residual" | "unmapped";
1547
1547
  }[];
1548
1548
  stableInputHashAlgorithm: "sha256_canonical_json_v1";
1549
1549
  ratifiedAt: string | null;
1550
1550
  ratifiedBy: {
1551
1551
  principalId: string;
1552
- principalType: "user" | "agent" | "system";
1552
+ principalType: "agent" | "user" | "system";
1553
1553
  clerkId: string | null;
1554
1554
  } | null;
1555
1555
  }, {
1556
- scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
1557
- contractVersion: "transition_receipt_v1";
1558
- createdAt: string;
1559
1556
  receiptUuid: string;
1557
+ contractVersion: "transition_receipt_v1";
1560
1558
  actor: {
1561
1559
  principalId: string;
1562
- principalType: "user" | "agent" | "system";
1560
+ principalType: "agent" | "user" | "system";
1563
1561
  clerkId: string | null;
1564
1562
  };
1563
+ createdAt: string;
1564
+ rulesetVersion: string;
1565
+ scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
1565
1566
  stableInputHash: string;
1567
+ supersedesReceiptUuid: string | null;
1568
+ subjectRefs: {
1569
+ uuid: string;
1570
+ storageLocator: {
1571
+ table: string;
1572
+ semanticIdentity: false;
1573
+ locator: string;
1574
+ } | null;
1575
+ kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
1576
+ legacyRef: string | null;
1577
+ }[];
1566
1578
  gateRefs: {
1567
1579
  gateType: "source_material_adoption" | "reset_authorization" | "worktree_gate" | "constitution_test" | "permit_policy";
1568
1580
  gateRef: string;
@@ -1573,41 +1585,29 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1573
1585
  auditRef: string;
1574
1586
  auditType: "axiom_trace" | "graph_evidence" | "docs_receipt" | "validation_command" | "adoption_ledger";
1575
1587
  }[];
1576
- supersedesReceiptUuid: string | null;
1577
1588
  typedNeeds: {
1589
+ rationale: string;
1578
1590
  ownerWorktree: "GV2.0.4";
1579
1591
  needUuid: string;
1580
- disposition: "resolved" | "open" | "deferred";
1581
1592
  needType: "missing_evidence" | "needs_mapping" | "needs_verifier" | "needs_source_span" | "needs_benchmark" | "needs_policy_decision" | "needs_lineage_disposition" | "needs_parsimony_review";
1582
- rationale: string;
1593
+ disposition: "resolved" | "open" | "deferred";
1583
1594
  }[];
1584
1595
  disposition: "superseded" | "rejected" | "proposed" | "deferred" | "ratified";
1585
- rulesetVersion: string;
1586
- subjectRefs: {
1587
- uuid: string;
1588
- storageLocator: {
1589
- table: string;
1590
- semanticIdentity: false;
1591
- locator: string;
1592
- } | null;
1593
- kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
1594
- legacyRef: string | null;
1595
- }[];
1596
1596
  from: {
1597
1597
  state: string;
1598
- contentHash: string;
1599
1598
  subjectUuid: string;
1599
+ contentHash: string;
1600
1600
  sourceReceiptUuid: string | null;
1601
1601
  }[];
1602
1602
  to: {
1603
1603
  state: string;
1604
- contentHash: string;
1605
1604
  subjectUuid: string;
1605
+ contentHash: string;
1606
1606
  sourceReceiptUuid: string | null;
1607
1607
  }[];
1608
1608
  payload: {
1609
- table: string;
1610
1609
  scope: "schema";
1610
+ table: string;
1611
1611
  schemaVersionFrom: string;
1612
1612
  schemaVersionTo: string;
1613
1613
  fieldChanges: {
@@ -1631,8 +1631,8 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1631
1631
  vocabularyFirewallRef: "prior_art_vocabulary_firewall_v1";
1632
1632
  publicationReceiptRef: string;
1633
1633
  } | {
1634
- nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
1635
1634
  scope: "node_transition";
1635
+ nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
1636
1636
  nodeUuid: string;
1637
1637
  fromEpistemicState: string;
1638
1638
  toEpistemicState: string;
@@ -1646,44 +1646,56 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1646
1646
  fromAdoptionState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
1647
1647
  toAdoptionState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
1648
1648
  } | {
1649
- scope: "worktree_closeout";
1650
- worktreeUuid: string;
1651
1649
  graphWorktreeId: string;
1650
+ worktreeUuid: string;
1651
+ scope: "worktree_closeout";
1652
1652
  taskIds: string[];
1653
- fromStatus: "active" | "blocked" | "planning" | "paused";
1653
+ fromStatus: "blocked" | "active" | "planning" | "paused";
1654
1654
  toStatus: "blocked" | "superseded" | "abandoned" | "completed";
1655
1655
  evidenceReceiptRefs: string[];
1656
1656
  };
1657
1657
  diff: {
1658
- ownerWorktree: "GV2.0.3";
1659
1658
  rationale: string;
1660
- bucket: "archived" | "identity" | "split" | "merged" | "changed" | "residual" | "unmapped";
1659
+ ownerWorktree: "GV2.0.3";
1660
+ bucket: "split" | "identity" | "archived" | "merged" | "changed" | "residual" | "unmapped";
1661
1661
  subjectUuids: string[];
1662
1662
  }[];
1663
1663
  mapping: {
1664
+ rationale: string;
1664
1665
  fromUuid: string | null;
1665
1666
  toUuid: string | null;
1666
- rationale: string;
1667
- mappingType: "identity" | "split" | "merge" | "archive" | "changed" | "residual" | "unmapped";
1667
+ mappingType: "split" | "identity" | "merge" | "archive" | "changed" | "residual" | "unmapped";
1668
1668
  }[];
1669
1669
  stableInputHashAlgorithm: "sha256_canonical_json_v1";
1670
1670
  ratifiedAt: string | null;
1671
1671
  ratifiedBy: {
1672
1672
  principalId: string;
1673
- principalType: "user" | "agent" | "system";
1673
+ principalType: "agent" | "user" | "system";
1674
1674
  clerkId: string | null;
1675
1675
  } | null;
1676
1676
  }>, {
1677
- scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
1678
- contractVersion: "transition_receipt_v1";
1679
- createdAt: string;
1680
1677
  receiptUuid: string;
1678
+ contractVersion: "transition_receipt_v1";
1681
1679
  actor: {
1682
1680
  principalId: string;
1683
- principalType: "user" | "agent" | "system";
1681
+ principalType: "agent" | "user" | "system";
1684
1682
  clerkId: string | null;
1685
1683
  };
1684
+ createdAt: string;
1685
+ rulesetVersion: string;
1686
+ scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
1686
1687
  stableInputHash: string;
1688
+ supersedesReceiptUuid: string | null;
1689
+ subjectRefs: {
1690
+ uuid: string;
1691
+ storageLocator: {
1692
+ table: string;
1693
+ semanticIdentity: false;
1694
+ locator: string;
1695
+ } | null;
1696
+ kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
1697
+ legacyRef: string | null;
1698
+ }[];
1687
1699
  gateRefs: {
1688
1700
  gateType: "source_material_adoption" | "reset_authorization" | "worktree_gate" | "constitution_test" | "permit_policy";
1689
1701
  gateRef: string;
@@ -1694,41 +1706,29 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1694
1706
  auditRef: string;
1695
1707
  auditType: "axiom_trace" | "graph_evidence" | "docs_receipt" | "validation_command" | "adoption_ledger";
1696
1708
  }[];
1697
- supersedesReceiptUuid: string | null;
1698
1709
  typedNeeds: {
1710
+ rationale: string;
1699
1711
  ownerWorktree: "GV2.0.4";
1700
1712
  needUuid: string;
1701
- disposition: "resolved" | "open" | "deferred";
1702
1713
  needType: "missing_evidence" | "needs_mapping" | "needs_verifier" | "needs_source_span" | "needs_benchmark" | "needs_policy_decision" | "needs_lineage_disposition" | "needs_parsimony_review";
1703
- rationale: string;
1714
+ disposition: "resolved" | "open" | "deferred";
1704
1715
  }[];
1705
1716
  disposition: "superseded" | "rejected" | "proposed" | "deferred" | "ratified";
1706
- rulesetVersion: string;
1707
- subjectRefs: {
1708
- uuid: string;
1709
- storageLocator: {
1710
- table: string;
1711
- semanticIdentity: false;
1712
- locator: string;
1713
- } | null;
1714
- kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
1715
- legacyRef: string | null;
1716
- }[];
1717
1717
  from: {
1718
1718
  state: string;
1719
- contentHash: string;
1720
1719
  subjectUuid: string;
1720
+ contentHash: string;
1721
1721
  sourceReceiptUuid: string | null;
1722
1722
  }[];
1723
1723
  to: {
1724
1724
  state: string;
1725
- contentHash: string;
1726
1725
  subjectUuid: string;
1726
+ contentHash: string;
1727
1727
  sourceReceiptUuid: string | null;
1728
1728
  }[];
1729
1729
  payload: {
1730
- table: string;
1731
1730
  scope: "schema";
1731
+ table: string;
1732
1732
  schemaVersionFrom: string;
1733
1733
  schemaVersionTo: string;
1734
1734
  fieldChanges: {
@@ -1752,8 +1752,8 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1752
1752
  vocabularyFirewallRef: "prior_art_vocabulary_firewall_v1";
1753
1753
  publicationReceiptRef: string;
1754
1754
  } | {
1755
- nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
1756
1755
  scope: "node_transition";
1756
+ nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
1757
1757
  nodeUuid: string;
1758
1758
  fromEpistemicState: string;
1759
1759
  toEpistemicState: string;
@@ -1767,44 +1767,56 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1767
1767
  fromAdoptionState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
1768
1768
  toAdoptionState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
1769
1769
  } | {
1770
- scope: "worktree_closeout";
1771
- worktreeUuid: string;
1772
1770
  graphWorktreeId: string;
1771
+ worktreeUuid: string;
1772
+ scope: "worktree_closeout";
1773
1773
  taskIds: string[];
1774
- fromStatus: "active" | "blocked" | "planning" | "paused";
1774
+ fromStatus: "blocked" | "active" | "planning" | "paused";
1775
1775
  toStatus: "blocked" | "superseded" | "abandoned" | "completed";
1776
1776
  evidenceReceiptRefs: string[];
1777
1777
  };
1778
1778
  diff: {
1779
- ownerWorktree: "GV2.0.3";
1780
1779
  rationale: string;
1781
- bucket: "archived" | "identity" | "split" | "merged" | "changed" | "residual" | "unmapped";
1780
+ ownerWorktree: "GV2.0.3";
1781
+ bucket: "split" | "identity" | "archived" | "merged" | "changed" | "residual" | "unmapped";
1782
1782
  subjectUuids: string[];
1783
1783
  }[];
1784
1784
  mapping: {
1785
+ rationale: string;
1785
1786
  fromUuid: string | null;
1786
1787
  toUuid: string | null;
1787
- rationale: string;
1788
- mappingType: "identity" | "split" | "merge" | "archive" | "changed" | "residual" | "unmapped";
1788
+ mappingType: "split" | "identity" | "merge" | "archive" | "changed" | "residual" | "unmapped";
1789
1789
  }[];
1790
1790
  stableInputHashAlgorithm: "sha256_canonical_json_v1";
1791
1791
  ratifiedAt: string | null;
1792
1792
  ratifiedBy: {
1793
1793
  principalId: string;
1794
- principalType: "user" | "agent" | "system";
1794
+ principalType: "agent" | "user" | "system";
1795
1795
  clerkId: string | null;
1796
1796
  } | null;
1797
1797
  }, {
1798
- scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
1799
- contractVersion: "transition_receipt_v1";
1800
- createdAt: string;
1801
1798
  receiptUuid: string;
1799
+ contractVersion: "transition_receipt_v1";
1802
1800
  actor: {
1803
1801
  principalId: string;
1804
- principalType: "user" | "agent" | "system";
1802
+ principalType: "agent" | "user" | "system";
1805
1803
  clerkId: string | null;
1806
1804
  };
1805
+ createdAt: string;
1806
+ rulesetVersion: string;
1807
+ scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
1807
1808
  stableInputHash: string;
1809
+ supersedesReceiptUuid: string | null;
1810
+ subjectRefs: {
1811
+ uuid: string;
1812
+ storageLocator: {
1813
+ table: string;
1814
+ semanticIdentity: false;
1815
+ locator: string;
1816
+ } | null;
1817
+ kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
1818
+ legacyRef: string | null;
1819
+ }[];
1808
1820
  gateRefs: {
1809
1821
  gateType: "source_material_adoption" | "reset_authorization" | "worktree_gate" | "constitution_test" | "permit_policy";
1810
1822
  gateRef: string;
@@ -1815,41 +1827,29 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1815
1827
  auditRef: string;
1816
1828
  auditType: "axiom_trace" | "graph_evidence" | "docs_receipt" | "validation_command" | "adoption_ledger";
1817
1829
  }[];
1818
- supersedesReceiptUuid: string | null;
1819
1830
  typedNeeds: {
1831
+ rationale: string;
1820
1832
  ownerWorktree: "GV2.0.4";
1821
1833
  needUuid: string;
1822
- disposition: "resolved" | "open" | "deferred";
1823
1834
  needType: "missing_evidence" | "needs_mapping" | "needs_verifier" | "needs_source_span" | "needs_benchmark" | "needs_policy_decision" | "needs_lineage_disposition" | "needs_parsimony_review";
1824
- rationale: string;
1835
+ disposition: "resolved" | "open" | "deferred";
1825
1836
  }[];
1826
1837
  disposition: "superseded" | "rejected" | "proposed" | "deferred" | "ratified";
1827
- rulesetVersion: string;
1828
- subjectRefs: {
1829
- uuid: string;
1830
- storageLocator: {
1831
- table: string;
1832
- semanticIdentity: false;
1833
- locator: string;
1834
- } | null;
1835
- kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
1836
- legacyRef: string | null;
1837
- }[];
1838
1838
  from: {
1839
1839
  state: string;
1840
- contentHash: string;
1841
1840
  subjectUuid: string;
1841
+ contentHash: string;
1842
1842
  sourceReceiptUuid: string | null;
1843
1843
  }[];
1844
1844
  to: {
1845
1845
  state: string;
1846
- contentHash: string;
1847
1846
  subjectUuid: string;
1847
+ contentHash: string;
1848
1848
  sourceReceiptUuid: string | null;
1849
1849
  }[];
1850
1850
  payload: {
1851
- table: string;
1852
1851
  scope: "schema";
1852
+ table: string;
1853
1853
  schemaVersionFrom: string;
1854
1854
  schemaVersionTo: string;
1855
1855
  fieldChanges: {
@@ -1873,8 +1873,8 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1873
1873
  vocabularyFirewallRef: "prior_art_vocabulary_firewall_v1";
1874
1874
  publicationReceiptRef: string;
1875
1875
  } | {
1876
- nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
1877
1876
  scope: "node_transition";
1877
+ nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
1878
1878
  nodeUuid: string;
1879
1879
  fromEpistemicState: string;
1880
1880
  toEpistemicState: string;
@@ -1888,45 +1888,45 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1888
1888
  fromAdoptionState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
1889
1889
  toAdoptionState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
1890
1890
  } | {
1891
- scope: "worktree_closeout";
1892
- worktreeUuid: string;
1893
1891
  graphWorktreeId: string;
1892
+ worktreeUuid: string;
1893
+ scope: "worktree_closeout";
1894
1894
  taskIds: string[];
1895
- fromStatus: "active" | "blocked" | "planning" | "paused";
1895
+ fromStatus: "blocked" | "active" | "planning" | "paused";
1896
1896
  toStatus: "blocked" | "superseded" | "abandoned" | "completed";
1897
1897
  evidenceReceiptRefs: string[];
1898
1898
  };
1899
1899
  diff: {
1900
- ownerWorktree: "GV2.0.3";
1901
1900
  rationale: string;
1902
- bucket: "archived" | "identity" | "split" | "merged" | "changed" | "residual" | "unmapped";
1901
+ ownerWorktree: "GV2.0.3";
1902
+ bucket: "split" | "identity" | "archived" | "merged" | "changed" | "residual" | "unmapped";
1903
1903
  subjectUuids: string[];
1904
1904
  }[];
1905
1905
  mapping: {
1906
+ rationale: string;
1906
1907
  fromUuid: string | null;
1907
1908
  toUuid: string | null;
1908
- rationale: string;
1909
- mappingType: "identity" | "split" | "merge" | "archive" | "changed" | "residual" | "unmapped";
1909
+ mappingType: "split" | "identity" | "merge" | "archive" | "changed" | "residual" | "unmapped";
1910
1910
  }[];
1911
1911
  stableInputHashAlgorithm: "sha256_canonical_json_v1";
1912
1912
  ratifiedAt: string | null;
1913
1913
  ratifiedBy: {
1914
1914
  principalId: string;
1915
- principalType: "user" | "agent" | "system";
1915
+ principalType: "agent" | "user" | "system";
1916
1916
  clerkId: string | null;
1917
1917
  } | null;
1918
1918
  }>, "many">;
1919
1919
  }, "strip", z.ZodTypeAny, {
1920
1920
  worktree: "GV2.0.2";
1921
- lane: "c2-gv2-transition-intelligence-preflight";
1922
1921
  contractVersion: "transition_receipt_v1";
1922
+ lane: "c2-gv2-transition-intelligence-preflight";
1923
+ graphWorktreeId: "tn71y01xfqp6a2kqg86pfd5zsn885nmz";
1924
+ compositionKey: "transition_receipt_v1";
1923
1925
  stableInputHash: {
1924
1926
  refusal: "refuse_hash_that_excludes_mapping_or_discriminated_payload";
1925
1927
  algorithm: "sha256_canonical_json_v1";
1926
- canonicalFields: ("scope" | "contractVersion" | "rulesetVersion" | "from" | "to" | "payload" | "mapping")[];
1928
+ canonicalFields: ("contractVersion" | "rulesetVersion" | "scope" | "from" | "to" | "payload" | "mapping")[];
1927
1929
  };
1928
- graphWorktreeId: "tn71y01xfqp6a2kqg86pfd5zsn885nmz";
1929
- compositionKey: "transition_receipt_v1";
1930
1930
  tasks: {
1931
1931
  title: string;
1932
1932
  requiredProof: string;
@@ -1950,19 +1950,31 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1950
1950
  rowMigrationRequiredInV1: false;
1951
1951
  };
1952
1952
  exampleReceipts: {
1953
- scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
1954
- contractVersion: "transition_receipt_v1";
1955
- createdAt: string;
1956
1953
  receiptUuid: string;
1954
+ contractVersion: "transition_receipt_v1";
1957
1955
  actor: {
1958
1956
  principalId: string;
1959
- principalType: "user" | "agent" | "system";
1957
+ principalType: "agent" | "user" | "system";
1960
1958
  clerkId: string | null;
1961
1959
  };
1960
+ createdAt: string;
1961
+ rulesetVersion: string;
1962
+ scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
1962
1963
  stableInputHash: string;
1963
- gateRefs: {
1964
- gateType: "source_material_adoption" | "reset_authorization" | "worktree_gate" | "constitution_test" | "permit_policy";
1965
- gateRef: string;
1964
+ supersedesReceiptUuid: string | null;
1965
+ subjectRefs: {
1966
+ uuid: string;
1967
+ storageLocator: {
1968
+ table: string;
1969
+ semanticIdentity: false;
1970
+ locator: string;
1971
+ } | null;
1972
+ kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
1973
+ legacyRef: string | null;
1974
+ }[];
1975
+ gateRefs: {
1976
+ gateType: "source_material_adoption" | "reset_authorization" | "worktree_gate" | "constitution_test" | "permit_policy";
1977
+ gateRef: string;
1966
1978
  requiredBeforeRatification: boolean;
1967
1979
  }[];
1968
1980
  auditRefs: {
@@ -1970,41 +1982,29 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
1970
1982
  auditRef: string;
1971
1983
  auditType: "axiom_trace" | "graph_evidence" | "docs_receipt" | "validation_command" | "adoption_ledger";
1972
1984
  }[];
1973
- supersedesReceiptUuid: string | null;
1974
1985
  typedNeeds: {
1986
+ rationale: string;
1975
1987
  ownerWorktree: "GV2.0.4";
1976
1988
  needUuid: string;
1977
- disposition: "resolved" | "open" | "deferred";
1978
1989
  needType: "missing_evidence" | "needs_mapping" | "needs_verifier" | "needs_source_span" | "needs_benchmark" | "needs_policy_decision" | "needs_lineage_disposition" | "needs_parsimony_review";
1979
- rationale: string;
1990
+ disposition: "resolved" | "open" | "deferred";
1980
1991
  }[];
1981
1992
  disposition: "superseded" | "rejected" | "proposed" | "deferred" | "ratified";
1982
- rulesetVersion: string;
1983
- subjectRefs: {
1984
- uuid: string;
1985
- storageLocator: {
1986
- table: string;
1987
- semanticIdentity: false;
1988
- locator: string;
1989
- } | null;
1990
- kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
1991
- legacyRef: string | null;
1992
- }[];
1993
1993
  from: {
1994
1994
  state: string;
1995
- contentHash: string;
1996
1995
  subjectUuid: string;
1996
+ contentHash: string;
1997
1997
  sourceReceiptUuid: string | null;
1998
1998
  }[];
1999
1999
  to: {
2000
2000
  state: string;
2001
- contentHash: string;
2002
2001
  subjectUuid: string;
2002
+ contentHash: string;
2003
2003
  sourceReceiptUuid: string | null;
2004
2004
  }[];
2005
2005
  payload: {
2006
- table: string;
2007
2006
  scope: "schema";
2007
+ table: string;
2008
2008
  schemaVersionFrom: string;
2009
2009
  schemaVersionTo: string;
2010
2010
  fieldChanges: {
@@ -2028,8 +2028,8 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
2028
2028
  vocabularyFirewallRef: "prior_art_vocabulary_firewall_v1";
2029
2029
  publicationReceiptRef: string;
2030
2030
  } | {
2031
- nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
2032
2031
  scope: "node_transition";
2032
+ nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
2033
2033
  nodeUuid: string;
2034
2034
  fromEpistemicState: string;
2035
2035
  toEpistemicState: string;
@@ -2043,45 +2043,45 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
2043
2043
  fromAdoptionState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
2044
2044
  toAdoptionState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
2045
2045
  } | {
2046
- scope: "worktree_closeout";
2047
- worktreeUuid: string;
2048
2046
  graphWorktreeId: string;
2047
+ worktreeUuid: string;
2048
+ scope: "worktree_closeout";
2049
2049
  taskIds: string[];
2050
- fromStatus: "active" | "blocked" | "planning" | "paused";
2050
+ fromStatus: "blocked" | "active" | "planning" | "paused";
2051
2051
  toStatus: "blocked" | "superseded" | "abandoned" | "completed";
2052
2052
  evidenceReceiptRefs: string[];
2053
2053
  };
2054
2054
  diff: {
2055
- ownerWorktree: "GV2.0.3";
2056
2055
  rationale: string;
2057
- bucket: "archived" | "identity" | "split" | "merged" | "changed" | "residual" | "unmapped";
2056
+ ownerWorktree: "GV2.0.3";
2057
+ bucket: "split" | "identity" | "archived" | "merged" | "changed" | "residual" | "unmapped";
2058
2058
  subjectUuids: string[];
2059
2059
  }[];
2060
2060
  mapping: {
2061
+ rationale: string;
2061
2062
  fromUuid: string | null;
2062
2063
  toUuid: string | null;
2063
- rationale: string;
2064
- mappingType: "identity" | "split" | "merge" | "archive" | "changed" | "residual" | "unmapped";
2064
+ mappingType: "split" | "identity" | "merge" | "archive" | "changed" | "residual" | "unmapped";
2065
2065
  }[];
2066
2066
  stableInputHashAlgorithm: "sha256_canonical_json_v1";
2067
2067
  ratifiedAt: string | null;
2068
2068
  ratifiedBy: {
2069
2069
  principalId: string;
2070
- principalType: "user" | "agent" | "system";
2070
+ principalType: "agent" | "user" | "system";
2071
2071
  clerkId: string | null;
2072
2072
  } | null;
2073
2073
  }[];
2074
2074
  }, {
2075
2075
  worktree: "GV2.0.2";
2076
- lane: "c2-gv2-transition-intelligence-preflight";
2077
2076
  contractVersion: "transition_receipt_v1";
2077
+ lane: "c2-gv2-transition-intelligence-preflight";
2078
+ graphWorktreeId: "tn71y01xfqp6a2kqg86pfd5zsn885nmz";
2079
+ compositionKey: "transition_receipt_v1";
2078
2080
  stableInputHash: {
2079
2081
  refusal: "refuse_hash_that_excludes_mapping_or_discriminated_payload";
2080
2082
  algorithm: "sha256_canonical_json_v1";
2081
- canonicalFields: ("scope" | "contractVersion" | "rulesetVersion" | "from" | "to" | "payload" | "mapping")[];
2083
+ canonicalFields: ("contractVersion" | "rulesetVersion" | "scope" | "from" | "to" | "payload" | "mapping")[];
2082
2084
  };
2083
- graphWorktreeId: "tn71y01xfqp6a2kqg86pfd5zsn885nmz";
2084
- compositionKey: "transition_receipt_v1";
2085
2085
  tasks: {
2086
2086
  title: string;
2087
2087
  requiredProof: string;
@@ -2105,16 +2105,28 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
2105
2105
  rowMigrationRequiredInV1: false;
2106
2106
  };
2107
2107
  exampleReceipts: {
2108
- scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
2109
- contractVersion: "transition_receipt_v1";
2110
- createdAt: string;
2111
2108
  receiptUuid: string;
2109
+ contractVersion: "transition_receipt_v1";
2112
2110
  actor: {
2113
2111
  principalId: string;
2114
- principalType: "user" | "agent" | "system";
2112
+ principalType: "agent" | "user" | "system";
2115
2113
  clerkId: string | null;
2116
2114
  };
2115
+ createdAt: string;
2116
+ rulesetVersion: string;
2117
+ scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
2117
2118
  stableInputHash: string;
2119
+ supersedesReceiptUuid: string | null;
2120
+ subjectRefs: {
2121
+ uuid: string;
2122
+ storageLocator: {
2123
+ table: string;
2124
+ semanticIdentity: false;
2125
+ locator: string;
2126
+ } | null;
2127
+ kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
2128
+ legacyRef: string | null;
2129
+ }[];
2118
2130
  gateRefs: {
2119
2131
  gateType: "source_material_adoption" | "reset_authorization" | "worktree_gate" | "constitution_test" | "permit_policy";
2120
2132
  gateRef: string;
@@ -2125,41 +2137,29 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
2125
2137
  auditRef: string;
2126
2138
  auditType: "axiom_trace" | "graph_evidence" | "docs_receipt" | "validation_command" | "adoption_ledger";
2127
2139
  }[];
2128
- supersedesReceiptUuid: string | null;
2129
2140
  typedNeeds: {
2141
+ rationale: string;
2130
2142
  ownerWorktree: "GV2.0.4";
2131
2143
  needUuid: string;
2132
- disposition: "resolved" | "open" | "deferred";
2133
2144
  needType: "missing_evidence" | "needs_mapping" | "needs_verifier" | "needs_source_span" | "needs_benchmark" | "needs_policy_decision" | "needs_lineage_disposition" | "needs_parsimony_review";
2134
- rationale: string;
2145
+ disposition: "resolved" | "open" | "deferred";
2135
2146
  }[];
2136
2147
  disposition: "superseded" | "rejected" | "proposed" | "deferred" | "ratified";
2137
- rulesetVersion: string;
2138
- subjectRefs: {
2139
- uuid: string;
2140
- storageLocator: {
2141
- table: string;
2142
- semanticIdentity: false;
2143
- locator: string;
2144
- } | null;
2145
- kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
2146
- legacyRef: string | null;
2147
- }[];
2148
2148
  from: {
2149
2149
  state: string;
2150
- contentHash: string;
2151
2150
  subjectUuid: string;
2151
+ contentHash: string;
2152
2152
  sourceReceiptUuid: string | null;
2153
2153
  }[];
2154
2154
  to: {
2155
2155
  state: string;
2156
- contentHash: string;
2157
2156
  subjectUuid: string;
2157
+ contentHash: string;
2158
2158
  sourceReceiptUuid: string | null;
2159
2159
  }[];
2160
2160
  payload: {
2161
- table: string;
2162
2161
  scope: "schema";
2162
+ table: string;
2163
2163
  schemaVersionFrom: string;
2164
2164
  schemaVersionTo: string;
2165
2165
  fieldChanges: {
@@ -2183,8 +2183,8 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
2183
2183
  vocabularyFirewallRef: "prior_art_vocabulary_firewall_v1";
2184
2184
  publicationReceiptRef: string;
2185
2185
  } | {
2186
- nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
2187
2186
  scope: "node_transition";
2187
+ nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
2188
2188
  nodeUuid: string;
2189
2189
  fromEpistemicState: string;
2190
2190
  toEpistemicState: string;
@@ -2198,31 +2198,31 @@ declare const TransitionReceiptContractSchema: z.ZodObject<{
2198
2198
  fromAdoptionState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
2199
2199
  toAdoptionState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
2200
2200
  } | {
2201
- scope: "worktree_closeout";
2202
- worktreeUuid: string;
2203
2201
  graphWorktreeId: string;
2202
+ worktreeUuid: string;
2203
+ scope: "worktree_closeout";
2204
2204
  taskIds: string[];
2205
- fromStatus: "active" | "blocked" | "planning" | "paused";
2205
+ fromStatus: "blocked" | "active" | "planning" | "paused";
2206
2206
  toStatus: "blocked" | "superseded" | "abandoned" | "completed";
2207
2207
  evidenceReceiptRefs: string[];
2208
2208
  };
2209
2209
  diff: {
2210
- ownerWorktree: "GV2.0.3";
2211
2210
  rationale: string;
2212
- bucket: "archived" | "identity" | "split" | "merged" | "changed" | "residual" | "unmapped";
2211
+ ownerWorktree: "GV2.0.3";
2212
+ bucket: "split" | "identity" | "archived" | "merged" | "changed" | "residual" | "unmapped";
2213
2213
  subjectUuids: string[];
2214
2214
  }[];
2215
2215
  mapping: {
2216
+ rationale: string;
2216
2217
  fromUuid: string | null;
2217
2218
  toUuid: string | null;
2218
- rationale: string;
2219
- mappingType: "identity" | "split" | "merge" | "archive" | "changed" | "residual" | "unmapped";
2219
+ mappingType: "split" | "identity" | "merge" | "archive" | "changed" | "residual" | "unmapped";
2220
2220
  }[];
2221
2221
  stableInputHashAlgorithm: "sha256_canonical_json_v1";
2222
2222
  ratifiedAt: string | null;
2223
2223
  ratifiedBy: {
2224
2224
  principalId: string;
2225
- principalType: "user" | "agent" | "system";
2225
+ principalType: "agent" | "user" | "system";
2226
2226
  clerkId: string | null;
2227
2227
  } | null;
2228
2228
  }[];
@@ -2239,7 +2239,7 @@ declare const TRANSITION_RECEIPT_CONTRACT: {
2239
2239
  dispositions: ("superseded" | "rejected" | "proposed" | "deferred" | "ratified")[];
2240
2240
  stableInputHash: {
2241
2241
  algorithm: "sha256_canonical_json_v1";
2242
- canonicalFields: ("scope" | "contractVersion" | "rulesetVersion" | "from" | "to" | "payload" | "mapping")[];
2242
+ canonicalFields: ("contractVersion" | "rulesetVersion" | "scope" | "from" | "to" | "payload" | "mapping")[];
2243
2243
  refusal: "refuse_hash_that_excludes_mapping_or_discriminated_payload";
2244
2244
  };
2245
2245
  appendOnlyRules: string[];
@@ -2316,16 +2316,28 @@ declare const TRANSITION_RECEIPT_CONTRACT: {
2316
2316
  taskIds?: undefined;
2317
2317
  evidenceReceiptRefs?: undefined;
2318
2318
  };
2319
- scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
2320
- contractVersion: "transition_receipt_v1";
2321
- createdAt: string;
2322
2319
  receiptUuid: string;
2320
+ contractVersion: "transition_receipt_v1";
2323
2321
  actor: {
2324
2322
  principalId: string;
2325
- principalType: "user" | "agent" | "system";
2323
+ principalType: "agent" | "user" | "system";
2326
2324
  clerkId: string | null;
2327
2325
  };
2326
+ createdAt: string;
2327
+ rulesetVersion: string;
2328
+ scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
2328
2329
  stableInputHash: string;
2330
+ supersedesReceiptUuid: string | null;
2331
+ subjectRefs: {
2332
+ uuid: string;
2333
+ storageLocator: {
2334
+ table: string;
2335
+ semanticIdentity: false;
2336
+ locator: string;
2337
+ } | null;
2338
+ kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
2339
+ legacyRef: string | null;
2340
+ }[];
2329
2341
  gateRefs: {
2330
2342
  gateType: "source_material_adoption" | "reset_authorization" | "worktree_gate" | "constitution_test" | "permit_policy";
2331
2343
  gateRef: string;
@@ -2336,55 +2348,43 @@ declare const TRANSITION_RECEIPT_CONTRACT: {
2336
2348
  auditRef: string;
2337
2349
  auditType: "axiom_trace" | "graph_evidence" | "docs_receipt" | "validation_command" | "adoption_ledger";
2338
2350
  }[];
2339
- supersedesReceiptUuid: string | null;
2340
2351
  typedNeeds: {
2352
+ rationale: string;
2341
2353
  ownerWorktree: "GV2.0.4";
2342
2354
  needUuid: string;
2343
- disposition: "resolved" | "open" | "deferred";
2344
2355
  needType: "missing_evidence" | "needs_mapping" | "needs_verifier" | "needs_source_span" | "needs_benchmark" | "needs_policy_decision" | "needs_lineage_disposition" | "needs_parsimony_review";
2345
- rationale: string;
2356
+ disposition: "resolved" | "open" | "deferred";
2346
2357
  }[];
2347
2358
  disposition: "superseded" | "rejected" | "proposed" | "deferred" | "ratified";
2348
- rulesetVersion: string;
2349
- subjectRefs: {
2350
- uuid: string;
2351
- storageLocator: {
2352
- table: string;
2353
- semanticIdentity: false;
2354
- locator: string;
2355
- } | null;
2356
- kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
2357
- legacyRef: string | null;
2358
- }[];
2359
2359
  from: {
2360
2360
  state: string;
2361
- contentHash: string;
2362
2361
  subjectUuid: string;
2362
+ contentHash: string;
2363
2363
  sourceReceiptUuid: string | null;
2364
2364
  }[];
2365
2365
  to: {
2366
2366
  state: string;
2367
- contentHash: string;
2368
2367
  subjectUuid: string;
2368
+ contentHash: string;
2369
2369
  sourceReceiptUuid: string | null;
2370
2370
  }[];
2371
2371
  diff: {
2372
- ownerWorktree: "GV2.0.3";
2373
2372
  rationale: string;
2374
- bucket: "archived" | "identity" | "split" | "merged" | "changed" | "residual" | "unmapped";
2373
+ ownerWorktree: "GV2.0.3";
2374
+ bucket: "split" | "identity" | "archived" | "merged" | "changed" | "residual" | "unmapped";
2375
2375
  subjectUuids: string[];
2376
2376
  }[];
2377
2377
  mapping: {
2378
+ rationale: string;
2378
2379
  fromUuid: string | null;
2379
2380
  toUuid: string | null;
2380
- rationale: string;
2381
- mappingType: "identity" | "split" | "merge" | "archive" | "changed" | "residual" | "unmapped";
2381
+ mappingType: "split" | "identity" | "merge" | "archive" | "changed" | "residual" | "unmapped";
2382
2382
  }[];
2383
2383
  stableInputHashAlgorithm: "sha256_canonical_json_v1";
2384
2384
  ratifiedAt: string | null;
2385
2385
  ratifiedBy: {
2386
2386
  principalId: string;
2387
- principalType: "user" | "agent" | "system";
2387
+ principalType: "agent" | "user" | "system";
2388
2388
  clerkId: string | null;
2389
2389
  } | null;
2390
2390
  } | {
@@ -2421,16 +2421,28 @@ declare const TRANSITION_RECEIPT_CONTRACT: {
2421
2421
  taskIds?: undefined;
2422
2422
  evidenceReceiptRefs?: undefined;
2423
2423
  };
2424
- scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
2425
- contractVersion: "transition_receipt_v1";
2426
- createdAt: string;
2427
2424
  receiptUuid: string;
2425
+ contractVersion: "transition_receipt_v1";
2428
2426
  actor: {
2429
2427
  principalId: string;
2430
- principalType: "user" | "agent" | "system";
2428
+ principalType: "agent" | "user" | "system";
2431
2429
  clerkId: string | null;
2432
2430
  };
2431
+ createdAt: string;
2432
+ rulesetVersion: string;
2433
+ scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
2433
2434
  stableInputHash: string;
2435
+ supersedesReceiptUuid: string | null;
2436
+ subjectRefs: {
2437
+ uuid: string;
2438
+ storageLocator: {
2439
+ table: string;
2440
+ semanticIdentity: false;
2441
+ locator: string;
2442
+ } | null;
2443
+ kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
2444
+ legacyRef: string | null;
2445
+ }[];
2434
2446
  gateRefs: {
2435
2447
  gateType: "source_material_adoption" | "reset_authorization" | "worktree_gate" | "constitution_test" | "permit_policy";
2436
2448
  gateRef: string;
@@ -2441,55 +2453,43 @@ declare const TRANSITION_RECEIPT_CONTRACT: {
2441
2453
  auditRef: string;
2442
2454
  auditType: "axiom_trace" | "graph_evidence" | "docs_receipt" | "validation_command" | "adoption_ledger";
2443
2455
  }[];
2444
- supersedesReceiptUuid: string | null;
2445
2456
  typedNeeds: {
2457
+ rationale: string;
2446
2458
  ownerWorktree: "GV2.0.4";
2447
2459
  needUuid: string;
2448
- disposition: "resolved" | "open" | "deferred";
2449
2460
  needType: "missing_evidence" | "needs_mapping" | "needs_verifier" | "needs_source_span" | "needs_benchmark" | "needs_policy_decision" | "needs_lineage_disposition" | "needs_parsimony_review";
2450
- rationale: string;
2461
+ disposition: "resolved" | "open" | "deferred";
2451
2462
  }[];
2452
2463
  disposition: "superseded" | "rejected" | "proposed" | "deferred" | "ratified";
2453
- rulesetVersion: string;
2454
- subjectRefs: {
2455
- uuid: string;
2456
- storageLocator: {
2457
- table: string;
2458
- semanticIdentity: false;
2459
- locator: string;
2460
- } | null;
2461
- kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
2462
- legacyRef: string | null;
2463
- }[];
2464
2464
  from: {
2465
2465
  state: string;
2466
- contentHash: string;
2467
2466
  subjectUuid: string;
2467
+ contentHash: string;
2468
2468
  sourceReceiptUuid: string | null;
2469
2469
  }[];
2470
2470
  to: {
2471
2471
  state: string;
2472
- contentHash: string;
2473
2472
  subjectUuid: string;
2473
+ contentHash: string;
2474
2474
  sourceReceiptUuid: string | null;
2475
2475
  }[];
2476
2476
  diff: {
2477
- ownerWorktree: "GV2.0.3";
2478
2477
  rationale: string;
2479
- bucket: "archived" | "identity" | "split" | "merged" | "changed" | "residual" | "unmapped";
2478
+ ownerWorktree: "GV2.0.3";
2479
+ bucket: "split" | "identity" | "archived" | "merged" | "changed" | "residual" | "unmapped";
2480
2480
  subjectUuids: string[];
2481
2481
  }[];
2482
2482
  mapping: {
2483
+ rationale: string;
2483
2484
  fromUuid: string | null;
2484
2485
  toUuid: string | null;
2485
- rationale: string;
2486
- mappingType: "identity" | "split" | "merge" | "archive" | "changed" | "residual" | "unmapped";
2486
+ mappingType: "split" | "identity" | "merge" | "archive" | "changed" | "residual" | "unmapped";
2487
2487
  }[];
2488
2488
  stableInputHashAlgorithm: "sha256_canonical_json_v1";
2489
2489
  ratifiedAt: string | null;
2490
2490
  ratifiedBy: {
2491
2491
  principalId: string;
2492
- principalType: "user" | "agent" | "system";
2492
+ principalType: "agent" | "user" | "system";
2493
2493
  clerkId: string | null;
2494
2494
  } | null;
2495
2495
  } | {
@@ -2526,16 +2526,28 @@ declare const TRANSITION_RECEIPT_CONTRACT: {
2526
2526
  taskIds?: undefined;
2527
2527
  evidenceReceiptRefs?: undefined;
2528
2528
  };
2529
- scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
2530
- contractVersion: "transition_receipt_v1";
2531
- createdAt: string;
2532
2529
  receiptUuid: string;
2530
+ contractVersion: "transition_receipt_v1";
2533
2531
  actor: {
2534
2532
  principalId: string;
2535
- principalType: "user" | "agent" | "system";
2533
+ principalType: "agent" | "user" | "system";
2536
2534
  clerkId: string | null;
2537
2535
  };
2536
+ createdAt: string;
2537
+ rulesetVersion: string;
2538
+ scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
2538
2539
  stableInputHash: string;
2540
+ supersedesReceiptUuid: string | null;
2541
+ subjectRefs: {
2542
+ uuid: string;
2543
+ storageLocator: {
2544
+ table: string;
2545
+ semanticIdentity: false;
2546
+ locator: string;
2547
+ } | null;
2548
+ kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
2549
+ legacyRef: string | null;
2550
+ }[];
2539
2551
  gateRefs: {
2540
2552
  gateType: "source_material_adoption" | "reset_authorization" | "worktree_gate" | "constitution_test" | "permit_policy";
2541
2553
  gateRef: string;
@@ -2546,55 +2558,43 @@ declare const TRANSITION_RECEIPT_CONTRACT: {
2546
2558
  auditRef: string;
2547
2559
  auditType: "axiom_trace" | "graph_evidence" | "docs_receipt" | "validation_command" | "adoption_ledger";
2548
2560
  }[];
2549
- supersedesReceiptUuid: string | null;
2550
2561
  typedNeeds: {
2562
+ rationale: string;
2551
2563
  ownerWorktree: "GV2.0.4";
2552
2564
  needUuid: string;
2553
- disposition: "resolved" | "open" | "deferred";
2554
2565
  needType: "missing_evidence" | "needs_mapping" | "needs_verifier" | "needs_source_span" | "needs_benchmark" | "needs_policy_decision" | "needs_lineage_disposition" | "needs_parsimony_review";
2555
- rationale: string;
2566
+ disposition: "resolved" | "open" | "deferred";
2556
2567
  }[];
2557
2568
  disposition: "superseded" | "rejected" | "proposed" | "deferred" | "ratified";
2558
- rulesetVersion: string;
2559
- subjectRefs: {
2560
- uuid: string;
2561
- storageLocator: {
2562
- table: string;
2563
- semanticIdentity: false;
2564
- locator: string;
2565
- } | null;
2566
- kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
2567
- legacyRef: string | null;
2568
- }[];
2569
2569
  from: {
2570
2570
  state: string;
2571
- contentHash: string;
2572
2571
  subjectUuid: string;
2572
+ contentHash: string;
2573
2573
  sourceReceiptUuid: string | null;
2574
2574
  }[];
2575
2575
  to: {
2576
2576
  state: string;
2577
- contentHash: string;
2578
2577
  subjectUuid: string;
2578
+ contentHash: string;
2579
2579
  sourceReceiptUuid: string | null;
2580
2580
  }[];
2581
2581
  diff: {
2582
- ownerWorktree: "GV2.0.3";
2583
2582
  rationale: string;
2584
- bucket: "archived" | "identity" | "split" | "merged" | "changed" | "residual" | "unmapped";
2583
+ ownerWorktree: "GV2.0.3";
2584
+ bucket: "split" | "identity" | "archived" | "merged" | "changed" | "residual" | "unmapped";
2585
2585
  subjectUuids: string[];
2586
2586
  }[];
2587
2587
  mapping: {
2588
+ rationale: string;
2588
2589
  fromUuid: string | null;
2589
2590
  toUuid: string | null;
2590
- rationale: string;
2591
- mappingType: "identity" | "split" | "merge" | "archive" | "changed" | "residual" | "unmapped";
2591
+ mappingType: "split" | "identity" | "merge" | "archive" | "changed" | "residual" | "unmapped";
2592
2592
  }[];
2593
2593
  stableInputHashAlgorithm: "sha256_canonical_json_v1";
2594
2594
  ratifiedAt: string | null;
2595
2595
  ratifiedBy: {
2596
2596
  principalId: string;
2597
- principalType: "user" | "agent" | "system";
2597
+ principalType: "agent" | "user" | "system";
2598
2598
  clerkId: string | null;
2599
2599
  } | null;
2600
2600
  } | {
@@ -2640,31 +2640,18 @@ declare const TRANSITION_RECEIPT_CONTRACT: {
2640
2640
  auditType: "adoption_ledger";
2641
2641
  requiredBeforeRatification: true;
2642
2642
  })[];
2643
- scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
2644
- contractVersion: "transition_receipt_v1";
2645
- createdAt: string;
2646
2643
  receiptUuid: string;
2644
+ contractVersion: "transition_receipt_v1";
2647
2645
  actor: {
2648
2646
  principalId: string;
2649
- principalType: "user" | "agent" | "system";
2647
+ principalType: "agent" | "user" | "system";
2650
2648
  clerkId: string | null;
2651
2649
  };
2650
+ createdAt: string;
2651
+ rulesetVersion: string;
2652
+ scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
2652
2653
  stableInputHash: string;
2653
- gateRefs: {
2654
- gateType: "source_material_adoption" | "reset_authorization" | "worktree_gate" | "constitution_test" | "permit_policy";
2655
- gateRef: string;
2656
- requiredBeforeRatification: boolean;
2657
- }[];
2658
2654
  supersedesReceiptUuid: string | null;
2659
- typedNeeds: {
2660
- ownerWorktree: "GV2.0.4";
2661
- needUuid: string;
2662
- disposition: "resolved" | "open" | "deferred";
2663
- needType: "missing_evidence" | "needs_mapping" | "needs_verifier" | "needs_source_span" | "needs_benchmark" | "needs_policy_decision" | "needs_lineage_disposition" | "needs_parsimony_review";
2664
- rationale: string;
2665
- }[];
2666
- disposition: "superseded" | "rejected" | "proposed" | "deferred" | "ratified";
2667
- rulesetVersion: string;
2668
2655
  subjectRefs: {
2669
2656
  uuid: string;
2670
2657
  storageLocator: {
@@ -2675,35 +2662,48 @@ declare const TRANSITION_RECEIPT_CONTRACT: {
2675
2662
  kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
2676
2663
  legacyRef: string | null;
2677
2664
  }[];
2665
+ gateRefs: {
2666
+ gateType: "source_material_adoption" | "reset_authorization" | "worktree_gate" | "constitution_test" | "permit_policy";
2667
+ gateRef: string;
2668
+ requiredBeforeRatification: boolean;
2669
+ }[];
2670
+ typedNeeds: {
2671
+ rationale: string;
2672
+ ownerWorktree: "GV2.0.4";
2673
+ needUuid: string;
2674
+ needType: "missing_evidence" | "needs_mapping" | "needs_verifier" | "needs_source_span" | "needs_benchmark" | "needs_policy_decision" | "needs_lineage_disposition" | "needs_parsimony_review";
2675
+ disposition: "resolved" | "open" | "deferred";
2676
+ }[];
2677
+ disposition: "superseded" | "rejected" | "proposed" | "deferred" | "ratified";
2678
2678
  from: {
2679
2679
  state: string;
2680
- contentHash: string;
2681
2680
  subjectUuid: string;
2681
+ contentHash: string;
2682
2682
  sourceReceiptUuid: string | null;
2683
2683
  }[];
2684
2684
  to: {
2685
2685
  state: string;
2686
- contentHash: string;
2687
2686
  subjectUuid: string;
2687
+ contentHash: string;
2688
2688
  sourceReceiptUuid: string | null;
2689
2689
  }[];
2690
2690
  diff: {
2691
- ownerWorktree: "GV2.0.3";
2692
2691
  rationale: string;
2693
- bucket: "archived" | "identity" | "split" | "merged" | "changed" | "residual" | "unmapped";
2692
+ ownerWorktree: "GV2.0.3";
2693
+ bucket: "split" | "identity" | "archived" | "merged" | "changed" | "residual" | "unmapped";
2694
2694
  subjectUuids: string[];
2695
2695
  }[];
2696
2696
  mapping: {
2697
+ rationale: string;
2697
2698
  fromUuid: string | null;
2698
2699
  toUuid: string | null;
2699
- rationale: string;
2700
- mappingType: "identity" | "split" | "merge" | "archive" | "changed" | "residual" | "unmapped";
2700
+ mappingType: "split" | "identity" | "merge" | "archive" | "changed" | "residual" | "unmapped";
2701
2701
  }[];
2702
2702
  stableInputHashAlgorithm: "sha256_canonical_json_v1";
2703
2703
  ratifiedAt: string | null;
2704
2704
  ratifiedBy: {
2705
2705
  principalId: string;
2706
- principalType: "user" | "agent" | "system";
2706
+ principalType: "agent" | "user" | "system";
2707
2707
  clerkId: string | null;
2708
2708
  } | null;
2709
2709
  } | {
@@ -2740,16 +2740,28 @@ declare const TRANSITION_RECEIPT_CONTRACT: {
2740
2740
  toAdoptionState?: undefined;
2741
2741
  adoptionReceiptUuid?: undefined;
2742
2742
  };
2743
- scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
2744
- contractVersion: "transition_receipt_v1";
2745
- createdAt: string;
2746
2743
  receiptUuid: string;
2744
+ contractVersion: "transition_receipt_v1";
2747
2745
  actor: {
2748
2746
  principalId: string;
2749
- principalType: "user" | "agent" | "system";
2747
+ principalType: "agent" | "user" | "system";
2750
2748
  clerkId: string | null;
2751
2749
  };
2750
+ createdAt: string;
2751
+ rulesetVersion: string;
2752
+ scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
2752
2753
  stableInputHash: string;
2754
+ supersedesReceiptUuid: string | null;
2755
+ subjectRefs: {
2756
+ uuid: string;
2757
+ storageLocator: {
2758
+ table: string;
2759
+ semanticIdentity: false;
2760
+ locator: string;
2761
+ } | null;
2762
+ kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
2763
+ legacyRef: string | null;
2764
+ }[];
2753
2765
  gateRefs: {
2754
2766
  gateType: "source_material_adoption" | "reset_authorization" | "worktree_gate" | "constitution_test" | "permit_policy";
2755
2767
  gateRef: string;
@@ -2760,70 +2772,58 @@ declare const TRANSITION_RECEIPT_CONTRACT: {
2760
2772
  auditRef: string;
2761
2773
  auditType: "axiom_trace" | "graph_evidence" | "docs_receipt" | "validation_command" | "adoption_ledger";
2762
2774
  }[];
2763
- supersedesReceiptUuid: string | null;
2764
2775
  typedNeeds: {
2776
+ rationale: string;
2765
2777
  ownerWorktree: "GV2.0.4";
2766
2778
  needUuid: string;
2767
- disposition: "resolved" | "open" | "deferred";
2768
2779
  needType: "missing_evidence" | "needs_mapping" | "needs_verifier" | "needs_source_span" | "needs_benchmark" | "needs_policy_decision" | "needs_lineage_disposition" | "needs_parsimony_review";
2769
- rationale: string;
2780
+ disposition: "resolved" | "open" | "deferred";
2770
2781
  }[];
2771
2782
  disposition: "superseded" | "rejected" | "proposed" | "deferred" | "ratified";
2772
- rulesetVersion: string;
2773
- subjectRefs: {
2774
- uuid: string;
2775
- storageLocator: {
2776
- table: string;
2777
- semanticIdentity: false;
2778
- locator: string;
2779
- } | null;
2780
- kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
2781
- legacyRef: string | null;
2782
- }[];
2783
2783
  from: {
2784
2784
  state: string;
2785
- contentHash: string;
2786
2785
  subjectUuid: string;
2786
+ contentHash: string;
2787
2787
  sourceReceiptUuid: string | null;
2788
2788
  }[];
2789
2789
  to: {
2790
2790
  state: string;
2791
- contentHash: string;
2792
2791
  subjectUuid: string;
2792
+ contentHash: string;
2793
2793
  sourceReceiptUuid: string | null;
2794
2794
  }[];
2795
2795
  diff: {
2796
- ownerWorktree: "GV2.0.3";
2797
2796
  rationale: string;
2798
- bucket: "archived" | "identity" | "split" | "merged" | "changed" | "residual" | "unmapped";
2797
+ ownerWorktree: "GV2.0.3";
2798
+ bucket: "split" | "identity" | "archived" | "merged" | "changed" | "residual" | "unmapped";
2799
2799
  subjectUuids: string[];
2800
2800
  }[];
2801
2801
  mapping: {
2802
+ rationale: string;
2802
2803
  fromUuid: string | null;
2803
2804
  toUuid: string | null;
2804
- rationale: string;
2805
- mappingType: "identity" | "split" | "merge" | "archive" | "changed" | "residual" | "unmapped";
2805
+ mappingType: "split" | "identity" | "merge" | "archive" | "changed" | "residual" | "unmapped";
2806
2806
  }[];
2807
2807
  stableInputHashAlgorithm: "sha256_canonical_json_v1";
2808
2808
  ratifiedAt: string | null;
2809
2809
  ratifiedBy: {
2810
2810
  principalId: string;
2811
- principalType: "user" | "agent" | "system";
2811
+ principalType: "agent" | "user" | "system";
2812
2812
  clerkId: string | null;
2813
2813
  } | null;
2814
2814
  })[];
2815
2815
  };
2816
2816
  declare const parsedTransitionReceiptContract: {
2817
2817
  worktree: "GV2.0.2";
2818
- lane: "c2-gv2-transition-intelligence-preflight";
2819
2818
  contractVersion: "transition_receipt_v1";
2819
+ lane: "c2-gv2-transition-intelligence-preflight";
2820
+ graphWorktreeId: "tn71y01xfqp6a2kqg86pfd5zsn885nmz";
2821
+ compositionKey: "transition_receipt_v1";
2820
2822
  stableInputHash: {
2821
2823
  refusal: "refuse_hash_that_excludes_mapping_or_discriminated_payload";
2822
2824
  algorithm: "sha256_canonical_json_v1";
2823
- canonicalFields: ("scope" | "contractVersion" | "rulesetVersion" | "from" | "to" | "payload" | "mapping")[];
2825
+ canonicalFields: ("contractVersion" | "rulesetVersion" | "scope" | "from" | "to" | "payload" | "mapping")[];
2824
2826
  };
2825
- graphWorktreeId: "tn71y01xfqp6a2kqg86pfd5zsn885nmz";
2826
- compositionKey: "transition_receipt_v1";
2827
2827
  tasks: {
2828
2828
  title: string;
2829
2829
  requiredProof: string;
@@ -2847,16 +2847,28 @@ declare const parsedTransitionReceiptContract: {
2847
2847
  rowMigrationRequiredInV1: false;
2848
2848
  };
2849
2849
  exampleReceipts: {
2850
- scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
2851
- contractVersion: "transition_receipt_v1";
2852
- createdAt: string;
2853
2850
  receiptUuid: string;
2851
+ contractVersion: "transition_receipt_v1";
2854
2852
  actor: {
2855
2853
  principalId: string;
2856
- principalType: "user" | "agent" | "system";
2854
+ principalType: "agent" | "user" | "system";
2857
2855
  clerkId: string | null;
2858
2856
  };
2857
+ createdAt: string;
2858
+ rulesetVersion: string;
2859
+ scope: "schema" | "ontology_publish" | "node_transition" | "source_adoption" | "worktree_closeout";
2859
2860
  stableInputHash: string;
2861
+ supersedesReceiptUuid: string | null;
2862
+ subjectRefs: {
2863
+ uuid: string;
2864
+ storageLocator: {
2865
+ table: string;
2866
+ semanticIdentity: false;
2867
+ locator: string;
2868
+ } | null;
2869
+ kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
2870
+ legacyRef: string | null;
2871
+ }[];
2860
2872
  gateRefs: {
2861
2873
  gateType: "source_material_adoption" | "reset_authorization" | "worktree_gate" | "constitution_test" | "permit_policy";
2862
2874
  gateRef: string;
@@ -2867,41 +2879,29 @@ declare const parsedTransitionReceiptContract: {
2867
2879
  auditRef: string;
2868
2880
  auditType: "axiom_trace" | "graph_evidence" | "docs_receipt" | "validation_command" | "adoption_ledger";
2869
2881
  }[];
2870
- supersedesReceiptUuid: string | null;
2871
2882
  typedNeeds: {
2883
+ rationale: string;
2872
2884
  ownerWorktree: "GV2.0.4";
2873
2885
  needUuid: string;
2874
- disposition: "resolved" | "open" | "deferred";
2875
2886
  needType: "missing_evidence" | "needs_mapping" | "needs_verifier" | "needs_source_span" | "needs_benchmark" | "needs_policy_decision" | "needs_lineage_disposition" | "needs_parsimony_review";
2876
- rationale: string;
2887
+ disposition: "resolved" | "open" | "deferred";
2877
2888
  }[];
2878
2889
  disposition: "superseded" | "rejected" | "proposed" | "deferred" | "ratified";
2879
- rulesetVersion: string;
2880
- subjectRefs: {
2881
- uuid: string;
2882
- storageLocator: {
2883
- table: string;
2884
- semanticIdentity: false;
2885
- locator: string;
2886
- } | null;
2887
- kind: "topic" | "belief" | "question" | "evidence" | "worktree" | "agent_run" | "schema" | "ontology" | "source_material";
2888
- legacyRef: string | null;
2889
- }[];
2890
2890
  from: {
2891
2891
  state: string;
2892
- contentHash: string;
2893
2892
  subjectUuid: string;
2893
+ contentHash: string;
2894
2894
  sourceReceiptUuid: string | null;
2895
2895
  }[];
2896
2896
  to: {
2897
2897
  state: string;
2898
- contentHash: string;
2899
2898
  subjectUuid: string;
2899
+ contentHash: string;
2900
2900
  sourceReceiptUuid: string | null;
2901
2901
  }[];
2902
2902
  payload: {
2903
- table: string;
2904
2903
  scope: "schema";
2904
+ table: string;
2905
2905
  schemaVersionFrom: string;
2906
2906
  schemaVersionTo: string;
2907
2907
  fieldChanges: {
@@ -2925,8 +2925,8 @@ declare const parsedTransitionReceiptContract: {
2925
2925
  vocabularyFirewallRef: "prior_art_vocabulary_firewall_v1";
2926
2926
  publicationReceiptRef: string;
2927
2927
  } | {
2928
- nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
2929
2928
  scope: "node_transition";
2929
+ nodeType: "topic" | "belief" | "question" | "evidence" | "worktree";
2930
2930
  nodeUuid: string;
2931
2931
  fromEpistemicState: string;
2932
2932
  toEpistemicState: string;
@@ -2940,31 +2940,31 @@ declare const parsedTransitionReceiptContract: {
2940
2940
  fromAdoptionState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
2941
2941
  toAdoptionState: "archived" | "rejected" | "raw" | "candidate" | "adopted" | "merged";
2942
2942
  } | {
2943
- scope: "worktree_closeout";
2944
- worktreeUuid: string;
2945
2943
  graphWorktreeId: string;
2944
+ worktreeUuid: string;
2945
+ scope: "worktree_closeout";
2946
2946
  taskIds: string[];
2947
- fromStatus: "active" | "blocked" | "planning" | "paused";
2947
+ fromStatus: "blocked" | "active" | "planning" | "paused";
2948
2948
  toStatus: "blocked" | "superseded" | "abandoned" | "completed";
2949
2949
  evidenceReceiptRefs: string[];
2950
2950
  };
2951
2951
  diff: {
2952
- ownerWorktree: "GV2.0.3";
2953
2952
  rationale: string;
2954
- bucket: "archived" | "identity" | "split" | "merged" | "changed" | "residual" | "unmapped";
2953
+ ownerWorktree: "GV2.0.3";
2954
+ bucket: "split" | "identity" | "archived" | "merged" | "changed" | "residual" | "unmapped";
2955
2955
  subjectUuids: string[];
2956
2956
  }[];
2957
2957
  mapping: {
2958
+ rationale: string;
2958
2959
  fromUuid: string | null;
2959
2960
  toUuid: string | null;
2960
- rationale: string;
2961
- mappingType: "identity" | "split" | "merge" | "archive" | "changed" | "residual" | "unmapped";
2961
+ mappingType: "split" | "identity" | "merge" | "archive" | "changed" | "residual" | "unmapped";
2962
2962
  }[];
2963
2963
  stableInputHashAlgorithm: "sha256_canonical_json_v1";
2964
2964
  ratifiedAt: string | null;
2965
2965
  ratifiedBy: {
2966
2966
  principalId: string;
2967
- principalType: "user" | "agent" | "system";
2967
+ principalType: "agent" | "user" | "system";
2968
2968
  clerkId: string | null;
2969
2969
  } | null;
2970
2970
  }[];