/** * Memory MCP Client Wrapper * * Provides fortress-specific interface to Model Context Protocol Memory Server. * Enables persistent project knowledge across Claude Code sessions. * * @module integrations/memory-mcp */ import { FortressConfig, FortressValidationResult } from '../types/fortress-types'; /** * Memory entity representing a Fortress project */ export interface ProjectEntity { name: string; entityType: 'project'; observations: string[]; } /** * Memory entity representing a technology stack */ export interface StackEntity { name: string; entityType: 'stack'; observations: string[]; } /** * Memory entity representing project requirements */ export interface RequirementsEntity { name: string; entityType: 'requirements'; observations: string[]; } /** * Memory MCP Client for Fortress Zero-Defect Framework * * This client wraps the Memory MCP server APIs to provide: * - Project knowledge graph initialization * - Validation result persistence * - Project context retrieval * - Knowledge updates over time */ export declare class MemoryMCPClient { /** * Initialize project memory with knowledge graph * * Creates entities and relations representing the project's * configuration, stack, and requirements. * * @param config - Project configuration from fortress init * @returns Promise - Success status */ static initializeProjectMemory(config: FortressConfig): Promise; /** * Store validation result in memory * * Persists validation results for trend analysis and historical tracking. * * @param projectName - Name of the project * @param result - Validation result to store * @returns Promise - Success status */ static storeValidationResult(projectName: string, result: FortressValidationResult): Promise; /** * Query project context from memory * * Retrieves stored knowledge about the project for context-aware assistance. * * @returns Promise - Project context or null if not found */ static queryProjectContext(): Promise; /** * Update project knowledge with new observations * * Adds new learnings or updates to the project's knowledge graph. * * @param entityName - Name of the entity to update * @param observations - New observations to add * @returns Promise - Success status */ static updateProjectKnowledge(entityName: string, observations: string[]): Promise; /** * Helper: Count passed validation layers */ private static countPassedLayers; } //# sourceMappingURL=memory-mcp.d.ts.map