@lucern/contracts 1.0.32 → 1.0.33

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.
@@ -297,7 +297,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
297
297
  triggeringEvidenceId?: string | undefined;
298
298
  triggeringQuestionId?: string | undefined;
299
299
  triggeringAnswerId?: string | undefined;
300
- triggeringContradictionId?: import("convex/values").GenericId<"contradictions"> | undefined;
300
+ triggeringContradictionId?: string | undefined;
301
301
  triggeringWorktreeId?: string | undefined;
302
302
  slOperator?: string | undefined;
303
303
  confidenceLevel?: "high" | "low" | "medium" | undefined;
@@ -331,7 +331,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
331
331
  trigger: import("convex/values").VUnion<"worktree_completed" | "evidence_added" | "evidence_removed" | "contradiction_detected" | "contradiction_resolved" | "agent_assessment" | "worktree_outcome" | "fusion" | "discount" | "deduction" | "backfill_synthetic" | "initial" | "propagation", [import("convex/values").VLiteral<"initial", "required">, import("convex/values").VLiteral<"evidence_added", "required">, import("convex/values").VLiteral<"evidence_removed", "required">, import("convex/values").VLiteral<"contradiction_detected", "required">, import("convex/values").VLiteral<"contradiction_resolved", "required">, import("convex/values").VLiteral<"propagation", "required">, import("convex/values").VLiteral<"agent_assessment", "required">, import("convex/values").VLiteral<"worktree_outcome", "required">, import("convex/values").VLiteral<"worktree_completed", "required">, import("convex/values").VLiteral<"fusion", "required">, import("convex/values").VLiteral<"discount", "required">, import("convex/values").VLiteral<"deduction", "required">, import("convex/values").VLiteral<"backfill_synthetic", "required">], "required", never>;
332
332
  triggeringAgentId: import("convex/values").VString<string | undefined, "optional">;
333
333
  triggeringAnswerId: import("convex/values").VString<string | undefined, "optional">;
334
- triggeringContradictionId: import("convex/values").VId<import("convex/values").GenericId<"contradictions"> | undefined, "optional">;
334
+ triggeringContradictionId: import("convex/values").VString<string | undefined, "optional">;
335
335
  triggeringEvidenceId: import("convex/values").VString<string | undefined, "optional">;
336
336
  triggeringEvidenceIds: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
337
337
  triggeringQuestionId: import("convex/values").VString<string | undefined, "optional">;
@@ -641,6 +641,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
641
641
  similarityScore?: number | undefined;
642
642
  resolvedAt?: number | undefined;
643
643
  lastReviewedAt?: number | undefined;
644
+ globalId: string;
644
645
  severity: "critical" | "significant" | "minor";
645
646
  beliefId: string;
646
647
  createdBy: string;
@@ -669,6 +670,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
669
670
  createdBy: import("convex/values").VString<string, "required">;
670
671
  detectedAt: import("convex/values").VFloat64<number, "required">;
671
672
  detectionMethod: import("convex/values").VUnion<"manual" | "agent" | "semantic" | "keyword" | undefined, [import("convex/values").VLiteral<"semantic", "required">, import("convex/values").VLiteral<"keyword", "required">, import("convex/values").VLiteral<"manual", "required">, import("convex/values").VLiteral<"agent", "required">], "optional", never>;
673
+ globalId: import("convex/values").VString<string, "required">;
672
674
  lastReviewedAt: import("convex/values").VFloat64<number | undefined, "optional">;
