# microsoft/vscode-copilot-release architecture

> Architecture diagram of the GitHub repository microsoft/vscode-copilot-release, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-05-21). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/microsoft/vscode-copilot-release
- Repository: https://github.com/microsoft/vscode-copilot-release

## Overview

##### Project type and purpose
- This is a “feedback‐collection” repository for two VS Code extensions (GitHub Copilot and GitHub Copilot Chat). It does not ship production code of the extensions themselves but provides issue templates, docs, and metadata so that users can file bugs or feature requests.

##### File structure
- Top‐level:
- .github/ISSUE_TEMPLATE – predefined issue templates for bugs and feature requests (chat vs completions)
- .github/commands.json – custom GitHub CLI commands or bot labels
- docs/ – static documentation on repo scope and usage
- images/ – supporting graphics referenced in docs or the README
- README.md, CODE_OF_CONDUCT.md, SECURITY.md, LICENSE* – governance and getting-started documentation
- No “src” or “backend” folders – this is a documentation/meta‐repo, so its “components” are templates and GitHub workflows rather than code modules.

##### README for additional insights
- Purpose: funnel all VS Code Copilot-related UX feedback into one place
- User flows: reporting a bug or requesting a feature, choosing the right template, upvoting existing issues, triage by maintainers

##### Detail without over-splitting
- Clearly call out each template (bug vs feature; chat vs completions)
- Docs directory feeding into onboarding or “where to file” guidance

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Client Layer
    User["End User"]:::client
    VSCode["VS Code Feedback Command"]:::client

    %% Ingestion Layer
    subgraph "Ingestion Layer"
        Templates["Issue Templates"]:::ingestion
        Bot["GitHub Commands Bot"]:::ingestion
    end

    %% Onboarding & Guides
    subgraph "Onboarding & Guides"
        RepoScope["docs/copilot-repo-scope.md"]:::docs
        Readme["README.md"]:::docs
        Images["Supporting Graphics"]:::docs
    end

    %% Governance & Policies
    subgraph "Governance & Policies"
        Conduct["CODE_OF_CONDUCT.md"]:::docs
        Security["SECURITY.md"]:::docs
        License["LICENSE"]:::docs
        LicenseCode["LICENSE-CODE"]:::docs
    end

    %% Service Layer
    GitHubIssues["GitHub Issues Service"]:::service

    %% Process Layer
    Maintainers["Maintainers / Triage Team"]:::process

    %% Relationships
    User -->|uses| VSCode
    VSCode -->|loads template| Templates
    VSCode -->|links to guidance| RepoScope
    VSCode -->|references onboarding| Readme
    RepoScope -->|includes graphics| Images
    Templates -->|submits issue to| GitHubIssues
    Bot -->|auto-labels/issues metadata| GitHubIssues
    GitHubIssues -->|notifies| Maintainers

    %% Click Events
    click Templates "https://github.com/microsoft/vscode-copilot-release/tree/main/.github/ISSUE_TEMPLATE/"
    click Bot "https://github.com/microsoft/vscode-copilot-release/blob/main/.github/commands.json"
    click RepoScope "https://github.com/microsoft/vscode-copilot-release/blob/main/docs/copilot-repo-scope.md"
    click Readme "https://github.com/microsoft/vscode-copilot-release/blob/main/README.md"
    click Images "https://github.com/microsoft/vscode-copilot-release/tree/main/images/"
    click Conduct "https://github.com/microsoft/vscode-copilot-release/blob/main/CODE_OF_CONDUCT.md"
    click Security "https://github.com/microsoft/vscode-copilot-release/blob/main/SECURITY.md"
    click License "https://github.com/microsoft/vscode-copilot-release/tree/main/LICENSE"
    click LicenseCode "https://github.com/microsoft/vscode-copilot-release/tree/main/LICENSE-CODE"

    %% Styles
    classDef client fill:#d4f7d4,stroke:#4CAF50,color:#000
    classDef ingestion fill:#d0e7ff,stroke:#2196F3,color:#000
    classDef docs fill:#e8f0fe,stroke:#4285F4,color:#000
    classDef service fill:#ffe0b2,stroke:#FB8C00,color:#000
    classDef process fill:#e0e0e0,stroke:#9e9e9e,color:#000
```
