strategic-intelligence-mcp
Version:
Strategic Intelligence MCP Server - connecting technical progress to business outcomes with systematic strategic planning
1,304 lines (1,303 loc) • 58.4 kB
TypeScript
import { z } from 'zod';
export declare const StrategyConversationTypeSchema: z.ZodEnum<["market-analysis", "product-roadmap", "competitive-strategy", "monetization", "go-to-market", "technical-milestone-review", "business-goal-assessment"]>;
export type StrategyConversationType = z.infer<typeof StrategyConversationTypeSchema>;
export declare const StrategyInsightSchema: z.ZodObject<{
id: z.ZodString;
content: z.ZodString;
category: z.ZodEnum<["competitive-advantage", "market-opportunity", "technical-capability", "business-model", "risk-mitigation", "resource-optimization"]>;
impact: z.ZodEnum<["critical", "high", "medium", "low"]>;
evidence: z.ZodArray<z.ZodString, "many">;
actionable: z.ZodBoolean;
timestamp: z.ZodString;
linkedInsights: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
linkedReflections: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
id: string;
content: string;
category: "competitive-advantage" | "market-opportunity" | "technical-capability" | "business-model" | "risk-mitigation" | "resource-optimization";
impact: "critical" | "high" | "medium" | "low";
evidence: string[];
actionable: boolean;
timestamp: string;
linkedInsights?: string[] | undefined;
linkedReflections?: string[] | undefined;
}, {
id: string;
content: string;
category: "competitive-advantage" | "market-opportunity" | "technical-capability" | "business-model" | "risk-mitigation" | "resource-optimization";
impact: "critical" | "high" | "medium" | "low";
evidence: string[];
actionable: boolean;
timestamp: string;
linkedInsights?: string[] | undefined;
linkedReflections?: string[] | undefined;
}>;
export type StrategyInsight = z.infer<typeof StrategyInsightSchema>;
export declare const StrategyDecisionSchema: z.ZodObject<{
id: z.ZodString;
decision: z.ZodString;
rationale: z.ZodString;
tradeoffs: z.ZodArray<z.ZodString, "many">;
reviewTriggers: z.ZodArray<z.ZodString, "many">;
timeline: z.ZodOptional<z.ZodString>;
owner: z.ZodOptional<z.ZodString>;
status: z.ZodEnum<["pending", "approved", "implemented", "reviewed"]>;
timestamp: z.ZodString;
outcomes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
status: "pending" | "approved" | "implemented" | "reviewed";
id: string;
timestamp: string;
decision: string;
rationale: string;
tradeoffs: string[];
reviewTriggers: string[];
timeline?: string | undefined;
owner?: string | undefined;
outcomes?: string[] | undefined;
}, {
status: "pending" | "approved" | "implemented" | "reviewed";
id: string;
timestamp: string;
decision: string;
rationale: string;
tradeoffs: string[];
reviewTriggers: string[];
timeline?: string | undefined;
owner?: string | undefined;
outcomes?: string[] | undefined;
}>;
export type StrategyDecision = z.infer<typeof StrategyDecisionSchema>;
export declare const ActionItemSchema: z.ZodObject<{
id: z.ZodString;
description: z.ZodString;
owner: z.ZodString;
dueDate: z.ZodString;
priority: z.ZodEnum<["critical", "high", "medium", "low"]>;
status: z.ZodEnum<["pending", "in-progress", "completed", "blocked"]>;
blockers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
linkedGoals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
timestamp: z.ZodString;
}, "strip", z.ZodTypeAny, {
status: "pending" | "in-progress" | "completed" | "blocked";
id: string;
timestamp: string;
owner: string;
description: string;
dueDate: string;
priority: "critical" | "high" | "medium" | "low";
blockers?: string[] | undefined;
linkedGoals?: string[] | undefined;
}, {
status: "pending" | "in-progress" | "completed" | "blocked";
id: string;
timestamp: string;
owner: string;
description: string;
dueDate: string;
priority: "critical" | "high" | "medium" | "low";
blockers?: string[] | undefined;
linkedGoals?: string[] | undefined;
}>;
export type ActionItem = z.infer<typeof ActionItemSchema>;
export declare const StrategyConversationSchema: z.ZodObject<{
id: z.ZodString;
type: z.ZodEnum<["market-analysis", "product-roadmap", "competitive-strategy", "monetization", "go-to-market", "technical-milestone-review", "business-goal-assessment"]>;
title: z.ZodString;
timestamp: z.ZodString;
participants: z.ZodArray<z.ZodString, "many">;
context: z.ZodObject<{
technicalMilestone: z.ZodOptional<z.ZodString>;
businessTrigger: z.ZodOptional<z.ZodString>;
marketEvent: z.ZodOptional<z.ZodString>;
relatedInsights: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
relatedReflections: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
urgency: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
}, "strip", z.ZodTypeAny, {
technicalMilestone?: string | undefined;
businessTrigger?: string | undefined;
marketEvent?: string | undefined;
relatedInsights?: string[] | undefined;
relatedReflections?: string[] | undefined;
urgency?: "critical" | "high" | "medium" | "low" | undefined;
}, {
technicalMilestone?: string | undefined;
businessTrigger?: string | undefined;
marketEvent?: string | undefined;
relatedInsights?: string[] | undefined;
relatedReflections?: string[] | undefined;
urgency?: "critical" | "high" | "medium" | "low" | undefined;
}>;
insights: z.ZodArray<z.ZodObject<{
id: z.ZodString;
content: z.ZodString;
category: z.ZodEnum<["competitive-advantage", "market-opportunity", "technical-capability", "business-model", "risk-mitigation", "resource-optimization"]>;
impact: z.ZodEnum<["critical", "high", "medium", "low"]>;
evidence: z.ZodArray<z.ZodString, "many">;
actionable: z.ZodBoolean;
timestamp: z.ZodString;
linkedInsights: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
linkedReflections: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
id: string;
content: string;
category: "competitive-advantage" | "market-opportunity" | "technical-capability" | "business-model" | "risk-mitigation" | "resource-optimization";
impact: "critical" | "high" | "medium" | "low";
evidence: string[];
actionable: boolean;
timestamp: string;
linkedInsights?: string[] | undefined;
linkedReflections?: string[] | undefined;
}, {
id: string;
content: string;
category: "competitive-advantage" | "market-opportunity" | "technical-capability" | "business-model" | "risk-mitigation" | "resource-optimization";
impact: "critical" | "high" | "medium" | "low";
evidence: string[];
actionable: boolean;
timestamp: string;
linkedInsights?: string[] | undefined;
linkedReflections?: string[] | undefined;
}>, "many">;
decisions: z.ZodArray<z.ZodObject<{
id: z.ZodString;
decision: z.ZodString;
rationale: z.ZodString;
tradeoffs: z.ZodArray<z.ZodString, "many">;
reviewTriggers: z.ZodArray<z.ZodString, "many">;
timeline: z.ZodOptional<z.ZodString>;
owner: z.ZodOptional<z.ZodString>;
status: z.ZodEnum<["pending", "approved", "implemented", "reviewed"]>;
timestamp: z.ZodString;
outcomes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
status: "pending" | "approved" | "implemented" | "reviewed";
id: string;
timestamp: string;
decision: string;
rationale: string;
tradeoffs: string[];
reviewTriggers: string[];
timeline?: string | undefined;
owner?: string | undefined;
outcomes?: string[] | undefined;
}, {
status: "pending" | "approved" | "implemented" | "reviewed";
id: string;
timestamp: string;
decision: string;
rationale: string;
tradeoffs: string[];
reviewTriggers: string[];
timeline?: string | undefined;
owner?: string | undefined;
outcomes?: string[] | undefined;
}>, "many">;
actionItems: z.ZodArray<z.ZodObject<{
id: z.ZodString;
description: z.ZodString;
owner: z.ZodString;
dueDate: z.ZodString;
priority: z.ZodEnum<["critical", "high", "medium", "low"]>;
status: z.ZodEnum<["pending", "in-progress", "completed", "blocked"]>;
blockers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
linkedGoals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
timestamp: z.ZodString;
}, "strip", z.ZodTypeAny, {
status: "pending" | "in-progress" | "completed" | "blocked";
id: string;
timestamp: string;
owner: string;
description: string;
dueDate: string;
priority: "critical" | "high" | "medium" | "low";
blockers?: string[] | undefined;
linkedGoals?: string[] | undefined;
}, {
status: "pending" | "in-progress" | "completed" | "blocked";
id: string;
timestamp: string;
owner: string;
description: string;
dueDate: string;
priority: "critical" | "high" | "medium" | "low";
blockers?: string[] | undefined;
linkedGoals?: string[] | undefined;
}>, "many">;
nextReview: z.ZodString;
conversationSummary: z.ZodString;
keyQuestions: z.ZodArray<z.ZodString, "many">;
status: z.ZodEnum<["draft", "active", "completed", "archived"]>;
}, "strip", z.ZodTypeAny, {
type: "market-analysis" | "product-roadmap" | "competitive-strategy" | "monetization" | "go-to-market" | "technical-milestone-review" | "business-goal-assessment";
status: "completed" | "draft" | "active" | "archived";
id: string;
timestamp: string;
title: string;
participants: string[];
context: {
technicalMilestone?: string | undefined;
businessTrigger?: string | undefined;
marketEvent?: string | undefined;
relatedInsights?: string[] | undefined;
relatedReflections?: string[] | undefined;
urgency?: "critical" | "high" | "medium" | "low" | undefined;
};
insights: {
id: string;
content: string;
category: "competitive-advantage" | "market-opportunity" | "technical-capability" | "business-model" | "risk-mitigation" | "resource-optimization";
impact: "critical" | "high" | "medium" | "low";
evidence: string[];
actionable: boolean;
timestamp: string;
linkedInsights?: string[] | undefined;
linkedReflections?: string[] | undefined;
}[];
decisions: {
status: "pending" | "approved" | "implemented" | "reviewed";
id: string;
timestamp: string;
decision: string;
rationale: string;
tradeoffs: string[];
reviewTriggers: string[];
timeline?: string | undefined;
owner?: string | undefined;
outcomes?: string[] | undefined;
}[];
actionItems: {
status: "pending" | "in-progress" | "completed" | "blocked";
id: string;
timestamp: string;
owner: string;
description: string;
dueDate: string;
priority: "critical" | "high" | "medium" | "low";
blockers?: string[] | undefined;
linkedGoals?: string[] | undefined;
}[];
nextReview: string;
conversationSummary: string;
keyQuestions: string[];
}, {
type: "market-analysis" | "product-roadmap" | "competitive-strategy" | "monetization" | "go-to-market" | "technical-milestone-review" | "business-goal-assessment";
status: "completed" | "draft" | "active" | "archived";
id: string;
timestamp: string;
title: string;
participants: string[];
context: {
technicalMilestone?: string | undefined;
businessTrigger?: string | undefined;
marketEvent?: string | undefined;
relatedInsights?: string[] | undefined;
relatedReflections?: string[] | undefined;
urgency?: "critical" | "high" | "medium" | "low" | undefined;
};
insights: {
id: string;
content: string;
category: "competitive-advantage" | "market-opportunity" | "technical-capability" | "business-model" | "risk-mitigation" | "resource-optimization";
impact: "critical" | "high" | "medium" | "low";
evidence: string[];
actionable: boolean;
timestamp: string;
linkedInsights?: string[] | undefined;
linkedReflections?: string[] | undefined;
}[];
decisions: {
status: "pending" | "approved" | "implemented" | "reviewed";
id: string;
timestamp: string;
decision: string;
rationale: string;
tradeoffs: string[];
reviewTriggers: string[];
timeline?: string | undefined;
owner?: string | undefined;
outcomes?: string[] | undefined;
}[];
actionItems: {
status: "pending" | "in-progress" | "completed" | "blocked";
id: string;
timestamp: string;
owner: string;
description: string;
dueDate: string;
priority: "critical" | "high" | "medium" | "low";
blockers?: string[] | undefined;
linkedGoals?: string[] | undefined;
}[];
nextReview: string;
conversationSummary: string;
keyQuestions: string[];
}>;
export type StrategyConversation = z.infer<typeof StrategyConversationSchema>;
export declare const GoalMetricSchema: z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
type: z.ZodEnum<["revenue", "growth", "efficiency", "quality", "satisfaction"]>;
target: z.ZodNumber;
current: z.ZodNumber;
unit: z.ZodString;
timeframe: z.ZodString;
lastUpdated: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: "revenue" | "growth" | "efficiency" | "quality" | "satisfaction";
id: string;
name: string;
target: number;
current: number;
unit: string;
timeframe: string;
lastUpdated: string;
}, {
type: "revenue" | "growth" | "efficiency" | "quality" | "satisfaction";
id: string;
name: string;
target: number;
current: number;
unit: string;
timeframe: string;
lastUpdated: string;
}>;
export type GoalMetric = z.infer<typeof GoalMetricSchema>;
export declare const MilestoneSchema: z.ZodObject<{
id: z.ZodString;
title: z.ZodString;
description: z.ZodString;
targetDate: z.ZodString;
status: z.ZodEnum<["pending", "in-progress", "completed", "delayed", "cancelled"]>;
completionDate: z.ZodOptional<z.ZodString>;
blockers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
linkedTechnicalWork: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
status: "pending" | "in-progress" | "completed" | "delayed" | "cancelled";
id: string;
description: string;
title: string;
targetDate: string;
blockers?: string[] | undefined;
completionDate?: string | undefined;
linkedTechnicalWork?: string[] | undefined;
}, {
status: "pending" | "in-progress" | "completed" | "delayed" | "cancelled";
id: string;
description: string;
title: string;
targetDate: string;
blockers?: string[] | undefined;
completionDate?: string | undefined;
linkedTechnicalWork?: string[] | undefined;
}>;
export type Milestone = z.infer<typeof MilestoneSchema>;
export declare const ProgressSnapshotSchema: z.ZodObject<{
id: z.ZodString;
timestamp: z.ZodString;
completion: z.ZodNumber;
confidence: z.ZodNumber;
notes: z.ZodString;
blockers: z.ZodArray<z.ZodString, "many">;
achievements: z.ZodArray<z.ZodString, "many">;
risks: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
id: string;
timestamp: string;
blockers: string[];
completion: number;
confidence: number;
notes: string;
achievements: string[];
risks: string[];
}, {
id: string;
timestamp: string;
blockers: string[];
completion: number;
confidence: number;
notes: string;
achievements: string[];
risks: string[];
}>;
export type ProgressSnapshot = z.infer<typeof ProgressSnapshotSchema>;
export declare const BusinessGoalSchema: z.ZodObject<{
id: z.ZodString;
category: z.ZodEnum<["revenue", "product", "market", "technical", "operational"]>;
title: z.ZodString;
description: z.ZodString;
metrics: z.ZodArray<z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
type: z.ZodEnum<["revenue", "growth", "efficiency", "quality", "satisfaction"]>;
target: z.ZodNumber;
current: z.ZodNumber;
unit: z.ZodString;
timeframe: z.ZodString;
lastUpdated: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: "revenue" | "growth" | "efficiency" | "quality" | "satisfaction";
id: string;
name: string;
target: number;
current: number;
unit: string;
timeframe: string;
lastUpdated: string;
}, {
type: "revenue" | "growth" | "efficiency" | "quality" | "satisfaction";
id: string;
name: string;
target: number;
current: number;
unit: string;
timeframe: string;
lastUpdated: string;
}>, "many">;
milestones: z.ZodArray<z.ZodObject<{
id: z.ZodString;
title: z.ZodString;
description: z.ZodString;
targetDate: z.ZodString;
status: z.ZodEnum<["pending", "in-progress", "completed", "delayed", "cancelled"]>;
completionDate: z.ZodOptional<z.ZodString>;
blockers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
linkedTechnicalWork: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
status: "pending" | "in-progress" | "completed" | "delayed" | "cancelled";
id: string;
description: string;
title: string;
targetDate: string;
blockers?: string[] | undefined;
completionDate?: string | undefined;
linkedTechnicalWork?: string[] | undefined;
}, {
status: "pending" | "in-progress" | "completed" | "delayed" | "cancelled";
id: string;
description: string;
title: string;
targetDate: string;
blockers?: string[] | undefined;
completionDate?: string | undefined;
linkedTechnicalWork?: string[] | undefined;
}>, "many">;
dependencies: z.ZodObject<{
technicalFeatures: z.ZodArray<z.ZodString, "many">;
businessPrerequisites: z.ZodArray<z.ZodString, "many">;
externalFactors: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
technicalFeatures: string[];
businessPrerequisites: string[];
externalFactors: string[];
}, {
technicalFeatures: string[];
businessPrerequisites: string[];
externalFactors: string[];
}>;
status: z.ZodEnum<["planning", "active", "blocked", "completed", "paused"]>;
confidence: z.ZodNumber;
lastUpdated: z.ZodString;
linkedInsights: z.ZodArray<z.ZodString, "many">;
progressHistory: z.ZodArray<z.ZodObject<{
id: z.ZodString;
timestamp: z.ZodString;
completion: z.ZodNumber;
confidence: z.ZodNumber;
notes: z.ZodString;
blockers: z.ZodArray<z.ZodString, "many">;
achievements: z.ZodArray<z.ZodString, "many">;
risks: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
id: string;
timestamp: string;
blockers: string[];
completion: number;
confidence: number;
notes: string;
achievements: string[];
risks: string[];
}, {
id: string;
timestamp: string;
blockers: string[];
completion: number;
confidence: number;
notes: string;
achievements: string[];
risks: string[];
}>, "many">;
owner: z.ZodString;
stakeholders: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
status: "completed" | "blocked" | "active" | "planning" | "paused";
id: string;
category: "revenue" | "product" | "market" | "technical" | "operational";
linkedInsights: string[];
owner: string;
description: string;
title: string;
lastUpdated: string;
confidence: number;
metrics: {
type: "revenue" | "growth" | "efficiency" | "quality" | "satisfaction";
id: string;
name: string;
target: number;
current: number;
unit: string;
timeframe: string;
lastUpdated: string;
}[];
milestones: {
status: "pending" | "in-progress" | "completed" | "delayed" | "cancelled";
id: string;
description: string;
title: string;
targetDate: string;
blockers?: string[] | undefined;
completionDate?: string | undefined;
linkedTechnicalWork?: string[] | undefined;
}[];
dependencies: {
technicalFeatures: string[];
businessPrerequisites: string[];
externalFactors: string[];
};
progressHistory: {
id: string;
timestamp: string;
blockers: string[];
completion: number;
confidence: number;
notes: string;
achievements: string[];
risks: string[];
}[];
stakeholders: string[];
}, {
status: "completed" | "blocked" | "active" | "planning" | "paused";
id: string;
category: "revenue" | "product" | "market" | "technical" | "operational";
linkedInsights: string[];
owner: string;
description: string;
title: string;
lastUpdated: string;
confidence: number;
metrics: {
type: "revenue" | "growth" | "efficiency" | "quality" | "satisfaction";
id: string;
name: string;
target: number;
current: number;
unit: string;
timeframe: string;
lastUpdated: string;
}[];
milestones: {
status: "pending" | "in-progress" | "completed" | "delayed" | "cancelled";
id: string;
description: string;
title: string;
targetDate: string;
blockers?: string[] | undefined;
completionDate?: string | undefined;
linkedTechnicalWork?: string[] | undefined;
}[];
dependencies: {
technicalFeatures: string[];
businessPrerequisites: string[];
externalFactors: string[];
};
progressHistory: {
id: string;
timestamp: string;
blockers: string[];
completion: number;
confidence: number;
notes: string;
achievements: string[];
risks: string[];
}[];
stakeholders: string[];
}>;
export type BusinessGoal = z.infer<typeof BusinessGoalSchema>;
export declare const AlignmentMappingSchema: z.ZodObject<{
id: z.ZodString;
technicalFeature: z.ZodString;
codebaseEvidence: z.ZodArray<z.ZodString, "many">;
businessValue: z.ZodObject<{
primaryGoals: z.ZodArray<z.ZodString, "many">;
impact: z.ZodEnum<["critical", "high", "medium", "low"]>;
revenueImplication: z.ZodNumber;
userImpact: z.ZodString;
competitiveAdvantage: z.ZodString;
}, "strip", z.ZodTypeAny, {
impact: "critical" | "high" | "medium" | "low";
primaryGoals: string[];
revenueImplication: number;
userImpact: string;
competitiveAdvantage: string;
}, {
impact: "critical" | "high" | "medium" | "low";
primaryGoals: string[];
revenueImplication: number;
userImpact: string;
competitiveAdvantage: string;
}>;
progressMetrics: z.ZodObject<{
technicalCompletion: z.ZodNumber;
businessReadiness: z.ZodNumber;
marketValidation: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
technicalCompletion: number;
businessReadiness: number;
marketValidation: number;
}, {
technicalCompletion: number;
businessReadiness: number;
marketValidation: number;
}>;
insights: z.ZodArray<z.ZodString, "many">;
lastUpdated: z.ZodString;
}, "strip", z.ZodTypeAny, {
id: string;
insights: string[];
lastUpdated: string;
technicalFeature: string;
codebaseEvidence: string[];
businessValue: {
impact: "critical" | "high" | "medium" | "low";
primaryGoals: string[];
revenueImplication: number;
userImpact: string;
competitiveAdvantage: string;
};
progressMetrics: {
technicalCompletion: number;
businessReadiness: number;
marketValidation: number;
};
}, {
id: string;
insights: string[];
lastUpdated: string;
technicalFeature: string;
codebaseEvidence: string[];
businessValue: {
impact: "critical" | "high" | "medium" | "low";
primaryGoals: string[];
revenueImplication: number;
userImpact: string;
competitiveAdvantage: string;
};
progressMetrics: {
technicalCompletion: number;
businessReadiness: number;
marketValidation: number;
};
}>;
export type AlignmentMapping = z.infer<typeof AlignmentMappingSchema>;
export declare const StrategicDatabaseSchema: z.ZodObject<{
conversations: z.ZodRecord<z.ZodString, z.ZodObject<{
id: z.ZodString;
type: z.ZodEnum<["market-analysis", "product-roadmap", "competitive-strategy", "monetization", "go-to-market", "technical-milestone-review", "business-goal-assessment"]>;
title: z.ZodString;
timestamp: z.ZodString;
participants: z.ZodArray<z.ZodString, "many">;
context: z.ZodObject<{
technicalMilestone: z.ZodOptional<z.ZodString>;
businessTrigger: z.ZodOptional<z.ZodString>;
marketEvent: z.ZodOptional<z.ZodString>;
relatedInsights: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
relatedReflections: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
urgency: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
}, "strip", z.ZodTypeAny, {
technicalMilestone?: string | undefined;
businessTrigger?: string | undefined;
marketEvent?: string | undefined;
relatedInsights?: string[] | undefined;
relatedReflections?: string[] | undefined;
urgency?: "critical" | "high" | "medium" | "low" | undefined;
}, {
technicalMilestone?: string | undefined;
businessTrigger?: string | undefined;
marketEvent?: string | undefined;
relatedInsights?: string[] | undefined;
relatedReflections?: string[] | undefined;
urgency?: "critical" | "high" | "medium" | "low" | undefined;
}>;
insights: z.ZodArray<z.ZodObject<{
id: z.ZodString;
content: z.ZodString;
category: z.ZodEnum<["competitive-advantage", "market-opportunity", "technical-capability", "business-model", "risk-mitigation", "resource-optimization"]>;
impact: z.ZodEnum<["critical", "high", "medium", "low"]>;
evidence: z.ZodArray<z.ZodString, "many">;
actionable: z.ZodBoolean;
timestamp: z.ZodString;
linkedInsights: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
linkedReflections: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
id: string;
content: string;
category: "competitive-advantage" | "market-opportunity" | "technical-capability" | "business-model" | "risk-mitigation" | "resource-optimization";
impact: "critical" | "high" | "medium" | "low";
evidence: string[];
actionable: boolean;
timestamp: string;
linkedInsights?: string[] | undefined;
linkedReflections?: string[] | undefined;
}, {
id: string;
content: string;
category: "competitive-advantage" | "market-opportunity" | "technical-capability" | "business-model" | "risk-mitigation" | "resource-optimization";
impact: "critical" | "high" | "medium" | "low";
evidence: string[];
actionable: boolean;
timestamp: string;
linkedInsights?: string[] | undefined;
linkedReflections?: string[] | undefined;
}>, "many">;
decisions: z.ZodArray<z.ZodObject<{
id: z.ZodString;
decision: z.ZodString;
rationale: z.ZodString;
tradeoffs: z.ZodArray<z.ZodString, "many">;
reviewTriggers: z.ZodArray<z.ZodString, "many">;
timeline: z.ZodOptional<z.ZodString>;
owner: z.ZodOptional<z.ZodString>;
status: z.ZodEnum<["pending", "approved", "implemented", "reviewed"]>;
timestamp: z.ZodString;
outcomes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
status: "pending" | "approved" | "implemented" | "reviewed";
id: string;
timestamp: string;
decision: string;
rationale: string;
tradeoffs: string[];
reviewTriggers: string[];
timeline?: string | undefined;
owner?: string | undefined;
outcomes?: string[] | undefined;
}, {
status: "pending" | "approved" | "implemented" | "reviewed";
id: string;
timestamp: string;
decision: string;
rationale: string;
tradeoffs: string[];
reviewTriggers: string[];
timeline?: string | undefined;
owner?: string | undefined;
outcomes?: string[] | undefined;
}>, "many">;
actionItems: z.ZodArray<z.ZodObject<{
id: z.ZodString;
description: z.ZodString;
owner: z.ZodString;
dueDate: z.ZodString;
priority: z.ZodEnum<["critical", "high", "medium", "low"]>;
status: z.ZodEnum<["pending", "in-progress", "completed", "blocked"]>;
blockers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
linkedGoals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
timestamp: z.ZodString;
}, "strip", z.ZodTypeAny, {
status: "pending" | "in-progress" | "completed" | "blocked";
id: string;
timestamp: string;
owner: string;
description: string;
dueDate: string;
priority: "critical" | "high" | "medium" | "low";
blockers?: string[] | undefined;
linkedGoals?: string[] | undefined;
}, {
status: "pending" | "in-progress" | "completed" | "blocked";
id: string;
timestamp: string;
owner: string;
description: string;
dueDate: string;
priority: "critical" | "high" | "medium" | "low";
blockers?: string[] | undefined;
linkedGoals?: string[] | undefined;
}>, "many">;
nextReview: z.ZodString;
conversationSummary: z.ZodString;
keyQuestions: z.ZodArray<z.ZodString, "many">;
status: z.ZodEnum<["draft", "active", "completed", "archived"]>;
}, "strip", z.ZodTypeAny, {
type: "market-analysis" | "product-roadmap" | "competitive-strategy" | "monetization" | "go-to-market" | "technical-milestone-review" | "business-goal-assessment";
status: "completed" | "draft" | "active" | "archived";
id: string;
timestamp: string;
title: string;
participants: string[];
context: {
technicalMilestone?: string | undefined;
businessTrigger?: string | undefined;
marketEvent?: string | undefined;
relatedInsights?: string[] | undefined;
relatedReflections?: string[] | undefined;
urgency?: "critical" | "high" | "medium" | "low" | undefined;
};
insights: {
id: string;
content: string;
category: "competitive-advantage" | "market-opportunity" | "technical-capability" | "business-model" | "risk-mitigation" | "resource-optimization";
impact: "critical" | "high" | "medium" | "low";
evidence: string[];
actionable: boolean;
timestamp: string;
linkedInsights?: string[] | undefined;
linkedReflections?: string[] | undefined;
}[];
decisions: {
status: "pending" | "approved" | "implemented" | "reviewed";
id: string;
timestamp: string;
decision: string;
rationale: string;
tradeoffs: string[];
reviewTriggers: string[];
timeline?: string | undefined;
owner?: string | undefined;
outcomes?: string[] | undefined;
}[];
actionItems: {
status: "pending" | "in-progress" | "completed" | "blocked";
id: string;
timestamp: string;
owner: string;
description: string;
dueDate: string;
priority: "critical" | "high" | "medium" | "low";
blockers?: string[] | undefined;
linkedGoals?: string[] | undefined;
}[];
nextReview: string;
conversationSummary: string;
keyQuestions: string[];
}, {
type: "market-analysis" | "product-roadmap" | "competitive-strategy" | "monetization" | "go-to-market" | "technical-milestone-review" | "business-goal-assessment";
status: "completed" | "draft" | "active" | "archived";
id: string;
timestamp: string;
title: string;
participants: string[];
context: {
technicalMilestone?: string | undefined;
businessTrigger?: string | undefined;
marketEvent?: string | undefined;
relatedInsights?: string[] | undefined;
relatedReflections?: string[] | undefined;
urgency?: "critical" | "high" | "medium" | "low" | undefined;
};
insights: {
id: string;
content: string;
category: "competitive-advantage" | "market-opportunity" | "technical-capability" | "business-model" | "risk-mitigation" | "resource-optimization";
impact: "critical" | "high" | "medium" | "low";
evidence: string[];
actionable: boolean;
timestamp: string;
linkedInsights?: string[] | undefined;
linkedReflections?: string[] | undefined;
}[];
decisions: {
status: "pending" | "approved" | "implemented" | "reviewed";
id: string;
timestamp: string;
decision: string;
rationale: string;
tradeoffs: string[];
reviewTriggers: string[];
timeline?: string | undefined;
owner?: string | undefined;
outcomes?: string[] | undefined;
}[];
actionItems: {
status: "pending" | "in-progress" | "completed" | "blocked";
id: string;
timestamp: string;
owner: string;
description: string;
dueDate: string;
priority: "critical" | "high" | "medium" | "low";
blockers?: string[] | undefined;
linkedGoals?: string[] | undefined;
}[];
nextReview: string;
conversationSummary: string;
keyQuestions: string[];
}>>;
goals: z.ZodRecord<z.ZodString, z.ZodObject<{
id: z.ZodString;
category: z.ZodEnum<["revenue", "product", "market", "technical", "operational"]>;
title: z.ZodString;
description: z.ZodString;
metrics: z.ZodArray<z.ZodObject<{
id: z.ZodString;
name: z.ZodString;
type: z.ZodEnum<["revenue", "growth", "efficiency", "quality", "satisfaction"]>;
target: z.ZodNumber;
current: z.ZodNumber;
unit: z.ZodString;
timeframe: z.ZodString;
lastUpdated: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: "revenue" | "growth" | "efficiency" | "quality" | "satisfaction";
id: string;
name: string;
target: number;
current: number;
unit: string;
timeframe: string;
lastUpdated: string;
}, {
type: "revenue" | "growth" | "efficiency" | "quality" | "satisfaction";
id: string;
name: string;
target: number;
current: number;
unit: string;
timeframe: string;
lastUpdated: string;
}>, "many">;
milestones: z.ZodArray<z.ZodObject<{
id: z.ZodString;
title: z.ZodString;
description: z.ZodString;
targetDate: z.ZodString;
status: z.ZodEnum<["pending", "in-progress", "completed", "delayed", "cancelled"]>;
completionDate: z.ZodOptional<z.ZodString>;
blockers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
linkedTechnicalWork: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
status: "pending" | "in-progress" | "completed" | "delayed" | "cancelled";
id: string;
description: string;
title: string;
targetDate: string;
blockers?: string[] | undefined;
completionDate?: string | undefined;
linkedTechnicalWork?: string[] | undefined;
}, {
status: "pending" | "in-progress" | "completed" | "delayed" | "cancelled";
id: string;
description: string;
title: string;
targetDate: string;
blockers?: string[] | undefined;
completionDate?: string | undefined;
linkedTechnicalWork?: string[] | undefined;
}>, "many">;
dependencies: z.ZodObject<{
technicalFeatures: z.ZodArray<z.ZodString, "many">;
businessPrerequisites: z.ZodArray<z.ZodString, "many">;
externalFactors: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
technicalFeatures: string[];
businessPrerequisites: string[];
externalFactors: string[];
}, {
technicalFeatures: string[];
businessPrerequisites: string[];
externalFactors: string[];
}>;
status: z.ZodEnum<["planning", "active", "blocked", "completed", "paused"]>;
confidence: z.ZodNumber;
lastUpdated: z.ZodString;
linkedInsights: z.ZodArray<z.ZodString, "many">;
progressHistory: z.ZodArray<z.ZodObject<{
id: z.ZodString;
timestamp: z.ZodString;
completion: z.ZodNumber;
confidence: z.ZodNumber;
notes: z.ZodString;
blockers: z.ZodArray<z.ZodString, "many">;
achievements: z.ZodArray<z.ZodString, "many">;
risks: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
id: string;
timestamp: string;
blockers: string[];
completion: number;
confidence: number;
notes: string;
achievements: string[];
risks: string[];
}, {
id: string;
timestamp: string;
blockers: string[];
completion: number;
confidence: number;
notes: string;
achievements: string[];
risks: string[];
}>, "many">;
owner: z.ZodString;
stakeholders: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
status: "completed" | "blocked" | "active" | "planning" | "paused";
id: string;
category: "revenue" | "product" | "market" | "technical" | "operational";
linkedInsights: string[];
owner: string;
description: string;
title: string;
lastUpdated: string;
confidence: number;
metrics: {
type: "revenue" | "growth" | "efficiency" | "quality" | "satisfaction";
id: string;
name: string;
target: number;
current: number;
unit: string;
timeframe: string;
lastUpdated: string;
}[];
milestones: {
status: "pending" | "in-progress" | "completed" | "delayed" | "cancelled";
id: string;
description: string;
title: string;
targetDate: string;
blockers?: string[] | undefined;
completionDate?: string | undefined;
linkedTechnicalWork?: string[] | undefined;
}[];
dependencies: {
technicalFeatures: string[];
businessPrerequisites: string[];
externalFactors: string[];
};
progressHistory: {
id: string;
timestamp: string;
blockers: string[];
completion: number;
confidence: number;
notes: string;
achievements: string[];
risks: string[];
}[];
stakeholders: string[];
}, {
status: "completed" | "blocked" | "active" | "planning" | "paused";
id: string;
category: "revenue" | "product" | "market" | "technical" | "operational";
linkedInsights: string[];
owner: string;
description: string;
title: string;
lastUpdated: string;
confidence: number;
metrics: {
type: "revenue" | "growth" | "efficiency" | "quality" | "satisfaction";
id: string;
name: string;
target: number;
current: number;
unit: string;
timeframe: string;
lastUpdated: string;
}[];
milestones: {
status: "pending" | "in-progress" | "completed" | "delayed" | "cancelled";
id: string;
description: string;
title: string;
targetDate: string;
blockers?: string[] | undefined;
completionDate?: string | undefined;
linkedTechnicalWork?: string[] | undefined;
}[];
dependencies: {
technicalFeatures: string[];
businessPrerequisites: string[];
externalFactors: string[];
};
progressHistory: {
id: string;
timestamp: string;
blockers: string[];
completion: number;
confidence: number;
notes: string;
achievements: string[];
risks: string[];
}[];
stakeholders: string[];
}>>;
alignments: z.ZodRecord<z.ZodString, z.ZodObject<{
id: z.ZodString;
technicalFeature: z.ZodString;
codebaseEvidence: z.ZodArray<z.ZodString, "many">;
businessValue: z.ZodObject<{
primaryGoals: z.ZodArray<z.ZodString, "many">;
impact: z.ZodEnum<["critical", "high", "medium", "low"]>;
revenueImplication: z.ZodNumber;
userImpact: z.ZodString;
competitiveAdvantage: z.ZodString;
}, "strip", z.ZodTypeAny, {
impact: "critical" | "high" | "medium" | "low";
primaryGoals: string[];
revenueImplication: number;
userImpact: string;
competitiveAdvantage: string;
}, {
impact: "critical" | "high" | "medium" | "low";
primaryGoals: string[];
revenueImplication: number;
userImpact: string;
competitiveAdvantage: string;
}>;
progressMetrics: z.ZodObject<{
technicalCompletion: z.ZodNumber;
businessReadiness: z.ZodNumber;
marketValidation: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
technicalCompletion: number;
businessReadiness: number;
marketValidation: number;
}, {
technicalCompletion: number;
businessReadiness: number;
marketValidation: number;
}>;
insights: z.ZodArray<z.ZodString, "many">;
lastUpdated: z.ZodString;
}, "strip", z.ZodTypeAny, {
id: string;
insights: string[];
lastUpdated: string;
technicalFeature: string;
codebaseEvidence: string[];
businessValue: {
impact: "critical" | "high" | "medium" | "low";
primaryGoals: string[];
revenueImplication: number;
userImpact: string;
competitiveAdvantage: string;
};
progressMetrics: {
technicalCompletion: number;
businessReadiness: number;
marketValidation: number;
};
}, {
id: string;
insights: string[];
lastUpdated: string;
technicalFeature: string;
codebaseEvidence: string[];
businessValue: {
impact: "critical" | "high" | "medium" | "low";
primaryGoals: string[];
revenueImplication: number;
userImpact: string;
competitiveAdvantage: string;
};
progressMetrics: {
technicalCompletion: number;
businessReadiness: number;
marketValidation: number;
};
}>>;
insights: z.ZodRecord<z.ZodString, z.ZodObject<{
id: z.ZodString;
content: z.ZodString;
category: z.ZodEnum<["competitive-advantage", "market-opportunity", "technical-capability", "business-model", "risk-mitigation", "resource-optimization"]>;
impact: z.ZodEnum<["critical", "high", "medium", "low"]>;
evidence: z.ZodArray<z.ZodString, "many">;
actionable: z.ZodBoolean;
timestamp: z.ZodString;
linkedInsights: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
linkedReflections: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
id: string;
content: string;
category: "competitive-advantage" | "market-opportunity" | "technical-capability" | "business-model" | "risk-mitigation" | "resource-optimization";
impact: "critical" | "high" | "medium" | "low";
evidence: string[];
actionable: boolean;
timestamp: string;
linkedInsights?: string[] | undefined;
linkedReflections?: string[] | undefined;
}, {
id: string;
content: string;
category: "competitive-advantage" | "market-opportunity" | "technical-capability" | "business-model" | "risk-mitigation" | "resource-optimization";
impact: "critical" | "high" | "medium" | "low";
evidence: string[];
actionable: boolean;
timestamp: string;
linkedInsights?: string[] | undefined;
linkedReflections?: string[] | undefined;
}>>;
metadata: z.ZodObject<{
version: z.ZodString;
lastUpdated: z.ZodString;
totalConversations: z.ZodNumber;
totalGoals: z.ZodNumber;
totalInsights: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
lastUpdated: string;
version: string;
totalConversations: number;
totalGoals: number;
totalInsights: number;
}, {
lastUpdated: string;
version: string;
totalConversations: number;
totalGoals: number;
totalInsights: number;
}>;
}, "strip", z.ZodTypeAny, {
insights: Record<string, {
id: string;
content: string;
category: "competitive-advantage" | "market-opportunity" | "technical-capability" | "business-model" | "risk-mitigation" | "resource-optimization";
impact: "critical" | "high" | "medium" | "low";
evidence: string[];
actionable: boolean;
timestamp: string;
linkedInsights?: string[] | undefined;
linkedReflections?: string[] | undefined;
}>;
conversations: Record<string, {
type: "market-analysis" | "product-roadmap" | "competitive-strategy" | "monetization" | "go-to-market" | "technical-milestone-review" | "business-goal-assessment";
status: "completed" | "draft" | "active" | "archived";
id: string;
timestamp: string;
title: string;
participants: string[];
context: {
technicalMilestone?: string | undefined;
businessTrigger?: string | undefined;
marketEvent?: string | undefined;
relatedInsights?: string[] | undefined;
relatedReflections?: string[] | undefined;
urgency?: "critical" | "high" | "medium" | "low" | undefined;
};
insights: {
id: string;
content: string;
category: "competitive-advantage" | "market-opportunity" | "technical-capability" | "business-model" | "risk-mitigation" | "resource-optimization";
impact: "critical" | "high" | "medium" | "low";
evidence: string[];
actionable: boolean;
timestamp: string;
linkedInsights?: string[] | undefined;
linkedReflections?: string[] | undefined;
}[];
decisions: {
status: "pending" | "approved" | "implemented" | "reviewed";
id: string;
timestamp: string;