Skip to content

Commit 241216d

Browse files
docs: add maturity field and extension channel documentation
- release-process.md: extension channels and maturity lifecycle - ai-artifacts-common.md: maturity field requirements section - prompts.md, instructions.md, chatmodes.md: maturity as required field - extension/README.md: pre-release channel section 📚 - Generated by Copilot
1 parent 811b6d7 commit 241216d

7 files changed

Lines changed: 131 additions & 0 deletions

File tree

docs/contributing/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Guidelines and standards for contributing AI artifacts to hve-core.
2323
| [Chat Modes](chatmodes.md) | How to create and submit new chat mode definitions |
2424
| [Instructions](instructions.md) | How to create repository-specific coding guidelines |
2525
| [Prompts](prompts.md) | How to create reusable prompt templates |
26+
| [Release Process](release-process.md) | Extension channels, maturity levels, and publishing workflow |
2627

2728
## Before You Start
2829

docs/contributing/ai-artifacts-common.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,46 @@ All AI artifacts (chatmodes, instructions, prompts) **MUST** target the **latest
8383
1. **Feature parity**: Latest models support the most advanced features and capabilities
8484
2. **Maintenance burden**: Supporting multiple model versions creates testing and compatibility overhead
8585
3. **Performance**: Latest models provide superior reasoning, accuracy, and efficiency
86+
87+
## Maturity Field Requirements
88+
89+
All AI artifacts (chatmodes, instructions, prompts) **MUST** include a `maturity` field in frontmatter.
90+
91+
### Purpose
92+
93+
The maturity field controls which extension channel includes the artifact:
94+
95+
* **Stable channel**: Only artifacts with `maturity: stable`
96+
* **Pre-release channel**: Artifacts with `stable`, `preview`, or `experimental` maturity
97+
98+
### Valid Values
99+
100+
| Value | Description | Stable Channel | Pre-release Channel |
101+
|----------------|--------------------------------------------------|----------------|---------------------|
102+
| `stable` | Production-ready, fully tested | ✅ Included | ✅ Included |
103+
| `preview` | Feature-complete, may have rough edges | ❌ Excluded | ✅ Included |
104+
| `experimental` | Early development, may change significantly | ❌ Excluded | ✅ Included |
105+
| `deprecated` | Scheduled for removal | ❌ Excluded | ❌ Excluded |
106+
107+
### Default for New Contributions
108+
109+
New artifacts **SHOULD** use `maturity: stable` unless:
110+
111+
* The artifact is a proof-of-concept or experimental feature
112+
* The artifact requires additional testing or feedback before wide release
113+
* The contributor explicitly intends to target early adopters
114+
115+
### Example
116+
117+
```yaml
118+
---
119+
description: 'Specialized chatmode for security analysis'
120+
maturity: 'stable'
121+
tools: ['codebase', 'search']
122+
---
123+
```
124+
125+
For detailed channel and lifecycle information, see [Release Process - Extension Channels](release-process.md#extension-channels-and-maturity).
86126
4. **Future-proofing**: Older models will be deprecated and removed from service
87127

88128
**Before submitting**: Verify your artifact targets the current latest model versions from Anthropic or OpenAI. Contributions targeting older or alternative models will be automatically rejected.

docs/contributing/chatmodes.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,17 @@ Chatmode files **MUST**:
125125
* **Style**: Sentence case with proper punctuation
126126
* **Example**: `'Validates contributed content for quality and compliance with hve-core standards'`
127127

128+
**`maturity`** (string enum, MANDATORY)
129+
130+
* **Purpose**: Controls which extension channel includes this chatmode
131+
* **Valid values**:
132+
* `stable` - Production-ready, included in Stable and Pre-release channels
133+
* `preview` - Feature-complete, included in Pre-release channel only
134+
* `experimental` - Early development, included in Pre-release channel only
135+
* `deprecated` - Scheduled for removal, excluded from all channels
136+
* **Default**: New chatmodes should use `stable` unless targeting early adopters
137+
* **Example**: `stable`
138+
128139
### Optional Fields
129140

130141
**`tools`** (array of strings)

docs/contributing/instructions.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,17 @@ Instruction files **MUST**:
8484
* Directory scope: `**/src/**/*.sh`
8585
* Specific paths: `**/.copilot-tracking/pr/new/**`
8686

87+
**`maturity`** (string enum, MANDATORY)
88+
89+
* **Purpose**: Controls which extension channel includes this instruction
90+
* **Valid values**:
91+
* `stable` - Production-ready, included in Stable and Pre-release channels
92+
* `preview` - Feature-complete, included in Pre-release channel only
93+
* `experimental` - Early development, included in Pre-release channel only
94+
* `deprecated` - Scheduled for removal, excluded from all channels
95+
* **Default**: New instructions should use `stable` unless targeting early adopters
96+
* **Example**: `stable`
97+
8798
### Optional Fields
8899

89100
**`version`** (string)
@@ -108,6 +119,7 @@ Instruction files **MUST**:
108119
---
109120
description: 'Required instructions for Python script implementation with type hints, docstrings, and error handling'
110121
applyTo: '**/*.py, **/*.ipynb'
122+
maturity: 'stable'
111123
version: '1.0.0'
112124
author: 'microsoft/hve-core'
113125
lastUpdated: '2025-11-19'

docs/contributing/prompts.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,17 @@ Prompt files **MUST**:
7272
* `workflow` - Automated workflow/pipeline context
7373
* **Example**: `workflow`
7474

75+
**`maturity`** (string enum, MANDATORY)
76+
77+
* **Purpose**: Controls which extension channel includes this prompt
78+
* **Valid values**:
79+
* `stable` - Production-ready, included in Stable and Pre-release channels
80+
* `preview` - Feature-complete, included in Pre-release channel only
81+
* `experimental` - Early development, included in Pre-release channel only
82+
* `deprecated` - Scheduled for removal, excluded from all channels
83+
* **Default**: New prompts should use `stable` unless targeting early adopters
84+
* **Example**: `stable`
85+
7586
### Optional Fields
7687

7788
**`category`** (string enum)
@@ -105,6 +116,7 @@ Prompt files **MUST**:
105116
---
106117
description: 'Required protocol for creating Azure DevOps pull requests with work item discovery, reviewer identification, and automated linking'
107118
mode: 'workflow'
119+
maturity: 'stable'
108120
category: 'ado'
109121
version: '1.0.0'
110122
author: 'microsoft/hve-core'
@@ -417,6 +429,7 @@ Before submitting your prompt, verify:
417429

418430
* [ ] Clear H1 title describing workflow
419431
* [ ] Overview/purpose section
432+
* [ ] Maturity field set appropriately (see [Common Standards - Maturity](ai-artifacts-common.md#maturity-field-requirements))
420433
* [ ] Prerequisites or context section
421434
* [ ] Workflow steps with clear sequence
422435
* [ ] Success criteria defined

docs/contributing/release-process.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,44 @@ Documentation-only releases may not require an extension publish.
124124
| Merge Release PR | GitHub Release created, tag applied |
125125
| Run publish workflow | Extension published to marketplace |
126126
| Merge docs-only PR | Changelog updated, no version bump |
127+
128+
## Extension Channels and Maturity
129+
130+
The VS Code extension is published to two channels with different stability expectations.
131+
132+
### Extension Channels
133+
134+
| Channel | Stability | Included Maturity Levels | Audience |
135+
|------------|-----------------|-------------------------------------|-------------------|
136+
| Stable | Production-ready | `stable` only | All users |
137+
| Pre-release | Early access | `stable`, `preview`, `experimental` | Early adopters |
138+
139+
### Maturity Levels
140+
141+
Each prompt, instruction, and chatmode declares a `maturity` field in its frontmatter:
142+
143+
| Level | Description | Included In |
144+
|----------------|--------------------------------------------------|-------------------|
145+
| `stable` | Production-ready, fully tested | Stable, Pre-release |
146+
| `preview` | Feature-complete but may have rough edges | Pre-release only |
147+
| `experimental` | Early development, may change significantly | Pre-release only |
148+
| `deprecated` | Scheduled for removal, excluded from all builds | Neither |
149+
150+
### Maturity Lifecycle
151+
152+
```mermaid
153+
stateDiagram-v2
154+
[*] --> experimental : New artifact
155+
experimental --> preview : Core features complete
156+
preview --> stable : Production tested
157+
stable --> deprecated : Superseded or obsolete
158+
deprecated --> [*] : Removed
159+
```
160+
161+
### Contributor Guidelines
162+
163+
* **New contributions**: Default to `maturity: stable` unless explicitly targeting early adopters
164+
* **Experimental work**: Use `maturity: experimental` for proof-of-concept or rapidly evolving artifacts
165+
* **Preview promotions**: Move to `maturity: preview` when core functionality is complete
166+
* **Stable promotions**: Move to `maturity: stable` after production validation
167+
* **Deprecation**: Set `maturity: deprecated` before removal to provide transition time

extension/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,19 @@ adr-creation create an ADR for our new microservice architecture
8080

8181
Prompts are available in the Copilot Chat prompt picker and can be used to generate consistent, high-quality outputs for common tasks.
8282

83+
## Pre-release Channel
84+
85+
HVE Core offers two installation channels:
86+
87+
| Channel | Description | Maturity Levels |
88+
|-------------|----------------------------------------------------------|-------------------------------------|
89+
| Stable | Production-ready artifacts only | `stable` |
90+
| Pre-release | Early access to new features and experimental artifacts | `stable`, `preview`, `experimental` |
91+
92+
To install the pre-release version, select **Install Pre-Release Version** from the extension page in VS Code, or use the Extensions view and switch to the pre-release channel.
93+
94+
For more details on maturity levels and the release process, see the [contributing documentation](https://github.com/microsoft/hve-core/blob/main/docs/contributing/release-process.md#extension-channels-and-maturity).
95+
8396
## Requirements
8497

8598
- VS Code version 1.106.1 or higher

0 commit comments

Comments
 (0)