Skip to content

Commit 1ba3904

Browse files
Fix missing feature PRP generation and update to v3.2.6
- Add feature PRP generation to Claude adapter for init wizard - Each selected feature now gets its own PRP file - Update version to 3.2.6 and changelog
1 parent 49ab6de commit 1ba3904

File tree

4 files changed

+57
-1
lines changed

4 files changed

+57
-1
lines changed

.context-forge/progress.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[
2+
{
3+
"id": "mdm6ha4k6q68hyuz9",
4+
"command": "init",
5+
"operation": "Project initialization",
6+
"status": "in_progress",
7+
"startTime": "2025-07-27T21:15:20.324Z",
8+
"projectPath": "/Users/sem/code/context-forge",
9+
"metadata": {
10+
"aiEnabled": false,
11+
"targetIDEs": [
12+
"claude"
13+
]
14+
},
15+
"steps": []
16+
}
17+
]

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [3.2.6] - 2025-07-27 - Feature PRP Generation Fix
6+
7+
### 🐛 Bug Fixes
8+
9+
- **Fixed missing feature PRPs**: Individual PRPs are now generated for each selected feature during init
10+
- Added feature PRP generation logic to Claude adapter
11+
- Each feature gets its own PRP file with feature-specific context
12+
- PRPs include feature name, description, priority, and complexity
13+
14+
## [3.2.5] - 2025-07-27 - Feature Prioritization Checkbox Fix
15+
16+
### 🐛 Bug Fixes
17+
18+
- **Fixed feature prioritization checkbox error**: Resolved "No selectable choices. All choices are disabled" error during feature prioritization step in init command
19+
- Added explicit `disabled: false` to priorityChoices in prioritizeFeatures function
20+
- Fixed both must-have and nice-to-have feature selection prompts
21+
- Resolves GitHub issue #6
22+
523
## [3.2.4] - 2025-07-24 - Inquirer v12 Compatibility Fix
624

725
### 🐛 Bug Fixes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "context-forge",
3-
"version": "3.2.4",
3+
"version": "3.2.6",
44
"description": "AI orchestration platform with autonomous teams, enhancement planning, migration tools, 25+ slash commands, checkpoints & hooks. Multi-IDE: Claude, Cursor, Windsurf, Cline, Copilot",
55
"main": "dist/index.js",
66
"bin": {

src/adapters/claude.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,27 @@ export class ClaudeAdapter extends IDEAdapter {
102102
description: 'Base implementation PRP',
103103
});
104104

105+
// Generate PRPs for each selected feature
106+
if (this.config.features && this.config.features.length > 0) {
107+
for (const feature of this.config.features) {
108+
const featureSlug = feature.id || feature.name.toLowerCase().replace(/\s+/g, '-');
109+
files.push({
110+
path: path.join(prpPath, `feature-${featureSlug}-prp.md`),
111+
content: await generatePRP(
112+
{
113+
...this.config,
114+
prd: {
115+
...this.config.prd,
116+
content: `Feature: ${feature.name}\nDescription: ${feature.description}\nPriority: ${feature.priority}\nComplexity: ${feature.complexity}`,
117+
},
118+
},
119+
'base'
120+
),
121+
description: `PRP for ${feature.name} feature`,
122+
});
123+
}
124+
}
125+
105126
// Add planning PRP for complex projects
106127
if (this.config.timeline === 'enterprise' || this.config.teamSize !== 'solo') {
107128
files.push({

0 commit comments

Comments
 (0)