mcp-ai-agent-guidelines
Version:
A comprehensive Model Context Protocol server providing advanced tools, resources, and prompts for implementing AI agent best practices
159 lines • 5.78 kB
TypeScript
/**
* TOGAFStrategy - TOGAF enterprise architecture documentation format
*
* Renders domain results as TOGAF (The Open Group Architecture Framework)
* enterprise architecture deliverables following the TOGAF ADM (Architecture
* Development Method) phases.
*
* @module strategies/togaf-strategy
* @see {@link https://www.opengroup.org/togaf TOGAF Standard}
* @see {@link https://github.com/Anselmoo/mcp-ai-agent-guidelines/blob/development/plan-v0.13.x/specs/SPEC-001-output-strategy-layer.md SPEC-001} §4.6
*/
import type { SessionState } from "../domain/design/types.js";
import type { OutputArtifacts, OutputStrategy, RenderOptions } from "./output-strategy.js";
import { OutputApproach } from "./output-strategy.js";
/**
* TOGAFStrategy implements the TOGAF enterprise architecture document format.
*
* Generates comprehensive TOGAF ADM phase deliverables:
* - Primary: Architecture Vision Document
* - Secondary: Business, Data, Application, Technology Architectures, Migration Plan
*
* Supports rendering:
* - SessionState: Design workflow to TOGAF deliverables
*
* @implements {OutputStrategy<SessionState>}
*/
export declare class TOGAFStrategy implements OutputStrategy<SessionState> {
/** The output approach this strategy implements */
readonly approach = OutputApproach.TOGAF;
/**
* Render a domain result to TOGAF format artifacts.
*
* @param result - The session state to render
* @param options - Optional rendering options
* @returns Output artifacts with primary Architecture Vision and secondary TOGAF documents
* @throws {Error} If result type is not supported
*/
render(result: SessionState, options?: Partial<RenderOptions>): OutputArtifacts;
/**
* Check if this strategy supports rendering a specific domain type.
*
* @param domainType - The domain type identifier
* @returns True if this strategy can render the domain type
*/
supports(domainType: string): boolean;
/**
* Generate Architecture Vision Document (TOGAF Phase A).
*
* The Architecture Vision provides executive summary, business goals,
* stakeholder map, high-level architecture, and risk assessment.
*
* @param result - The session state
* @param options - Optional rendering options
* @returns Architecture Vision document
* @private
*/
private generateArchitectureVision;
/**
* Generate Business Architecture Document (TOGAF Phase B).
*
* Documents business processes, organizational structure, and
* business capabilities.
*
* @param result - The session state
* @returns Business Architecture document
* @private
*/
private generateBusinessArchitecture;
/**
* Generate Data Architecture Document (TOGAF Phase C - Data).
*
* Documents data entities, data models, and data governance.
*
* @param result - The session state
* @returns Data Architecture document
* @private
*/
private generateDataArchitecture;
/**
* Generate Application Architecture Document (TOGAF Phase C - Application).
*
* Documents application portfolio, application services, and integrations.
*
* @param result - The session state
* @returns Application Architecture document
* @private
*/
private generateApplicationArchitecture;
/**
* Generate Technology Architecture Document (TOGAF Phase D).
*
* Documents infrastructure, platforms, and technology standards.
*
* @param result - The session state
* @returns Technology Architecture document
* @private
*/
private generateTechnologyArchitecture;
/**
* Generate Migration Plan Document (TOGAF Phase E-F).
*
* Documents migration strategy, transition architecture, and
* implementation roadmap.
*
* @param result - The session state
* @returns Migration Plan document
* @private
*/
private generateMigrationPlan;
private extractExecutiveSummary;
private extractRequestForWork;
private extractBusinessGoals;
private extractPrinciples;
private extractStakeholders;
private extractHighLevelArchitecture;
private extractRisks;
private extractArchitectureRepository;
private extractBusinessStrategy;
private extractOrganizationStructure;
private extractBusinessCapabilities;
private extractBusinessProcesses;
private extractBusinessServices;
private extractInformationConcepts;
private extractDataPrinciples;
private extractLogicalDataModel;
private extractPhysicalDataModel;
private extractDataEntities;
private extractDataGovernance;
private extractDataSecurity;
private extractApplicationPortfolio;
private extractApplicationServices;
private extractApplicationIntegrations;
private extractApplicationInterfaces;
private extractApplicationDeployment;
private extractTechnologyPrinciples;
private extractInfrastructureArchitecture;
private extractPlatformServices;
private extractTechnologyStandards;
private extractNetworkArchitecture;
private extractSecurityArchitecture;
private extractMigrationStrategy;
private extractTransitionArchitecture;
private extractImplementationRoadmap;
private extractWorkPackages;
private extractDependencies;
private extractRiskMitigation;
private extractSuccessMetrics;
private formatPhaseData;
private formatFooter;
/**
* Type guard for SessionState.
*
* @param result - The value to check
* @returns True if result is a SessionState
* @private
*/
private isSessionState;
}
//# sourceMappingURL=togaf-strategy.d.ts.map