/**
 * Extract report data from a single spec for HTML reports.
 */
export function extractPerSpecData(spec, affectedFiles, architecturalDecisions) {
    return {
        specId: spec.id,
        title: spec.title,
        status: spec.status,
        difficulty: String(spec.difficulty),
        risk: spec.risk,
        devHours: spec.estimation.devHours,
        reviewHours: spec.estimation.reviewHours,
        totalCostUsd: spec.estimation.totalCostUsd,
        tags: spec.tags,
        dependencies: spec.dependencies,
        blockedBy: spec.blockedBy,
        scope: spec.scope,
        target: spec.target,
        gitBranch: spec.gitBranch,
        diagrams: [],
        affectedFiles,
        architecturalDecisions,
        generatedAt: new Date().toISOString(),
    };
}
//# sourceMappingURL=spec-data-extractor.js.map