@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
@@ -65,14 +65,14 @@ declare const worktrees: TableContract<{
65
65
  answerConfidence: z.ZodOptional<z.ZodEnum<["high", "medium", "low"]>>;
66
66
  linkedQuestionId: z.ZodOptional<z.ZodString>;
67
67
  }, "strip", z.ZodTypeAny, {
68
- status: "forked" | "answered" | "open";
69
68
  question: string;
69
+ status: "forked" | "answered" | "open";
70
70
  answer?: string | undefined;
71
71
  linkedQuestionId?: string | undefined;
72
72
  answerConfidence?: "low" | "medium" | "high" | undefined;
73
73
  }, {
74
- status: "forked" | "answered" | "open";
75
74
  question: string;
75
+ status: "forked" | "answered" | "open";
76
76
  answer?: string | undefined;
77
77
  linkedQuestionId?: string | undefined;
78
78
  answerConfidence?: "low" | "medium" | "high" | undefined;
@@ -285,15 +285,15 @@ declare const worktrees: TableContract<{
285
285
  edgeType: string;
286
286
  targetId: string;
287
287
  sourceId: string;
288
- createdAt?: number | undefined;
289
288
  weight?: number | undefined;
289
+ createdAt?: number | undefined;
290
290
  edgeId?: string | undefined;
291
291
  }, {
292
292
  edgeType: string;
293
293
  targetId: string;
294
294
  sourceId: string;
295
- createdAt?: number | undefined;
296
295
  weight?: number | undefined;
296
+ createdAt?: number | undefined;
297
297
  edgeId?: string | undefined;
298
298
  }>, "many">;
299
299
  relatedBeliefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -324,9 +324,9 @@ declare const worktrees: TableContract<{
324
324
  evidenceCount: z.ZodNumber;
325
325
  }, "strip", z.ZodTypeAny, {
326
326
  status: string;
327
+ evidenceCount: number;
327
328
  id: string;
328
329
  text: string;
329
- evidenceCount: number;
330
330
  answer?: string | undefined;
331
331
  priority?: string | undefined;
332
332
  answerStatus?: string | undefined;
@@ -334,9 +334,9 @@ declare const worktrees: TableContract<{
334
334
  answeredAt?: number | undefined;
335
335
  }, {
336
336
  status: string;
337
+ evidenceCount: number;
337
338
  id: string;
338
339
  text: string;
339
- evidenceCount: number;
340
340
  answer?: string | undefined;
341
341
  priority?: string | undefined;
342
342
  answerStatus?: string | undefined;
@@ -354,16 +354,16 @@ declare const worktrees: TableContract<{
354
354
  id: string;
355
355
  text: string;
356
356
  verified: boolean;
357
+ createdAt?: number | undefined;
357
358
  sourceType?: string | undefined;
358
359
  verificationStatus?: string | undefined;
359
- createdAt?: number | undefined;
360
360
  }, {
361
361
  id: string;
362
362
  text: string;
363
363
  verified: boolean;
364
+ createdAt?: number | undefined;
364
365
  sourceType?: string | undefined;
365
366
  verificationStatus?: string | undefined;
366
- createdAt?: number | undefined;
367
367
  }>, "many">;
368
368
  tasksCompleted: z.ZodOptional<z.ZodNumber>;
369
369
  totalTasks: z.ZodOptional<z.ZodNumber>;
@@ -421,11 +421,10 @@ declare const worktrees: TableContract<{
421
421
  id: string;
422
422
  text: string;
423
423
  verified: boolean;
424
+ createdAt?: number | undefined;
424
425
  sourceType?: string | undefined;
425
426
  verificationStatus?: string | undefined;
426
- createdAt?: number | undefined;
427
427
  }[];
428
- worktreeId: string & z.BRAND<"Id<worktrees>">;
429
428
  outcome: {
430
429
  summary: string;
431
430
  verdict: string;
@@ -433,11 +432,12 @@ declare const worktrees: TableContract<{
433
432
  endingConfidence: number;
434
433
  confidenceChange: number;
435
434
  };
435
+ worktreeId: string & z.BRAND<"Id<worktrees>">;
436
436
  questions: {
437
437
  status: string;
438
+ evidenceCount: number;
438
439
  id: string;
439
440
  text: string;
440
- evidenceCount: number;
441
441
  answer?: string | undefined;
442
442
  priority?: string | undefined;
443
443
  answerStatus?: string | undefined;
@@ -450,8 +450,8 @@ declare const worktrees: TableContract<{
450
450
  edgeType: string;
451
451
  targetId: string;
452
452
  sourceId: string;
453
- createdAt?: number | undefined;
454
453
  weight?: number | undefined;
454
+ createdAt?: number | undefined;
455
455
  edgeId?: string | undefined;
456
456
  }[];
457
457
  topicId?: string | undefined;
@@ -487,11 +487,10 @@ declare const worktrees: TableContract<{
487
487
  id: string;
488
488
  text: string;
489
489
  verified: boolean;
490
+ createdAt?: number | undefined;
490
491
  sourceType?: string | undefined;
491
492
  verificationStatus?: string | undefined;
492
- createdAt?: number | undefined;
493
493
  }[];
494
- worktreeId: string;
495
494
  outcome: {
496
495
  summary: string;
497
496
  verdict: string;
@@ -499,11 +498,12 @@ declare const worktrees: TableContract<{
499
498
  endingConfidence: number;
500
499
  confidenceChange: number;
501
500
  };
501
+ worktreeId: string;
502
502
  questions: {
503
503
  status: string;
504
+ evidenceCount: number;
504
505
  id: string;
505
506
  text: string;
506
- evidenceCount: number;
507
507
  answer?: string | undefined;
508
508
  priority?: string | undefined;
509
509
  answerStatus?: string | undefined;
@@ -516,8 +516,8 @@ declare const worktrees: TableContract<{
516
516
  edgeType: string;
517
517
  targetId: string;
518
518
  sourceId: string;
519
- createdAt?: number | undefined;
520
519
  weight?: number | undefined;
520
+ createdAt?: number | undefined;
521
521
  edgeId?: string | undefined;
522
522
  }[];
523
523
  topicId?: string | undefined;
@@ -632,16 +632,16 @@ declare const worktrees: TableContract<{
632
632
  linkedQuestionId: z.ZodOptional<z.ZodString>;
633
633
  linkedBeliefId: z.ZodOptional<z.ZodString>;
634
634
  }, "strip", z.ZodTypeAny, {
635
- id: string;
636
635
  createdAt: number;
636
+ id: string;
637
637
  content: string;
638
638
  createdBy: string;
639
639
  linkedBeliefId?: string | undefined;
640
640
  linkedQuestionId?: string | undefined;
641
641
  linkedTaskId?: string | undefined;
642
642
  }, {
643
- id: string;
644
643
  createdAt: number;
644
+ id: string;
645
645
  content: string;
646
646
  createdBy: string;
647
647
  linkedBeliefId?: string | undefined;
@@ -145,16 +145,16 @@ declare const userSessions: TableContract<{
145
145
  }, "strip", z.ZodTypeAny, {
146
146
  principalId: string;
147
147
  principalType: "agent" | "human" | "service";
148
- authMode?: "interactive_user" | "service_principal" | "tenant_api_key" | "session_token" | undefined;
149
148
  reason?: string | undefined;
150
149
  sessionId?: string | undefined;
150
+ authMode?: "interactive_user" | "service_principal" | "tenant_api_key" | "session_token" | undefined;
151
151
  delegatedAt?: number | undefined;
152
152
  }, {
153
153
  principalId: string;
154
154
  principalType: "agent" | "human" | "service";
155
- authMode?: "interactive_user" | "service_principal" | "tenant_api_key" | "session_token" | undefined;
156
155
  reason?: string | undefined;
157
156
  sessionId?: string | undefined;
157
+ authMode?: "interactive_user" | "service_principal" | "tenant_api_key" | "session_token" | undefined;
158
158
  delegatedAt?: number | undefined;
159
159
  }>, "many">>;
160
160
  sourceSessionId: z.ZodOptional<z.ZodString>;
@@ -16,16 +16,16 @@ declare const methodologyPacks: TableContract<{
16
16
  gate: z.ZodOptional<z.ZodString>;
17
17
  instructions: z.ZodString;
18
18
  }, "strip", z.ZodTypeAny, {
19
+ description: string;
19
20
  title: string;
20
21
  name: string;
21
- description: string;
22
22
  requiredTools: string[];
23
23
  instructions: string;
24
24
  gate?: string | undefined;
25
25
  }, {
26
+ description: string;
26
27
  title: string;
27
28
  name: string;
28
- description: string;
29
29
  requiredTools: string[];
30
30
  instructions: string;
31
31
  gate?: string | undefined;
@@ -146,10 +146,10 @@ declare const packVersions: TableContract<{
146
146
  }, "strip", z.ZodTypeAny, {
147
147
  toolName: string;
148
148
  toolVersion: string;
149
- surfaces?: ("mcp" | "sdk" | "cli" | "chat" | "voice" | "sprint" | "api")[] | undefined;
150
149
  description?: string | undefined;
150
+ surfaces?: ("cli" | "mcp" | "sdk" | "chat" | "voice" | "sprint" | "api")[] | undefined;
151
151
  category?: "read" | "admin" | "write" | "system" | undefined;
152
- requiredAction?: "read" | "summarize" | "export" | "mutate" | "admin" | "revoke" | "delete" | "create" | "grant" | undefined;
152
+ requiredAction?: "summarize" | "read" | "export" | "mutate" | "admin" | "revoke" | "delete" | "create" | "grant" | undefined;
153
153
  requiredRole?: "tenant_admin" | "platform_admin" | "workspace_admin" | "editor" | "viewer" | "auditor" | "service_agent" | undefined;
154
154
  parameterSchema?: Record<string, any> | undefined;
155
155
  handlerRef?: string | undefined;
@@ -163,10 +163,10 @@ declare const packVersions: TableContract<{
163
163
  }, {
164
164
  toolName: string;
165
165
  toolVersion: string;
166
- surfaces?: ("mcp" | "sdk" | "cli" | "chat" | "voice" | "sprint" | "api")[] | undefined;
167
166
  description?: string | undefined;
167
+ surfaces?: ("cli" | "mcp" | "sdk" | "chat" | "voice" | "sprint" | "api")[] | undefined;
168
168
  category?: "read" | "admin" | "write" | "system" | undefined;
169
- requiredAction?: "read" | "summarize" | "export" | "mutate" | "admin" | "revoke" | "delete" | "create" | "grant" | undefined;
169
+ requiredAction?: "summarize" | "read" | "export" | "mutate" | "admin" | "revoke" | "delete" | "create" | "grant" | undefined;
170
170
  requiredRole?: "tenant_admin" | "platform_admin" | "workspace_admin" | "editor" | "viewer" | "auditor" | "service_agent" | undefined;
171
171
  parameterSchema?: Record<string, any> | undefined;
172
172
  handlerRef?: string | undefined;
@@ -324,17 +324,17 @@ declare const packVersions: TableContract<{
324
324
  }, "strip", z.ZodTypeAny, {
325
325
  key: string;
326
326
  promptRef: string;
327
+ required?: boolean | undefined;
327
328
  metadata?: any;
328
329
  role?: string | undefined;
329
- required?: boolean | undefined;
330
330
  phase?: string | undefined;
331
331
  version?: string | undefined;
332
332
  }, {
333
333
  key: string;
334
334
  promptRef: string;
335
+ required?: boolean | undefined;
335
336
  metadata?: any;
336
337
  role?: string | undefined;
337
- required?: boolean | undefined;
338
338
  phase?: string | undefined;
339
339
  version?: string | undefined;
340
340
  }>, "many">;
@@ -352,15 +352,15 @@ declare const packVersions: TableContract<{
352
352
  }, "strip", z.ZodTypeAny, {
353
353
  key: string;
354
354
  title: string;
355
- metadata?: any;
356
355
  description?: string | undefined;
356
+ metadata?: any;
357
357
  promptTemplateKey?: string | undefined;
358
358
  taskTemplateKeys?: string[] | undefined;
359
359
  }, {
360
360
  key: string;
361
361
  title: string;
362
- metadata?: any;
363
362
  description?: string | undefined;
363
+ metadata?: any;
364
364
  promptTemplateKey?: string | undefined;
365
365
  taskTemplateKeys?: string[] | undefined;
366
366
  }>, "many">;
@@ -371,26 +371,26 @@ declare const packVersions: TableContract<{
371
371
  steps: {
372
372
  key: string;
373
373
  title: string;
374
- metadata?: any;
375
374
  description?: string | undefined;
375
+ metadata?: any;
376
376
  promptTemplateKey?: string | undefined;
377
377
  taskTemplateKeys?: string[] | undefined;
378
378
  }[];
379
- metadata?: any;
380
379
  description?: string | undefined;
380
+ metadata?: any;
381
381
  }, {
382
382
  key: string;
383
383
  name: string;
384
384
  steps: {
385
385
  key: string;
386
386
  title: string;
387
- metadata?: any;
388
387
  description?: string | undefined;
388
+ metadata?: any;
389
389
  promptTemplateKey?: string | undefined;
390
390
  taskTemplateKeys?: string[] | undefined;
391
391
  }[];
392
- metadata?: any;
393
392
  description?: string | undefined;
393
+ metadata?: any;
394
394
  }>, "many">;
395
395
  taskTemplates: z.ZodArray<z.ZodObject<{
396
396
  key: z.ZodString;
@@ -402,16 +402,16 @@ declare const packVersions: TableContract<{
402
402
  }, "strip", z.ZodTypeAny, {
403
403
  key: string;
404
404
  title: string;
405
+ description?: string | undefined;
405
406
  metadata?: any;
406
407
  priority?: "low" | "medium" | "high" | "critical" | undefined;
407
- description?: string | undefined;
408
408
  phase?: string | undefined;
409
409
  }, {
410
410
  key: string;
411
411
  title: string;
412
+ description?: string | undefined;
412
413
  metadata?: any;
413
414
  priority?: "low" | "medium" | "high" | "critical" | undefined;
414
- description?: string | undefined;
415
415
  phase?: string | undefined;
416
416
  }>, "many">;
417
417
  questionTemplates: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -442,9 +442,9 @@ declare const packVersions: TableContract<{
442
442
  promptTemplates: {
443
443
  key: string;
444
444
  promptRef: string;
445
+ required?: boolean | undefined;
445
446
  metadata?: any;
446
447
  role?: string | undefined;
447
- required?: boolean | undefined;
448
448
  phase?: string | undefined;
449
449
  version?: string | undefined;
450
450
  }[];
@@ -454,25 +454,25 @@ declare const packVersions: TableContract<{
454
454
  steps: {
455
455
  key: string;
456
456
  title: string;
457
- metadata?: any;
458
457
  description?: string | undefined;
458
+ metadata?: any;
459
459
  promptTemplateKey?: string | undefined;
460
460
  taskTemplateKeys?: string[] | undefined;
461
461
  }[];
462
- metadata?: any;
463
462
  description?: string | undefined;
463
+ metadata?: any;
464
464
  }[];
465
465
  taskTemplates: {
466
466
  key: string;
467
467
  title: string;
468
+ description?: string | undefined;
468
469
  metadata?: any;
469
470
  priority?: "low" | "medium" | "high" | "critical" | undefined;
470
- description?: string | undefined;
471
471
  phase?: string | undefined;
472
472
  }[];
473
473
  lensKey: string;
474
- metadata?: any;
475
474
  description?: string | undefined;
475
+ metadata?: any;
476
476
  filterCriteria?: any;
477
477
  questionTemplates?: {
478
478
  key: string;
@@ -488,9 +488,9 @@ declare const packVersions: TableContract<{
488
488
  promptTemplates: {
489
489
  key: string;
490
490
  promptRef: string;
491
+ required?: boolean | undefined;
491
492
  metadata?: any;
492
493
  role?: string | undefined;
493
- required?: boolean | undefined;
494
494
  phase?: string | undefined;
495
495
  version?: string | undefined;
496
496
  }[];
@@ -500,25 +500,25 @@ declare const packVersions: TableContract<{
500
500
  steps: {
501
501
  key: string;
502
502
  title: string;
503
- metadata?: any;
504
503
  description?: string | undefined;
504
+ metadata?: any;
505
505
  promptTemplateKey?: string | undefined;
506
506
  taskTemplateKeys?: string[] | undefined;
507
507
  }[];
508
- metadata?: any;
509
508
  description?: string | undefined;
509
+ metadata?: any;
510
510
  }[];
511
511
  taskTemplates: {
512
512
  key: string;
513
513
  title: string;
514
+ description?: string | undefined;
514
515
  metadata?: any;
515
516
  priority?: "low" | "medium" | "high" | "critical" | undefined;
516
- description?: string | undefined;
517
517
  phase?: string | undefined;
518
518
  }[];
519
519
  lensKey: string;
520
- metadata?: any;
521
520
  description?: string | undefined;
521
+ metadata?: any;
522
522
  filterCriteria?: any;
523
523
  questionTemplates?: {
524
524
  key: string;
@@ -17,11 +17,11 @@ declare const compatibilityShims: TableContract<{
17
17
  legacyPath: z.ZodString;
18
18
  harnessPath: z.ZodString;
19
19
  }, "strip", z.ZodTypeAny, {
20
- type: "tool" | "agent";
20
+ type: "agent" | "tool";
21
21
  legacyPath: string;
22
22
  harnessPath: string;
23
23
  }, {
24
- type: "tool" | "agent";
24
+ type: "agent" | "tool";
25
25
  legacyPath: string;
26
26
  harnessPath: string;
27
27
  }>;