@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
@@ -91,13 +91,13 @@ declare const beliefScenarios: TableContract<{
91
91
  priority: z.ZodString;
92
92
  rationale: z.ZodString;
93
93
  }, "strip", z.ZodTypeAny, {
94
+ rationale: string;
94
95
  action: string;
95
96
  priority: string;
96
- rationale: string;
97
97
  }, {
98
+ rationale: string;
98
99
  action: string;
99
100
  priority: string;
100
- rationale: string;
101
101
  }>, "many">>;
102
102
  sourceWorktreeId: z.ZodOptional<z.ZodString>;
103
103
  sourceChatId: z.ZodOptional<ConvexIdSchema<"chats">>;
@@ -63,10 +63,10 @@ declare const graphAnalysisCache: TableContract<{
63
63
  importance: z.ZodOptional<z.ZodNumber>;
64
64
  totalCount: z.ZodOptional<z.ZodNumber>;
65
65
  }, "strip", z.ZodTypeAny, {
66
+ description: string;
67
+ severity: "critical" | "warning" | "info";
66
68
  id: string;
67
69
  title: string;
68
- severity: "critical" | "warning" | "info";
69
- description: string;
70
70
  nodeIds: string[];
71
71
  category: "temporal" | "staleness" | "structural_risk" | "evidence_gap" | "reasoning_flaw" | "opportunity" | "propagation_risk" | "epistemology" | "semantic_gap";
72
72
  nodeLabels: string[];
@@ -74,10 +74,10 @@ declare const graphAnalysisCache: TableContract<{
74
74
  importance?: number | undefined;
75
75
  totalCount?: number | undefined;
76
76
  }, {
77
+ description: string;
78
+ severity: "critical" | "warning" | "info";
77
79
  id: string;
78
80
  title: string;
79
- severity: "critical" | "warning" | "info";
80
- description: string;
81
81
  nodeIds: string[];
82
82
  category: "temporal" | "staleness" | "structural_risk" | "evidence_gap" | "reasoning_flaw" | "opportunity" | "propagation_risk" | "epistemology" | "semantic_gap";
83
83
  nodeLabels: string[];
@@ -112,16 +112,16 @@ declare const graphAnalysisCache: TableContract<{
112
112
  resolved_true: z.ZodNumber;
113
113
  resolved_false: z.ZodNumber;
114
114
  }, "strip", z.ZodTypeAny, {
115
- hypothesis: number;
116
- active: number;
117
115
  superseded: number;
116
+ active: number;
117
+ hypothesis: number;
118
118
  assumption: number;
119
119
  resolved_true: number;
120
120
  resolved_false: number;
121
121
  }, {
122
- hypothesis: number;
123
- active: number;
124
122
  superseded: number;
123
+ active: number;
124
+ hypothesis: number;
125
125
  assumption: number;
126
126
  resolved_true: number;
127
127
  resolved_false: number;
@@ -159,9 +159,9 @@ declare const graphAnalysisCache: TableContract<{
159
159
  propagationRisks: number;
160
160
  temporalDecayCount: number;
161
161
  beliefStatus?: {
162
- hypothesis: number;
163
- active: number;
164
162
  superseded: number;
163
+ active: number;
164
+ hypothesis: number;
165
165
  assumption: number;
166
166
  resolved_true: number;
167
167
  resolved_false: number;
@@ -191,9 +191,9 @@ declare const graphAnalysisCache: TableContract<{
191
191
  propagationRisks: number;
192
192
  temporalDecayCount: number;
193
193
  beliefStatus?: {
194
- hypothesis: number;
195
- active: number;
196
194
  superseded: number;
195
+ active: number;
196
+ hypothesis: number;
197
197
  assumption: number;
198
198
  resolved_true: number;
199
199
  resolved_false: number;
@@ -263,16 +263,16 @@ declare const graphAnalysisResults: TableContract<{
263
263
  nodeIds: z.ZodArray<z.ZodString, "many">;
264
264
  nodeLabels: z.ZodArray<z.ZodString, "many">;
265
265
  }, "strip", z.ZodTypeAny, {
266
- title: string;
267
- severity: string;
268
266
  description: string;
267
+ severity: string;
268
+ title: string;
269
269
  nodeIds: string[];
270
270
  category: string;
271
271
  nodeLabels: string[];
272
272
  }, {
273
- title: string;
274
- severity: string;
275
273
  description: string;
274
+ severity: string;
275
+ title: string;
276
276
  nodeIds: string[];
277
277
  category: string;
278
278
  nodeLabels: string[];
@@ -20,17 +20,17 @@ declare const lenses: TableContract<{
20
20
  }, "strip", z.ZodTypeAny, {
21
21
  key: string;
22
22
  promptRef: string;
23
+ required?: boolean | undefined;
23
24
  metadata?: any;
24
25
  role?: string | undefined;
25
- required?: boolean | undefined;
26
26
  phase?: string | undefined;
27
27
  version?: string | undefined;
28
28
  }, {
29
29
  key: string;
30
30
  promptRef: string;
31
+ required?: boolean | undefined;
31
32
  metadata?: any;
32
33
  role?: string | undefined;
33
- required?: boolean | undefined;
34
34
  phase?: string | undefined;
35
35
  version?: string | undefined;
36
36
  }>, "many">;
@@ -48,15 +48,15 @@ declare const lenses: TableContract<{
48
48
  }, "strip", z.ZodTypeAny, {
49
49
  key: string;
50
50
  title: string;
51
- metadata?: any;
52
51
  description?: string | undefined;
52
+ metadata?: any;
53
53
  promptTemplateKey?: string | undefined;
54
54
  taskTemplateKeys?: string[] | undefined;
55
55
  }, {
56
56
  key: string;
57
57
  title: string;
58
- metadata?: any;
59
58
  description?: string | undefined;
59
+ metadata?: any;
60
60
  promptTemplateKey?: string | undefined;
61
61
  taskTemplateKeys?: string[] | undefined;
62
62
  }>, "many">;
@@ -67,26 +67,26 @@ declare const lenses: TableContract<{
67
67
  steps: {
68
68
  key: string;
69
69
  title: string;
70
- metadata?: any;
71
70
  description?: string | undefined;
71
+ metadata?: any;
72
72
  promptTemplateKey?: string | undefined;
73
73
  taskTemplateKeys?: string[] | undefined;
74
74
  }[];
75
- metadata?: any;
76
75
  description?: string | undefined;
76
+ metadata?: any;
77
77
  }, {
78
78
  key: string;
79
79
  name: string;
80
80
  steps: {
81
81
  key: string;
82
82
  title: string;
83
- metadata?: any;
84
83
  description?: string | undefined;
84
+ metadata?: any;
85
85
  promptTemplateKey?: string | undefined;
86
86
  taskTemplateKeys?: string[] | undefined;
87
87
  }[];
88
- metadata?: any;
89
88
  description?: string | undefined;
89
+ metadata?: any;
90
90
  }>, "many">;
91
91
  taskTemplates: z.ZodArray<z.ZodObject<{
92
92
  key: z.ZodString;
@@ -98,16 +98,16 @@ declare const lenses: TableContract<{
98
98
  }, "strip", z.ZodTypeAny, {
99
99
  key: string;
100
100
  title: string;
101
+ description?: string | undefined;
101
102
  metadata?: any;
102
103
  priority?: "low" | "medium" | "high" | "critical" | undefined;
103
- description?: string | undefined;
104
104
  phase?: string | undefined;
105
105
  }, {
106
106
  key: string;
107
107
  title: string;
108
+ description?: string | undefined;
108
109
  metadata?: any;
109
110
  priority?: "low" | "medium" | "high" | "critical" | undefined;
110
- description?: string | undefined;
111
111
  phase?: string | undefined;
112
112
  }>, "many">;
113
113
  questionTemplates: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -22,8 +22,8 @@ declare const harnessReplays: TableContract<{
22
22
  phase: string;
23
23
  kind: string;
24
24
  stepId: string;
25
- metadata?: Record<string, any> | undefined;
26
25
  summary?: string | undefined;
26
+ metadata?: Record<string, any> | undefined;
27
27
  completedAt?: number | undefined;
28
28
  }, {
29
29
  status: "failed" | "completed" | "skipped";
@@ -31,8 +31,8 @@ declare const harnessReplays: TableContract<{
31
31
  phase: string;
32
32
  kind: string;
33
33
  stepId: string;
34
- metadata?: Record<string, any> | undefined;
35
34
  summary?: string | undefined;
35
+ metadata?: Record<string, any> | undefined;
36
36
  completedAt?: number | undefined;
37
37
  }>, "many">;
38
38
  inputSnapshot: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -73,12 +73,12 @@ declare const harnessRuns: TableContract<{
73
73
  summary: string;
74
74
  verdict: "partial" | "success" | "cancelled" | "timeout" | "failure";
75
75
  errorMessage?: string | undefined;
76
- errorCategory?: "policy_denied" | "internal" | "timeout" | "tool_execution" | "prompt_resolution" | "model_error" | "heartbeat_timeout" | "input_validation" | "external_service" | undefined;
76
+ errorCategory?: "internal" | "policy_denied" | "timeout" | "tool_execution" | "prompt_resolution" | "model_error" | "heartbeat_timeout" | "input_validation" | "external_service" | undefined;
77
77
  }, {
78
78
  summary: string;
79
79
  verdict: "partial" | "success" | "cancelled" | "timeout" | "failure";
80
80
  errorMessage?: string | undefined;
81
- errorCategory?: "policy_denied" | "internal" | "timeout" | "tool_execution" | "prompt_resolution" | "model_error" | "heartbeat_timeout" | "input_validation" | "external_service" | undefined;
81
+ errorCategory?: "internal" | "policy_denied" | "timeout" | "tool_execution" | "prompt_resolution" | "model_error" | "heartbeat_timeout" | "input_validation" | "external_service" | undefined;
82
82
  }>;
83
83
  toolCalls: z.ZodArray<z.ZodObject<{
84
84
  toolCallId: z.ZodString;
@@ -95,8 +95,8 @@ declare const harnessRuns: TableContract<{
95
95
  success: boolean;
96
96
  durationMs: number;
97
97
  toolCallId: string;
98
- metadata?: Record<string, any> | undefined;
99
98
  policyDecisionId?: string | undefined;
99
+ metadata?: Record<string, any> | undefined;
100
100
  gateClassification?: "core" | "shimmed" | undefined;
101
101
  requiredScopes?: string[] | undefined;
102
102
  graphWriteCount?: number | undefined;
@@ -105,8 +105,8 @@ declare const harnessRuns: TableContract<{
105
105
  success: boolean;
106
106
  durationMs: number;
107
107
  toolCallId: string;
108
- metadata?: Record<string, any> | undefined;
109
108
  policyDecisionId?: string | undefined;
109
+ metadata?: Record<string, any> | undefined;
110
110
  gateClassification?: "core" | "shimmed" | undefined;
111
111
  requiredScopes?: string[] | undefined;
112
112
  graphWriteCount?: number | undefined;
@@ -123,15 +123,15 @@ declare const harnessRuns: TableContract<{
123
123
  surface: "topic" | "belief" | "question" | "evidence" | "worktree" | "external" | "workflow" | "document";
124
124
  action: string;
125
125
  operationId: string;
126
- metadata?: Record<string, any> | undefined;
127
126
  summary?: string | undefined;
127
+ metadata?: Record<string, any> | undefined;
128
128
  targetId?: string | undefined;
129
129
  }, {
130
130
  surface: "topic" | "belief" | "question" | "evidence" | "worktree" | "external" | "workflow" | "document";
131
131
  action: string;
132
132
  operationId: string;
133
- metadata?: Record<string, any> | undefined;
134
133
  summary?: string | undefined;
134
+ metadata?: Record<string, any> | undefined;
135
135
  targetId?: string | undefined;
136
136
  }>, "many">;
137
137
  graphReadCount: z.ZodNumber;
@@ -146,15 +146,15 @@ declare const harnessRuns: TableContract<{
146
146
  surface: "topic" | "belief" | "question" | "evidence" | "worktree" | "external" | "workflow" | "document";
147
147
  action: string;
148
148
  operationId: string;
149
- metadata?: Record<string, any> | undefined;
150
149
  summary?: string | undefined;
150
+ metadata?: Record<string, any> | undefined;
151
151
  targetId?: string | undefined;
152
152
  }, {
153
153
  surface: "topic" | "belief" | "question" | "evidence" | "worktree" | "external" | "workflow" | "document";
154
154
  action: string;
155
155
  operationId: string;
156
- metadata?: Record<string, any> | undefined;
157
156
  summary?: string | undefined;
157
+ metadata?: Record<string, any> | undefined;
158
158
  targetId?: string | undefined;
159
159
  }>, "many">;
160
160
  graphWriteCount: z.ZodNumber;
@@ -298,14 +298,14 @@ declare const platformAgentRuns: TableContract<{
298
298
  stack: z.ZodOptional<z.ZodString>;
299
299
  }, "strip", z.ZodTypeAny, {
300
300
  message: string;
301
- category: "policy_denied" | "internal" | "timeout" | "tool_execution" | "prompt_resolution" | "model_error" | "heartbeat_timeout" | "input_validation" | "external_service";
302
- stack?: string | undefined;
301
+ category: "internal" | "policy_denied" | "timeout" | "tool_execution" | "prompt_resolution" | "model_error" | "heartbeat_timeout" | "input_validation" | "external_service";
303
302
  code?: string | undefined;
303
+ stack?: string | undefined;
304
304
  }, {
305
305
  message: string;
306
- category: "policy_denied" | "internal" | "timeout" | "tool_execution" | "prompt_resolution" | "model_error" | "heartbeat_timeout" | "input_validation" | "external_service";
307
- stack?: string | undefined;
306
+ category: "internal" | "policy_denied" | "timeout" | "tool_execution" | "prompt_resolution" | "model_error" | "heartbeat_timeout" | "input_validation" | "external_service";
308
307
  code?: string | undefined;
308
+ stack?: string | undefined;
309
309
  }>>;
310
310
  costMetrics: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
311
311
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -43,13 +43,13 @@ declare const tasks: TableContract<{
43
43
  content: z.ZodString;
44
44
  createdAt: z.ZodNumber;
45
45
  }, "strip", z.ZodTypeAny, {
46
- id: string;
47
46
  createdAt: number;
47
+ id: string;
48
48
  content: string;
49
49
  userId: string;
50
50
  }, {
51
- id: string;
52
51
  createdAt: number;
52
+ id: string;
53
53
  content: string;
54
54
  userId: string;
55
55
  }>, "many">>;
@@ -159,12 +159,12 @@ declare const tasks: TableContract<{
159
159
  purpose: z.ZodString;
160
160
  suggestedQuery: z.ZodString;
161
161
  }, "strip", z.ZodTypeAny, {
162
- tool: string;
163
162
  purpose: string;
163
+ tool: string;
164
164
  suggestedQuery: string;
165
165
  }, {
166
- tool: string;
167
166
  purpose: string;
167
+ tool: string;
168
168
  suggestedQuery: string;
169
169
  }>, "many">>;
170
170
  metrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -189,15 +189,15 @@ declare const tasks: TableContract<{
189
189
  company: z.ZodString;
190
190
  rationale: z.ZodString;
191
191
  }, "strip", z.ZodTypeAny, {
192
+ rationale: string;
192
193
  role: string;
193
194
  title: string;
194
195
  company: string;
195
- rationale: string;
196
196
  }, {
197
+ rationale: string;
197
198
  role: string;
198
199
  title: string;
199
200
  company: string;
200
- rationale: string;
201
201
  }>, "many">>;
202
202
  experts: z.ZodOptional<z.ZodArray<z.ZodObject<{
203
203
  expertise: z.ZodString;
@@ -262,14 +262,14 @@ declare const tasks: TableContract<{
262
262
  dependsOnStepIds?: string[] | undefined;
263
263
  runCondition?: string | undefined;
264
264
  continueOnFailure?: boolean | undefined;
265
- stepStatus?: "failed" | "pending" | "completed" | "running" | "skipped" | undefined;
265
+ stepStatus?: "pending" | "failed" | "completed" | "running" | "skipped" | undefined;
266
266
  stepRunCount?: number | undefined;
267
267
  stepLastRunAt?: number | undefined;
268
268
  stepOutputSummary?: string | undefined;
269
269
  stepOutputData?: string | undefined;
270
270
  stepFailureReason?: string | undefined;
271
271
  researchResult?: string | undefined;
272
- researchStatus?: "failed" | "pending" | "completed" | "running" | undefined;
272
+ researchStatus?: "pending" | "failed" | "completed" | "running" | undefined;
273
273
  researchCompletedAt?: number | undefined;
274
274
  researchCitations?: (string | {
275
275
  url: string;
@@ -285,8 +285,8 @@ declare const tasks: TableContract<{
285
285
  capturedAt?: number | undefined;
286
286
  capturedImpact?: number | undefined;
287
287
  tools?: {
288
- tool: string;
289
288
  purpose: string;
289
+ tool: string;
290
290
  suggestedQuery: string;
291
291
  }[] | undefined;
292
292
  metrics?: {
@@ -296,10 +296,10 @@ declare const tasks: TableContract<{
296
296
  currentValue?: string | undefined;
297
297
  }[] | undefined;
298
298
  personas?: {
299
+ rationale: string;
299
300
  role: string;
300
301
  title: string;
301
302
  company: string;
302
- rationale: string;
303
303
  }[] | undefined;
304
304
  experts?: {
305
305
  questions: string[];
@@ -346,14 +346,14 @@ declare const tasks: TableContract<{
346
346
  dependsOnStepIds?: string[] | undefined;
347
347
  runCondition?: string | undefined;
348
348
  continueOnFailure?: boolean | undefined;
349
- stepStatus?: "failed" | "pending" | "completed" | "running" | "skipped" | undefined;
349
+ stepStatus?: "pending" | "failed" | "completed" | "running" | "skipped" | undefined;
350
350
  stepRunCount?: number | undefined;
351
351
  stepLastRunAt?: number | undefined;
352
352
  stepOutputSummary?: string | undefined;
353
353
  stepOutputData?: string | undefined;
354
354
  stepFailureReason?: string | undefined;
355
355
  researchResult?: string | undefined;
356
- researchStatus?: "failed" | "pending" | "completed" | "running" | undefined;
356
+ researchStatus?: "pending" | "failed" | "completed" | "running" | undefined;
357
357
  researchCompletedAt?: number | undefined;
358
358
  researchCitations?: (string | {
359
359
  url: string;
@@ -369,8 +369,8 @@ declare const tasks: TableContract<{
369
369
  capturedAt?: number | undefined;
370
370
  capturedImpact?: number | undefined;
371
371
  tools?: {
372
- tool: string;
373
372
  purpose: string;
373
+ tool: string;
374
374
  suggestedQuery: string;
375
375
  }[] | undefined;
376
376
  metrics?: {
@@ -380,10 +380,10 @@ declare const tasks: TableContract<{
380
380
  currentValue?: string | undefined;
381
381
  }[] | undefined;
382
382
  personas?: {
383
+ rationale: string;
383
384
  role: string;
384
385
  title: string;
385
386
  company: string;
386
- rationale: string;
387
387
  }[] | undefined;
388
388
  experts?: {
389
389
  questions: string[];
@@ -403,11 +403,11 @@ declare const tasks: TableContract<{
403
403
  createdBy: z.ZodString;
404
404
  createdAt: z.ZodNumber;
405
405
  }, "strip", z.ZodTypeAny, {
406
- id: string;
406
+ type: "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist" | "file";
407
407
  createdAt: number;
408
+ id: string;
408
409
  title: string;
409
410
  content: string;
410
- type: "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist" | "file";
411
411
  createdBy: string;
412
412
  metadata?: {
413
413
  items?: {
@@ -443,14 +443,14 @@ declare const tasks: TableContract<{
443
443
  dependsOnStepIds?: string[] | undefined;
444
444
  runCondition?: string | undefined;
445
445
  continueOnFailure?: boolean | undefined;
446
- stepStatus?: "failed" | "pending" | "completed" | "running" | "skipped" | undefined;
446
+ stepStatus?: "pending" | "failed" | "completed" | "running" | "skipped" | undefined;
447
447
  stepRunCount?: number | undefined;
448
448
  stepLastRunAt?: number | undefined;
449
449
  stepOutputSummary?: string | undefined;
450
450
  stepOutputData?: string | undefined;
451
451
  stepFailureReason?: string | undefined;
452
452
  researchResult?: string | undefined;
453
- researchStatus?: "failed" | "pending" | "completed" | "running" | undefined;
453
+ researchStatus?: "pending" | "failed" | "completed" | "running" | undefined;
454
454
  researchCompletedAt?: number | undefined;
455
455
  researchCitations?: (string | {
456
456
  url: string;
@@ -466,8 +466,8 @@ declare const tasks: TableContract<{
466
466
  capturedAt?: number | undefined;
467
467
  capturedImpact?: number | undefined;
468
468
  tools?: {
469
- tool: string;
470
469
  purpose: string;
470
+ tool: string;
471
471
  suggestedQuery: string;
472
472
  }[] | undefined;
473
473
  metrics?: {
@@ -477,10 +477,10 @@ declare const tasks: TableContract<{
477
477
  currentValue?: string | undefined;
478
478
  }[] | undefined;
479
479
  personas?: {
480
+ rationale: string;
480
481
  role: string;
481
482
  title: string;
482
483
  company: string;
483
- rationale: string;
484
484
  }[] | undefined;
485
485
  experts?: {
486
486
  questions: string[];
@@ -498,11 +498,11 @@ declare const tasks: TableContract<{
498
498
  capturedInsightId?: (string & z.BRAND<"Id<epistemicNodes>">) | undefined;
499
499
  capturedAt?: number | undefined;
500
500
  }, {
501
- id: string;
501
+ type: "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist" | "file";
502
502
  createdAt: number;
503
+ id: string;
503
504
  title: string;
504
505
  content: string;
505
- type: "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist" | "file";
506
506
  createdBy: string;
507
507
  metadata?: {
508
508
  items?: {
@@ -538,14 +538,14 @@ declare const tasks: TableContract<{
538
538
  dependsOnStepIds?: string[] | undefined;
539
539
  runCondition?: string | undefined;
540
540
  continueOnFailure?: boolean | undefined;
541
- stepStatus?: "failed" | "pending" | "completed" | "running" | "skipped" | undefined;
541
+ stepStatus?: "pending" | "failed" | "completed" | "running" | "skipped" | undefined;
542
542
  stepRunCount?: number | undefined;
543
543
  stepLastRunAt?: number | undefined;
544
544
  stepOutputSummary?: string | undefined;
545
545
  stepOutputData?: string | undefined;
546
546
  stepFailureReason?: string | undefined;
547
547
  researchResult?: string | undefined;
548
- researchStatus?: "failed" | "pending" | "completed" | "running" | undefined;
548
+ researchStatus?: "pending" | "failed" | "completed" | "running" | undefined;
549
549
  researchCompletedAt?: number | undefined;
550
550
  researchCitations?: (string | {
551
551
  url: string;
@@ -561,8 +561,8 @@ declare const tasks: TableContract<{
561
561
  capturedAt?: number | undefined;
562
562
  capturedImpact?: number | undefined;
563
563
  tools?: {
564
- tool: string;
565
564
  purpose: string;
565
+ tool: string;
566
566
  suggestedQuery: string;
567
567
  }[] | undefined;
568
568
  metrics?: {
@@ -572,10 +572,10 @@ declare const tasks: TableContract<{
572
572
  currentValue?: string | undefined;
573
573
  }[] | undefined;
574
574
  personas?: {
575
+ rationale: string;
575
576
  role: string;
576
577
  title: string;
577
578
  company: string;
578
- rationale: string;
579
579
  }[] | undefined;
580
580
  experts?: {
581
581
  questions: string[];