// engine/ai-integration/github-copilot/workspace-bridge.ts — Copilot Workspace issue formatter (SPEC-272)
export function generateCopilotIssueBody(spec) {
    const lines = [];
    lines.push('## Overview');
    lines.push('');
    lines.push(spec.description);
    lines.push('');
    lines.push('## Acceptance Criteria');
    lines.push('');
    for (const criterion of spec.acceptanceCriteria) {
        lines.push(`- [ ] ${criterion}`);
    }
    lines.push('');
    lines.push('## Implementation Notes');
    lines.push('');
    lines.push('This issue is linked to a Planu spec. Follow these steps:');
    lines.push('');
    lines.push('1. Read the full spec before writing any code');
    lines.push('2. Implement each acceptance criterion exactly as written');
    lines.push('3. Run `mcp__planu__validate` after implementation to verify compliance');
    lines.push('4. Do not close this issue until all checkboxes above are checked');
    lines.push('');
    lines.push('## Planu Context');
    lines.push('');
    lines.push(`**Spec ID**: \`${spec.id}\``);
    lines.push(`**Title**: ${spec.title}`);
    lines.push('');
    lines.push('To view the full spec details, run:');
    lines.push('```');
    lines.push(`mcp__planu__list_specs — filter by id: ${spec.id}`);
    lines.push('```');
    lines.push('');
    lines.push('To validate implementation against this spec:');
    lines.push('```');
    lines.push('mcp__planu__validate');
    lines.push('```');
    return lines.join('\n');
}
//# sourceMappingURL=workspace-bridge.js.map