673
675
  resolution: import("convex/values").VObject<{
674
676
  reasoning: string;
@@ -690,7 +692,8 @@ export declare const KERNEL_SCHEMA_TABLES: {
690
692
  status: import("convex/values").VUnion<"unresolved" | "resolved_support" | "resolved_contra" | "belief_forked" | "investigating" | undefined, [import("convex/values").VLiteral<"unresolved", "required">, import("convex/values").VLiteral<"investigating", "required">, import("convex/values").VLiteral<"resolved_support", "required">, import("convex/values").VLiteral<"resolved_contra", "required">, import("convex/values").VLiteral<"belief_forked", "required">], "optional", never>;
691
693
  supportingInsightIds: import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">;
692
694
  topicId: import("convex/values").VString<string | undefined, "optional">;
693
- }, "required", "resolution" | "status" | "severity" | "topicId" | "beliefId" | "createdBy" | "supportingInsightIds" | "contradictingInsightIds" | "aiAnalysis" | "resolutionStatus" | "blocksDecisionFinalization" | "blockingReason" | "resolutionWorktreeId" | "resultingBeliefIds" | "detectionMethod" | "similarityScore" | "detectedAt" | "resolvedAt" | "lastReviewedAt" | "resolution.reasoning" | "resolution.verdict" | "resolution.beliefUpdate" | "resolution.resolvedBy" | "aiAnalysis.summary" | "aiAnalysis.likelyExplanation" | "aiAnalysis.suggestedResolution" | "aiAnalysis.confidenceInAnalysis" | "aiAnalysis.analyzedAt">, {
695
+ }, "required", "resolution" | "status" | "globalId" | "severity" | "topicId" | "beliefId" | "createdBy" | "supportingInsightIds" | "contradictingInsightIds" | "aiAnalysis" | "resolutionStatus" | "blocksDecisionFinalization" | "blockingReason" | "resolutionWorktreeId" | "resultingBeliefIds" | "detectionMethod" | "similarityScore" | "detectedAt" | "resolvedAt" | "lastReviewedAt" | "resolution.reasoning" | "resolution.verdict" | "resolution.beliefUpdate" | "resolution.resolvedBy" | "aiAnalysis.summary" | "aiAnalysis.likelyExplanation" | "aiAnalysis.suggestedResolution" | "aiAnalysis.confidenceInAnalysis" | "aiAnalysis.analyzedAt">, {
696
+ by_globalId: ["globalId", "_creationTime"];
694
697
  by_topicId: ["topicId", "_creationTime"];
695
698
  by_topic_resolutionStatus: ["topicId", "resolutionStatus", "_creationTime"];
696
699
  by_topic_status: ["topicId", "status", "_creationTime"];
@@ -1097,7 +1100,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
1097
1100
  tenantId?: string | undefined;
1098
1101
  workspaceId?: string | undefined;
1099
1102
  traceId?: string | undefined;
1100
- linkedBeliefNodeId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
1103
+ linkedBeliefNodeId?: string | undefined;
1101
1104
  completedAt?: number | undefined;
1102
1105
  projectId?: string | undefined;
1103
1106
  replayHeadAt?: number | undefined;
@@ -1119,18 +1122,18 @@ export declare const KERNEL_SCHEMA_TABLES: {
1119
1122
  }[];
1120
1123
  modelSlots: string[];
1121
1124
  replayBaselineAt: number;
1122
- contradictionIds: import("convex/values").GenericId<"contradictions">[];
1123
- escalationQuestionIds: import("convex/values").GenericId<"epistemicNodes">[];
1125
+ contradictionIds: string[];
1126
+ escalationQuestionIds: string[];
1124
1127
  }, {
1125
1128
  completedAt: import("convex/values").VFloat64<number | undefined, "optional">;
1126
1129
  contextBrief: import("convex/values").VString<string | undefined, "optional">;
1127
1130
  contextSnapshot: import("convex/values").VAny<any, "optional", string>;
1128
- contradictionIds: import("convex/values").VArray<import("convex/values").GenericId<"contradictions">[], import("convex/values").VId<import("convex/values").GenericId<"contradictions">, "required">, "required">;
1131
+ contradictionIds: import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">;
1129
1132
  createdAt: import("convex/values").VFloat64<number, "required">;
1130
1133
  createdBy: import("convex/values").VString<string, "required">;
1131
1134
  error: import("convex/values").VString<string | undefined, "optional">;
1132
- escalationQuestionIds: import("convex/values").VArray<import("convex/values").GenericId<"epistemicNodes">[], import("convex/values").VId<import("convex/values").GenericId<"epistemicNodes">, "required">, "required">;
1133
- linkedBeliefNodeId: import("convex/values").VId<import("convex/values").GenericId<"epistemicNodes"> | undefined, "optional">;
1135
+ escalationQuestionIds: import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">;
1136
+ linkedBeliefNodeId: import("convex/values").VString<string | undefined, "optional">;
1134
1137
  modelSlots: import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">;
1135
1138
  outcomeSummary: import("convex/values").VAny<any, "optional", string>;
1136
1139
  principalId: import("convex/values").VString<string, "required">;
@@ -1561,8 +1564,8 @@ export declare const KERNEL_SCHEMA_TABLES: {
1561
1564
  updatedAt: number;
1562
1565
  legacyId: string;
1563
1566
  mappingId: string;
1564
- entityTable: "epistemicEdges" | "epistemicNodes" | "worktrees";
1565
- legacyField: "globalId" | "fromNodeId" | "toNodeId" | "_id" | "topicId" | "nodeId" | "beliefId" | "evidenceId" | "questionId" | "worktreeId" | "targetBeliefIds" | "targetQuestionIds" | "edgeId" | "insightId";
1567
+ entityTable: "contradictions" | "epistemicEdges" | "epistemicNodes" | "tasks" | "worktrees";
1568
+ legacyField: "globalId" | "fromNodeId" | "toNodeId" | "_id" | "topicId" | "nodeId" | "beliefId" | "evidenceId" | "questionId" | "worktreeId" | "targetBeliefIds" | "targetQuestionIds" | "edgeId" | "insightId" | "contradictionId" | "taskId";
1566
1569
  canonicalField: "globalId";
1567
1570
  migrationRunId: string;
1568
1571
  }, {
@@ -1570,8 +1573,8 @@ export declare const KERNEL_SCHEMA_TABLES: {
1570
1573
  canonicalField: import("convex/values").VLiteral<"globalId", "required">;
1571
1574
  canonicalUuid: import("convex/values").VString<string, "required">;
1572
1575
  createdAt: import("convex/values").VFloat64<number, "required">;
1573
- entityTable: import("convex/values").VUnion<"epistemicEdges" | "epistemicNodes" | "worktrees", [import("convex/values").VLiteral<"epistemicNodes", "required">, import("convex/values").VLiteral<"epistemicEdges", "required">, import("convex/values").VLiteral<"worktrees", "required">], "required", never>;
1574
- legacyField: import("convex/values").VUnion<"globalId" | "fromNodeId" | "toNodeId" | "_id" | "topicId" | "nodeId" | "beliefId" | "evidenceId" | "questionId" | "worktreeId" | "targetBeliefIds" | "targetQuestionIds" | "edgeId" | "insightId", [import("convex/values").VLiteral<"_id", "required">, import("convex/values").VLiteral<"nodeId", "required">, import("convex/values").VLiteral<"edgeId", "required">, import("convex/values").VLiteral<"beliefId", "required">, import("convex/values").VLiteral<"evidenceId", "required">, import("convex/values").VLiteral<"insightId", "required">, import("convex/values").VLiteral<"questionId", "required">, import("convex/values").VLiteral<"topicId", "required">, import("convex/values").VLiteral<"worktreeId", "required">, import("convex/values").VLiteral<"globalId", "required">, import("convex/values").VLiteral<"fromNodeId", "required">, import("convex/values").VLiteral<"toNodeId", "required">, import("convex/values").VLiteral<"targetBeliefIds", "required">, import("convex/values").VLiteral<"targetQuestionIds", "required">], "required", never>;
1576
+ entityTable: import("convex/values").VUnion<"contradictions" | "epistemicEdges" | "epistemicNodes" | "tasks" | "worktrees", [import("convex/values").VLiteral<"epistemicNodes", "required">, import("convex/values").VLiteral<"epistemicEdges", "required">, import("convex/values").VLiteral<"worktrees", "required">, import("convex/values").VLiteral<"tasks", "required">, import("convex/values").VLiteral<"contradictions", "required">], "required", never>;
1577
+ legacyField: import("convex/values").VUnion<"globalId" | "fromNodeId" | "toNodeId" | "_id" | "topicId" | "nodeId" | "beliefId" | "evidenceId" | "questionId" | "worktreeId" | "targetBeliefIds" | "targetQuestionIds" | "edgeId" | "insightId" | "contradictionId" | "taskId", [import("convex/values").VLiteral<"_id", "required">, import("convex/values").VLiteral<"nodeId", "required">, import("convex/values").VLiteral<"edgeId", "required">, import("convex/values").VLiteral<"beliefId", "required">, import("convex/values").VLiteral<"evidenceId", "required">, import("convex/values").VLiteral<"insightId", "required">, import("convex/values").VLiteral<"questionId", "required">, import("convex/values").VLiteral<"topicId", "required">, import("convex/values").VLiteral<"worktreeId", "required">, import("convex/values").VLiteral<"taskId", "required">, import("convex/values").VLiteral<"contradictionId", "required">, import("convex/values").VLiteral<"globalId", "required">, import("convex/values").VLiteral<"fromNodeId", "required">, import("convex/values").VLiteral<"toNodeId", "required">, import("convex/values").VLiteral<"targetBeliefIds", "required">, import("convex/values").VLiteral<"targetQuestionIds", "required">], "required", never>;
1575
1578
  legacyId: import("convex/values").VString<string, "required">;
1576
1579
  mappingId: import("convex/values").VString<string, "required">;
1577
1580
  metadata: import("convex/values").VRecord<Record<string, any> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "optional", string>;
@@ -3421,14 +3424,14 @@ export declare const KERNEL_SCHEMA_TABLES: {
3421
3424
  }, {}, {}>;
3422
3425
  tasks: import("convex/server").TableDefinition<import("convex/values").VObject<{
3423
3426
  description?: string | undefined;
3424
- blocks?: import("convex/values").GenericId<"tasks">[] | undefined;
3427
+ blocks?: string[] | undefined;
3425
3428
  topicId?: string | undefined;
3426
3429
  tenantId?: string | undefined;
3427
3430
  workspaceId?: string | undefined;
3428
3431
  tags?: string[] | undefined;
3429
- blockedBy?: import("convex/values").GenericId<"tasks">[] | undefined;
3432
+ blockedBy?: string[] | undefined;
3430
3433
  taskType?: "analysis" | "general" | "find_evidence" | "verify_claim" | "research" | "review" | "interview" | "track_metrics" | undefined;
3431
- linkedWorktreeId?: import("convex/values").GenericId<"worktrees"> | undefined;
3434
+ linkedWorktreeId?: string | undefined;
3432
3435
  linkedBeliefId?: string | undefined;
3433
3436
  linkedQuestionId?: string | undefined;
3434
3437
  assigneeId?: string | undefined;
@@ -3466,7 +3469,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
3466
3469
  mappedQuestions?: {
3467
3470
  priority?: "must_ask" | "nice_to_have" | undefined;
3468
3471
  answered?: boolean | undefined;
3469
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
3472
+ insightId?: string | undefined;
3470
3473
  linkedBeliefId?: string | undefined;
3471
3474
  linkedQuestionId?: string | undefined;
3472
3475
  category?: string | undefined;
@@ -3536,7 +3539,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
3536
3539
  } | undefined;
3537
3540
  } | undefined;
3538
3541
  capturedAsEvidence?: boolean | undefined;
3539
- capturedInsightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
3542
+ capturedInsightId?: string | undefined;
3540
3543
  capturedAt?: number | undefined;
3541
3544
  type: "file" | "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist";
3542
3545
  id: string;
@@ -3559,6 +3562,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
3559
3562
  priority: "high" | "low" | "medium" | "urgent";
3560
3563
  title: string;
3561
3564
  status: "done" | "blocked" | "todo" | "in_progress";
3565
+ globalId: string;
3562
3566
  createdBy: string;
3563
3567
  createdAt: number;
3564
3568
  updatedAt: number;
@@ -3581,7 +3585,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
3581
3585
  mappedQuestions?: {
3582
3586
  priority?: "must_ask" | "nice_to_have" | undefined;
3583
3587
  answered?: boolean | undefined;
3584
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
3588
+ insightId?: string | undefined;
3585
3589
  linkedBeliefId?: string | undefined;
3586
3590
  linkedQuestionId?: string | undefined;
3587
3591
  category?: string | undefined;
@@ -3651,7 +3655,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
3651
3655
  } | undefined;
3652
3656
  } | undefined;
3653
3657
  capturedAsEvidence?: boolean | undefined;
3654
- capturedInsightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
3658
+ capturedInsightId?: string | undefined;
3655
3659
  capturedAt?: number | undefined;
3656
3660
  type: "file" | "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist";
3657
3661
  id: string;
@@ -3676,7 +3680,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
3676
3680
  mappedQuestions?: {
3677
3681
  priority?: "must_ask" | "nice_to_have" | undefined;
3678
3682
  answered?: boolean | undefined;
3679
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
3683
+ insightId?: string | undefined;
3680
3684
  linkedBeliefId?: string | undefined;
3681
3685
  linkedQuestionId?: string | undefined;
3682
3686
  category?: string | undefined;
@@ -3746,7 +3750,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
3746
3750
  } | undefined;
3747
3751
  } | undefined;
3748
3752
  capturedAsEvidence?: boolean | undefined;
3749
- capturedInsightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
3753
+ capturedInsightId?: string | undefined;
3750
3754
  capturedAt?: number | undefined;
3751
3755
  type: "file" | "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist";
3752
3756
  id: string;
@@ -3757,7 +3761,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
3757
3761
  }, {
3758
3762
  capturedAsEvidence: import("convex/values").VBoolean<boolean | undefined, "optional">;
3759
3763
  capturedAt: import("convex/values").VFloat64<number | undefined, "optional">;
3760
- capturedInsightId: import("convex/values").VId<import("convex/values").GenericId<"epistemicNodes"> | undefined, "optional">;
3764
+ capturedInsightId: import("convex/values").VString<string | undefined, "optional">;
3761
3765
  content: import("convex/values").VString<string, "required">;
3762
3766
  createdAt: import("convex/values").VFloat64<number, "required">;
3763
3767
  createdBy: import("convex/values").VString<string, "required">;
@@ -3778,7 +3782,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
3778
3782
  mappedQuestions?: {
3779
3783
  priority?: "must_ask" | "nice_to_have" | undefined;
3780
3784
  answered?: boolean | undefined;
3781
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
3785
+ insightId?: string | undefined;
3782
3786
  linkedBeliefId?: string | undefined;
3783
3787
  linkedQuestionId?: string | undefined;
3784
3788
  category?: string | undefined;
@@ -3906,7 +3910,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
3906
3910
  mappedQuestions: import("convex/values").VArray<{
3907
3911
  priority?: "must_ask" | "nice_to_have" | undefined;
3908
3912
  answered?: boolean | undefined;
3909
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
3913
+ insightId?: string | undefined;
3910
3914
  linkedBeliefId?: string | undefined;
3911
3915
  linkedQuestionId?: string | undefined;
3912
3916
  category?: string | undefined;
@@ -3918,7 +3922,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
3918
3922
  }[] | undefined, import("convex/values").VObject<{
3919
3923
  priority?: "must_ask" | "nice_to_have" | undefined;
3920
3924
  answered?: boolean | undefined;
3921
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
3925
+ insightId?: string | undefined;
3922
3926
  linkedBeliefId?: string | undefined;
3923
3927
  linkedQuestionId?: string | undefined;
3924
3928
  category?: string | undefined;
@@ -3934,7 +3938,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
3934
3938
  capturedAsInsight: import("convex/values").VBoolean<boolean | undefined, "optional">;
3935
3939
  category: import("convex/values").VString<string | undefined, "optional">;
3936
3940
  id: import("convex/values").VString<string, "required">;
3937
- insightId: import("convex/values").VId<import("convex/values").GenericId<"epistemicNodes"> | undefined, "optional">;
3941
+ insightId: import("convex/values").VString<string | undefined, "optional">;
3938
3942
  linkedBeliefId: import("convex/values").VString<string | undefined, "optional">;
3939
3943
  linkedQuestionId: import("convex/values").VString<string | undefined, "optional">;
3940
3944
  priority: import("convex/values").VUnion<"must_ask" | "nice_to_have" | undefined, [import("convex/values").VLiteral<"must_ask", "required">, import("convex/values").VLiteral<"nice_to_have", "required">], "optional", never>;
@@ -4020,9 +4024,9 @@ export declare const KERNEL_SCHEMA_TABLES: {
4020
4024
  title: import("convex/values").VString<string, "required">;
4021
4025
  type: import("convex/values").VUnion<"file" | "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist", [import("convex/values").VLiteral<"call_script", "required">, import("convex/values").VLiteral<"email_template", "required">, import("convex/values").VLiteral<"research_plan", "required">, import("convex/values").VLiteral<"framework", "required">, import("convex/values").VLiteral<"checklist", "required">, import("convex/values").VLiteral<"note", "required">, import("convex/values").VLiteral<"file", "required">, import("convex/values").VLiteral<"transcript", "required">], "required", never>;
4022
4026
  }, "required", "type" | "id" | "content" | "title" | "metadata" | "createdBy" | "createdAt" | "capturedAsEvidence" | "capturedInsightId" | "capturedAt" | "metadata.items" | "metadata.linkedBeliefId" | "metadata.linkedQuestionId" | "metadata.fileUrl" | "metadata.fileName" | "metadata.fileSize" | "metadata.frameworkType" | "metadata.variables" | "metadata.mappedQuestions" | "metadata.linkedCallScriptId" | "metadata.editable" | "metadata.executionTool" | "metadata.workflowStepId" | "metadata.workflowOrder" | "metadata.dependsOnStepIds" | "metadata.runCondition" | "metadata.continueOnFailure" | "metadata.stepStatus" | "metadata.stepRunCount" | "metadata.stepLastRunAt" | "metadata.stepOutputSummary" | "metadata.stepOutputData" | "metadata.stepFailureReason" | "metadata.researchResult" | "metadata.researchStatus" | "metadata.researchCompletedAt" | "metadata.researchCitations" | "metadata.generatedPersonas" | "metadata.personasGeneratedAt" | "metadata.expertSearchResults" | "metadata.expertSearchAt" | "metadata.capturedAsEvidence" | "metadata.capturedInsightId" | "metadata.capturedAt" | "metadata.capturedImpact" | "metadata.tools" | "metadata.metrics" | "metadata.personas" | "metadata.experts" | "metadata.factChecker" | "metadata.factChecker.claimsToVerify" | "metadata.factChecker.sourcesToCheck" | "metadata.factChecker.verificationCriteria">, "optional">;
4023
- blockedBy: import("convex/values").VArray<import("convex/values").GenericId<"tasks">[] | undefined, import("convex/values").VId<import("convex/values").GenericId<"tasks">, "required">, "optional">;
4027
+ blockedBy: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
4024
4028
  blockedReason: import("convex/values").VString<string | undefined, "optional">;
4025
- blocks: import("convex/values").VArray<import("convex/values").GenericId<"tasks">[] | undefined, import("convex/values").VId<import("convex/values").GenericId<"tasks">, "required">, "optional">;
4029
+ blocks: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
4026
4030
  comments: import("convex/values").VArray<{
4027
4031
  id: string;
4028
4032
  content: string;
@@ -4052,10 +4056,11 @@ export declare const KERNEL_SCHEMA_TABLES: {
4052
4056
  executionStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
4053
4057
  executionStatus: import("convex/values").VUnion<"failed" | "completed" | "running" | "pending" | undefined, [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"completed", "required">, import("convex/values").VLiteral<"failed", "required">], "optional", never>;
4054
4058
  executionType: import("convex/values").VUnion<"manual" | "verify_claim" | "research_search" | "find_news" | "identify_experts" | "market_research" | "generate_primer" | "mcp_research" | "mcp_web_search" | "mcp_capture" | "mcp_network_search" | undefined, [import("convex/values").VLiteral<"research_search", "required">, import("convex/values").VLiteral<"find_news", "required">, import("convex/values").VLiteral<"identify_experts", "required">, import("convex/values").VLiteral<"market_research", "required">, import("convex/values").VLiteral<"generate_primer", "required">, import("convex/values").VLiteral<"verify_claim", "required">, import("convex/values").VLiteral<"manual", "required">, import("convex/values").VLiteral<"mcp_research", "required">, import("convex/values").VLiteral<"mcp_web_search", "required">, import("convex/values").VLiteral<"mcp_capture", "required">, import("convex/values").VLiteral<"mcp_network_search", "required">], "optional", never>;
4059
+ globalId: import("convex/values").VString<string, "required">;
4055
4060
  linkedBeliefId: import("convex/values").VString<string | undefined, "optional">;
4056
4061
  linkedChatId: import("convex/values").VString<string | undefined, "optional">;
4057
4062
  linkedQuestionId: import("convex/values").VString<string | undefined, "optional">;
4058
- linkedWorktreeId: import("convex/values").VId<import("convex/values").GenericId<"worktrees"> | undefined, "optional">;
4063
+ linkedWorktreeId: import("convex/values").VString<string | undefined, "optional">;
4059
4064
  mcpDatasetIds: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
4060
4065
  mcpExecutionId: import("convex/values").VString<string | undefined, "optional">;
4061
4066
  mcpSkillIds: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
@@ -4085,7 +4090,8 @@ export declare const KERNEL_SCHEMA_TABLES: {
4085
4090
  topicId: import("convex/values").VString<string | undefined, "optional">;
4086
4091
  updatedAt: import("convex/values").VFloat64<number, "required">;
4087
4092
  workspaceId: import("convex/values").VString<string | undefined, "optional">;
4088
- }, "required", "priority" | "title" | "description" | "status" | "blocks" | "topicId" | "createdBy" | "tenantId" | "workspaceId" | "createdAt" | "updatedAt" | "tags" | "blockedBy" | "taskType" | "linkedWorktreeId" | "linkedBeliefId" | "linkedQuestionId" | "assigneeId" | "dueDate" | "completedAt" | "blockedReason" | "sortOrder" | "executionOrder" | "subtasks" | "comments" | "attachments" | "executionType" | "executionStatus" | "executionResults" | "executionStartedAt" | "executionCompletedAt" | "executionError" | "mcpDatasetIds" | "mcpSkillIds" | "mcpExecutionId" | "linkedChatId" | "completedBy" | `executionResults.${string}`>, {
4093
+ }, "required", "priority" | "title" | "description" | "status" | "blocks" | "globalId" | "topicId" | "createdBy" | "tenantId" | "workspaceId" | "createdAt" | "updatedAt" | "tags" | "blockedBy" | "taskType" | "linkedWorktreeId" | "linkedBeliefId" | "linkedQuestionId" | "assigneeId" | "dueDate" | "completedAt" | "blockedReason" | "sortOrder" | "executionOrder" | "subtasks" | "comments" | "attachments" | "executionType" | "executionStatus" | "executionResults" | "executionStartedAt" | "executionCompletedAt" | "executionError" | "mcpDatasetIds" | "mcpSkillIds" | "mcpExecutionId" | "linkedChatId" | "completedBy" | `executionResults.${string}`>, {
4094
+ by_globalId: ["globalId", "_creationTime"];
4089
4095
  by_topicId: ["topicId", "_creationTime"];
4090
4096
  by_topicId_status: ["topicId", "status", "_creationTime"];
4091
4097
  by_tenantId: ["tenantId", "_creationTime"];
@@ -4258,7 +4264,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
4258
4264
  llmEvidenceScores?: string | undefined;
4259
4265
  llmAssessedAt?: number | undefined;
4260
4266
  beliefId: string;
4261
- worktreeId: import("convex/values").GenericId<"worktrees">;
4267
+ worktreeId: string;
4262
4268
  updatedAt: number;
4263
4269
  relationType: "conditional" | "primary" | "supporting" | "contradicting" | "counterfactual" | "cascade" | "alternative" | "dependency" | "prerequisite";
4264
4270
  addedAt: number;
@@ -4281,7 +4287,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
4281
4287
  relationDescription: import("convex/values").VString<string | undefined, "optional">;
4282
4288
  relationType: import("convex/values").VUnion<"conditional" | "primary" | "supporting" | "contradicting" | "counterfactual" | "cascade" | "alternative" | "dependency" | "prerequisite", [import("convex/values").VLiteral<"primary", "required">, import("convex/values").VLiteral<"counterfactual", "required">, import("convex/values").VLiteral<"dependency", "required">, import("convex/values").VLiteral<"cascade", "required">, import("convex/values").VLiteral<"conditional", "required">, import("convex/values").VLiteral<"supporting", "required">, import("convex/values").VLiteral<"contradicting", "required">, import("convex/values").VLiteral<"alternative", "required">, import("convex/values").VLiteral<"prerequisite", "required">], "required", never>;
4283
4289
  updatedAt: import("convex/values").VFloat64<number, "required">;
4284
- worktreeId: import("convex/values").VId<import("convex/values").GenericId<"worktrees">, "required">;
4290
+ worktreeId: import("convex/values").VString<string, "required">;
4285
4291
  }, "required", "beliefId" | "worktreeId" | "updatedAt" | "confidenceDelta" | "relationType" | "relationDescription" | "counterfactualText" | "dependencyText" | "cascadeText" | "initialConfidence" | "initialEvidenceCount" | "finalConfidence" | "finalEvidenceCount" | "llmValence" | "llmCertainty" | "llmReasoning" | "llmEvidenceScores" | "llmAssessedAt" | "addedAt">, {
4286
4292
  by_worktree: ["worktreeId", "_creationTime"];
4287
4293
  by_belief: ["beliefId", "_creationTime"];
@@ -4290,10 +4296,9 @@ export declare const KERNEL_SCHEMA_TABLES: {
4290
4296
  worktrees: import("convex/server").TableDefinition<import("convex/values").VObject<{
4291
4297
  priority?: number | undefined;
4292
4298
  metadata?: any;
4293
- blocks?: import("convex/values").GenericId<"worktrees">[] | undefined;
4294
- globalId?: string | undefined;
4299
+ blocks?: string[] | undefined;
4295
4300
  campaign?: number | undefined;
4296
- dependsOn?: import("convex/values").GenericId<"worktrees">[] | undefined;
4301
+ dependsOn?: string[] | undefined;
4297
4302
  topicId?: string | undefined;
4298
4303
  lane?: string | undefined;
4299
4304
  orderInLane?: number | undefined;
@@ -4430,7 +4435,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
4430
4435
  text: string;
4431
4436
  verified: boolean;
4432
4437
  }[];
4433
- worktreeId: import("convex/values").GenericId<"worktrees">;
4438
+ worktreeId: string;
4434
4439
  outcome: {
4435
4440
  summary: string;
4436
4441
  verdict: string;
@@ -4541,6 +4546,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
4541
4546
  index: number;
4542
4547
  name: string;
4543
4548
  status: "active" | "completed" | "paused" | "abandoned" | "planning" | "suggested" | "dismissed";
4549
+ globalId: string;
4544
4550
  createdBy: string;
4545
4551
  targetBeliefIds: string[];
4546
4552
  targetQuestionIds: string[];
@@ -4587,7 +4593,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
4587
4593
  timeframe: import("convex/values").VString<string | undefined, "optional">;
4588
4594
  }, "optional", "checklist" | "isRefined" | "refinedAt" | "refinedBy" | "originalText" | "refinedText" | "testingCriteria" | "measurableCriteria" | "timeframe" | "checklist.hasSpecificClaim" | "checklist.hasTimeframe" | "checklist.hasMeasurableCriteria" | "checklist.hasTestability">;
4589
4595
  beliefRefinements: import("convex/values").VArray<any[] | undefined, import("convex/values").VAny<any, "required", string>, "optional">;
4590
- blocks: import("convex/values").VArray<import("convex/values").GenericId<"worktrees">[] | undefined, import("convex/values").VId<import("convex/values").GenericId<"worktrees">, "required">, "optional">;
4596
+ blocks: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
4591
4597
  branchThesis: import("convex/values").VObject<{
4592
4598
  generatedAt?: number | undefined;
4593
4599
  memoContent?: string | undefined;
@@ -4670,7 +4676,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
4670
4676
  verdictRationale: import("convex/values").VString<string | undefined, "optional">;
4671
4677
  }, "optional", "decidedAt" | "goCriteria" | "noGoSignals" | "verdict" | "verdictRationale" | "decidedBy">;
4672
4678
  decisionsReached: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
4673
- dependsOn: import("convex/values").VArray<import("convex/values").GenericId<"worktrees">[] | undefined, import("convex/values").VId<import("convex/values").GenericId<"worktrees">, "required">, "optional">;
4679
+ dependsOn: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
4674
4680
  dismissedReason: import("convex/values").VString<string | undefined, "optional">;
4675
4681
  durationWeeks: import("convex/values").VFloat64<number, "required">;
4676
4682
  endDate: import("convex/values").VFloat64<number, "required">;
@@ -4730,7 +4736,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
4730
4736
  text: string;
4731
4737
  verified: boolean;
4732
4738
  }[];
4733
- worktreeId: import("convex/values").GenericId<"worktrees">;
4739
+ worktreeId: string;
4734
4740
  outcome: {
4735
4741
  summary: string;
4736
4742
  verdict: string;
@@ -4920,7 +4926,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
4920
4926
  tasksCompleted: import("convex/values").VFloat64<number | undefined, "optional">;
4921
4927
  topicId: import("convex/values").VString<string | undefined, "optional">;
4922
4928
  totalTasks: import("convex/values").VFloat64<number | undefined, "optional">;
4923
- worktreeId: import("convex/values").VId<import("convex/values").GenericId<"worktrees">, "required">;
4929
+ worktreeId: import("convex/values").VString<string, "required">;
4924
4930
  }, "optional", "evidence" | "topicId" | "worktreeId" | "outcome" | "questions" | "capturedAt" | "capturedBy" | "primaryBelief" | "clusterEdges" | "relatedBeliefs" | "tasksCompleted" | "totalTasks" | "confidenceHistory" | "outcome.summary" | "outcome.verdict" | "outcome.startingConfidence" | "outcome.endingConfidence" | "outcome.confidenceChange" | "primaryBelief.id" | "primaryBelief.text" | "primaryBelief.status" | "primaryBelief.startingConfidence" | "primaryBelief.endingConfidence" | "primaryBelief.startingConfidenceLabel" | "primaryBelief.endingConfidenceLabel" | "primaryBelief.confidenceScore" | "primaryBelief.criticality">;
4925
4931
  epistemicOrigin: import("convex/values").VString<string | undefined, "optional">;
4926
4932
  evidenceReviewState: import("convex/values").VObject<{
@@ -4973,7 +4979,7 @@ export declare const KERNEL_SCHEMA_TABLES: {
4973
4979
  gate: import("convex/values").VString<string | undefined, "optional">;
4974
4980
  generatedAt: import("convex/values").VFloat64<number | undefined, "optional">;
4975
4981
  generatedBy: import("convex/values").VString<string | undefined, "optional">;
4976
- globalId: import("convex/values").VString<string | undefined, "optional">;
4982
+ globalId: import("convex/values").VString<string, "required">;
4977
4983
  hypothesis: import("convex/values").VString<string | undefined, "optional">;
4978
4984
  index: import("convex/values").VFloat64<number, "required">;
4979
4985
  keyFindings: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
@@ -10833,7 +10839,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
10833
10839
  triggeringEvidenceId?: string | undefined;
10834
10840
  triggeringQuestionId?: string | undefined;
10835
10841
  triggeringAnswerId?: string | undefined;
10836
- triggeringContradictionId?: import("convex/values").GenericId<"contradictions"> | undefined;
10842
+ triggeringContradictionId?: string | undefined;
10837
10843
  triggeringWorktreeId?: string | undefined;
10838
10844
  slOperator?: string | undefined;
10839
10845
  confidenceLevel?: "high" | "low" | "medium" | undefined;
@@ -10867,7 +10873,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
10867
10873
  trigger: import("convex/values").VUnion<"worktree_completed" | "evidence_added" | "evidence_removed" | "contradiction_detected" | "contradiction_resolved" | "agent_assessment" | "worktree_outcome" | "fusion" | "discount" | "deduction" | "backfill_synthetic" | "initial" | "propagation", [import("convex/values").VLiteral<"initial", "required">, import("convex/values").VLiteral<"evidence_added", "required">, import("convex/values").VLiteral<"evidence_removed", "required">, import("convex/values").VLiteral<"contradiction_detected", "required">, import("convex/values").VLiteral<"contradiction_resolved", "required">, import("convex/values").VLiteral<"propagation", "required">, import("convex/values").VLiteral<"agent_assessment", "required">, import("convex/values").VLiteral<"worktree_outcome", "required">, import("convex/values").VLiteral<"worktree_completed", "required">, import("convex/values").VLiteral<"fusion", "required">, import("convex/values").VLiteral<"discount", "required">, import("convex/values").VLiteral<"deduction", "required">, import("convex/values").VLiteral<"backfill_synthetic", "required">], "required", never>;
10868
10874
  triggeringAgentId: import("convex/values").VString<string | undefined, "optional">;
10869
10875
  triggeringAnswerId: import("convex/values").VString<string | undefined, "optional">;
10870
- triggeringContradictionId: import("convex/values").VId<import("convex/values").GenericId<"contradictions"> | undefined, "optional">;
10876
+ triggeringContradictionId: import("convex/values").VString<string | undefined, "optional">;
10871
10877
  triggeringEvidenceId: import("convex/values").VString<string | undefined, "optional">;
10872
10878
  triggeringEvidenceIds: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
10873
10879
  triggeringQuestionId: import("convex/values").VString<string | undefined, "optional">;
@@ -11177,6 +11183,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
11177
11183
  similarityScore?: number | undefined;
11178
11184
  resolvedAt?: number | undefined;
11179
11185
  lastReviewedAt?: number | undefined;
11186
+ globalId: string;
11180
11187
  severity: "critical" | "significant" | "minor";
11181
11188
  beliefId: string;
11182
11189
  createdBy: string;
@@ -11205,6 +11212,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
11205
11212
  createdBy: import("convex/values").VString<string, "required">;
11206
11213
  detectedAt: import("convex/values").VFloat64<number, "required">;
11207
11214
  detectionMethod: import("convex/values").VUnion<"manual" | "agent" | "semantic" | "keyword" | undefined, [import("convex/values").VLiteral<"semantic", "required">, import("convex/values").VLiteral<"keyword", "required">, import("convex/values").VLiteral<"manual", "required">, import("convex/values").VLiteral<"agent", "required">], "optional", never>;
11215
+ globalId: import("convex/values").VString<string, "required">;
11208
11216
  lastReviewedAt: import("convex/values").VFloat64<number | undefined, "optional">;
11209
11217
  resolution: import("convex/values").VObject<{
11210
11218
  reasoning: string;
@@ -11226,7 +11234,8 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
11226
11234
  status: import("convex/values").VUnion<"unresolved" | "resolved_support" | "resolved_contra" | "belief_forked" | "investigating" | undefined, [import("convex/values").VLiteral<"unresolved", "required">, import("convex/values").VLiteral<"investigating", "required">, import("convex/values").VLiteral<"resolved_support", "required">, import("convex/values").VLiteral<"resolved_contra", "required">, import("convex/values").VLiteral<"belief_forked", "required">], "optional", never>;
11227
11235
  supportingInsightIds: import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">;
11228
11236
  topicId: import("convex/values").VString<string | undefined, "optional">;
11229
- }, "required", "resolution" | "status" | "severity" | "topicId" | "beliefId" | "createdBy" | "supportingInsightIds" | "contradictingInsightIds" | "aiAnalysis" | "resolutionStatus" | "blocksDecisionFinalization" | "blockingReason" | "resolutionWorktreeId" | "resultingBeliefIds" | "detectionMethod" | "similarityScore" | "detectedAt" | "resolvedAt" | "lastReviewedAt" | "resolution.reasoning" | "resolution.verdict" | "resolution.beliefUpdate" | "resolution.resolvedBy" | "aiAnalysis.summary" | "aiAnalysis.likelyExplanation" | "aiAnalysis.suggestedResolution" | "aiAnalysis.confidenceInAnalysis" | "aiAnalysis.analyzedAt">, {
11237
+ }, "required", "resolution" | "status" | "globalId" | "severity" | "topicId" | "beliefId" | "createdBy" | "supportingInsightIds" | "contradictingInsightIds" | "aiAnalysis" | "resolutionStatus" | "blocksDecisionFinalization" | "blockingReason" | "resolutionWorktreeId" | "resultingBeliefIds" | "detectionMethod" | "similarityScore" | "detectedAt" | "resolvedAt" | "lastReviewedAt" | "resolution.reasoning" | "resolution.verdict" | "resolution.beliefUpdate" | "resolution.resolvedBy" | "aiAnalysis.summary" | "aiAnalysis.likelyExplanation" | "aiAnalysis.suggestedResolution" | "aiAnalysis.confidenceInAnalysis" | "aiAnalysis.analyzedAt">, {
11238
+ by_globalId: ["globalId", "_creationTime"];
11230
11239
  by_topicId: ["topicId", "_creationTime"];
11231
11240
  by_topic_resolutionStatus: ["topicId", "resolutionStatus", "_creationTime"];
11232
11241
  by_topic_status: ["topicId", "status", "_creationTime"];
@@ -11633,7 +11642,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
11633
11642
  tenantId?: string | undefined;
11634
11643
  workspaceId?: string | undefined;
11635
11644
  traceId?: string | undefined;
11636
- linkedBeliefNodeId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
11645
+ linkedBeliefNodeId?: string | undefined;
11637
11646
  completedAt?: number | undefined;
11638
11647
  projectId?: string | undefined;
11639
11648
  replayHeadAt?: number | undefined;
@@ -11655,18 +11664,18 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
11655
11664
  }[];
11656
11665
  modelSlots: string[];
11657
11666
  replayBaselineAt: number;
11658
- contradictionIds: import("convex/values").GenericId<"contradictions">[];
11659
- escalationQuestionIds: import("convex/values").GenericId<"epistemicNodes">[];
11667
+ contradictionIds: string[];
11668
+ escalationQuestionIds: string[];
11660
11669
  }, {
11661
11670
  completedAt: import("convex/values").VFloat64<number | undefined, "optional">;
11662
11671
  contextBrief: import("convex/values").VString<string | undefined, "optional">;
11663
11672
  contextSnapshot: import("convex/values").VAny<any, "optional", string>;
11664
- contradictionIds: import("convex/values").VArray<import("convex/values").GenericId<"contradictions">[], import("convex/values").VId<import("convex/values").GenericId<"contradictions">, "required">, "required">;
11673
+ contradictionIds: import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">;
11665
11674
  createdAt: import("convex/values").VFloat64<number, "required">;
11666
11675
  createdBy: import("convex/values").VString<string, "required">;
11667
11676
  error: import("convex/values").VString<string | undefined, "optional">;
11668
- escalationQuestionIds: import("convex/values").VArray<import("convex/values").GenericId<"epistemicNodes">[], import("convex/values").VId<import("convex/values").GenericId<"epistemicNodes">, "required">, "required">;
11669
- linkedBeliefNodeId: import("convex/values").VId<import("convex/values").GenericId<"epistemicNodes"> | undefined, "optional">;
11677
+ escalationQuestionIds: import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">;
11678
+ linkedBeliefNodeId: import("convex/values").VString<string | undefined, "optional">;
11670
11679
  modelSlots: import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">;
11671
11680
  outcomeSummary: import("convex/values").VAny<any, "optional", string>;
11672
11681
  principalId: import("convex/values").VString<string, "required">;
@@ -12097,8 +12106,8 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
12097
12106
  updatedAt: number;
12098
12107
  legacyId: string;
12099
12108
  mappingId: string;
12100
- entityTable: "epistemicEdges" | "epistemicNodes" | "worktrees";
12101
- legacyField: "globalId" | "fromNodeId" | "toNodeId" | "_id" | "topicId" | "nodeId" | "beliefId" | "evidenceId" | "questionId" | "worktreeId" | "targetBeliefIds" | "targetQuestionIds" | "edgeId" | "insightId";
12109
+ entityTable: "contradictions" | "epistemicEdges" | "epistemicNodes" | "tasks" | "worktrees";
12110
+ legacyField: "globalId" | "fromNodeId" | "toNodeId" | "_id" | "topicId" | "nodeId" | "beliefId" | "evidenceId" | "questionId" | "worktreeId" | "targetBeliefIds" | "targetQuestionIds" | "edgeId" | "insightId" | "contradictionId" | "taskId";
12102
12111
  canonicalField: "globalId";
12103
12112
  migrationRunId: string;
12104
12113
  }, {
@@ -12106,8 +12115,8 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
12106
12115
  canonicalField: import("convex/values").VLiteral<"globalId", "required">;
12107
12116
  canonicalUuid: import("convex/values").VString<string, "required">;
12108
12117
  createdAt: import("convex/values").VFloat64<number, "required">;
12109
- entityTable: import("convex/values").VUnion<"epistemicEdges" | "epistemicNodes" | "worktrees", [import("convex/values").VLiteral<"epistemicNodes", "required">, import("convex/values").VLiteral<"epistemicEdges", "required">, import("convex/values").VLiteral<"worktrees", "required">], "required", never>;
12110
- legacyField: import("convex/values").VUnion<"globalId" | "fromNodeId" | "toNodeId" | "_id" | "topicId" | "nodeId" | "beliefId" | "evidenceId" | "questionId" | "worktreeId" | "targetBeliefIds" | "targetQuestionIds" | "edgeId" | "insightId", [import("convex/values").VLiteral<"_id", "required">, import("convex/values").VLiteral<"nodeId", "required">, import("convex/values").VLiteral<"edgeId", "required">, import("convex/values").VLiteral<"beliefId", "required">, import("convex/values").VLiteral<"evidenceId", "required">, import("convex/values").VLiteral<"insightId", "required">, import("convex/values").VLiteral<"questionId", "required">, import("convex/values").VLiteral<"topicId", "required">, import("convex/values").VLiteral<"worktreeId", "required">, import("convex/values").VLiteral<"globalId", "required">, import("convex/values").VLiteral<"fromNodeId", "required">, import("convex/values").VLiteral<"toNodeId", "required">, import("convex/values").VLiteral<"targetBeliefIds", "required">, import("convex/values").VLiteral<"targetQuestionIds", "required">], "required", never>;
12118
+ entityTable: import("convex/values").VUnion<"contradictions" | "epistemicEdges" | "epistemicNodes" | "tasks" | "worktrees", [import("convex/values").VLiteral<"epistemicNodes", "required">, import("convex/values").VLiteral<"epistemicEdges", "required">, import("convex/values").VLiteral<"worktrees", "required">, import("convex/values").VLiteral<"tasks", "required">, import("convex/values").VLiteral<"contradictions", "required">], "required", never>;
12119
+ legacyField: import("convex/values").VUnion<"globalId" | "fromNodeId" | "toNodeId" | "_id" | "topicId" | "nodeId" | "beliefId" | "evidenceId" | "questionId" | "worktreeId" | "targetBeliefIds" | "targetQuestionIds" | "edgeId" | "insightId" | "contradictionId" | "taskId", [import("convex/values").VLiteral<"_id", "required">, import("convex/values").VLiteral<"nodeId", "required">, import("convex/values").VLiteral<"edgeId", "required">, import("convex/values").VLiteral<"beliefId", "required">, import("convex/values").VLiteral<"evidenceId", "required">, import("convex/values").VLiteral<"insightId", "required">, import("convex/values").VLiteral<"questionId", "required">, import("convex/values").VLiteral<"topicId", "required">, import("convex/values").VLiteral<"worktreeId", "required">, import("convex/values").VLiteral<"taskId", "required">, import("convex/values").VLiteral<"contradictionId", "required">, import("convex/values").VLiteral<"globalId", "required">, import("convex/values").VLiteral<"fromNodeId", "required">, import("convex/values").VLiteral<"toNodeId", "required">, import("convex/values").VLiteral<"targetBeliefIds", "required">, import("convex/values").VLiteral<"targetQuestionIds", "required">], "required", never>;
12111
12120
  legacyId: import("convex/values").VString<string, "required">;
12112
12121
  mappingId: import("convex/values").VString<string, "required">;
12113
12122
  metadata: import("convex/values").VRecord<Record<string, any> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "optional", string>;
@@ -13957,14 +13966,14 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
13957
13966
  }, {}, {}>;
13958
13967
  tasks: import("convex/server").TableDefinition<import("convex/values").VObject<{
13959
13968
  description?: string | undefined;
13960
- blocks?: import("convex/values").GenericId<"tasks">[] | undefined;
13969
+ blocks?: string[] | undefined;
13961
13970
  topicId?: string | undefined;
13962
13971
  tenantId?: string | undefined;
13963
13972
  workspaceId?: string | undefined;
13964
13973
  tags?: string[] | undefined;
13965
- blockedBy?: import("convex/values").GenericId<"tasks">[] | undefined;
13974
+ blockedBy?: string[] | undefined;
13966
13975
  taskType?: "analysis" | "general" | "find_evidence" | "verify_claim" | "research" | "review" | "interview" | "track_metrics" | undefined;
13967
- linkedWorktreeId?: import("convex/values").GenericId<"worktrees"> | undefined;
13976
+ linkedWorktreeId?: string | undefined;
13968
13977
  linkedBeliefId?: string | undefined;
13969
13978
  linkedQuestionId?: string | undefined;
13970
13979
  assigneeId?: string | undefined;
@@ -14002,7 +14011,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
14002
14011
  mappedQuestions?: {
14003
14012
  priority?: "must_ask" | "nice_to_have" | undefined;
14004
14013
  answered?: boolean | undefined;
14005
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
14014
+ insightId?: string | undefined;
14006
14015
  linkedBeliefId?: string | undefined;
14007
14016
  linkedQuestionId?: string | undefined;
14008
14017
  category?: string | undefined;
@@ -14072,7 +14081,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
14072
14081
  } | undefined;
14073
14082
  } | undefined;
14074
14083
  capturedAsEvidence?: boolean | undefined;
14075
- capturedInsightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
14084
+ capturedInsightId?: string | undefined;
14076
14085
  capturedAt?: number | undefined;
14077
14086
  type: "file" | "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist";
14078
14087
  id: string;
@@ -14095,6 +14104,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
14095
14104
  priority: "high" | "low" | "medium" | "urgent";
14096
14105
  title: string;
14097
14106
  status: "done" | "blocked" | "todo" | "in_progress";
14107
+ globalId: string;
14098
14108
  createdBy: string;
14099
14109
  createdAt: number;
14100
14110
  updatedAt: number;
@@ -14117,7 +14127,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
14117
14127
  mappedQuestions?: {
14118
14128
  priority?: "must_ask" | "nice_to_have" | undefined;
14119
14129
  answered?: boolean | undefined;
14120
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
14130
+ insightId?: string | undefined;
14121
14131
  linkedBeliefId?: string | undefined;
14122
14132
  linkedQuestionId?: string | undefined;
14123
14133
  category?: string | undefined;
@@ -14187,7 +14197,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
14187
14197
  } | undefined;
14188
14198
  } | undefined;
14189
14199
  capturedAsEvidence?: boolean | undefined;
14190
- capturedInsightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
14200
+ capturedInsightId?: string | undefined;
14191
14201
  capturedAt?: number | undefined;
14192
14202
  type: "file" | "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist";
14193
14203
  id: string;
@@ -14212,7 +14222,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
14212
14222
  mappedQuestions?: {
14213
14223
  priority?: "must_ask" | "nice_to_have" | undefined;
14214
14224
  answered?: boolean | undefined;
14215
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
14225
+ insightId?: string | undefined;
14216
14226
  linkedBeliefId?: string | undefined;
14217
14227
  linkedQuestionId?: string | undefined;
14218
14228
  category?: string | undefined;
@@ -14282,7 +14292,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
14282
14292
  } | undefined;
14283
14293
  } | undefined;
14284
14294
  capturedAsEvidence?: boolean | undefined;
14285
- capturedInsightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
14295
+ capturedInsightId?: string | undefined;
14286
14296
  capturedAt?: number | undefined;
14287
14297
  type: "file" | "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist";
14288
14298
  id: string;
@@ -14293,7 +14303,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
14293
14303
  }, {
14294
14304
  capturedAsEvidence: import("convex/values").VBoolean<boolean | undefined, "optional">;
14295
14305
  capturedAt: import("convex/values").VFloat64<number | undefined, "optional">;
14296
- capturedInsightId: import("convex/values").VId<import("convex/values").GenericId<"epistemicNodes"> | undefined, "optional">;
14306
+ capturedInsightId: import("convex/values").VString<string | undefined, "optional">;
14297
14307
  content: import("convex/values").VString<string, "required">;
14298
14308
  createdAt: import("convex/values").VFloat64<number, "required">;
14299
14309
  createdBy: import("convex/values").VString<string, "required">;
@@ -14314,7 +14324,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
14314
14324
  mappedQuestions?: {
14315
14325
  priority?: "must_ask" | "nice_to_have" | undefined;
14316
14326
  answered?: boolean | undefined;
14317
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
14327
+ insightId?: string | undefined;
14318
14328
  linkedBeliefId?: string | undefined;
14319
14329
  linkedQuestionId?: string | undefined;
14320
14330
  category?: string | undefined;
@@ -14442,7 +14452,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
14442
14452
  mappedQuestions: import("convex/values").VArray<{
14443
14453
  priority?: "must_ask" | "nice_to_have" | undefined;
14444
14454
  answered?: boolean | undefined;
14445
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
14455
+ insightId?: string | undefined;
14446
14456
  linkedBeliefId?: string | undefined;
14447
14457
  linkedQuestionId?: string | undefined;
14448
14458
  category?: string | undefined;
@@ -14454,7 +14464,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
14454
14464
  }[] | undefined, import("convex/values").VObject<{
14455
14465
  priority?: "must_ask" | "nice_to_have" | undefined;
14456
14466
  answered?: boolean | undefined;
14457
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
14467
+ insightId?: string | undefined;
14458
14468
  linkedBeliefId?: string | undefined;
14459
14469
  linkedQuestionId?: string | undefined;
14460
14470
  category?: string | undefined;
@@ -14470,7 +14480,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
14470
14480
  capturedAsInsight: import("convex/values").VBoolean<boolean | undefined, "optional">;
14471
14481
  category: import("convex/values").VString<string | undefined, "optional">;
14472
14482
  id: import("convex/values").VString<string, "required">;
14473
- insightId: import("convex/values").VId<import("convex/values").GenericId<"epistemicNodes"> | undefined, "optional">;
14483
+ insightId: import("convex/values").VString<string | undefined, "optional">;
14474
14484
  linkedBeliefId: import("convex/values").VString<string | undefined, "optional">;
14475
14485
  linkedQuestionId: import("convex/values").VString<string | undefined, "optional">;
14476
14486
  priority: import("convex/values").VUnion<"must_ask" | "nice_to_have" | undefined, [import("convex/values").VLiteral<"must_ask", "required">, import("convex/values").VLiteral<"nice_to_have", "required">], "optional", never>;
@@ -14556,9 +14566,9 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
14556
14566
  title: import("convex/values").VString<string, "required">;
14557
14567
  type: import("convex/values").VUnion<"file" | "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist", [import("convex/values").VLiteral<"call_script", "required">, import("convex/values").VLiteral<"email_template", "required">, import("convex/values").VLiteral<"research_plan", "required">, import("convex/values").VLiteral<"framework", "required">, import("convex/values").VLiteral<"checklist", "required">, import("convex/values").VLiteral<"note", "required">, import("convex/values").VLiteral<"file", "required">, import("convex/values").VLiteral<"transcript", "required">], "required", never>;
14558
14568
  }, "required", "type" | "id" | "content" | "title" | "metadata" | "createdBy" | "createdAt" | "capturedAsEvidence" | "capturedInsightId" | "capturedAt" | "metadata.items" | "metadata.linkedBeliefId" | "metadata.linkedQuestionId" | "metadata.fileUrl" | "metadata.fileName" | "metadata.fileSize" | "metadata.frameworkType" | "metadata.variables" | "metadata.mappedQuestions" | "metadata.linkedCallScriptId" | "metadata.editable" | "metadata.executionTool" | "metadata.workflowStepId" | "metadata.workflowOrder" | "metadata.dependsOnStepIds" | "metadata.runCondition" | "metadata.continueOnFailure" | "metadata.stepStatus" | "metadata.stepRunCount" | "metadata.stepLastRunAt" | "metadata.stepOutputSummary" | "metadata.stepOutputData" | "metadata.stepFailureReason" | "metadata.researchResult" | "metadata.researchStatus" | "metadata.researchCompletedAt" | "metadata.researchCitations" | "metadata.generatedPersonas" | "metadata.personasGeneratedAt" | "metadata.expertSearchResults" | "metadata.expertSearchAt" | "metadata.capturedAsEvidence" | "metadata.capturedInsightId" | "metadata.capturedAt" | "metadata.capturedImpact" | "metadata.tools" | "metadata.metrics" | "metadata.personas" | "metadata.experts" | "metadata.factChecker" | "metadata.factChecker.claimsToVerify" | "metadata.factChecker.sourcesToCheck" | "metadata.factChecker.verificationCriteria">, "optional">;
14559
- blockedBy: import("convex/values").VArray<import("convex/values").GenericId<"tasks">[] | undefined, import("convex/values").VId<import("convex/values").GenericId<"tasks">, "required">, "optional">;
14569
+ blockedBy: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
14560
14570
  blockedReason: import("convex/values").VString<string | undefined, "optional">;
14561
- blocks: import("convex/values").VArray<import("convex/values").GenericId<"tasks">[] | undefined, import("convex/values").VId<import("convex/values").GenericId<"tasks">, "required">, "optional">;
14571
+ blocks: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
14562
14572
  comments: import("convex/values").VArray<{
14563
14573
  id: string;
14564
14574
  content: string;
@@ -14588,10 +14598,11 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
14588
14598
  executionStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
14589
14599
  executionStatus: import("convex/values").VUnion<"failed" | "completed" | "running" | "pending" | undefined, [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"completed", "required">, import("convex/values").VLiteral<"failed", "required">], "optional", never>;
14590
14600
  executionType: import("convex/values").VUnion<"manual" | "verify_claim" | "research_search" | "find_news" | "identify_experts" | "market_research" | "generate_primer" | "mcp_research" | "mcp_web_search" | "mcp_capture" | "mcp_network_search" | undefined, [import("convex/values").VLiteral<"research_search", "required">, import("convex/values").VLiteral<"find_news", "required">, import("convex/values").VLiteral<"identify_experts", "required">, import("convex/values").VLiteral<"market_research", "required">, import("convex/values").VLiteral<"generate_primer", "required">, import("convex/values").VLiteral<"verify_claim", "required">, import("convex/values").VLiteral<"manual", "required">, import("convex/values").VLiteral<"mcp_research", "required">, import("convex/values").VLiteral<"mcp_web_search", "required">, import("convex/values").VLiteral<"mcp_capture", "required">, import("convex/values").VLiteral<"mcp_network_search", "required">], "optional", never>;
14601
+ globalId: import("convex/values").VString<string, "required">;
14591
14602
  linkedBeliefId: import("convex/values").VString<string | undefined, "optional">;
14592
14603
  linkedChatId: import("convex/values").VString<string | undefined, "optional">;
14593
14604
  linkedQuestionId: import("convex/values").VString<string | undefined, "optional">;
14594
- linkedWorktreeId: import("convex/values").VId<import("convex/values").GenericId<"worktrees"> | undefined, "optional">;
14605
+ linkedWorktreeId: import("convex/values").VString<string | undefined, "optional">;
14595
14606
  mcpDatasetIds: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
14596
14607
  mcpExecutionId: import("convex/values").VString<string | undefined, "optional">;
14597
14608
  mcpSkillIds: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
@@ -14621,7 +14632,8 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
14621
14632
  topicId: import("convex/values").VString<string | undefined, "optional">;
14622
14633
  updatedAt: import("convex/values").VFloat64<number, "required">;
14623
14634
  workspaceId: import("convex/values").VString<string | undefined, "optional">;
14624
- }, "required", "priority" | "title" | "description" | "status" | "blocks" | "topicId" | "createdBy" | "tenantId" | "workspaceId" | "createdAt" | "updatedAt" | "tags" | "blockedBy" | "taskType" | "linkedWorktreeId" | "linkedBeliefId" | "linkedQuestionId" | "assigneeId" | "dueDate" | "completedAt" | "blockedReason" | "sortOrder" | "executionOrder" | "subtasks" | "comments" | "attachments" | "executionType" | "executionStatus" | "executionResults" | "executionStartedAt" | "executionCompletedAt" | "executionError" | "mcpDatasetIds" | "mcpSkillIds" | "mcpExecutionId" | "linkedChatId" | "completedBy" | `executionResults.${string}`>, {
14635
+ }, "required", "priority" | "title" | "description" | "status" | "blocks" | "globalId" | "topicId" | "createdBy" | "tenantId" | "workspaceId" | "createdAt" | "updatedAt" | "tags" | "blockedBy" | "taskType" | "linkedWorktreeId" | "linkedBeliefId" | "linkedQuestionId" | "assigneeId" | "dueDate" | "completedAt" | "blockedReason" | "sortOrder" | "executionOrder" | "subtasks" | "comments" | "attachments" | "executionType" | "executionStatus" | "executionResults" | "executionStartedAt" | "executionCompletedAt" | "executionError" | "mcpDatasetIds" | "mcpSkillIds" | "mcpExecutionId" | "linkedChatId" | "completedBy" | `executionResults.${string}`>, {
14636
+ by_globalId: ["globalId", "_creationTime"];
14625
14637
  by_topicId: ["topicId", "_creationTime"];
14626
14638
  by_topicId_status: ["topicId", "status", "_creationTime"];
14627
14639
  by_tenantId: ["tenantId", "_creationTime"];
@@ -14794,7 +14806,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
14794
14806
  llmEvidenceScores?: string | undefined;
14795
14807
  llmAssessedAt?: number | undefined;
14796
14808
  beliefId: string;
14797
- worktreeId: import("convex/values").GenericId<"worktrees">;
14809
+ worktreeId: string;
14798
14810
  updatedAt: number;
14799
14811
  relationType: "conditional" | "primary" | "supporting" | "contradicting" | "counterfactual" | "cascade" | "alternative" | "dependency" | "prerequisite";
14800
14812
  addedAt: number;
@@ -14817,7 +14829,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
14817
14829
  relationDescription: import("convex/values").VString<string | undefined, "optional">;
14818
14830
  relationType: import("convex/values").VUnion<"conditional" | "primary" | "supporting" | "contradicting" | "counterfactual" | "cascade" | "alternative" | "dependency" | "prerequisite", [import("convex/values").VLiteral<"primary", "required">, import("convex/values").VLiteral<"counterfactual", "required">, import("convex/values").VLiteral<"dependency", "required">, import("convex/values").VLiteral<"cascade", "required">, import("convex/values").VLiteral<"conditional", "required">, import("convex/values").VLiteral<"supporting", "required">, import("convex/values").VLiteral<"contradicting", "required">, import("convex/values").VLiteral<"alternative", "required">, import("convex/values").VLiteral<"prerequisite", "required">], "required", never>;
14819
14831
  updatedAt: import("convex/values").VFloat64<number, "required">;
14820
- worktreeId: import("convex/values").VId<import("convex/values").GenericId<"worktrees">, "required">;
14832
+ worktreeId: import("convex/values").VString<string, "required">;
14821
14833
  }, "required", "beliefId" | "worktreeId" | "updatedAt" | "confidenceDelta" | "relationType" | "relationDescription" | "counterfactualText" | "dependencyText" | "cascadeText" | "initialConfidence" | "initialEvidenceCount" | "finalConfidence" | "finalEvidenceCount" | "llmValence" | "llmCertainty" | "llmReasoning" | "llmEvidenceScores" | "llmAssessedAt" | "addedAt">, {
14822
14834
  by_worktree: ["worktreeId", "_creationTime"];
14823
14835
  by_belief: ["beliefId", "_creationTime"];
@@ -14826,10 +14838,9 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
14826
14838
  worktrees: import("convex/server").TableDefinition<import("convex/values").VObject<{
14827
14839
  priority?: number | undefined;
14828
14840
  metadata?: any;
14829
- blocks?: import("convex/values").GenericId<"worktrees">[] | undefined;
14830
- globalId?: string | undefined;
14841
+ blocks?: string[] | undefined;
14831
14842
  campaign?: number | undefined;
14832
- dependsOn?: import("convex/values").GenericId<"worktrees">[] | undefined;
14843
+ dependsOn?: string[] | undefined;
14833
14844
  topicId?: string | undefined;
14834
14845
  lane?: string | undefined;
14835
14846
  orderInLane?: number | undefined;
@@ -14966,7 +14977,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
14966
14977
  text: string;
14967
14978
  verified: boolean;
14968
14979
  }[];
14969
- worktreeId: import("convex/values").GenericId<"worktrees">;
14980
+ worktreeId: string;
14970
14981
  outcome: {
14971
14982
  summary: string;
14972
14983
  verdict: string;
@@ -15077,6 +15088,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
15077
15088
  index: number;
15078
15089
  name: string;
15079
15090
  status: "active" | "completed" | "paused" | "abandoned" | "planning" | "suggested" | "dismissed";
15091
+ globalId: string;
15080
15092
  createdBy: string;
15081
15093
  targetBeliefIds: string[];
15082
15094
  targetQuestionIds: string[];
@@ -15123,7 +15135,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
15123
15135
  timeframe: import("convex/values").VString<string | undefined, "optional">;
15124
15136
  }, "optional", "checklist" | "isRefined" | "refinedAt" | "refinedBy" | "originalText" | "refinedText" | "testingCriteria" | "measurableCriteria" | "timeframe" | "checklist.hasSpecificClaim" | "checklist.hasTimeframe" | "checklist.hasMeasurableCriteria" | "checklist.hasTestability">;
15125
15137
  beliefRefinements: import("convex/values").VArray<any[] | undefined, import("convex/values").VAny<any, "required", string>, "optional">;
15126
- blocks: import("convex/values").VArray<import("convex/values").GenericId<"worktrees">[] | undefined, import("convex/values").VId<import("convex/values").GenericId<"worktrees">, "required">, "optional">;
15138
+ blocks: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
15127
15139
  branchThesis: import("convex/values").VObject<{
15128
15140
  generatedAt?: number | undefined;
15129
15141
  memoContent?: string | undefined;
@@ -15206,7 +15218,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
15206
15218
  verdictRationale: import("convex/values").VString<string | undefined, "optional">;
15207
15219
  }, "optional", "decidedAt" | "goCriteria" | "noGoSignals" | "verdict" | "verdictRationale" | "decidedBy">;
15208
15220
  decisionsReached: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
15209
- dependsOn: import("convex/values").VArray<import("convex/values").GenericId<"worktrees">[] | undefined, import("convex/values").VId<import("convex/values").GenericId<"worktrees">, "required">, "optional">;
15221
+ dependsOn: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
15210
15222
  dismissedReason: import("convex/values").VString<string | undefined, "optional">;
15211
15223
  durationWeeks: import("convex/values").VFloat64<number, "required">;
15212
15224
  endDate: import("convex/values").VFloat64<number, "required">;
@@ -15266,7 +15278,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
15266
15278
  text: string;
15267
15279
  verified: boolean;
15268
15280
  }[];
15269
- worktreeId: import("convex/values").GenericId<"worktrees">;
15281
+ worktreeId: string;
15270
15282
  outcome: {
15271
15283
  summary: string;
15272
15284
  verdict: string;
@@ -15456,7 +15468,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
15456
15468
  tasksCompleted: import("convex/values").VFloat64<number | undefined, "optional">;
15457
15469
  topicId: import("convex/values").VString<string | undefined, "optional">;
15458
15470
  totalTasks: import("convex/values").VFloat64<number | undefined, "optional">;
15459
- worktreeId: import("convex/values").VId<import("convex/values").GenericId<"worktrees">, "required">;
15471
+ worktreeId: import("convex/values").VString<string, "required">;
15460
15472
  }, "optional", "evidence" | "topicId" | "worktreeId" | "outcome" | "questions" | "capturedAt" | "capturedBy" | "primaryBelief" | "clusterEdges" | "relatedBeliefs" | "tasksCompleted" | "totalTasks" | "confidenceHistory" | "outcome.summary" | "outcome.verdict" | "outcome.startingConfidence" | "outcome.endingConfidence" | "outcome.confidenceChange" | "primaryBelief.id" | "primaryBelief.text" | "primaryBelief.status" | "primaryBelief.startingConfidence" | "primaryBelief.endingConfidence" | "primaryBelief.startingConfidenceLabel" | "primaryBelief.endingConfidenceLabel" | "primaryBelief.confidenceScore" | "primaryBelief.criticality">;
15461
15473
  epistemicOrigin: import("convex/values").VString<string | undefined, "optional">;
15462
15474
  evidenceReviewState: import("convex/values").VObject<{
@@ -15509,7 +15521,7 @@ export declare const KERNEL_TIER_SCHEMA_TABLES: {
15509
15521
  gate: import("convex/values").VString<string | undefined, "optional">;
15510
15522
  generatedAt: import("convex/values").VFloat64<number | undefined, "optional">;
15511
15523
  generatedBy: import("convex/values").VString<string | undefined, "optional">;
15512
- globalId: import("convex/values").VString<string | undefined, "optional">;
15524
+ globalId: import("convex/values").VString<string, "required">;
15513
15525
  hypothesis: import("convex/values").VString<string | undefined, "optional">;
15514
15526
  index: import("convex/values").VFloat64<number, "required">;
15515
15527
  keyFindings: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
@@ -17582,7 +17594,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
17582
17594
  triggeringEvidenceId?: string | undefined;
17583
17595
  triggeringQuestionId?: string | undefined;
17584
17596
  triggeringAnswerId?: string | undefined;
17585
- triggeringContradictionId?: import("convex/values").GenericId<"contradictions"> | undefined;
17597
+ triggeringContradictionId?: string | undefined;
17586
17598
  triggeringWorktreeId?: string | undefined;
17587
17599
  slOperator?: string | undefined;
17588
17600
  confidenceLevel?: "high" | "low" | "medium" | undefined;
@@ -17616,7 +17628,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
17616
17628
  trigger: import("convex/values").VUnion<"worktree_completed" | "evidence_added" | "evidence_removed" | "contradiction_detected" | "contradiction_resolved" | "agent_assessment" | "worktree_outcome" | "fusion" | "discount" | "deduction" | "backfill_synthetic" | "initial" | "propagation", [import("convex/values").VLiteral<"initial", "required">, import("convex/values").VLiteral<"evidence_added", "required">, import("convex/values").VLiteral<"evidence_removed", "required">, import("convex/values").VLiteral<"contradiction_detected", "required">, import("convex/values").VLiteral<"contradiction_resolved", "required">, import("convex/values").VLiteral<"propagation", "required">, import("convex/values").VLiteral<"agent_assessment", "required">, import("convex/values").VLiteral<"worktree_outcome", "required">, import("convex/values").VLiteral<"worktree_completed", "required">, import("convex/values").VLiteral<"fusion", "required">, import("convex/values").VLiteral<"discount", "required">, import("convex/values").VLiteral<"deduction", "required">, import("convex/values").VLiteral<"backfill_synthetic", "required">], "required", never>;
17617
17629
  triggeringAgentId: import("convex/values").VString<string | undefined, "optional">;
17618
17630
  triggeringAnswerId: import("convex/values").VString<string | undefined, "optional">;
17619
- triggeringContradictionId: import("convex/values").VId<import("convex/values").GenericId<"contradictions"> | undefined, "optional">;
17631
+ triggeringContradictionId: import("convex/values").VString<string | undefined, "optional">;
17620
17632
  triggeringEvidenceId: import("convex/values").VString<string | undefined, "optional">;
17621
17633
  triggeringEvidenceIds: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
17622
17634
  triggeringQuestionId: import("convex/values").VString<string | undefined, "optional">;
@@ -17926,6 +17938,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
17926
17938
  similarityScore?: number | undefined;
17927
17939
  resolvedAt?: number | undefined;
17928
17940
  lastReviewedAt?: number | undefined;
17941
+ globalId: string;
17929
17942
  severity: "critical" | "significant" | "minor";
17930
17943
  beliefId: string;
17931
17944
  createdBy: string;
@@ -17954,6 +17967,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
17954
17967
  createdBy: import("convex/values").VString<string, "required">;
17955
17968
  detectedAt: import("convex/values").VFloat64<number, "required">;
17956
17969
  detectionMethod: import("convex/values").VUnion<"manual" | "agent" | "semantic" | "keyword" | undefined, [import("convex/values").VLiteral<"semantic", "required">, import("convex/values").VLiteral<"keyword", "required">, import("convex/values").VLiteral<"manual", "required">, import("convex/values").VLiteral<"agent", "required">], "optional", never>;
17970
+ globalId: import("convex/values").VString<string, "required">;
17957
17971
  lastReviewedAt: import("convex/values").VFloat64<number | undefined, "optional">;
17958
17972
  resolution: import("convex/values").VObject<{
17959
17973
  reasoning: string;
@@ -17975,7 +17989,8 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
17975
17989
  status: import("convex/values").VUnion<"unresolved" | "resolved_support" | "resolved_contra" | "belief_forked" | "investigating" | undefined, [import("convex/values").VLiteral<"unresolved", "required">, import("convex/values").VLiteral<"investigating", "required">, import("convex/values").VLiteral<"resolved_support", "required">, import("convex/values").VLiteral<"resolved_contra", "required">, import("convex/values").VLiteral<"belief_forked", "required">], "optional", never>;
17976
17990
  supportingInsightIds: import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">;
17977
17991
  topicId: import("convex/values").VString<string | undefined, "optional">;
17978
- }, "required", "resolution" | "status" | "severity" | "topicId" | "beliefId" | "createdBy" | "supportingInsightIds" | "contradictingInsightIds" | "aiAnalysis" | "resolutionStatus" | "blocksDecisionFinalization" | "blockingReason" | "resolutionWorktreeId" | "resultingBeliefIds" | "detectionMethod" | "similarityScore" | "detectedAt" | "resolvedAt" | "lastReviewedAt" | "resolution.reasoning" | "resolution.verdict" | "resolution.beliefUpdate" | "resolution.resolvedBy" | "aiAnalysis.summary" | "aiAnalysis.likelyExplanation" | "aiAnalysis.suggestedResolution" | "aiAnalysis.confidenceInAnalysis" | "aiAnalysis.analyzedAt">, {
17992
+ }, "required", "resolution" | "status" | "globalId" | "severity" | "topicId" | "beliefId" | "createdBy" | "supportingInsightIds" | "contradictingInsightIds" | "aiAnalysis" | "resolutionStatus" | "blocksDecisionFinalization" | "blockingReason" | "resolutionWorktreeId" | "resultingBeliefIds" | "detectionMethod" | "similarityScore" | "detectedAt" | "resolvedAt" | "lastReviewedAt" | "resolution.reasoning" | "resolution.verdict" | "resolution.beliefUpdate" | "resolution.resolvedBy" | "aiAnalysis.summary" | "aiAnalysis.likelyExplanation" | "aiAnalysis.suggestedResolution" | "aiAnalysis.confidenceInAnalysis" | "aiAnalysis.analyzedAt">, {
17993
+ by_globalId: ["globalId", "_creationTime"];
17979
17994
  by_topicId: ["topicId", "_creationTime"];
17980
17995
  by_topic_resolutionStatus: ["topicId", "resolutionStatus", "_creationTime"];
17981
17996
  by_topic_status: ["topicId", "status", "_creationTime"];
@@ -18382,7 +18397,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
18382
18397
  tenantId?: string | undefined;
18383
18398
  workspaceId?: string | undefined;
18384
18399
  traceId?: string | undefined;
18385
- linkedBeliefNodeId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
18400
+ linkedBeliefNodeId?: string | undefined;
18386
18401
  completedAt?: number | undefined;
18387
18402
  projectId?: string | undefined;
18388
18403
  replayHeadAt?: number | undefined;
@@ -18404,18 +18419,18 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
18404
18419
  }[];
18405
18420
  modelSlots: string[];
18406
18421
  replayBaselineAt: number;
18407
- contradictionIds: import("convex/values").GenericId<"contradictions">[];
18408
- escalationQuestionIds: import("convex/values").GenericId<"epistemicNodes">[];
18422
+ contradictionIds: string[];
18423
+ escalationQuestionIds: string[];
18409
18424
  }, {
18410
18425
  completedAt: import("convex/values").VFloat64<number | undefined, "optional">;
18411
18426
  contextBrief: import("convex/values").VString<string | undefined, "optional">;
18412
18427
  contextSnapshot: import("convex/values").VAny<any, "optional", string>;
18413
- contradictionIds: import("convex/values").VArray<import("convex/values").GenericId<"contradictions">[], import("convex/values").VId<import("convex/values").GenericId<"contradictions">, "required">, "required">;
18428
+ contradictionIds: import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">;
18414
18429
  createdAt: import("convex/values").VFloat64<number, "required">;
18415
18430
  createdBy: import("convex/values").VString<string, "required">;
18416
18431
  error: import("convex/values").VString<string | undefined, "optional">;
18417
- escalationQuestionIds: import("convex/values").VArray<import("convex/values").GenericId<"epistemicNodes">[], import("convex/values").VId<import("convex/values").GenericId<"epistemicNodes">, "required">, "required">;
18418
- linkedBeliefNodeId: import("convex/values").VId<import("convex/values").GenericId<"epistemicNodes"> | undefined, "optional">;
18432
+ escalationQuestionIds: import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">;
18433
+ linkedBeliefNodeId: import("convex/values").VString<string | undefined, "optional">;
18419
18434
  modelSlots: import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">;
18420
18435
  outcomeSummary: import("convex/values").VAny<any, "optional", string>;
18421
18436
  principalId: import("convex/values").VString<string, "required">;
@@ -18846,8 +18861,8 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
18846
18861
  updatedAt: number;
18847
18862
  legacyId: string;
18848
18863
  mappingId: string;
18849
- entityTable: "epistemicEdges" | "epistemicNodes" | "worktrees";
18850
- legacyField: "globalId" | "fromNodeId" | "toNodeId" | "_id" | "topicId" | "nodeId" | "beliefId" | "evidenceId" | "questionId" | "worktreeId" | "targetBeliefIds" | "targetQuestionIds" | "edgeId" | "insightId";
18864
+ entityTable: "contradictions" | "epistemicEdges" | "epistemicNodes" | "tasks" | "worktrees";
18865
+ legacyField: "globalId" | "fromNodeId" | "toNodeId" | "_id" | "topicId" | "nodeId" | "beliefId" | "evidenceId" | "questionId" | "worktreeId" | "targetBeliefIds" | "targetQuestionIds" | "edgeId" | "insightId" | "contradictionId" | "taskId";
18851
18866
  canonicalField: "globalId";
18852
18867
  migrationRunId: string;
18853
18868
  }, {
@@ -18855,8 +18870,8 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
18855
18870
  canonicalField: import("convex/values").VLiteral<"globalId", "required">;
18856
18871
  canonicalUuid: import("convex/values").VString<string, "required">;
18857
18872
  createdAt: import("convex/values").VFloat64<number, "required">;
18858
- entityTable: import("convex/values").VUnion<"epistemicEdges" | "epistemicNodes" | "worktrees", [import("convex/values").VLiteral<"epistemicNodes", "required">, import("convex/values").VLiteral<"epistemicEdges", "required">, import("convex/values").VLiteral<"worktrees", "required">], "required", never>;
18859
- legacyField: import("convex/values").VUnion<"globalId" | "fromNodeId" | "toNodeId" | "_id" | "topicId" | "nodeId" | "beliefId" | "evidenceId" | "questionId" | "worktreeId" | "targetBeliefIds" | "targetQuestionIds" | "edgeId" | "insightId", [import("convex/values").VLiteral<"_id", "required">, import("convex/values").VLiteral<"nodeId", "required">, import("convex/values").VLiteral<"edgeId", "required">, import("convex/values").VLiteral<"beliefId", "required">, import("convex/values").VLiteral<"evidenceId", "required">, import("convex/values").VLiteral<"insightId", "required">, import("convex/values").VLiteral<"questionId", "required">, import("convex/values").VLiteral<"topicId", "required">, import("convex/values").VLiteral<"worktreeId", "required">, import("convex/values").VLiteral<"globalId", "required">, import("convex/values").VLiteral<"fromNodeId", "required">, import("convex/values").VLiteral<"toNodeId", "required">, import("convex/values").VLiteral<"targetBeliefIds", "required">, import("convex/values").VLiteral<"targetQuestionIds", "required">], "required", never>;
18873
+ entityTable: import("convex/values").VUnion<"contradictions" | "epistemicEdges" | "epistemicNodes" | "tasks" | "worktrees", [import("convex/values").VLiteral<"epistemicNodes", "required">, import("convex/values").VLiteral<"epistemicEdges", "required">, import("convex/values").VLiteral<"worktrees", "required">, import("convex/values").VLiteral<"tasks", "required">, import("convex/values").VLiteral<"contradictions", "required">], "required", never>;
18874
+ legacyField: import("convex/values").VUnion<"globalId" | "fromNodeId" | "toNodeId" | "_id" | "topicId" | "nodeId" | "beliefId" | "evidenceId" | "questionId" | "worktreeId" | "targetBeliefIds" | "targetQuestionIds" | "edgeId" | "insightId" | "contradictionId" | "taskId", [import("convex/values").VLiteral<"_id", "required">, import("convex/values").VLiteral<"nodeId", "required">, import("convex/values").VLiteral<"edgeId", "required">, import("convex/values").VLiteral<"beliefId", "required">, import("convex/values").VLiteral<"evidenceId", "required">, import("convex/values").VLiteral<"insightId", "required">, import("convex/values").VLiteral<"questionId", "required">, import("convex/values").VLiteral<"topicId", "required">, import("convex/values").VLiteral<"worktreeId", "required">, import("convex/values").VLiteral<"taskId", "required">, import("convex/values").VLiteral<"contradictionId", "required">, import("convex/values").VLiteral<"globalId", "required">, import("convex/values").VLiteral<"fromNodeId", "required">, import("convex/values").VLiteral<"toNodeId", "required">, import("convex/values").VLiteral<"targetBeliefIds", "required">, import("convex/values").VLiteral<"targetQuestionIds", "required">], "required", never>;
18860
18875
  legacyId: import("convex/values").VString<string, "required">;
18861
18876
  mappingId: import("convex/values").VString<string, "required">;
18862
18877
  metadata: import("convex/values").VRecord<Record<string, any> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "optional", string>;
@@ -20706,14 +20721,14 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
20706
20721
  }, {}, {}>;
20707
20722
  tasks: import("convex/server").TableDefinition<import("convex/values").VObject<{
20708
20723
  description?: string | undefined;
20709
- blocks?: import("convex/values").GenericId<"tasks">[] | undefined;
20724
+ blocks?: string[] | undefined;
20710
20725
  topicId?: string | undefined;
20711
20726
  tenantId?: string | undefined;
20712
20727
  workspaceId?: string | undefined;
20713
20728
  tags?: string[] | undefined;
20714
- blockedBy?: import("convex/values").GenericId<"tasks">[] | undefined;
20729
+ blockedBy?: string[] | undefined;
20715
20730
  taskType?: "analysis" | "general" | "find_evidence" | "verify_claim" | "research" | "review" | "interview" | "track_metrics" | undefined;
20716
- linkedWorktreeId?: import("convex/values").GenericId<"worktrees"> | undefined;
20731
+ linkedWorktreeId?: string | undefined;
20717
20732
  linkedBeliefId?: string | undefined;
20718
20733
  linkedQuestionId?: string | undefined;
20719
20734
  assigneeId?: string | undefined;
@@ -20751,7 +20766,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
20751
20766
  mappedQuestions?: {
20752
20767
  priority?: "must_ask" | "nice_to_have" | undefined;
20753
20768
  answered?: boolean | undefined;
20754
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
20769
+ insightId?: string | undefined;
20755
20770
  linkedBeliefId?: string | undefined;
20756
20771
  linkedQuestionId?: string | undefined;
20757
20772
  category?: string | undefined;
@@ -20821,7 +20836,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
20821
20836
  } | undefined;
20822
20837
  } | undefined;
20823
20838
  capturedAsEvidence?: boolean | undefined;
20824
- capturedInsightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
20839
+ capturedInsightId?: string | undefined;
20825
20840
  capturedAt?: number | undefined;
20826
20841
  type: "file" | "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist";
20827
20842
  id: string;
@@ -20844,6 +20859,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
20844
20859
  priority: "high" | "low" | "medium" | "urgent";
20845
20860
  title: string;
20846
20861
  status: "done" | "blocked" | "todo" | "in_progress";
20862
+ globalId: string;
20847
20863
  createdBy: string;
20848
20864
  createdAt: number;
20849
20865
  updatedAt: number;
@@ -20866,7 +20882,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
20866
20882
  mappedQuestions?: {
20867
20883
  priority?: "must_ask" | "nice_to_have" | undefined;
20868
20884
  answered?: boolean | undefined;
20869
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
20885
+ insightId?: string | undefined;
20870
20886
  linkedBeliefId?: string | undefined;
20871
20887
  linkedQuestionId?: string | undefined;
20872
20888
  category?: string | undefined;
@@ -20936,7 +20952,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
20936
20952
  } | undefined;
20937
20953
  } | undefined;
20938
20954
  capturedAsEvidence?: boolean | undefined;
20939
- capturedInsightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
20955
+ capturedInsightId?: string | undefined;
20940
20956
  capturedAt?: number | undefined;
20941
20957
  type: "file" | "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist";
20942
20958
  id: string;
@@ -20961,7 +20977,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
20961
20977
  mappedQuestions?: {
20962
20978
  priority?: "must_ask" | "nice_to_have" | undefined;
20963
20979
  answered?: boolean | undefined;
20964
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
20980
+ insightId?: string | undefined;
20965
20981
  linkedBeliefId?: string | undefined;
20966
20982
  linkedQuestionId?: string | undefined;
20967
20983
  category?: string | undefined;
@@ -21031,7 +21047,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
21031
21047
  } | undefined;
21032
21048
  } | undefined;
21033
21049
  capturedAsEvidence?: boolean | undefined;
21034
- capturedInsightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
21050
+ capturedInsightId?: string | undefined;
21035
21051
  capturedAt?: number | undefined;
21036
21052
  type: "file" | "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist";
21037
21053
  id: string;
@@ -21042,7 +21058,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
21042
21058
  }, {
21043
21059
  capturedAsEvidence: import("convex/values").VBoolean<boolean | undefined, "optional">;
21044
21060
  capturedAt: import("convex/values").VFloat64<number | undefined, "optional">;
21045
- capturedInsightId: import("convex/values").VId<import("convex/values").GenericId<"epistemicNodes"> | undefined, "optional">;
21061
+ capturedInsightId: import("convex/values").VString<string | undefined, "optional">;
21046
21062
  content: import("convex/values").VString<string, "required">;
21047
21063
  createdAt: import("convex/values").VFloat64<number, "required">;
21048
21064
  createdBy: import("convex/values").VString<string, "required">;
@@ -21063,7 +21079,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
21063
21079
  mappedQuestions?: {
21064
21080
  priority?: "must_ask" | "nice_to_have" | undefined;
21065
21081
  answered?: boolean | undefined;
21066
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
21082
+ insightId?: string | undefined;
21067
21083
  linkedBeliefId?: string | undefined;
21068
21084
  linkedQuestionId?: string | undefined;
21069
21085
  category?: string | undefined;
@@ -21191,7 +21207,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
21191
21207
  mappedQuestions: import("convex/values").VArray<{
21192
21208
  priority?: "must_ask" | "nice_to_have" | undefined;
21193
21209
  answered?: boolean | undefined;
21194
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
21210
+ insightId?: string | undefined;
21195
21211
  linkedBeliefId?: string | undefined;
21196
21212
  linkedQuestionId?: string | undefined;
21197
21213
  category?: string | undefined;
@@ -21203,7 +21219,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
21203
21219
  }[] | undefined, import("convex/values").VObject<{
21204
21220
  priority?: "must_ask" | "nice_to_have" | undefined;
21205
21221
  answered?: boolean | undefined;
21206
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
21222
+ insightId?: string | undefined;
21207
21223
  linkedBeliefId?: string | undefined;
21208
21224
  linkedQuestionId?: string | undefined;
21209
21225
  category?: string | undefined;
@@ -21219,7 +21235,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
21219
21235
  capturedAsInsight: import("convex/values").VBoolean<boolean | undefined, "optional">;
21220
21236
  category: import("convex/values").VString<string | undefined, "optional">;
21221
21237
  id: import("convex/values").VString<string, "required">;
21222
- insightId: import("convex/values").VId<import("convex/values").GenericId<"epistemicNodes"> | undefined, "optional">;
21238
+ insightId: import("convex/values").VString<string | undefined, "optional">;
21223
21239
  linkedBeliefId: import("convex/values").VString<string | undefined, "optional">;
21224
21240
  linkedQuestionId: import("convex/values").VString<string | undefined, "optional">;
21225
21241
  priority: import("convex/values").VUnion<"must_ask" | "nice_to_have" | undefined, [import("convex/values").VLiteral<"must_ask", "required">, import("convex/values").VLiteral<"nice_to_have", "required">], "optional", never>;
@@ -21305,9 +21321,9 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
21305
21321
  title: import("convex/values").VString<string, "required">;
21306
21322
  type: import("convex/values").VUnion<"file" | "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist", [import("convex/values").VLiteral<"call_script", "required">, import("convex/values").VLiteral<"email_template", "required">, import("convex/values").VLiteral<"research_plan", "required">, import("convex/values").VLiteral<"framework", "required">, import("convex/values").VLiteral<"checklist", "required">, import("convex/values").VLiteral<"note", "required">, import("convex/values").VLiteral<"file", "required">, import("convex/values").VLiteral<"transcript", "required">], "required", never>;
21307
21323
  }, "required", "type" | "id" | "content" | "title" | "metadata" | "createdBy" | "createdAt" | "capturedAsEvidence" | "capturedInsightId" | "capturedAt" | "metadata.items" | "metadata.linkedBeliefId" | "metadata.linkedQuestionId" | "metadata.fileUrl" | "metadata.fileName" | "metadata.fileSize" | "metadata.frameworkType" | "metadata.variables" | "metadata.mappedQuestions" | "metadata.linkedCallScriptId" | "metadata.editable" | "metadata.executionTool" | "metadata.workflowStepId" | "metadata.workflowOrder" | "metadata.dependsOnStepIds" | "metadata.runCondition" | "metadata.continueOnFailure" | "metadata.stepStatus" | "metadata.stepRunCount" | "metadata.stepLastRunAt" | "metadata.stepOutputSummary" | "metadata.stepOutputData" | "metadata.stepFailureReason" | "metadata.researchResult" | "metadata.researchStatus" | "metadata.researchCompletedAt" | "metadata.researchCitations" | "metadata.generatedPersonas" | "metadata.personasGeneratedAt" | "metadata.expertSearchResults" | "metadata.expertSearchAt" | "metadata.capturedAsEvidence" | "metadata.capturedInsightId" | "metadata.capturedAt" | "metadata.capturedImpact" | "metadata.tools" | "metadata.metrics" | "metadata.personas" | "metadata.experts" | "metadata.factChecker" | "metadata.factChecker.claimsToVerify" | "metadata.factChecker.sourcesToCheck" | "metadata.factChecker.verificationCriteria">, "optional">;
21308
- blockedBy: import("convex/values").VArray<import("convex/values").GenericId<"tasks">[] | undefined, import("convex/values").VId<import("convex/values").GenericId<"tasks">, "required">, "optional">;
21324
+ blockedBy: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
21309
21325
  blockedReason: import("convex/values").VString<string | undefined, "optional">;
21310
- blocks: import("convex/values").VArray<import("convex/values").GenericId<"tasks">[] | undefined, import("convex/values").VId<import("convex/values").GenericId<"tasks">, "required">, "optional">;
21326
+ blocks: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
21311
21327
  comments: import("convex/values").VArray<{
21312
21328
  id: string;
21313
21329
  content: string;
@@ -21337,10 +21353,11 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
21337
21353
  executionStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
21338
21354
  executionStatus: import("convex/values").VUnion<"failed" | "completed" | "running" | "pending" | undefined, [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"completed", "required">, import("convex/values").VLiteral<"failed", "required">], "optional", never>;
21339
21355
  executionType: import("convex/values").VUnion<"manual" | "verify_claim" | "research_search" | "find_news" | "identify_experts" | "market_research" | "generate_primer" | "mcp_research" | "mcp_web_search" | "mcp_capture" | "mcp_network_search" | undefined, [import("convex/values").VLiteral<"research_search", "required">, import("convex/values").VLiteral<"find_news", "required">, import("convex/values").VLiteral<"identify_experts", "required">, import("convex/values").VLiteral<"market_research", "required">, import("convex/values").VLiteral<"generate_primer", "required">, import("convex/values").VLiteral<"verify_claim", "required">, import("convex/values").VLiteral<"manual", "required">, import("convex/values").VLiteral<"mcp_research", "required">, import("convex/values").VLiteral<"mcp_web_search", "required">, import("convex/values").VLiteral<"mcp_capture", "required">, import("convex/values").VLiteral<"mcp_network_search", "required">], "optional", never>;
21356
+ globalId: import("convex/values").VString<string, "required">;
21340
21357
  linkedBeliefId: import("convex/values").VString<string | undefined, "optional">;
21341
21358
  linkedChatId: import("convex/values").VString<string | undefined, "optional">;
21342
21359
  linkedQuestionId: import("convex/values").VString<string | undefined, "optional">;
21343
- linkedWorktreeId: import("convex/values").VId<import("convex/values").GenericId<"worktrees"> | undefined, "optional">;
21360
+ linkedWorktreeId: import("convex/values").VString<string | undefined, "optional">;
21344
21361
  mcpDatasetIds: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
21345
21362
  mcpExecutionId: import("convex/values").VString<string | undefined, "optional">;
21346
21363
  mcpSkillIds: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
@@ -21370,7 +21387,8 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
21370
21387
  topicId: import("convex/values").VString<string | undefined, "optional">;
21371
21388
  updatedAt: import("convex/values").VFloat64<number, "required">;
21372
21389
  workspaceId: import("convex/values").VString<string | undefined, "optional">;
21373
- }, "required", "priority" | "title" | "description" | "status" | "blocks" | "topicId" | "createdBy" | "tenantId" | "workspaceId" | "createdAt" | "updatedAt" | "tags" | "blockedBy" | "taskType" | "linkedWorktreeId" | "linkedBeliefId" | "linkedQuestionId" | "assigneeId" | "dueDate" | "completedAt" | "blockedReason" | "sortOrder" | "executionOrder" | "subtasks" | "comments" | "attachments" | "executionType" | "executionStatus" | "executionResults" | "executionStartedAt" | "executionCompletedAt" | "executionError" | "mcpDatasetIds" | "mcpSkillIds" | "mcpExecutionId" | "linkedChatId" | "completedBy" | `executionResults.${string}`>, {
21390
+ }, "required", "priority" | "title" | "description" | "status" | "blocks" | "globalId" | "topicId" | "createdBy" | "tenantId" | "workspaceId" | "createdAt" | "updatedAt" | "tags" | "blockedBy" | "taskType" | "linkedWorktreeId" | "linkedBeliefId" | "linkedQuestionId" | "assigneeId" | "dueDate" | "completedAt" | "blockedReason" | "sortOrder" | "executionOrder" | "subtasks" | "comments" | "attachments" | "executionType" | "executionStatus" | "executionResults" | "executionStartedAt" | "executionCompletedAt" | "executionError" | "mcpDatasetIds" | "mcpSkillIds" | "mcpExecutionId" | "linkedChatId" | "completedBy" | `executionResults.${string}`>, {
21391
+ by_globalId: ["globalId", "_creationTime"];
21374
21392
  by_topicId: ["topicId", "_creationTime"];
21375
21393
  by_topicId_status: ["topicId", "status", "_creationTime"];
21376
21394
  by_tenantId: ["tenantId", "_creationTime"];
@@ -21543,7 +21561,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
21543
21561
  llmEvidenceScores?: string | undefined;
21544
21562
  llmAssessedAt?: number | undefined;
21545
21563
  beliefId: string;
21546
- worktreeId: import("convex/values").GenericId<"worktrees">;
21564
+ worktreeId: string;
21547
21565
  updatedAt: number;
21548
21566
  relationType: "conditional" | "primary" | "supporting" | "contradicting" | "counterfactual" | "cascade" | "alternative" | "dependency" | "prerequisite";
21549
21567
  addedAt: number;
@@ -21566,7 +21584,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
21566
21584
  relationDescription: import("convex/values").VString<string | undefined, "optional">;
21567
21585
  relationType: import("convex/values").VUnion<"conditional" | "primary" | "supporting" | "contradicting" | "counterfactual" | "cascade" | "alternative" | "dependency" | "prerequisite", [import("convex/values").VLiteral<"primary", "required">, import("convex/values").VLiteral<"counterfactual", "required">, import("convex/values").VLiteral<"dependency", "required">, import("convex/values").VLiteral<"cascade", "required">, import("convex/values").VLiteral<"conditional", "required">, import("convex/values").VLiteral<"supporting", "required">, import("convex/values").VLiteral<"contradicting", "required">, import("convex/values").VLiteral<"alternative", "required">, import("convex/values").VLiteral<"prerequisite", "required">], "required", never>;
21568
21586
  updatedAt: import("convex/values").VFloat64<number, "required">;
21569
- worktreeId: import("convex/values").VId<import("convex/values").GenericId<"worktrees">, "required">;
21587
+ worktreeId: import("convex/values").VString<string, "required">;
21570
21588
  }, "required", "beliefId" | "worktreeId" | "updatedAt" | "confidenceDelta" | "relationType" | "relationDescription" | "counterfactualText" | "dependencyText" | "cascadeText" | "initialConfidence" | "initialEvidenceCount" | "finalConfidence" | "finalEvidenceCount" | "llmValence" | "llmCertainty" | "llmReasoning" | "llmEvidenceScores" | "llmAssessedAt" | "addedAt">, {
21571
21589
  by_worktree: ["worktreeId", "_creationTime"];
21572
21590
  by_belief: ["beliefId", "_creationTime"];
@@ -21575,10 +21593,9 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
21575
21593
  worktrees: import("convex/server").TableDefinition<import("convex/values").VObject<{
21576
21594
  priority?: number | undefined;
21577
21595
  metadata?: any;
21578
- blocks?: import("convex/values").GenericId<"worktrees">[] | undefined;
21579
- globalId?: string | undefined;
21596
+ blocks?: string[] | undefined;
21580
21597
  campaign?: number | undefined;
21581
- dependsOn?: import("convex/values").GenericId<"worktrees">[] | undefined;
21598
+ dependsOn?: string[] | undefined;
21582
21599
  topicId?: string | undefined;
21583
21600
  lane?: string | undefined;
21584
21601
  orderInLane?: number | undefined;
@@ -21715,7 +21732,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
21715
21732
  text: string;
21716
21733
  verified: boolean;
21717
21734
  }[];
21718
- worktreeId: import("convex/values").GenericId<"worktrees">;
21735
+ worktreeId: string;
21719
21736
  outcome: {
21720
21737
  summary: string;
21721
21738
  verdict: string;
@@ -21826,6 +21843,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
21826
21843
  index: number;
21827
21844
  name: string;
21828
21845
  status: "active" | "completed" | "paused" | "abandoned" | "planning" | "suggested" | "dismissed";
21846
+ globalId: string;
21829
21847
  createdBy: string;
21830
21848
  targetBeliefIds: string[];
21831
21849
  targetQuestionIds: string[];
@@ -21872,7 +21890,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
21872
21890
  timeframe: import("convex/values").VString<string | undefined, "optional">;
21873
21891
  }, "optional", "checklist" | "isRefined" | "refinedAt" | "refinedBy" | "originalText" | "refinedText" | "testingCriteria" | "measurableCriteria" | "timeframe" | "checklist.hasSpecificClaim" | "checklist.hasTimeframe" | "checklist.hasMeasurableCriteria" | "checklist.hasTestability">;
21874
21892
  beliefRefinements: import("convex/values").VArray<any[] | undefined, import("convex/values").VAny<any, "required", string>, "optional">;
21875
- blocks: import("convex/values").VArray<import("convex/values").GenericId<"worktrees">[] | undefined, import("convex/values").VId<import("convex/values").GenericId<"worktrees">, "required">, "optional">;
21893
+ blocks: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
21876
21894
  branchThesis: import("convex/values").VObject<{
21877
21895
  generatedAt?: number | undefined;
21878
21896
  memoContent?: string | undefined;
@@ -21955,7 +21973,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
21955
21973
  verdictRationale: import("convex/values").VString<string | undefined, "optional">;
21956
21974
  }, "optional", "decidedAt" | "goCriteria" | "noGoSignals" | "verdict" | "verdictRationale" | "decidedBy">;
21957
21975
  decisionsReached: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
21958
- dependsOn: import("convex/values").VArray<import("convex/values").GenericId<"worktrees">[] | undefined, import("convex/values").VId<import("convex/values").GenericId<"worktrees">, "required">, "optional">;
21976
+ dependsOn: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
21959
21977
  dismissedReason: import("convex/values").VString<string | undefined, "optional">;
21960
21978
  durationWeeks: import("convex/values").VFloat64<number, "required">;
21961
21979
  endDate: import("convex/values").VFloat64<number, "required">;
@@ -22015,7 +22033,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
22015
22033
  text: string;
22016
22034
  verified: boolean;
22017
22035
  }[];
22018
- worktreeId: import("convex/values").GenericId<"worktrees">;
22036
+ worktreeId: string;
22019
22037
  outcome: {
22020
22038
  summary: string;
22021
22039
  verdict: string;
@@ -22205,7 +22223,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
22205
22223
  tasksCompleted: import("convex/values").VFloat64<number | undefined, "optional">;
22206
22224
  topicId: import("convex/values").VString<string | undefined, "optional">;
22207
22225
  totalTasks: import("convex/values").VFloat64<number | undefined, "optional">;
22208
- worktreeId: import("convex/values").VId<import("convex/values").GenericId<"worktrees">, "required">;
22226
+ worktreeId: import("convex/values").VString<string, "required">;
22209
22227
  }, "optional", "evidence" | "topicId" | "worktreeId" | "outcome" | "questions" | "capturedAt" | "capturedBy" | "primaryBelief" | "clusterEdges" | "relatedBeliefs" | "tasksCompleted" | "totalTasks" | "confidenceHistory" | "outcome.summary" | "outcome.verdict" | "outcome.startingConfidence" | "outcome.endingConfidence" | "outcome.confidenceChange" | "primaryBelief.id" | "primaryBelief.text" | "primaryBelief.status" | "primaryBelief.startingConfidence" | "primaryBelief.endingConfidence" | "primaryBelief.startingConfidenceLabel" | "primaryBelief.endingConfidenceLabel" | "primaryBelief.confidenceScore" | "primaryBelief.criticality">;
22210
22228
  epistemicOrigin: import("convex/values").VString<string | undefined, "optional">;
22211
22229
  evidenceReviewState: import("convex/values").VObject<{
@@ -22258,7 +22276,7 @@ export declare const STACK_TIER_SCHEMA_TABLES: {
22258
22276
  gate: import("convex/values").VString<string | undefined, "optional">;
22259
22277
  generatedAt: import("convex/values").VFloat64<number | undefined, "optional">;
22260
22278
  generatedBy: import("convex/values").VString<string | undefined, "optional">;
22261
- globalId: import("convex/values").VString<string | undefined, "optional">;
22279
+ globalId: import("convex/values").VString<string, "required">;
22262
22280
  hypothesis: import("convex/values").VString<string | undefined, "optional">;
22263
22281
  index: import("convex/values").VFloat64<number, "required">;
22264
22282
  keyFindings: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
@@ -24959,7 +24977,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
24959
24977
  triggeringEvidenceId?: string | undefined;
24960
24978
  triggeringQuestionId?: string | undefined;
24961
24979
  triggeringAnswerId?: string | undefined;
24962
- triggeringContradictionId?: import("convex/values").GenericId<"contradictions"> | undefined;
24980
+ triggeringContradictionId?: string | undefined;
24963
24981
  triggeringWorktreeId?: string | undefined;
24964
24982
  slOperator?: string | undefined;
24965
24983
  confidenceLevel?: "high" | "low" | "medium" | undefined;
@@ -24993,7 +25011,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
24993
25011
  trigger: import("convex/values").VUnion<"worktree_completed" | "evidence_added" | "evidence_removed" | "contradiction_detected" | "contradiction_resolved" | "agent_assessment" | "worktree_outcome" | "fusion" | "discount" | "deduction" | "backfill_synthetic" | "initial" | "propagation", [import("convex/values").VLiteral<"initial", "required">, import("convex/values").VLiteral<"evidence_added", "required">, import("convex/values").VLiteral<"evidence_removed", "required">, import("convex/values").VLiteral<"contradiction_detected", "required">, import("convex/values").VLiteral<"contradiction_resolved", "required">, import("convex/values").VLiteral<"propagation", "required">, import("convex/values").VLiteral<"agent_assessment", "required">, import("convex/values").VLiteral<"worktree_outcome", "required">, import("convex/values").VLiteral<"worktree_completed", "required">, import("convex/values").VLiteral<"fusion", "required">, import("convex/values").VLiteral<"discount", "required">, import("convex/values").VLiteral<"deduction", "required">, import("convex/values").VLiteral<"backfill_synthetic", "required">], "required", never>;
24994
25012
  triggeringAgentId: import("convex/values").VString<string | undefined, "optional">;
24995
25013
  triggeringAnswerId: import("convex/values").VString<string | undefined, "optional">;
24996
- triggeringContradictionId: import("convex/values").VId<import("convex/values").GenericId<"contradictions"> | undefined, "optional">;
25014
+ triggeringContradictionId: import("convex/values").VString<string | undefined, "optional">;
24997
25015
  triggeringEvidenceId: import("convex/values").VString<string | undefined, "optional">;
24998
25016
  triggeringEvidenceIds: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
24999
25017
  triggeringQuestionId: import("convex/values").VString<string | undefined, "optional">;
@@ -25303,6 +25321,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
25303
25321
  similarityScore?: number | undefined;
25304
25322
  resolvedAt?: number | undefined;
25305
25323
  lastReviewedAt?: number | undefined;
25324
+ globalId: string;
25306
25325
  severity: "critical" | "significant" | "minor";
25307
25326
  beliefId: string;
25308
25327
  createdBy: string;
@@ -25331,6 +25350,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
25331
25350
  createdBy: import("convex/values").VString<string, "required">;
25332
25351
  detectedAt: import("convex/values").VFloat64<number, "required">;
25333
25352
  detectionMethod: import("convex/values").VUnion<"manual" | "agent" | "semantic" | "keyword" | undefined, [import("convex/values").VLiteral<"semantic", "required">, import("convex/values").VLiteral<"keyword", "required">, import("convex/values").VLiteral<"manual", "required">, import("convex/values").VLiteral<"agent", "required">], "optional", never>;
25353
+ globalId: import("convex/values").VString<string, "required">;
25334
25354
  lastReviewedAt: import("convex/values").VFloat64<number | undefined, "optional">;
25335
25355
  resolution: import("convex/values").VObject<{
25336
25356
  reasoning: string;
@@ -25352,7 +25372,8 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
25352
25372
  status: import("convex/values").VUnion<"unresolved" | "resolved_support" | "resolved_contra" | "belief_forked" | "investigating" | undefined, [import("convex/values").VLiteral<"unresolved", "required">, import("convex/values").VLiteral<"investigating", "required">, import("convex/values").VLiteral<"resolved_support", "required">, import("convex/values").VLiteral<"resolved_contra", "required">, import("convex/values").VLiteral<"belief_forked", "required">], "optional", never>;
25353
25373
  supportingInsightIds: import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">;
25354
25374
  topicId: import("convex/values").VString<string | undefined, "optional">;
25355
- }, "required", "resolution" | "status" | "severity" | "topicId" | "beliefId" | "createdBy" | "supportingInsightIds" | "contradictingInsightIds" | "aiAnalysis" | "resolutionStatus" | "blocksDecisionFinalization" | "blockingReason" | "resolutionWorktreeId" | "resultingBeliefIds" | "detectionMethod" | "similarityScore" | "detectedAt" | "resolvedAt" | "lastReviewedAt" | "resolution.reasoning" | "resolution.verdict" | "resolution.beliefUpdate" | "resolution.resolvedBy" | "aiAnalysis.summary" | "aiAnalysis.likelyExplanation" | "aiAnalysis.suggestedResolution" | "aiAnalysis.confidenceInAnalysis" | "aiAnalysis.analyzedAt">, {
25375
+ }, "required", "resolution" | "status" | "globalId" | "severity" | "topicId" | "beliefId" | "createdBy" | "supportingInsightIds" | "contradictingInsightIds" | "aiAnalysis" | "resolutionStatus" | "blocksDecisionFinalization" | "blockingReason" | "resolutionWorktreeId" | "resultingBeliefIds" | "detectionMethod" | "similarityScore" | "detectedAt" | "resolvedAt" | "lastReviewedAt" | "resolution.reasoning" | "resolution.verdict" | "resolution.beliefUpdate" | "resolution.resolvedBy" | "aiAnalysis.summary" | "aiAnalysis.likelyExplanation" | "aiAnalysis.suggestedResolution" | "aiAnalysis.confidenceInAnalysis" | "aiAnalysis.analyzedAt">, {
25376
+ by_globalId: ["globalId", "_creationTime"];
25356
25377
  by_topicId: ["topicId", "_creationTime"];
25357
25378
  by_topic_resolutionStatus: ["topicId", "resolutionStatus", "_creationTime"];
25358
25379
  by_topic_status: ["topicId", "status", "_creationTime"];
@@ -25759,7 +25780,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
25759
25780
  tenantId?: string | undefined;
25760
25781
  workspaceId?: string | undefined;
25761
25782
  traceId?: string | undefined;
25762
- linkedBeliefNodeId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
25783
+ linkedBeliefNodeId?: string | undefined;
25763
25784
  completedAt?: number | undefined;
25764
25785
  projectId?: string | undefined;
25765
25786
  replayHeadAt?: number | undefined;
@@ -25781,18 +25802,18 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
25781
25802
  }[];
25782
25803
  modelSlots: string[];
25783
25804
  replayBaselineAt: number;
25784
- contradictionIds: import("convex/values").GenericId<"contradictions">[];
25785
- escalationQuestionIds: import("convex/values").GenericId<"epistemicNodes">[];
25805
+ contradictionIds: string[];
25806
+ escalationQuestionIds: string[];
25786
25807
  }, {
25787
25808
  completedAt: import("convex/values").VFloat64<number | undefined, "optional">;
25788
25809
  contextBrief: import("convex/values").VString<string | undefined, "optional">;
25789
25810
  contextSnapshot: import("convex/values").VAny<any, "optional", string>;
25790
- contradictionIds: import("convex/values").VArray<import("convex/values").GenericId<"contradictions">[], import("convex/values").VId<import("convex/values").GenericId<"contradictions">, "required">, "required">;
25811
+ contradictionIds: import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">;
25791
25812
  createdAt: import("convex/values").VFloat64<number, "required">;
25792
25813
  createdBy: import("convex/values").VString<string, "required">;
25793
25814
  error: import("convex/values").VString<string | undefined, "optional">;
25794
- escalationQuestionIds: import("convex/values").VArray<import("convex/values").GenericId<"epistemicNodes">[], import("convex/values").VId<import("convex/values").GenericId<"epistemicNodes">, "required">, "required">;
25795
- linkedBeliefNodeId: import("convex/values").VId<import("convex/values").GenericId<"epistemicNodes"> | undefined, "optional">;
25815
+ escalationQuestionIds: import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">;
25816
+ linkedBeliefNodeId: import("convex/values").VString<string | undefined, "optional">;
25796
25817
  modelSlots: import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">;
25797
25818
  outcomeSummary: import("convex/values").VAny<any, "optional", string>;
25798
25819
  principalId: import("convex/values").VString<string, "required">;
@@ -26223,8 +26244,8 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
26223
26244
  updatedAt: number;
26224
26245
  legacyId: string;
26225
26246
  mappingId: string;
26226
- entityTable: "epistemicEdges" | "epistemicNodes" | "worktrees";
26227
- legacyField: "globalId" | "fromNodeId" | "toNodeId" | "_id" | "topicId" | "nodeId" | "beliefId" | "evidenceId" | "questionId" | "worktreeId" | "targetBeliefIds" | "targetQuestionIds" | "edgeId" | "insightId";
26247
+ entityTable: "contradictions" | "epistemicEdges" | "epistemicNodes" | "tasks" | "worktrees";
26248
+ legacyField: "globalId" | "fromNodeId" | "toNodeId" | "_id" | "topicId" | "nodeId" | "beliefId" | "evidenceId" | "questionId" | "worktreeId" | "targetBeliefIds" | "targetQuestionIds" | "edgeId" | "insightId" | "contradictionId" | "taskId";
26228
26249
  canonicalField: "globalId";
26229
26250
  migrationRunId: string;
26230
26251
  }, {
@@ -26232,8 +26253,8 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
26232
26253
  canonicalField: import("convex/values").VLiteral<"globalId", "required">;
26233
26254
  canonicalUuid: import("convex/values").VString<string, "required">;
26234
26255
  createdAt: import("convex/values").VFloat64<number, "required">;
26235
- entityTable: import("convex/values").VUnion<"epistemicEdges" | "epistemicNodes" | "worktrees", [import("convex/values").VLiteral<"epistemicNodes", "required">, import("convex/values").VLiteral<"epistemicEdges", "required">, import("convex/values").VLiteral<"worktrees", "required">], "required", never>;
26236
- legacyField: import("convex/values").VUnion<"globalId" | "fromNodeId" | "toNodeId" | "_id" | "topicId" | "nodeId" | "beliefId" | "evidenceId" | "questionId" | "worktreeId" | "targetBeliefIds" | "targetQuestionIds" | "edgeId" | "insightId", [import("convex/values").VLiteral<"_id", "required">, import("convex/values").VLiteral<"nodeId", "required">, import("convex/values").VLiteral<"edgeId", "required">, import("convex/values").VLiteral<"beliefId", "required">, import("convex/values").VLiteral<"evidenceId", "required">, import("convex/values").VLiteral<"insightId", "required">, import("convex/values").VLiteral<"questionId", "required">, import("convex/values").VLiteral<"topicId", "required">, import("convex/values").VLiteral<"worktreeId", "required">, import("convex/values").VLiteral<"globalId", "required">, import("convex/values").VLiteral<"fromNodeId", "required">, import("convex/values").VLiteral<"toNodeId", "required">, import("convex/values").VLiteral<"targetBeliefIds", "required">, import("convex/values").VLiteral<"targetQuestionIds", "required">], "required", never>;
26256
+ entityTable: import("convex/values").VUnion<"contradictions" | "epistemicEdges" | "epistemicNodes" | "tasks" | "worktrees", [import("convex/values").VLiteral<"epistemicNodes", "required">, import("convex/values").VLiteral<"epistemicEdges", "required">, import("convex/values").VLiteral<"worktrees", "required">, import("convex/values").VLiteral<"tasks", "required">, import("convex/values").VLiteral<"contradictions", "required">], "required", never>;
26257
+ legacyField: import("convex/values").VUnion<"globalId" | "fromNodeId" | "toNodeId" | "_id" | "topicId" | "nodeId" | "beliefId" | "evidenceId" | "questionId" | "worktreeId" | "targetBeliefIds" | "targetQuestionIds" | "edgeId" | "insightId" | "contradictionId" | "taskId", [import("convex/values").VLiteral<"_id", "required">, import("convex/values").VLiteral<"nodeId", "required">, import("convex/values").VLiteral<"edgeId", "required">, import("convex/values").VLiteral<"beliefId", "required">, import("convex/values").VLiteral<"evidenceId", "required">, import("convex/values").VLiteral<"insightId", "required">, import("convex/values").VLiteral<"questionId", "required">, import("convex/values").VLiteral<"topicId", "required">, import("convex/values").VLiteral<"worktreeId", "required">, import("convex/values").VLiteral<"taskId", "required">, import("convex/values").VLiteral<"contradictionId", "required">, import("convex/values").VLiteral<"globalId", "required">, import("convex/values").VLiteral<"fromNodeId", "required">, import("convex/values").VLiteral<"toNodeId", "required">, import("convex/values").VLiteral<"targetBeliefIds", "required">, import("convex/values").VLiteral<"targetQuestionIds", "required">], "required", never>;
26237
26258
  legacyId: import("convex/values").VString<string, "required">;
26238
26259
  mappingId: import("convex/values").VString<string, "required">;
26239
26260
  metadata: import("convex/values").VRecord<Record<string, any> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "optional", string>;
@@ -28083,14 +28104,14 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
28083
28104
  }, {}, {}>;
28084
28105
  tasks: import("convex/server").TableDefinition<import("convex/values").VObject<{
28085
28106
  description?: string | undefined;
28086
- blocks?: import("convex/values").GenericId<"tasks">[] | undefined;
28107
+ blocks?: string[] | undefined;
28087
28108
  topicId?: string | undefined;
28088
28109
  tenantId?: string | undefined;
28089
28110
  workspaceId?: string | undefined;
28090
28111
  tags?: string[] | undefined;
28091
- blockedBy?: import("convex/values").GenericId<"tasks">[] | undefined;
28112
+ blockedBy?: string[] | undefined;
28092
28113
  taskType?: "analysis" | "general" | "find_evidence" | "verify_claim" | "research" | "review" | "interview" | "track_metrics" | undefined;
28093
- linkedWorktreeId?: import("convex/values").GenericId<"worktrees"> | undefined;
28114
+ linkedWorktreeId?: string | undefined;
28094
28115
  linkedBeliefId?: string | undefined;
28095
28116
  linkedQuestionId?: string | undefined;
28096
28117
  assigneeId?: string | undefined;
@@ -28128,7 +28149,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
28128
28149
  mappedQuestions?: {
28129
28150
  priority?: "must_ask" | "nice_to_have" | undefined;
28130
28151
  answered?: boolean | undefined;
28131
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
28152
+ insightId?: string | undefined;
28132
28153
  linkedBeliefId?: string | undefined;
28133
28154
  linkedQuestionId?: string | undefined;
28134
28155
  category?: string | undefined;
@@ -28198,7 +28219,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
28198
28219
  } | undefined;
28199
28220
  } | undefined;
28200
28221
  capturedAsEvidence?: boolean | undefined;
28201
- capturedInsightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
28222
+ capturedInsightId?: string | undefined;
28202
28223
  capturedAt?: number | undefined;
28203
28224
  type: "file" | "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist";
28204
28225
  id: string;
@@ -28221,6 +28242,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
28221
28242
  priority: "high" | "low" | "medium" | "urgent";
28222
28243
  title: string;
28223
28244
  status: "done" | "blocked" | "todo" | "in_progress";
28245
+ globalId: string;
28224
28246
  createdBy: string;
28225
28247
  createdAt: number;
28226
28248
  updatedAt: number;
@@ -28243,7 +28265,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
28243
28265
  mappedQuestions?: {
28244
28266
  priority?: "must_ask" | "nice_to_have" | undefined;
28245
28267
  answered?: boolean | undefined;
28246
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
28268
+ insightId?: string | undefined;
28247
28269
  linkedBeliefId?: string | undefined;
28248
28270
  linkedQuestionId?: string | undefined;
28249
28271
  category?: string | undefined;
@@ -28313,7 +28335,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
28313
28335
  } | undefined;
28314
28336
  } | undefined;
28315
28337
  capturedAsEvidence?: boolean | undefined;
28316
- capturedInsightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
28338
+ capturedInsightId?: string | undefined;
28317
28339
  capturedAt?: number | undefined;
28318
28340
  type: "file" | "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist";
28319
28341
  id: string;
@@ -28338,7 +28360,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
28338
28360
  mappedQuestions?: {
28339
28361
  priority?: "must_ask" | "nice_to_have" | undefined;
28340
28362
  answered?: boolean | undefined;
28341
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
28363
+ insightId?: string | undefined;
28342
28364
  linkedBeliefId?: string | undefined;
28343
28365
  linkedQuestionId?: string | undefined;
28344
28366
  category?: string | undefined;
@@ -28408,7 +28430,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
28408
28430
  } | undefined;
28409
28431
  } | undefined;
28410
28432
  capturedAsEvidence?: boolean | undefined;
28411
- capturedInsightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
28433
+ capturedInsightId?: string | undefined;
28412
28434
  capturedAt?: number | undefined;
28413
28435
  type: "file" | "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist";
28414
28436
  id: string;
@@ -28419,7 +28441,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
28419
28441
  }, {
28420
28442
  capturedAsEvidence: import("convex/values").VBoolean<boolean | undefined, "optional">;
28421
28443
  capturedAt: import("convex/values").VFloat64<number | undefined, "optional">;
28422
- capturedInsightId: import("convex/values").VId<import("convex/values").GenericId<"epistemicNodes"> | undefined, "optional">;
28444
+ capturedInsightId: import("convex/values").VString<string | undefined, "optional">;
28423
28445
  content: import("convex/values").VString<string, "required">;
28424
28446
  createdAt: import("convex/values").VFloat64<number, "required">;
28425
28447
  createdBy: import("convex/values").VString<string, "required">;
@@ -28440,7 +28462,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
28440
28462
  mappedQuestions?: {
28441
28463
  priority?: "must_ask" | "nice_to_have" | undefined;
28442
28464
  answered?: boolean | undefined;
28443
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
28465
+ insightId?: string | undefined;
28444
28466
  linkedBeliefId?: string | undefined;
28445
28467
  linkedQuestionId?: string | undefined;
28446
28468
  category?: string | undefined;
@@ -28568,7 +28590,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
28568
28590
  mappedQuestions: import("convex/values").VArray<{
28569
28591
  priority?: "must_ask" | "nice_to_have" | undefined;
28570
28592
  answered?: boolean | undefined;
28571
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
28593
+ insightId?: string | undefined;
28572
28594
  linkedBeliefId?: string | undefined;
28573
28595
  linkedQuestionId?: string | undefined;
28574
28596
  category?: string | undefined;
@@ -28580,7 +28602,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
28580
28602
  }[] | undefined, import("convex/values").VObject<{
28581
28603
  priority?: "must_ask" | "nice_to_have" | undefined;
28582
28604
  answered?: boolean | undefined;
28583
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
28605
+ insightId?: string | undefined;
28584
28606
  linkedBeliefId?: string | undefined;
28585
28607
  linkedQuestionId?: string | undefined;
28586
28608
  category?: string | undefined;
@@ -28596,7 +28618,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
28596
28618
  capturedAsInsight: import("convex/values").VBoolean<boolean | undefined, "optional">;
28597
28619
  category: import("convex/values").VString<string | undefined, "optional">;
28598
28620
  id: import("convex/values").VString<string, "required">;
28599
- insightId: import("convex/values").VId<import("convex/values").GenericId<"epistemicNodes"> | undefined, "optional">;
28621
+ insightId: import("convex/values").VString<string | undefined, "optional">;
28600
28622
  linkedBeliefId: import("convex/values").VString<string | undefined, "optional">;
28601
28623
  linkedQuestionId: import("convex/values").VString<string | undefined, "optional">;
28602
28624
  priority: import("convex/values").VUnion<"must_ask" | "nice_to_have" | undefined, [import("convex/values").VLiteral<"must_ask", "required">, import("convex/values").VLiteral<"nice_to_have", "required">], "optional", never>;
@@ -28682,9 +28704,9 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
28682
28704
  title: import("convex/values").VString<string, "required">;
28683
28705
  type: import("convex/values").VUnion<"file" | "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist", [import("convex/values").VLiteral<"call_script", "required">, import("convex/values").VLiteral<"email_template", "required">, import("convex/values").VLiteral<"research_plan", "required">, import("convex/values").VLiteral<"framework", "required">, import("convex/values").VLiteral<"checklist", "required">, import("convex/values").VLiteral<"note", "required">, import("convex/values").VLiteral<"file", "required">, import("convex/values").VLiteral<"transcript", "required">], "required", never>;
28684
28706
  }, "required", "type" | "id" | "content" | "title" | "metadata" | "createdBy" | "createdAt" | "capturedAsEvidence" | "capturedInsightId" | "capturedAt" | "metadata.items" | "metadata.linkedBeliefId" | "metadata.linkedQuestionId" | "metadata.fileUrl" | "metadata.fileName" | "metadata.fileSize" | "metadata.frameworkType" | "metadata.variables" | "metadata.mappedQuestions" | "metadata.linkedCallScriptId" | "metadata.editable" | "metadata.executionTool" | "metadata.workflowStepId" | "metadata.workflowOrder" | "metadata.dependsOnStepIds" | "metadata.runCondition" | "metadata.continueOnFailure" | "metadata.stepStatus" | "metadata.stepRunCount" | "metadata.stepLastRunAt" | "metadata.stepOutputSummary" | "metadata.stepOutputData" | "metadata.stepFailureReason" | "metadata.researchResult" | "metadata.researchStatus" | "metadata.researchCompletedAt" | "metadata.researchCitations" | "metadata.generatedPersonas" | "metadata.personasGeneratedAt" | "metadata.expertSearchResults" | "metadata.expertSearchAt" | "metadata.capturedAsEvidence" | "metadata.capturedInsightId" | "metadata.capturedAt" | "metadata.capturedImpact" | "metadata.tools" | "metadata.metrics" | "metadata.personas" | "metadata.experts" | "metadata.factChecker" | "metadata.factChecker.claimsToVerify" | "metadata.factChecker.sourcesToCheck" | "metadata.factChecker.verificationCriteria">, "optional">;
28685
- blockedBy: import("convex/values").VArray<import("convex/values").GenericId<"tasks">[] | undefined, import("convex/values").VId<import("convex/values").GenericId<"tasks">, "required">, "optional">;
28707
+ blockedBy: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
28686
28708
  blockedReason: import("convex/values").VString<string | undefined, "optional">;
28687
- blocks: import("convex/values").VArray<import("convex/values").GenericId<"tasks">[] | undefined, import("convex/values").VId<import("convex/values").GenericId<"tasks">, "required">, "optional">;
28709
+ blocks: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
28688
28710
  comments: import("convex/values").VArray<{
28689
28711
  id: string;
28690
28712
  content: string;
@@ -28714,10 +28736,11 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
28714
28736
  executionStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
28715
28737
  executionStatus: import("convex/values").VUnion<"failed" | "completed" | "running" | "pending" | undefined, [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"completed", "required">, import("convex/values").VLiteral<"failed", "required">], "optional", never>;
28716
28738
  executionType: import("convex/values").VUnion<"manual" | "verify_claim" | "research_search" | "find_news" | "identify_experts" | "market_research" | "generate_primer" | "mcp_research" | "mcp_web_search" | "mcp_capture" | "mcp_network_search" | undefined, [import("convex/values").VLiteral<"research_search", "required">, import("convex/values").VLiteral<"find_news", "required">, import("convex/values").VLiteral<"identify_experts", "required">, import("convex/values").VLiteral<"market_research", "required">, import("convex/values").VLiteral<"generate_primer", "required">, import("convex/values").VLiteral<"verify_claim", "required">, import("convex/values").VLiteral<"manual", "required">, import("convex/values").VLiteral<"mcp_research", "required">, import("convex/values").VLiteral<"mcp_web_search", "required">, import("convex/values").VLiteral<"mcp_capture", "required">, import("convex/values").VLiteral<"mcp_network_search", "required">], "optional", never>;
28739
+ globalId: import("convex/values").VString<string, "required">;
28717
28740
  linkedBeliefId: import("convex/values").VString<string | undefined, "optional">;
28718
28741
  linkedChatId: import("convex/values").VString<string | undefined, "optional">;
28719
28742
  linkedQuestionId: import("convex/values").VString<string | undefined, "optional">;
28720
- linkedWorktreeId: import("convex/values").VId<import("convex/values").GenericId<"worktrees"> | undefined, "optional">;
28743
+ linkedWorktreeId: import("convex/values").VString<string | undefined, "optional">;
28721
28744
  mcpDatasetIds: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
28722
28745
  mcpExecutionId: import("convex/values").VString<string | undefined, "optional">;
28723
28746
  mcpSkillIds: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
@@ -28747,7 +28770,8 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
28747
28770
  topicId: import("convex/values").VString<string | undefined, "optional">;
28748
28771
  updatedAt: import("convex/values").VFloat64<number, "required">;
28749
28772
  workspaceId: import("convex/values").VString<string | undefined, "optional">;
28750
- }, "required", "priority" | "title" | "description" | "status" | "blocks" | "topicId" | "createdBy" | "tenantId" | "workspaceId" | "createdAt" | "updatedAt" | "tags" | "blockedBy" | "taskType" | "linkedWorktreeId" | "linkedBeliefId" | "linkedQuestionId" | "assigneeId" | "dueDate" | "completedAt" | "blockedReason" | "sortOrder" | "executionOrder" | "subtasks" | "comments" | "attachments" | "executionType" | "executionStatus" | "executionResults" | "executionStartedAt" | "executionCompletedAt" | "executionError" | "mcpDatasetIds" | "mcpSkillIds" | "mcpExecutionId" | "linkedChatId" | "completedBy" | `executionResults.${string}`>, {
28773
+ }, "required", "priority" | "title" | "description" | "status" | "blocks" | "globalId" | "topicId" | "createdBy" | "tenantId" | "workspaceId" | "createdAt" | "updatedAt" | "tags" | "blockedBy" | "taskType" | "linkedWorktreeId" | "linkedBeliefId" | "linkedQuestionId" | "assigneeId" | "dueDate" | "completedAt" | "blockedReason" | "sortOrder" | "executionOrder" | "subtasks" | "comments" | "attachments" | "executionType" | "executionStatus" | "executionResults" | "executionStartedAt" | "executionCompletedAt" | "executionError" | "mcpDatasetIds" | "mcpSkillIds" | "mcpExecutionId" | "linkedChatId" | "completedBy" | `executionResults.${string}`>, {
28774
+ by_globalId: ["globalId", "_creationTime"];
28751
28775
  by_topicId: ["topicId", "_creationTime"];
28752
28776
  by_topicId_status: ["topicId", "status", "_creationTime"];
28753
28777
  by_tenantId: ["tenantId", "_creationTime"];
@@ -28920,7 +28944,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
28920
28944
  llmEvidenceScores?: string | undefined;
28921
28945
  llmAssessedAt?: number | undefined;
28922
28946
  beliefId: string;
28923
- worktreeId: import("convex/values").GenericId<"worktrees">;
28947
+ worktreeId: string;
28924
28948
  updatedAt: number;
28925
28949
  relationType: "conditional" | "primary" | "supporting" | "contradicting" | "counterfactual" | "cascade" | "alternative" | "dependency" | "prerequisite";
28926
28950
  addedAt: number;
@@ -28943,7 +28967,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
28943
28967
  relationDescription: import("convex/values").VString<string | undefined, "optional">;
28944
28968
  relationType: import("convex/values").VUnion<"conditional" | "primary" | "supporting" | "contradicting" | "counterfactual" | "cascade" | "alternative" | "dependency" | "prerequisite", [import("convex/values").VLiteral<"primary", "required">, import("convex/values").VLiteral<"counterfactual", "required">, import("convex/values").VLiteral<"dependency", "required">, import("convex/values").VLiteral<"cascade", "required">, import("convex/values").VLiteral<"conditional", "required">, import("convex/values").VLiteral<"supporting", "required">, import("convex/values").VLiteral<"contradicting", "required">, import("convex/values").VLiteral<"alternative", "required">, import("convex/values").VLiteral<"prerequisite", "required">], "required", never>;
28945
28969
  updatedAt: import("convex/values").VFloat64<number, "required">;
28946
- worktreeId: import("convex/values").VId<import("convex/values").GenericId<"worktrees">, "required">;
28970
+ worktreeId: import("convex/values").VString<string, "required">;
28947
28971
  }, "required", "beliefId" | "worktreeId" | "updatedAt" | "confidenceDelta" | "relationType" | "relationDescription" | "counterfactualText" | "dependencyText" | "cascadeText" | "initialConfidence" | "initialEvidenceCount" | "finalConfidence" | "finalEvidenceCount" | "llmValence" | "llmCertainty" | "llmReasoning" | "llmEvidenceScores" | "llmAssessedAt" | "addedAt">, {
28948
28972
  by_worktree: ["worktreeId", "_creationTime"];
28949
28973
  by_belief: ["beliefId", "_creationTime"];
@@ -28952,10 +28976,9 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
28952
28976
  worktrees: import("convex/server").TableDefinition<import("convex/values").VObject<{
28953
28977
  priority?: number | undefined;
28954
28978
  metadata?: any;
28955
- blocks?: import("convex/values").GenericId<"worktrees">[] | undefined;
28956
- globalId?: string | undefined;
28979
+ blocks?: string[] | undefined;
28957
28980
  campaign?: number | undefined;
28958
- dependsOn?: import("convex/values").GenericId<"worktrees">[] | undefined;
28981
+ dependsOn?: string[] | undefined;
28959
28982
  topicId?: string | undefined;
28960
28983
  lane?: string | undefined;
28961
28984
  orderInLane?: number | undefined;
@@ -29092,7 +29115,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
29092
29115
  text: string;
29093
29116
  verified: boolean;
29094
29117
  }[];
29095
- worktreeId: import("convex/values").GenericId<"worktrees">;
29118
+ worktreeId: string;
29096
29119
  outcome: {
29097
29120
  summary: string;
29098
29121
  verdict: string;
@@ -29203,6 +29226,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
29203
29226
  index: number;
29204
29227
  name: string;
29205
29228
  status: "active" | "completed" | "paused" | "abandoned" | "planning" | "suggested" | "dismissed";
29229
+ globalId: string;
29206
29230
  createdBy: string;
29207
29231
  targetBeliefIds: string[];
29208
29232
  targetQuestionIds: string[];
@@ -29249,7 +29273,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
29249
29273
  timeframe: import("convex/values").VString<string | undefined, "optional">;
29250
29274
  }, "optional", "checklist" | "isRefined" | "refinedAt" | "refinedBy" | "originalText" | "refinedText" | "testingCriteria" | "measurableCriteria" | "timeframe" | "checklist.hasSpecificClaim" | "checklist.hasTimeframe" | "checklist.hasMeasurableCriteria" | "checklist.hasTestability">;
29251
29275
  beliefRefinements: import("convex/values").VArray<any[] | undefined, import("convex/values").VAny<any, "required", string>, "optional">;
29252
- blocks: import("convex/values").VArray<import("convex/values").GenericId<"worktrees">[] | undefined, import("convex/values").VId<import("convex/values").GenericId<"worktrees">, "required">, "optional">;
29276
+ blocks: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
29253
29277
  branchThesis: import("convex/values").VObject<{
29254
29278
  generatedAt?: number | undefined;
29255
29279
  memoContent?: string | undefined;
@@ -29332,7 +29356,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
29332
29356
  verdictRationale: import("convex/values").VString<string | undefined, "optional">;
29333
29357
  }, "optional", "decidedAt" | "goCriteria" | "noGoSignals" | "verdict" | "verdictRationale" | "decidedBy">;
29334
29358
  decisionsReached: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
29335
- dependsOn: import("convex/values").VArray<import("convex/values").GenericId<"worktrees">[] | undefined, import("convex/values").VId<import("convex/values").GenericId<"worktrees">, "required">, "optional">;
29359
+ dependsOn: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
29336
29360
  dismissedReason: import("convex/values").VString<string | undefined, "optional">;
29337
29361
  durationWeeks: import("convex/values").VFloat64<number, "required">;
29338
29362
  endDate: import("convex/values").VFloat64<number, "required">;
@@ -29392,7 +29416,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
29392
29416
  text: string;
29393
29417
  verified: boolean;
29394
29418
  }[];
29395
- worktreeId: import("convex/values").GenericId<"worktrees">;
29419
+ worktreeId: string;
29396
29420
  outcome: {
29397
29421
  summary: string;
29398
29422
  verdict: string;
@@ -29582,7 +29606,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
29582
29606
  tasksCompleted: import("convex/values").VFloat64<number | undefined, "optional">;
29583
29607
  topicId: import("convex/values").VString<string | undefined, "optional">;
29584
29608
  totalTasks: import("convex/values").VFloat64<number | undefined, "optional">;
29585
- worktreeId: import("convex/values").VId<import("convex/values").GenericId<"worktrees">, "required">;
29609
+ worktreeId: import("convex/values").VString<string, "required">;
29586
29610
  }, "optional", "evidence" | "topicId" | "worktreeId" | "outcome" | "questions" | "capturedAt" | "capturedBy" | "primaryBelief" | "clusterEdges" | "relatedBeliefs" | "tasksCompleted" | "totalTasks" | "confidenceHistory" | "outcome.summary" | "outcome.verdict" | "outcome.startingConfidence" | "outcome.endingConfidence" | "outcome.confidenceChange" | "primaryBelief.id" | "primaryBelief.text" | "primaryBelief.status" | "primaryBelief.startingConfidence" | "primaryBelief.endingConfidence" | "primaryBelief.startingConfidenceLabel" | "primaryBelief.endingConfidenceLabel" | "primaryBelief.confidenceScore" | "primaryBelief.criticality">;
29587
29611
  epistemicOrigin: import("convex/values").VString<string | undefined, "optional">;
29588
29612
  evidenceReviewState: import("convex/values").VObject<{
@@ -29635,7 +29659,7 @@ export declare const FULL_TIER_SCHEMA_TABLES: {
29635
29659
  gate: import("convex/values").VString<string | undefined, "optional">;
29636
29660
  generatedAt: import("convex/values").VFloat64<number | undefined, "optional">;
29637
29661
  generatedBy: import("convex/values").VString<string | undefined, "optional">;
29638
- globalId: import("convex/values").VString<string | undefined, "optional">;
29662
+ globalId: import("convex/values").VString<string, "required">;
29639
29663
  hypothesis: import("convex/values").VString<string | undefined, "optional">;
29640
29664
  index: import("convex/values").VFloat64<number, "required">;
29641
29665
  keyFindings: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
@@ -33911,7 +33935,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
33911
33935
  triggeringEvidenceId?: string | undefined;
33912
33936
  triggeringQuestionId?: string | undefined;
33913
33937
  triggeringAnswerId?: string | undefined;
33914
- triggeringContradictionId?: import("convex/values").GenericId<"contradictions"> | undefined;
33938
+ triggeringContradictionId?: string | undefined;
33915
33939
  triggeringWorktreeId?: string | undefined;
33916
33940
  slOperator?: string | undefined;
33917
33941
  confidenceLevel?: "high" | "low" | "medium" | undefined;
@@ -33945,7 +33969,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
33945
33969
  trigger: import("convex/values").VUnion<"worktree_completed" | "evidence_added" | "evidence_removed" | "contradiction_detected" | "contradiction_resolved" | "agent_assessment" | "worktree_outcome" | "fusion" | "discount" | "deduction" | "backfill_synthetic" | "initial" | "propagation", [import("convex/values").VLiteral<"initial", "required">, import("convex/values").VLiteral<"evidence_added", "required">, import("convex/values").VLiteral<"evidence_removed", "required">, import("convex/values").VLiteral<"contradiction_detected", "required">, import("convex/values").VLiteral<"contradiction_resolved", "required">, import("convex/values").VLiteral<"propagation", "required">, import("convex/values").VLiteral<"agent_assessment", "required">, import("convex/values").VLiteral<"worktree_outcome", "required">, import("convex/values").VLiteral<"worktree_completed", "required">, import("convex/values").VLiteral<"fusion", "required">, import("convex/values").VLiteral<"discount", "required">, import("convex/values").VLiteral<"deduction", "required">, import("convex/values").VLiteral<"backfill_synthetic", "required">], "required", never>;
33946
33970
  triggeringAgentId: import("convex/values").VString<string | undefined, "optional">;
33947
33971
  triggeringAnswerId: import("convex/values").VString<string | undefined, "optional">;
33948
- triggeringContradictionId: import("convex/values").VId<import("convex/values").GenericId<"contradictions"> | undefined, "optional">;
33972
+ triggeringContradictionId: import("convex/values").VString<string | undefined, "optional">;
33949
33973
  triggeringEvidenceId: import("convex/values").VString<string | undefined, "optional">;
33950
33974
  triggeringEvidenceIds: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
33951
33975
  triggeringQuestionId: import("convex/values").VString<string | undefined, "optional">;
@@ -34255,6 +34279,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
34255
34279
  similarityScore?: number | undefined;
34256
34280
  resolvedAt?: number | undefined;
34257
34281
  lastReviewedAt?: number | undefined;
34282
+ globalId: string;
34258
34283
  severity: "critical" | "significant" | "minor";
34259
34284
  beliefId: string;
34260
34285
  createdBy: string;
@@ -34283,6 +34308,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
34283
34308
  createdBy: import("convex/values").VString<string, "required">;
34284
34309
  detectedAt: import("convex/values").VFloat64<number, "required">;
34285
34310
  detectionMethod: import("convex/values").VUnion<"manual" | "agent" | "semantic" | "keyword" | undefined, [import("convex/values").VLiteral<"semantic", "required">, import("convex/values").VLiteral<"keyword", "required">, import("convex/values").VLiteral<"manual", "required">, import("convex/values").VLiteral<"agent", "required">], "optional", never>;
34311
+ globalId: import("convex/values").VString<string, "required">;
34286
34312
  lastReviewedAt: import("convex/values").VFloat64<number | undefined, "optional">;
34287
34313
  resolution: import("convex/values").VObject<{
34288
34314
  reasoning: string;
@@ -34304,7 +34330,8 @@ declare const _default: import("convex/server").SchemaDefinition<{
34304
34330
  status: import("convex/values").VUnion<"unresolved" | "resolved_support" | "resolved_contra" | "belief_forked" | "investigating" | undefined, [import("convex/values").VLiteral<"unresolved", "required">, import("convex/values").VLiteral<"investigating", "required">, import("convex/values").VLiteral<"resolved_support", "required">, import("convex/values").VLiteral<"resolved_contra", "required">, import("convex/values").VLiteral<"belief_forked", "required">], "optional", never>;
34305
34331
  supportingInsightIds: import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">;
34306
34332
  topicId: import("convex/values").VString<string | undefined, "optional">;
34307
- }, "required", "resolution" | "status" | "severity" | "topicId" | "beliefId" | "createdBy" | "supportingInsightIds" | "contradictingInsightIds" | "aiAnalysis" | "resolutionStatus" | "blocksDecisionFinalization" | "blockingReason" | "resolutionWorktreeId" | "resultingBeliefIds" | "detectionMethod" | "similarityScore" | "detectedAt" | "resolvedAt" | "lastReviewedAt" | "resolution.reasoning" | "resolution.verdict" | "resolution.beliefUpdate" | "resolution.resolvedBy" | "aiAnalysis.summary" | "aiAnalysis.likelyExplanation" | "aiAnalysis.suggestedResolution" | "aiAnalysis.confidenceInAnalysis" | "aiAnalysis.analyzedAt">, {
34333
+ }, "required", "resolution" | "status" | "globalId" | "severity" | "topicId" | "beliefId" | "createdBy" | "supportingInsightIds" | "contradictingInsightIds" | "aiAnalysis" | "resolutionStatus" | "blocksDecisionFinalization" | "blockingReason" | "resolutionWorktreeId" | "resultingBeliefIds" | "detectionMethod" | "similarityScore" | "detectedAt" | "resolvedAt" | "lastReviewedAt" | "resolution.reasoning" | "resolution.verdict" | "resolution.beliefUpdate" | "resolution.resolvedBy" | "aiAnalysis.summary" | "aiAnalysis.likelyExplanation" | "aiAnalysis.suggestedResolution" | "aiAnalysis.confidenceInAnalysis" | "aiAnalysis.analyzedAt">, {
34334
+ by_globalId: ["globalId", "_creationTime"];
34308
34335
  by_topicId: ["topicId", "_creationTime"];
34309
34336
  by_topic_resolutionStatus: ["topicId", "resolutionStatus", "_creationTime"];
34310
34337
  by_topic_status: ["topicId", "status", "_creationTime"];
@@ -34711,7 +34738,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
34711
34738
  tenantId?: string | undefined;
34712
34739
  workspaceId?: string | undefined;
34713
34740
  traceId?: string | undefined;
34714
- linkedBeliefNodeId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
34741
+ linkedBeliefNodeId?: string | undefined;
34715
34742
  completedAt?: number | undefined;
34716
34743
  projectId?: string | undefined;
34717
34744
  replayHeadAt?: number | undefined;
@@ -34733,18 +34760,18 @@ declare const _default: import("convex/server").SchemaDefinition<{
34733
34760
  }[];
34734
34761
  modelSlots: string[];
34735
34762
  replayBaselineAt: number;
34736
- contradictionIds: import("convex/values").GenericId<"contradictions">[];
34737
- escalationQuestionIds: import("convex/values").GenericId<"epistemicNodes">[];
34763
+ contradictionIds: string[];
34764
+ escalationQuestionIds: string[];
34738
34765
  }, {
34739
34766
  completedAt: import("convex/values").VFloat64<number | undefined, "optional">;
34740
34767
  contextBrief: import("convex/values").VString<string | undefined, "optional">;
34741
34768
  contextSnapshot: import("convex/values").VAny<any, "optional", string>;
34742
- contradictionIds: import("convex/values").VArray<import("convex/values").GenericId<"contradictions">[], import("convex/values").VId<import("convex/values").GenericId<"contradictions">, "required">, "required">;
34769
+ contradictionIds: import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">;
34743
34770
  createdAt: import("convex/values").VFloat64<number, "required">;
34744
34771
  createdBy: import("convex/values").VString<string, "required">;
34745
34772
  error: import("convex/values").VString<string | undefined, "optional">;
34746
- escalationQuestionIds: import("convex/values").VArray<import("convex/values").GenericId<"epistemicNodes">[], import("convex/values").VId<import("convex/values").GenericId<"epistemicNodes">, "required">, "required">;
34747
- linkedBeliefNodeId: import("convex/values").VId<import("convex/values").GenericId<"epistemicNodes"> | undefined, "optional">;
34773
+ escalationQuestionIds: import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">;
34774
+ linkedBeliefNodeId: import("convex/values").VString<string | undefined, "optional">;
34748
34775
  modelSlots: import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">;
34749
34776
  outcomeSummary: import("convex/values").VAny<any, "optional", string>;
34750
34777
  principalId: import("convex/values").VString<string, "required">;
@@ -35175,8 +35202,8 @@ declare const _default: import("convex/server").SchemaDefinition<{
35175
35202
  updatedAt: number;
35176
35203
  legacyId: string;
35177
35204
  mappingId: string;
35178
- entityTable: "epistemicEdges" | "epistemicNodes" | "worktrees";
35179
- legacyField: "globalId" | "fromNodeId" | "toNodeId" | "_id" | "topicId" | "nodeId" | "beliefId" | "evidenceId" | "questionId" | "worktreeId" | "targetBeliefIds" | "targetQuestionIds" | "edgeId" | "insightId";
35205
+ entityTable: "contradictions" | "epistemicEdges" | "epistemicNodes" | "tasks" | "worktrees";
35206
+ legacyField: "globalId" | "fromNodeId" | "toNodeId" | "_id" | "topicId" | "nodeId" | "beliefId" | "evidenceId" | "questionId" | "worktreeId" | "targetBeliefIds" | "targetQuestionIds" | "edgeId" | "insightId" | "contradictionId" | "taskId";
35180
35207
  canonicalField: "globalId";
35181
35208
  migrationRunId: string;
35182
35209
  }, {
@@ -35184,8 +35211,8 @@ declare const _default: import("convex/server").SchemaDefinition<{
35184
35211
  canonicalField: import("convex/values").VLiteral<"globalId", "required">;
35185
35212
  canonicalUuid: import("convex/values").VString<string, "required">;
35186
35213
  createdAt: import("convex/values").VFloat64<number, "required">;
35187
- entityTable: import("convex/values").VUnion<"epistemicEdges" | "epistemicNodes" | "worktrees", [import("convex/values").VLiteral<"epistemicNodes", "required">, import("convex/values").VLiteral<"epistemicEdges", "required">, import("convex/values").VLiteral<"worktrees", "required">], "required", never>;
35188
- legacyField: import("convex/values").VUnion<"globalId" | "fromNodeId" | "toNodeId" | "_id" | "topicId" | "nodeId" | "beliefId" | "evidenceId" | "questionId" | "worktreeId" | "targetBeliefIds" | "targetQuestionIds" | "edgeId" | "insightId", [import("convex/values").VLiteral<"_id", "required">, import("convex/values").VLiteral<"nodeId", "required">, import("convex/values").VLiteral<"edgeId", "required">, import("convex/values").VLiteral<"beliefId", "required">, import("convex/values").VLiteral<"evidenceId", "required">, import("convex/values").VLiteral<"insightId", "required">, import("convex/values").VLiteral<"questionId", "required">, import("convex/values").VLiteral<"topicId", "required">, import("convex/values").VLiteral<"worktreeId", "required">, import("convex/values").VLiteral<"globalId", "required">, import("convex/values").VLiteral<"fromNodeId", "required">, import("convex/values").VLiteral<"toNodeId", "required">, import("convex/values").VLiteral<"targetBeliefIds", "required">, import("convex/values").VLiteral<"targetQuestionIds", "required">], "required", never>;
35214
+ entityTable: import("convex/values").VUnion<"contradictions" | "epistemicEdges" | "epistemicNodes" | "tasks" | "worktrees", [import("convex/values").VLiteral<"epistemicNodes", "required">, import("convex/values").VLiteral<"epistemicEdges", "required">, import("convex/values").VLiteral<"worktrees", "required">, import("convex/values").VLiteral<"tasks", "required">, import("convex/values").VLiteral<"contradictions", "required">], "required", never>;
35215
+ legacyField: import("convex/values").VUnion<"globalId" | "fromNodeId" | "toNodeId" | "_id" | "topicId" | "nodeId" | "beliefId" | "evidenceId" | "questionId" | "worktreeId" | "targetBeliefIds" | "targetQuestionIds" | "edgeId" | "insightId" | "contradictionId" | "taskId", [import("convex/values").VLiteral<"_id", "required">, import("convex/values").VLiteral<"nodeId", "required">, import("convex/values").VLiteral<"edgeId", "required">, import("convex/values").VLiteral<"beliefId", "required">, import("convex/values").VLiteral<"evidenceId", "required">, import("convex/values").VLiteral<"insightId", "required">, import("convex/values").VLiteral<"questionId", "required">, import("convex/values").VLiteral<"topicId", "required">, import("convex/values").VLiteral<"worktreeId", "required">, import("convex/values").VLiteral<"taskId", "required">, import("convex/values").VLiteral<"contradictionId", "required">, import("convex/values").VLiteral<"globalId", "required">, import("convex/values").VLiteral<"fromNodeId", "required">, import("convex/values").VLiteral<"toNodeId", "required">, import("convex/values").VLiteral<"targetBeliefIds", "required">, import("convex/values").VLiteral<"targetQuestionIds", "required">], "required", never>;
35189
35216
  legacyId: import("convex/values").VString<string, "required">;
35190
35217
  mappingId: import("convex/values").VString<string, "required">;
35191
35218
  metadata: import("convex/values").VRecord<Record<string, any> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "optional", string>;
@@ -37035,14 +37062,14 @@ declare const _default: import("convex/server").SchemaDefinition<{
37035
37062
  }, {}, {}>;
37036
37063
  tasks: import("convex/server").TableDefinition<import("convex/values").VObject<{
37037
37064
  description?: string | undefined;
37038
- blocks?: import("convex/values").GenericId<"tasks">[] | undefined;
37065
+ blocks?: string[] | undefined;
37039
37066
  topicId?: string | undefined;
37040
37067
  tenantId?: string | undefined;
37041
37068
  workspaceId?: string | undefined;
37042
37069
  tags?: string[] | undefined;
37043
- blockedBy?: import("convex/values").GenericId<"tasks">[] | undefined;
37070
+ blockedBy?: string[] | undefined;
37044
37071
  taskType?: "analysis" | "general" | "find_evidence" | "verify_claim" | "research" | "review" | "interview" | "track_metrics" | undefined;
37045
- linkedWorktreeId?: import("convex/values").GenericId<"worktrees"> | undefined;
37072
+ linkedWorktreeId?: string | undefined;
37046
37073
  linkedBeliefId?: string | undefined;
37047
37074
  linkedQuestionId?: string | undefined;
37048
37075
  assigneeId?: string | undefined;
@@ -37080,7 +37107,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
37080
37107
  mappedQuestions?: {
37081
37108
  priority?: "must_ask" | "nice_to_have" | undefined;
37082
37109
  answered?: boolean | undefined;
37083
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
37110
+ insightId?: string | undefined;
37084
37111
  linkedBeliefId?: string | undefined;
37085
37112
  linkedQuestionId?: string | undefined;
37086
37113
  category?: string | undefined;
@@ -37150,7 +37177,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
37150
37177
  } | undefined;
37151
37178
  } | undefined;
37152
37179
  capturedAsEvidence?: boolean | undefined;
37153
- capturedInsightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
37180
+ capturedInsightId?: string | undefined;
37154
37181
  capturedAt?: number | undefined;
37155
37182
  type: "file" | "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist";
37156
37183
  id: string;
@@ -37173,6 +37200,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
37173
37200
  priority: "high" | "low" | "medium" | "urgent";
37174
37201
  title: string;
37175
37202
  status: "done" | "blocked" | "todo" | "in_progress";
37203
+ globalId: string;
37176
37204
  createdBy: string;
37177
37205
  createdAt: number;
37178
37206
  updatedAt: number;
@@ -37195,7 +37223,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
37195
37223
  mappedQuestions?: {
37196
37224
  priority?: "must_ask" | "nice_to_have" | undefined;
37197
37225
  answered?: boolean | undefined;
37198
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
37226
+ insightId?: string | undefined;
37199
37227
  linkedBeliefId?: string | undefined;
37200
37228
  linkedQuestionId?: string | undefined;
37201
37229
  category?: string | undefined;
@@ -37265,7 +37293,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
37265
37293
  } | undefined;
37266
37294
  } | undefined;
37267
37295
  capturedAsEvidence?: boolean | undefined;
37268
- capturedInsightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
37296
+ capturedInsightId?: string | undefined;
37269
37297
  capturedAt?: number | undefined;
37270
37298
  type: "file" | "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist";
37271
37299
  id: string;
@@ -37290,7 +37318,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
37290
37318
  mappedQuestions?: {
37291
37319
  priority?: "must_ask" | "nice_to_have" | undefined;
37292
37320
  answered?: boolean | undefined;
37293
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
37321
+ insightId?: string | undefined;
37294
37322
  linkedBeliefId?: string | undefined;
37295
37323
  linkedQuestionId?: string | undefined;
37296
37324
  category?: string | undefined;
@@ -37360,7 +37388,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
37360
37388
  } | undefined;
37361
37389
  } | undefined;
37362
37390
  capturedAsEvidence?: boolean | undefined;
37363
- capturedInsightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
37391
+ capturedInsightId?: string | undefined;
37364
37392
  capturedAt?: number | undefined;
37365
37393
  type: "file" | "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist";
37366
37394
  id: string;
@@ -37371,7 +37399,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
37371
37399
  }, {
37372
37400
  capturedAsEvidence: import("convex/values").VBoolean<boolean | undefined, "optional">;
37373
37401
  capturedAt: import("convex/values").VFloat64<number | undefined, "optional">;
37374
- capturedInsightId: import("convex/values").VId<import("convex/values").GenericId<"epistemicNodes"> | undefined, "optional">;
37402
+ capturedInsightId: import("convex/values").VString<string | undefined, "optional">;
37375
37403
  content: import("convex/values").VString<string, "required">;
37376
37404
  createdAt: import("convex/values").VFloat64<number, "required">;
37377
37405
  createdBy: import("convex/values").VString<string, "required">;
@@ -37392,7 +37420,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
37392
37420
  mappedQuestions?: {
37393
37421
  priority?: "must_ask" | "nice_to_have" | undefined;
37394
37422
  answered?: boolean | undefined;
37395
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
37423
+ insightId?: string | undefined;
37396
37424
  linkedBeliefId?: string | undefined;
37397
37425
  linkedQuestionId?: string | undefined;
37398
37426
  category?: string | undefined;
@@ -37520,7 +37548,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
37520
37548
  mappedQuestions: import("convex/values").VArray<{
37521
37549
  priority?: "must_ask" | "nice_to_have" | undefined;
37522
37550
  answered?: boolean | undefined;
37523
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
37551
+ insightId?: string | undefined;
37524
37552
  linkedBeliefId?: string | undefined;
37525
37553
  linkedQuestionId?: string | undefined;
37526
37554
  category?: string | undefined;
@@ -37532,7 +37560,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
37532
37560
  }[] | undefined, import("convex/values").VObject<{
37533
37561
  priority?: "must_ask" | "nice_to_have" | undefined;
37534
37562
  answered?: boolean | undefined;
37535
- insightId?: import("convex/values").GenericId<"epistemicNodes"> | undefined;
37563
+ insightId?: string | undefined;
37536
37564
  linkedBeliefId?: string | undefined;
37537
37565
  linkedQuestionId?: string | undefined;
37538
37566
  category?: string | undefined;
@@ -37548,7 +37576,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
37548
37576
  capturedAsInsight: import("convex/values").VBoolean<boolean | undefined, "optional">;
37549
37577
  category: import("convex/values").VString<string | undefined, "optional">;
37550
37578
  id: import("convex/values").VString<string, "required">;
37551
- insightId: import("convex/values").VId<import("convex/values").GenericId<"epistemicNodes"> | undefined, "optional">;
37579
+ insightId: import("convex/values").VString<string | undefined, "optional">;
37552
37580
  linkedBeliefId: import("convex/values").VString<string | undefined, "optional">;
37553
37581
  linkedQuestionId: import("convex/values").VString<string | undefined, "optional">;
37554
37582
  priority: import("convex/values").VUnion<"must_ask" | "nice_to_have" | undefined, [import("convex/values").VLiteral<"must_ask", "required">, import("convex/values").VLiteral<"nice_to_have", "required">], "optional", never>;
@@ -37634,9 +37662,9 @@ declare const _default: import("convex/server").SchemaDefinition<{
37634
37662
  title: import("convex/values").VString<string, "required">;
37635
37663
  type: import("convex/values").VUnion<"file" | "transcript" | "note" | "call_script" | "email_template" | "research_plan" | "framework" | "checklist", [import("convex/values").VLiteral<"call_script", "required">, import("convex/values").VLiteral<"email_template", "required">, import("convex/values").VLiteral<"research_plan", "required">, import("convex/values").VLiteral<"framework", "required">, import("convex/values").VLiteral<"checklist", "required">, import("convex/values").VLiteral<"note", "required">, import("convex/values").VLiteral<"file", "required">, import("convex/values").VLiteral<"transcript", "required">], "required", never>;
37636
37664
  }, "required", "type" | "id" | "content" | "title" | "metadata" | "createdBy" | "createdAt" | "capturedAsEvidence" | "capturedInsightId" | "capturedAt" | "metadata.items" | "metadata.linkedBeliefId" | "metadata.linkedQuestionId" | "metadata.fileUrl" | "metadata.fileName" | "metadata.fileSize" | "metadata.frameworkType" | "metadata.variables" | "metadata.mappedQuestions" | "metadata.linkedCallScriptId" | "metadata.editable" | "metadata.executionTool" | "metadata.workflowStepId" | "metadata.workflowOrder" | "metadata.dependsOnStepIds" | "metadata.runCondition" | "metadata.continueOnFailure" | "metadata.stepStatus" | "metadata.stepRunCount" | "metadata.stepLastRunAt" | "metadata.stepOutputSummary" | "metadata.stepOutputData" | "metadata.stepFailureReason" | "metadata.researchResult" | "metadata.researchStatus" | "metadata.researchCompletedAt" | "metadata.researchCitations" | "metadata.generatedPersonas" | "metadata.personasGeneratedAt" | "metadata.expertSearchResults" | "metadata.expertSearchAt" | "metadata.capturedAsEvidence" | "metadata.capturedInsightId" | "metadata.capturedAt" | "metadata.capturedImpact" | "metadata.tools" | "metadata.metrics" | "metadata.personas" | "metadata.experts" | "metadata.factChecker" | "metadata.factChecker.claimsToVerify" | "metadata.factChecker.sourcesToCheck" | "metadata.factChecker.verificationCriteria">, "optional">;
37637
- blockedBy: import("convex/values").VArray<import("convex/values").GenericId<"tasks">[] | undefined, import("convex/values").VId<import("convex/values").GenericId<"tasks">, "required">, "optional">;
37665
+ blockedBy: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
37638
37666
  blockedReason: import("convex/values").VString<string | undefined, "optional">;
37639
- blocks: import("convex/values").VArray<import("convex/values").GenericId<"tasks">[] | undefined, import("convex/values").VId<import("convex/values").GenericId<"tasks">, "required">, "optional">;
37667
+ blocks: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
37640
37668
  comments: import("convex/values").VArray<{
37641
37669
  id: string;
37642
37670
  content: string;
@@ -37666,10 +37694,11 @@ declare const _default: import("convex/server").SchemaDefinition<{
37666
37694
  executionStartedAt: import("convex/values").VFloat64<number | undefined, "optional">;
37667
37695
  executionStatus: import("convex/values").VUnion<"failed" | "completed" | "running" | "pending" | undefined, [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"completed", "required">, import("convex/values").VLiteral<"failed", "required">], "optional", never>;
37668
37696
  executionType: import("convex/values").VUnion<"manual" | "verify_claim" | "research_search" | "find_news" | "identify_experts" | "market_research" | "generate_primer" | "mcp_research" | "mcp_web_search" | "mcp_capture" | "mcp_network_search" | undefined, [import("convex/values").VLiteral<"research_search", "required">, import("convex/values").VLiteral<"find_news", "required">, import("convex/values").VLiteral<"identify_experts", "required">, import("convex/values").VLiteral<"market_research", "required">, import("convex/values").VLiteral<"generate_primer", "required">, import("convex/values").VLiteral<"verify_claim", "required">, import("convex/values").VLiteral<"manual", "required">, import("convex/values").VLiteral<"mcp_research", "required">, import("convex/values").VLiteral<"mcp_web_search", "required">, import("convex/values").VLiteral<"mcp_capture", "required">, import("convex/values").VLiteral<"mcp_network_search", "required">], "optional", never>;
37697
+ globalId: import("convex/values").VString<string, "required">;
37669
37698
  linkedBeliefId: import("convex/values").VString<string | undefined, "optional">;
37670
37699
  linkedChatId: import("convex/values").VString<string | undefined, "optional">;
37671
37700
  linkedQuestionId: import("convex/values").VString<string | undefined, "optional">;
37672
- linkedWorktreeId: import("convex/values").VId<import("convex/values").GenericId<"worktrees"> | undefined, "optional">;
37701
+ linkedWorktreeId: import("convex/values").VString<string | undefined, "optional">;
37673
37702
  mcpDatasetIds: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
37674
37703
  mcpExecutionId: import("convex/values").VString<string | undefined, "optional">;
37675
37704
  mcpSkillIds: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
@@ -37699,7 +37728,8 @@ declare const _default: import("convex/server").SchemaDefinition<{
37699
37728
  topicId: import("convex/values").VString<string | undefined, "optional">;
37700
37729
  updatedAt: import("convex/values").VFloat64<number, "required">;
37701
37730
  workspaceId: import("convex/values").VString<string | undefined, "optional">;
37702
- }, "required", "priority" | "title" | "description" | "status" | "blocks" | "topicId" | "createdBy" | "tenantId" | "workspaceId" | "createdAt" | "updatedAt" | "tags" | "blockedBy" | "taskType" | "linkedWorktreeId" | "linkedBeliefId" | "linkedQuestionId" | "assigneeId" | "dueDate" | "completedAt" | "blockedReason" | "sortOrder" | "executionOrder" | "subtasks" | "comments" | "attachments" | "executionType" | "executionStatus" | "executionResults" | "executionStartedAt" | "executionCompletedAt" | "executionError" | "mcpDatasetIds" | "mcpSkillIds" | "mcpExecutionId" | "linkedChatId" | "completedBy" | `executionResults.${string}`>, {
37731
+ }, "required", "priority" | "title" | "description" | "status" | "blocks" | "globalId" | "topicId" | "createdBy" | "tenantId" | "workspaceId" | "createdAt" | "updatedAt" | "tags" | "blockedBy" | "taskType" | "linkedWorktreeId" | "linkedBeliefId" | "linkedQuestionId" | "assigneeId" | "dueDate" | "completedAt" | "blockedReason" | "sortOrder" | "executionOrder" | "subtasks" | "comments" | "attachments" | "executionType" | "executionStatus" | "executionResults" | "executionStartedAt" | "executionCompletedAt" | "executionError" | "mcpDatasetIds" | "mcpSkillIds" | "mcpExecutionId" | "linkedChatId" | "completedBy" | `executionResults.${string}`>, {
37732
+ by_globalId: ["globalId", "_creationTime"];
37703
37733
  by_topicId: ["topicId", "_creationTime"];
37704
37734
  by_topicId_status: ["topicId", "status", "_creationTime"];
37705
37735
  by_tenantId: ["tenantId", "_creationTime"];
@@ -37872,7 +37902,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
37872
37902
  llmEvidenceScores?: string | undefined;
37873
37903
  llmAssessedAt?: number | undefined;
37874
37904
  beliefId: string;
37875
- worktreeId: import("convex/values").GenericId<"worktrees">;
37905
+ worktreeId: string;
37876
37906
  updatedAt: number;
37877
37907
  relationType: "conditional" | "primary" | "supporting" | "contradicting" | "counterfactual" | "cascade" | "alternative" | "dependency" | "prerequisite";
37878
37908
  addedAt: number;
@@ -37895,7 +37925,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
37895
37925
  relationDescription: import("convex/values").VString<string | undefined, "optional">;
37896
37926
  relationType: import("convex/values").VUnion<"conditional" | "primary" | "supporting" | "contradicting" | "counterfactual" | "cascade" | "alternative" | "dependency" | "prerequisite", [import("convex/values").VLiteral<"primary", "required">, import("convex/values").VLiteral<"counterfactual", "required">, import("convex/values").VLiteral<"dependency", "required">, import("convex/values").VLiteral<"cascade", "required">, import("convex/values").VLiteral<"conditional", "required">, import("convex/values").VLiteral<"supporting", "required">, import("convex/values").VLiteral<"contradicting", "required">, import("convex/values").VLiteral<"alternative", "required">, import("convex/values").VLiteral<"prerequisite", "required">], "required", never>;
37897
37927
  updatedAt: import("convex/values").VFloat64<number, "required">;
37898
- worktreeId: import("convex/values").VId<import("convex/values").GenericId<"worktrees">, "required">;
37928
+ worktreeId: import("convex/values").VString<string, "required">;
37899
37929
  }, "required", "beliefId" | "worktreeId" | "updatedAt" | "confidenceDelta" | "relationType" | "relationDescription" | "counterfactualText" | "dependencyText" | "cascadeText" | "initialConfidence" | "initialEvidenceCount" | "finalConfidence" | "finalEvidenceCount" | "llmValence" | "llmCertainty" | "llmReasoning" | "llmEvidenceScores" | "llmAssessedAt" | "addedAt">, {
37900
37930
  by_worktree: ["worktreeId", "_creationTime"];
37901
37931
  by_belief: ["beliefId", "_creationTime"];
@@ -37904,10 +37934,9 @@ declare const _default: import("convex/server").SchemaDefinition<{
37904
37934
  worktrees: import("convex/server").TableDefinition<import("convex/values").VObject<{
37905
37935
  priority?: number | undefined;
37906
37936
  metadata?: any;
37907
- blocks?: import("convex/values").GenericId<"worktrees">[] | undefined;
37908
- globalId?: string | undefined;
37937
+ blocks?: string[] | undefined;
37909
37938
  campaign?: number | undefined;
37910
- dependsOn?: import("convex/values").GenericId<"worktrees">[] | undefined;
37939
+ dependsOn?: string[] | undefined;
37911
37940
  topicId?: string | undefined;
37912
37941
  lane?: string | undefined;
37913
37942
  orderInLane?: number | undefined;
@@ -38044,7 +38073,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
38044
38073
  text: string;
38045
38074
  verified: boolean;
38046
38075
  }[];
38047
- worktreeId: import("convex/values").GenericId<"worktrees">;
38076
+ worktreeId: string;
38048
38077
  outcome: {
38049
38078
  summary: string;
38050
38079
  verdict: string;
@@ -38155,6 +38184,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
38155
38184
  index: number;
38156
38185
  name: string;
38157
38186
  status: "active" | "completed" | "paused" | "abandoned" | "planning" | "suggested" | "dismissed";
38187
+ globalId: string;
38158
38188
  createdBy: string;
38159
38189
  targetBeliefIds: string[];
38160
38190
  targetQuestionIds: string[];
@@ -38201,7 +38231,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
38201
38231
  timeframe: import("convex/values").VString<string | undefined, "optional">;
38202
38232
  }, "optional", "checklist" | "isRefined" | "refinedAt" | "refinedBy" | "originalText" | "refinedText" | "testingCriteria" | "measurableCriteria" | "timeframe" | "checklist.hasSpecificClaim" | "checklist.hasTimeframe" | "checklist.hasMeasurableCriteria" | "checklist.hasTestability">;
38203
38233
  beliefRefinements: import("convex/values").VArray<any[] | undefined, import("convex/values").VAny<any, "required", string>, "optional">;
38204
- blocks: import("convex/values").VArray<import("convex/values").GenericId<"worktrees">[] | undefined, import("convex/values").VId<import("convex/values").GenericId<"worktrees">, "required">, "optional">;
38234
+ blocks: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
38205
38235
  branchThesis: import("convex/values").VObject<{
38206
38236
  generatedAt?: number | undefined;
38207
38237
  memoContent?: string | undefined;
@@ -38284,7 +38314,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
38284
38314
  verdictRationale: import("convex/values").VString<string | undefined, "optional">;
38285
38315
  }, "optional", "decidedAt" | "goCriteria" | "noGoSignals" | "verdict" | "verdictRationale" | "decidedBy">;
38286
38316
  decisionsReached: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
38287
- dependsOn: import("convex/values").VArray<import("convex/values").GenericId<"worktrees">[] | undefined, import("convex/values").VId<import("convex/values").GenericId<"worktrees">, "required">, "optional">;
38317
+ dependsOn: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;
38288
38318
  dismissedReason: import("convex/values").VString<string | undefined, "optional">;
38289
38319
  durationWeeks: import("convex/values").VFloat64<number, "required">;
38290
38320
  endDate: import("convex/values").VFloat64<number, "required">;
@@ -38344,7 +38374,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
38344
38374
  text: string;
38345
38375
  verified: boolean;
38346
38376
  }[];
38347
- worktreeId: import("convex/values").GenericId<"worktrees">;
38377
+ worktreeId: string;
38348
38378
  outcome: {
38349
38379
  summary: string;
38350
38380
  verdict: string;
@@ -38534,7 +38564,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
38534
38564
  tasksCompleted: import("convex/values").VFloat64<number | undefined, "optional">;
38535
38565
  topicId: import("convex/values").VString<string | undefined, "optional">;
38536
38566
  totalTasks: import("convex/values").VFloat64<number | undefined, "optional">;
38537
- worktreeId: import("convex/values").VId<import("convex/values").GenericId<"worktrees">, "required">;
38567
+ worktreeId: import("convex/values").VString<string, "required">;
38538
38568
  }, "optional", "evidence" | "topicId" | "worktreeId" | "outcome" | "questions" | "capturedAt" | "capturedBy" | "primaryBelief" | "clusterEdges" | "relatedBeliefs" | "tasksCompleted" | "totalTasks" | "confidenceHistory" | "outcome.summary" | "outcome.verdict" | "outcome.startingConfidence" | "outcome.endingConfidence" | "outcome.confidenceChange" | "primaryBelief.id" | "primaryBelief.text" | "primaryBelief.status" | "primaryBelief.startingConfidence" | "primaryBelief.endingConfidence" | "primaryBelief.startingConfidenceLabel" | "primaryBelief.endingConfidenceLabel" | "primaryBelief.confidenceScore" | "primaryBelief.criticality">;
38539
38569
  epistemicOrigin: import("convex/values").VString<string | undefined, "optional">;
38540
38570
  evidenceReviewState: import("convex/values").VObject<{
@@ -38587,7 +38617,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
38587
38617
  gate: import("convex/values").VString<string | undefined, "optional">;
38588
38618
  generatedAt: import("convex/values").VFloat64<number | undefined, "optional">;
38589
38619
  generatedBy: import("convex/values").VString<string | undefined, "optional">;
38590
- globalId: import("convex/values").VString<string | undefined, "optional">;
38620
+ globalId: import("convex/values").VString<string, "required">;
38591
38621
  hypothesis: import("convex/values").VString<string | undefined, "optional">;
38592
38622
  index: import("convex/values").VFloat64<number, "required">;
38593
38623
  keyFindings: import("convex/values").VArray<string[] | undefined, import("convex/values").VString<string, "required">, "optional">;