microsoft/hve-core
Publicmirrored fromhttps://github.com/microsoft/hve-coreAvailable
docs/getting-started/install.md
240lines · modecode
| 1 | --- |
| 2 | title: Installing HVE-Core |
| 3 | description: Choose the right installation method for your environment |
| 4 | author: Microsoft |
| 5 | ms.date: 2025-12-02 |
| 6 | ms.topic: how-to |
| 7 | keywords: |
| 8 | - installation |
| 9 | - setup |
| 10 | - github copilot |
| 11 | - devcontainer |
| 12 | - codespaces |
| 13 | estimated_reading_time: 5 |
| 14 | --- |
| 15 | |
| 16 | HVE-Core provides GitHub Copilot customizations (custom agents, instructions, and prompts) that enhance your development workflow. This guide helps you choose the right installation method for your environment. |
| 17 | |
| 18 | ## Recommended: VS Code Extension ⭐ |
| 19 | |
| 20 | **For most users**, the simplest method is to install directly from the VS Code Marketplace: |
| 21 | |
| 22 | ```text |
| 23 | VS Code → Extensions → Search "HVE Core" → Install |
| 24 | ``` |
| 25 | |
| 26 | **Or visit:** [HVE Core on Marketplace](https://marketplace.visualstudio.com/items?itemName=ise-hve-essentials.hve-core) |
| 27 | |
| 28 | **Why choose the extension:** |
| 29 | |
| 30 | * ✅ Zero configuration required |
| 31 | * ✅ Automatic updates via VS Code |
| 32 | * ✅ Works everywhere (local, devcontainers, Codespaces) |
| 33 | * ✅ No project files needed |
| 34 | * ✅ Instant availability |
| 35 | |
| 36 | **When to use alternatives:** |
| 37 | |
| 38 | * ❌ You need to customize components → Use custom installation methods below |
| 39 | * ❌ Team needs version control → Use [Submodule](methods/submodule.md) |
| 40 | * ❌ Contributing to HVE-Core → Use [Peer Clone](methods/peer-clone.md) |
| 41 | |
| 42 | See [Extension Installation Guide](methods/extension.md) for complete documentation. |
| 43 | |
| 44 | ## Custom Installation Methods |
| 45 | |
| 46 | If you need customization or version control of HVE-Core, choose from the methods below. |
| 47 | |
| 48 | ## Quick Start |
| 49 | |
| 50 | > **Starter prompt:** "Help me choose how to install this library" |
| 51 | |
| 52 | Open Copilot Chat, select the `hve-core-installer` agent, and use this prompt. The agent will ask three questions about your environment and recommend the best method. |
| 53 | |
| 54 | ## Help Me Choose |
| 55 | |
| 56 | Answer these questions to find your recommended installation method: |
| 57 | |
| 58 | 1. **What's your development environment?** |
| 59 | * Local VS Code (no devcontainer) |
| 60 | * Local devcontainer (Docker Desktop) |
| 61 | * GitHub Codespaces |
| 62 | * Both local and Codespaces |
| 63 | |
| 64 | 2. **Solo or team development?** |
| 65 | * Solo: Just you, no version control of HVE-Core needed |
| 66 | * Team: Multiple people, need reproducible setup |
| 67 | |
| 68 | 3. **Update preference?** |
| 69 | * Auto: Always get latest HVE-Core |
| 70 | * Controlled: Pin to specific version, update explicitly |
| 71 | |
| 72 | ### Decision Matrix |
| 73 | |
| 74 | | Environment | Team | Updates | Recommended Method | |
| 75 | |---------------------------|------|------------|-----------------------------------------------| |
| 76 | | **Any** (simplest) | Any | Auto | [VS Code Extension](methods/extension.md) ⭐ | |
| 77 | | Local (no container) | Solo | Manual | [Peer Directory Clone](methods/peer-clone.md) | |
| 78 | | Local (no container) | Team | Controlled | [Submodule](methods/submodule.md) | |
| 79 | | Local devcontainer | Solo | Auto | [Git-Ignored Folder](methods/git-ignored.md) | |
| 80 | | Local devcontainer | Team | Controlled | [Submodule](methods/submodule.md) | |
| 81 | | Codespaces only | Solo | Auto | [GitHub Codespaces](methods/codespaces.md) | |
| 82 | | Codespaces only | Team | Controlled | [Submodule](methods/submodule.md) | |
| 83 | | Both local + Codespaces | Any | Any | [Multi-Root Workspace](methods/multi-root.md) | |
| 84 | | Advanced (shared install) | Solo | Auto | [Mounted Directory](methods/mounted.md) | |
| 85 | |
| 86 | ⭐ **VS Code Extension** is the recommended method for most users who don't need customization. |
| 87 | |
| 88 | ## Collection Packages |
| 89 | |
| 90 | HVE-Core supports role-based artifact collections tailored to specific roles: |
| 91 | |
| 92 | | Collection | Extension Name | Collection ID | Maturity | Description | |
| 93 | |---------------|-----------------|----------------|--------------|--------------------------------------| |
| 94 | | **Full** | `hve-core` | `hve-core-all` | Stable | All artifacts (recommended for most) | |
| 95 | | **Developer** | `hve-developer` | `developer` | Experimental | Software engineering focus | |
| 96 | |
| 97 | > [!NOTE] |
| 98 | > Experimental collections are only available via PreRelease extension builds. The Stable channel includes the Full collection only. |
| 99 | |
| 100 | ### Extension Installation (Full Collection) |
| 101 | |
| 102 | The VS Code Marketplace extension installs the **full collection** containing all stable artifacts. This is the recommended approach for most users. |
| 103 | |
| 104 | ### Clone Methods (Collection Filtering) |
| 105 | |
| 106 | Clone-based installation methods support collection-based agent filtering through the installer agent: |
| 107 | |
| 108 | 1. Clone the repository using your preferred method |
| 109 | 2. Run the `hve-core-installer` agent |
| 110 | 3. In Phase 7 (Agent Customization), select your role-based collection or install all agents |
| 111 | |
| 112 | The installer reads collection assignments from the collection manifests (`collections/*.collection.yml`) and copies only the agents assigned to your selected collection. Agents marked for all collections are always included. |
| 113 | |
| 114 | > [!NOTE] |
| 115 | > Collection filtering applies to agents only. Copying of related prompts, instructions, and skills based on collection is planned for a future release. |
| 116 | |
| 117 | ### Quick Decision Tree |
| 118 | |
| 119 | ```text |
| 120 | ┌─────────────────────────────────────────────────────────────────┐ |
| 121 | │ │ |
| 122 | │ Want the simplest setup? │ |
| 123 | │ └─ Yes ──────────────────────────────► VS Code Extension ⭐ │ |
| 124 | │ │ |
| 125 | │ Need to customize HVE-Core? │ |
| 126 | │ ├─ Local VS Code only ──────────────► Peer Directory Clone │ |
| 127 | │ ├─ Local devcontainer only ─────────► Git-Ignored Folder │ |
| 128 | │ ├─ Codespaces only ─────────────────► GitHub Codespaces │ |
| 129 | │ └─ Both local + Codespaces ─────────► Multi-Root Workspace │ |
| 130 | │ │ |
| 131 | │ Working in a team? │ |
| 132 | │ └─ Yes, need version control ───────► Submodule │ |
| 133 | │ │ |
| 134 | └─────────────────────────────────────────────────────────────────┘ |
| 135 | ``` |
| 136 | |
| 137 | ## Installation Methods |
| 138 | |
| 139 | ### Simplest Method (Recommended for Most Users) |
| 140 | |
| 141 | | Method | Best For | Complexity | |
| 142 | |---------------------------------------------|----------------------------------|------------| |
| 143 | | [VS Code Extension](methods/extension.md) ⭐ | Anyone wanting zero-config setup | Minimal | |
| 144 | |
| 145 | ### Consumer Methods (Customization + Version Control) |
| 146 | |
| 147 | These methods are for projects that want to use and potentially customize HVE-Core's components: |
| 148 | |
| 149 | | Method | Best For | Complexity | |
| 150 | |-----------------------------------------------|-------------------------------|------------| |
| 151 | | [Multi-Root Workspace](methods/multi-root.md) | Any environment, portable | Low | |
| 152 | | [Submodule](methods/submodule.md) | Teams needing version control | Medium | |
| 153 | |
| 154 | ### Developer Methods |
| 155 | |
| 156 | These methods are for HVE-Core contributors or advanced scenarios: |
| 157 | |
| 158 | | Method | Best For | Complexity | |
| 159 | |-----------------------------------------------|-------------------------------|------------| |
| 160 | | [Peer Directory Clone](methods/peer-clone.md) | Local VS Code, solo | Low | |
| 161 | | [Git-Ignored Folder](methods/git-ignored.md) | Local devcontainer, solo | Low | |
| 162 | | [Mounted Directory](methods/mounted.md) | Advanced devcontainer sharing | High | |
| 163 | | [GitHub Codespaces](methods/codespaces.md) | Codespaces-only projects | Medium | |
| 164 | |
| 165 | ## Using the Installer Agent |
| 166 | |
| 167 | The `hve-core-installer` agent automates any installation method: |
| 168 | |
| 169 | 1. Open GitHub Copilot Chat in VS Code (`Ctrl+Alt+I`) |
| 170 | 2. Select `hve-core-installer` from the agent picker |
| 171 | 3. Answer the environment detection questions |
| 172 | 4. The agent executes your chosen method |
| 173 | |
| 174 | The agent handles: |
| 175 | |
| 176 | * Environment detection (Local VS Code, Devcontainer, Codespaces) |
| 177 | * Repository cloning or configuration |
| 178 | * VS Code settings updates |
| 179 | * Devcontainer configuration |
| 180 | * Validation of the installation |
| 181 | |
| 182 | ## Validation |
| 183 | |
| 184 | After installation, verify everything works: |
| 185 | |
| 186 | 1. Open GitHub Copilot Chat (`Ctrl+Alt+I`) |
| 187 | 2. Click the agent picker dropdown |
| 188 | 3. Verify HVE-Core agents appear (task-planner, task-researcher, prompt-builder) |
| 189 | 4. Select an agent and submit a test prompt |
| 190 | |
| 191 | Run the installer in validation mode: |
| 192 | |
| 193 | > "Validate my HVE-Core installation" |
| 194 | |
| 195 | ## Post-Installation: Update Your .gitignore |
| 196 | |
| 197 | HVE-Core agents create ephemeral workflow artifacts in a `.copilot-tracking/` folder within your project. These files include research documents, implementation plans, PR review tracking, and other machine-generated content that should typically not be committed to version control. |
| 198 | |
| 199 | **Add this line to your project's `.gitignore`:** |
| 200 | |
| 201 | ```text |
| 202 | .copilot-tracking/ |
| 203 | ``` |
| 204 | |
| 205 | > [!IMPORTANT] |
| 206 | > This applies to all installation methods (extension, submodule, peer clone, etc.). The `.copilot-tracking/` folder is created in your project directory, not in HVE-Core itself. |
| 207 | |
| 208 | **What gets stored there:** |
| 209 | |
| 210 | * Research documents from `task-researcher` |
| 211 | * Implementation plans from `task-planner` |
| 212 | * PR review artifacts from `pr-review` |
| 213 | * Work item planning files for ADO workflows |
| 214 | * Temporary prompt files used by agents |
| 215 | |
| 216 | These artifacts are useful during your workflow session but are ephemeral by design. They help agents maintain context across sessions without polluting your repository history. |
| 217 | |
| 218 | ## MCP Server Configuration (Optional) |
| 219 | |
| 220 | Some HVE-Core agents use MCP (Model Context Protocol) servers to integrate with Azure DevOps, GitHub, or documentation services. These are optional enhancements; agents work without MCP configuration. |
| 221 | |
| 222 | If you use agents like `ado-prd-to-wit` or `github-backlog-manager`, see [MCP Server Configuration](mcp-configuration.md) for setup instructions. That guide includes: |
| 223 | |
| 224 | * Which agents require which MCP servers |
| 225 | * Complete configuration templates |
| 226 | * Method-specific placement notes (extension, submodule, Codespaces, etc.) |
| 227 | * Troubleshooting for common issues |
| 228 | |
| 229 | ## Next Steps |
| 230 | |
| 231 | * [Your First Workflow](first-workflow.md) - Try HVE-Core with a real task |
| 232 | * [RPI Workflow](../rpi/README.md) - Research, Plan, Implement methodology |
| 233 | * [Contributing](../contributing/README.md) - Contribute to HVE-Core |
| 234 | |
| 235 | --- |
| 236 | |
| 237 | <!-- markdownlint-disable MD036 --> |
| 238 | *🤖 Crafted with precision by ✨Copilot following brilliant human instruction, |
| 239 | then carefully refined by our team of discerning human reviewers.* |
| 240 | <!-- markdownlint-enable MD036 --> |
| 241 | |