UNPKG

aiwg

Version:

Deployment tool and support utility for AI context. Copies agents, skills, commands, rules, and behaviors into the paths each AI platform reads (Claude Code, Codex, Copilot, Cursor, Warp, OpenClaw, and 6 more) so one source of truth works across 10 platfo

69 lines 1.94 kB
/** * Matrix Generator - Generate traceability matrices in various formats * Supports: CSV, Excel (TSV), Markdown, HTML */ export interface TraceabilityMatrix { requirements: string[]; code: string[]; tests: string[]; links: MatrixCell[][]; } export interface MatrixCell { requirementId: string; itemPath: string; itemType: 'code' | 'test' | 'documentation'; linked: boolean; verified: boolean; confidence: number; } export interface MatrixExportOptions { format: 'csv' | 'excel' | 'markdown' | 'html'; includeVerification?: boolean; includeConfidence?: boolean; sortBy?: 'requirement' | 'coverage' | 'type'; } /** * MatrixGenerator - Generate and export traceability matrices */ export declare class MatrixGenerator { /** * Generate traceability matrix from links */ generateMatrix(requirements: string[], codeFiles: string[], testFiles: string[], links: Map<string, { code: string[]; tests: string[]; }>): TraceabilityMatrix; /** * Export matrix to CSV format */ exportToCSV(matrix: TraceabilityMatrix, options?: MatrixExportOptions): string; /** * Export matrix to Excel (TSV) format */ exportToExcel(matrix: TraceabilityMatrix, options?: MatrixExportOptions): string; /** * Export matrix to Markdown format */ exportToMarkdown(matrix: TraceabilityMatrix, options?: MatrixExportOptions): string; /** * Export matrix to HTML format */ exportToHTML(matrix: TraceabilityMatrix, options?: MatrixExportOptions): string; /** * Escape CSV values */ private escapeCSV; /** * Escape HTML entities */ private escapeHTML; /** * Format file path for display (shorten if too long) */ private formatPath; /** * Get coverage emoji */ private getCoverageEmoji; } //# sourceMappingURL=matrix-generator.d.ts.map