@vfarcic/dot-ai 0.77.0 → 0.79.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -34,7 +34,7 @@ DevOps AI Toolkit is an AI-powered development productivity platform that enhanc
34
34
  ### Kubernetes Deployment Intelligence
35
35
  🔍 **Smart Discovery**: Automatically finds all available resources and operators in your cluster
36
36
  🧠 **Semantic Capability Management**: Discovers what each resource actually does for intelligent matching
37
- 🤖 **AI Recommendations**: Get deployment suggestions tailored to your specific cluster setup with enhanced semantic understanding
37
+ 🤖 **AI Recommendations**: Smart intent clarification gathers missing context, then provides deployment suggestions tailored to your specific cluster setup with enhanced semantic understanding
38
38
  🔧 **Operator-Aware**: Leverages custom operators and CRDs when available
39
39
  🚀 **Complete Workflow**: From discovery to deployment with automated Kubernetes integration
40
40
 
@@ -196,18 +196,25 @@ claude # or your preferred MCP-enabled AI tool
196
196
  ```
197
197
  User: I want to deploy a web application to my cluster
198
198
 
199
- Agent: I'll help you deploy a web application. Let me get recommendations based on your cluster.
200
- [Uses recommend tool]
199
+ Agent: I'll help you deploy a web application. Let me get recommendations. First, a few questions to provide better suggestions:
201
200
 
202
- Agent: I found 3 options. Let's use Kubernetes Deployment + Service.
201
+ What type of web application is this? Is it for development or production?
202
+ Does it need external access?
203
+ [Uses recommend tool for clarification]
204
+
205
+ User: It's a production Node.js API that needs external access
206
+
207
+ Agent: Perfect! Based on your production requirements, I found 3 deployment options.
208
+ Let's use the Production Web Stack with external access.
203
209
  What's your application name and container image?
210
+ [Uses recommend tool with refined intent]
204
211
 
205
- User: App name is "myapp" and image is "nginx:latest"
212
+ User: App name is "myapp" and image is "myapp:v1.0.0"
206
213
 
207
- Agent: Perfect! Generating manifests and deploying now...
214
+ Agent: Excellent! Generating production-ready manifests and deploying...
208
215
  [Uses chooseSolution, answerQuestion, generateManifests, deployManifests]
209
216
 
210
- Agent: ✅ Successfully deployed! Your application is running.
217
+ Agent: ✅ Successfully deployed! Your production API is running with external access.
211
218
  ```
212
219
 
213
220
  **Example: Capability Management**
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/core/schema.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAclD,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;CAClC;AAED,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,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AAC;IAoD3I;;OAEG;IACH,OAAO,CAAC,uBAAuB;CAWhC;AAED;;GAEG;AACH,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,iBAAiB,CAAoB;IAC7C,OAAO,CAAC,MAAM,CAAkB;IAChC,OAAO,CAAC,cAAc,CAAC,CAAuB;IAC9C,OAAO,CAAC,iBAAiB,CAAC,CAA0B;IACpD,OAAO,CAAC,aAAa,CAAC,CAAsB;gBAEhC,MAAM,EAAE,eAAe;IAmCnC;;OAEG;IACG,iBAAiB,CACrB,MAAM,EAAE,MAAM,EACd,gBAAgB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,GAAG,CAAC,GACnD,OAAO,CAAC,gBAAgB,EAAE,CAAC;IAyE9B;;OAEG;YACW,wBAAwB;IAiBtC;;OAEG;IACH,OAAO,CAAC,2BAA2B;IA+CnC;;OAEG;YACW,0BAA0B;IA6CxC;;OAEG;YACW,0BAA0B;IAuFxC;;OAEG;IACH,OAAO,CAAC,8BAA8B;IAOtC;;OAEG;IACH,OAAO,CAAC,2BAA2B;IAanC;;OAEG;IACH,OAAO,CAAC,4BAA4B;IASpC;;OAEG;IACH,OAAO,CAAC,mCAAmC;IAU3C;;;OAGG;YACW,sBAAsB;IAsBpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8FG;YACW,oBAAoB;IAmDlC;;OAEG;YACW,sBAAsB;IAiEpC;;OAEG;IACH,OAAO,CAAC,yBAAyB;IAgCjC;;OAEG;YACW,uBAAuB;CAqItC"}
@@ -212,8 +212,13 @@ class ManifestValidator {
212
212
  // Add best practice warnings by reading the manifest
213
213
  const fs = await Promise.resolve().then(() => __importStar(require('fs')));
214
214
  const yaml = await Promise.resolve().then(() => __importStar(require('yaml')));
215
- const manifestContent = yaml.parse(fs.readFileSync(manifestPath, 'utf8'));
216
- this.addBestPracticeWarnings(manifestContent, warnings);
215
+ const documents = yaml.parseAllDocuments(fs.readFileSync(manifestPath, 'utf8'));
216
+ // Process all documents for best practice warnings
217
+ documents.forEach(doc => {
218
+ if (doc.contents) {
219
+ this.addBestPracticeWarnings(doc.toJS(), warnings);
220
+ }
221
+ });
217
222
  return {
218
223
  valid: true,
219
224
  errors,
@@ -58,8 +58,9 @@ export declare class VectorDBService {
58
58
  */
59
59
  deleteDocument(id: string): Promise<void>;
60
60
  /**
61
- * Delete all documents by recreating the collection
61
+ * Delete all documents by clearing all points from the collection
62
62
  * More efficient than retrieving and deleting individual records
63
+ * Collection structure is preserved, avoiding Qdrant storage cleanup issues
63
64
  */
64
65
  deleteAllDocuments(): Promise<void>;
65
66
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"vector-db-service.d.ts","sourceRoot":"","sources":["../../src/core/vector-db-service.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,MAAM,WAAW,cAAc;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC9B;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,qBAAa,eAAe;IAC1B,OAAO,CAAC,MAAM,CAA6B;IAC3C,OAAO,CAAC,MAAM,CAAiB;IAC/B,OAAO,CAAC,cAAc,CAAS;gB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CAAC,IAAI,CAAC;IAe/C;;;;OAIG;IACG,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC;IA8BzC;;;OAGG;IACG,eAAe,CAAC,KAAK,GAAE,MAAc,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IA+BvE;;OAEG;IACG,iBAAiB,IAAI,OAAO,CAAC,GAAG,CAAC;IAYvC;;OAEG;IACG,WAAW,IAAI,OAAO,CAAC,OAAO,CAAC;IAarC;;OAEG;IACH,aAAa,IAAI,OAAO;IAIxB;;OAEG;IACH,SAAS,IAAI,cAAc;CAG5B"}
@@ -232,33 +232,31 @@ class VectorDBService {
232
232
  }
233
233
  }
234
234
  /**
235
- * Delete all documents by recreating the collection
235
+ * Delete all documents by clearing all points from the collection
236
236
  * More efficient than retrieving and deleting individual records
237
+ * Collection structure is preserved, avoiding Qdrant storage cleanup issues
237
238
  */
238
239
  async deleteAllDocuments() {
239
240
  if (!this.client) {
240
241
  throw new Error('Vector DB client not initialized');
241
242
  }
242
243
  try {
243
- // Get current collection info to preserve vector dimensions
244
- let vectorSize = 1536; // Default OpenAI embedding size
245
- try {
246
- const collectionInfo = await this.client.getCollection(this.collectionName);
247
- const vectorConfig = collectionInfo.config?.params?.vectors;
248
- // Handle both legacy format (number) and new format (object with size)
249
- if (typeof vectorConfig === 'number') {
250
- vectorSize = vectorConfig;
251
- }
252
- else if (vectorConfig && typeof vectorConfig.size === 'number') {
253
- vectorSize = vectorConfig.size;
254
- }
255
- }
256
- catch (error) {
257
- // If we can't get collection info, use default
244
+ // Check if collection exists first
245
+ const collections = await this.client.getCollections();
246
+ const collectionExists = collections.collections.some(col => col.name === this.collectionName);
247
+ if (!collectionExists) {
248
+ // Collection doesn't exist, nothing to delete
249
+ return;
258
250
  }
259
- // Delete and recreate collection - more efficient than individual deletions
260
- await this.client.deleteCollection(this.collectionName);
261
- await this.createCollection(vectorSize);
251
+ // Delete all points from collection instead of deleting entire collection
252
+ // This avoids Qdrant's known storage directory cleanup bug
253
+ await this.client.delete(this.collectionName, {
254
+ filter: {
255
+ must: [] // Empty must array matches all points
256
+ },
257
+ wait: true // Wait for operation to complete synchronously
258
+ });
259
+ console.warn(`All points deleted from collection ${this.collectionName} (collection structure preserved)`);
262
260
  }
263
261
  catch (error) {
264
262
  throw new Error(`Failed to delete all documents: ${error}`);
@@ -1 +1 @@
1
- {"version":3,"file":"recommend.d.ts","sourceRoot":"","sources":["../../src/tools/recommend.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAQhD,eAAO,MAAM,mBAAmB,cAAc,CAAC;AAC/C,eAAO,MAAM,0BAA0B,+JAA+J,CAAC;AAGvM,eAAO,MAAM,2BAA2B;;;CAGvC,CAAC;AA2EF;;GAEG;AACH,wBAAsB,mBAAmB,CACvC,IAAI,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE,EACzC,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC;IAAE,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;CAAE,CAAC,CAuQxD"}
1
+ {"version":3,"file":"recommend.d.ts","sourceRoot":"","sources":["../../src/tools/recommend.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAQhD,eAAO,MAAM,mBAAmB,cAAc,CAAC;AAC/C,eAAO,MAAM,0BAA0B,+JAA+J,CAAC;AAGvM,eAAO,MAAM,2BAA2B;;;CAGvC,CAAC;AA2EF;;GAEG;AACH,wBAAsB,mBAAmB,CACvC,IAAI,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE,EACzC,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC;IAAE,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;CAAE,CAAC,CAoQxD"}
@@ -176,12 +176,9 @@ async function handleRecommendTool(args, dotAI, logger, requestId) {
176
176
  analysisResult.overallAssessment.enhancementPotential !== 'LOW') {
177
177
  // Convert analysis to structured questions for client agent
178
178
  const questions = analysisResult.clarificationOpportunities
179
- .filter((opp) => opp.impactLevel === 'HIGH' || opp.impactLevel === 'MEDIUM')
180
- .slice(0, 5) // Limit to 5 most important questions
181
179
  .map((opp, index) => ({
182
180
  id: `clarification-${index + 1}`,
183
181
  question: opp.suggestedQuestions?.[0] || `Can you provide more details about ${opp.missingContext.toLowerCase()}?`,
184
- category: opp.category,
185
182
  reasoning: opp.reasoning,
186
183
  examples: opp.suggestedQuestions?.slice(1) || []
187
184
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vfarcic/dot-ai",
3
- "version": "0.77.0",
3
+ "version": "0.79.0",
4
4
  "description": "AI-powered development productivity platform that enhances software development workflows through intelligent automation and AI-driven assistance",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,6 +1,6 @@
1
- # Intent Analysis for Clarification Opportunities
1
+ # Intent Analysis for Comprehensive Clarification
2
2
 
3
- You are an expert Kubernetes deployment consultant analyzing user intents to identify opportunities for clarification that would lead to better deployment recommendations.
3
+ You are an expert Kubernetes deployment consultant analyzing user intents to identify ALL opportunities for clarification that would lead to better deployment recommendations.
4
4
 
5
5
  ## User Intent
6
6
  {intent}
@@ -10,53 +10,24 @@ You are an expert Kubernetes deployment consultant analyzing user intents to ide
10
10
 
11
11
  ## Analysis Framework
12
12
 
13
- Analyze the user's intent for **clarification opportunities** that would significantly improve the quality and relevance of deployment recommendations. Focus on identifying missing context that, when provided, would lead to more targeted and appropriate solutions.
13
+ Analyze the user's intent comprehensively to identify **every piece of missing context** that could improve the quality and relevance of deployment recommendations. Be thorough - explore all aspects that could influence the deployment, regardless of traditional categories.
14
14
 
15
- ### Clarification Categories
15
+ ### Exploration Principles
16
16
 
17
- **1. TECHNICAL SPECIFICATIONS**
18
- - Specific technology versions, frameworks, or implementations
19
- - Performance requirements (CPU, memory, throughput, latency)
20
- - Scalability expectations (traffic patterns, growth projections)
21
- - Storage requirements (data persistence, volume sizes, access patterns)
17
+ **Comprehensive Context Discovery**: Identify ALL information that would help create the perfect solution for this specific intent. Consider:
18
+ - What would you need to know to build the ideal deployment?
19
+ - What domain-specific requirements might apply?
20
+ - What user-specific context is missing?
21
+ - What technical decisions haven't been made?
22
+ - What operational considerations are unexplored?
22
23
 
23
- **2. ARCHITECTURAL CONTEXT**
24
- - Application architecture patterns (microservices, monolith, serverless)
25
- - Integration requirements (databases, external services, APIs)
26
- - Communication patterns (synchronous, asynchronous, event-driven)
27
- - Deployment patterns (blue-green, rolling, canary)
24
+ **Adaptive Questioning**: Let the intent guide your analysis:
25
+ - **Vague intents** require extensive exploration of possibilities
26
+ - **Specific intents** need targeted questions about remaining gaps
27
+ - **Technical intents** may need domain expertise questions
28
+ - **Business intents** may need operational and compliance questions
28
29
 
29
- **3. OPERATIONAL REQUIREMENTS**
30
- - Environment targets (development, staging, production)
31
- - High availability and disaster recovery needs
32
- - Monitoring and observability requirements
33
- - Backup and maintenance procedures
34
-
35
- **4. SECURITY & COMPLIANCE**
36
- - Authentication and authorization requirements
37
- - Data classification and encryption needs
38
- - Compliance frameworks (GDPR, HIPAA, SOC2, PCI-DSS)
39
- - Network security policies and isolation requirements
40
-
41
- **5. ORGANIZATIONAL ALIGNMENT**
42
- - Team responsibilities and ownership models
43
- - Existing infrastructure integration points
44
- - Budget and resource constraints
45
- - Timeline and rollout preferences
46
-
47
- ### Opportunity Assessment
48
-
49
- For each category, evaluate:
50
- - **Missing Context**: What specific information is absent?
51
- - **Impact Level**: How much would this information improve recommendations?
52
- - **Question Potential**: Can this be addressed with a clear, actionable question?
53
- - **Pattern Alignment**: Does this relate to organizational patterns or standards?
54
-
55
- ### Question Generation Priorities
56
-
57
- **HIGH PRIORITY**: Missing context that would fundamentally change the recommended solution
58
- **MEDIUM PRIORITY**: Information that would optimize the deployment for the user's environment
59
- **LOW PRIORITY**: Nice-to-have details that provide minor refinements
30
+ **No Self-Censoring**: Don't limit yourself to "high-impact" questions. Generate questions for every aspect that could be relevant. Users can decide what matters to them.
60
31
 
61
32
  ## Organizational Pattern Integration
62
33
 
@@ -69,16 +40,14 @@ Use the provided organizational patterns to inform your analysis:
69
40
  ## Analysis Guidelines
70
41
 
71
42
  **DO NOT suggest clarification for:**
72
- - Information that is clearly implied by the intent
73
- - Standard Kubernetes configurations that have sensible defaults
74
- - Details that don't significantly impact solution recommendations
75
- - Overly technical specifics that most users wouldn't know
43
+ - Information that is clearly and explicitly stated in the intent
44
+ - Standard configurations that have sensible defaults AND the user hasn't indicated special requirements
76
45
 
77
46
  **DO suggest clarification for:**
78
- - Ambiguous requirements that could lead to multiple valid interpretations
79
- - Missing context that would change the fundamental solution approach
47
+ - Any missing context that could influence the solution approach
48
+ - Ambiguous requirements that could lead to multiple valid interpretations
49
+ - Missing information that only the user would know
80
50
  - Organizational-specific requirements that align with provided patterns
81
- - Performance, security, or compliance needs that aren't specified
82
51
 
83
52
  ## Response Format
84
53
 
@@ -88,9 +57,7 @@ Respond with ONLY a JSON object in this exact format:
88
57
  {
89
58
  "clarificationOpportunities": [
90
59
  {
91
- "category": "TECHNICAL_SPECIFICATIONS|ARCHITECTURAL_CONTEXT|OPERATIONAL_REQUIREMENTS|SECURITY_COMPLIANCE|ORGANIZATIONAL_ALIGNMENT",
92
60
  "missingContext": "Specific description of what context is missing",
93
- "impactLevel": "HIGH|MEDIUM|LOW",
94
61
  "reasoning": "Why this clarification would improve recommendations",
95
62
  "suggestedQuestions": [
96
63
  "Specific question that could gather this information",
@@ -114,9 +81,9 @@ Respond with ONLY a JSON object in this exact format:
114
81
 
115
82
  ## Important Notes
116
83
 
117
- - Focus on **meaningful clarification opportunities** that would lead to measurably better recommendations
84
+ - Generate questions for **every piece of missing context** that could improve recommendations
118
85
  - Consider the **user's perspective** - suggest questions they can actually answer
119
- - **Prioritize ruthlessly** - only suggest clarification that provides significant value
120
- - **Leverage organizational patterns** to identify governance and compliance opportunities
86
+ - **Be comprehensive** - explore all aspects that could influence the deployment
87
+ - **Leverage organizational patterns** to identify governance and compliance opportunities
121
88
  - **Be practical** - ensure suggested questions are actionable and specific
122
- - **Quality over quantity** - fewer high-impact opportunities are better than many low-impact ones
89
+ - **Always include an open-ended question** as the final clarification opportunity to capture anything else the user might want to share
@@ -8,11 +8,10 @@ category: project-management
8
8
 
9
9
  ## Instructions
10
10
 
11
- You are helping create a documentation-first Product Requirements Document (PRD) for a new feature. This process involves three components:
11
+ You are helping create a Product Requirements Document (PRD) for a new feature. This process involves two main components:
12
12
 
13
13
  1. **GitHub Issue**: Short, immutable concept description that links to the detailed PRD
14
- 2. **PRD File**: Project management document with milestone tracking, progress logs, and references to documentation
15
- 3. **Documentation Updates**: Actual user-facing content written directly into documentation files with PRD traceability comments
14
+ 2. **PRD File**: Project management document with milestone tracking, progress logs, and implementation plan
16
15
 
17
16
  ## Process
18
17
 
@@ -30,55 +29,8 @@ Create the PRD file using the actual GitHub issue ID: `prds/[issue-id]-[feature-
30
29
  ### Step 4: Update GitHub Issue with PRD Link
31
30
  Add the PRD file link to the GitHub issue description now that the filename is known.
32
31
 
33
- ### Step 5: Analyze Existing Documentation Architecture
34
- BEFORE making any documentation changes, perform systematic analysis of ALL documentation files:
35
-
36
- **A. Discover All Documentation Files**
37
- ```bash
38
- # Find all documentation files (adapt for your project's documentation format)
39
- find . -name "*.md" -not -path "*/node_modules/*" | sort
40
-
41
- # Or for other formats:
42
- find . -name "*.rst" -o -name "*.txt" -o -name "*.adoc" | sort
43
- ```
44
-
45
- **B. Identify Feature/Capability References**
46
- ```bash
47
- # Search for existing feature lists and capability references
48
- grep -r -i "capability\|feature\|guide.*\|provides.*\|main.*\|Key.*Features" docs/ README*
49
-
50
- # Look for documentation indexes and cross-reference patterns
51
- grep -r "- \*\*\[.*\]\|### .*Guide\|## Documentation" docs/ README*
52
- ```
53
-
54
- **C. Use Task Tool for Pattern Analysis**
55
- Use the Task tool to analyze ALL discovered files to understand:
56
- - Current documentation structure and patterns
57
- - Consistent section naming conventions
58
- - How features are introduced and described
59
- - Whether there are verification/setup patterns for features
60
- - Cross-reference architecture between docs
61
- - Tone and style consistency
62
- - Documentation indexes/lists that should include new content
63
-
64
- ### Step 6: Plan Complete Documentation Changes
65
- Based on the analysis, create comprehensive checklist of ALL documentation files that need updates:
66
-
67
- **Create systematic checklist:**
68
- - [ ] New documentation files to create
69
- - [ ] Existing files with capability/feature lists that need updates
70
- - [ ] Documentation indexes (like README.md sections) that should include new content
71
- - [ ] Setup/configuration guides that need new sections
72
- - [ ] Cross-reference sections ("See Also") that should link to new content
73
- - [ ] Any files that mention related functionality and should acknowledge new capability
74
-
75
- **Document the rationale for each update to ensure nothing is missed.**
76
-
77
- ### Step 7: Write Documentation Content First
78
- Create/update ALL user-facing documentation content with `<!-- PRD-[issue-id] -->` comments for traceability, following established patterns.
79
-
80
- ### Step 8: Create PRD as Project Tracker
81
- Work through the PRD template focusing on project management, milestone tracking, and references to the documentation content.
32
+ ### Step 5: Create PRD as a Project Management Document
33
+ Work through the PRD template focusing on project management, milestone tracking, and implementation planning. Documentation updates should be included as part of the implementation milestones.
82
34
 
83
35
  **Key Principle**: Focus on 5-10 major milestones rather than exhaustive task lists. Each milestone should represent meaningful progress that can be clearly validated.
84
36
 
@@ -133,26 +85,17 @@ Work through the PRD template focusing on project management, milestone tracking
133
85
 
134
86
  ## Discussion Guidelines
135
87
 
136
- ### Documentation-First Planning Questions:
137
- 1. **Architecture Analysis**: "What are the existing documentation patterns and structures I need to follow?"
138
- 2. **User Experience**: "Walk me through the complete user journey - what will they read and do?"
139
- 3. **Documentation Impact**: "Which existing docs need updates? What new docs are needed?"
140
- 4. **Content Planning**: "What specific examples, commands, and workflows need to be documented?"
141
- 5. **Cross-File Story**: "How does the user story flow across multiple documentation files?"
142
- 6. **Pattern Consistency**: "How do other features handle setup, verification, and cross-references?"
143
- 7. **Testable Claims**: "What commands and examples can be automatically tested to ensure accuracy?"
144
- 8. **Implementation Phases**: "How can we deliver value incrementally through documentation updates?"
145
- 9. **Terminology Consistency**: "How do we ensure terminology and examples are consistent across ALL affected files?"
146
- 10. **Traceability**: "How will we track which documentation changes relate to this feature?"
147
-
148
- ### Content Creation Process:
149
- 1. **Analyze Documentation Architecture**: Use Task tool to understand existing patterns across ALL docs
150
- 2. **Map Complete Documentation Changes**: Identify all files that need updates (don't miss any!)
151
- 3. **Write User-Facing Content**: Create actual documentation content with examples following established patterns
152
- 4. **Add Traceability**: Include `<!-- PRD-[issue-id] -->` comments in documentation
153
- 5. **Update ALL Affected Files**: Ensure every file mentioned in PRD documentation map gets updated
154
- 6. **Plan Implementation**: Break down development tasks that enable documented functionality
155
- 7. **Validation Strategy**: Ensure all documented claims can be automatically tested
88
+ ### PRD Planning Questions
89
+ 1. **Problem Understanding**: "What specific problem does this feature solve for users?"
90
+ 2. **User Impact**: "Walk me through the complete user journey what will change for them?"
91
+ 3. **Technical Scope**: "What are the core technical changes required?"
92
+ 4. **Documentation Impact**: "Which existing docs need updates? What new docs are needed?"
93
+ 5. **Integration Points**: "How does this feature integrate with existing systems?"
94
+ 6. **Success Criteria**: "How will we know this feature is working well?"
95
+ 7. **Implementation Phases**: "How can we deliver value incrementally?"
96
+ 8. **Risk Assessment**: "What are the main risks and how do we mitigate them?"
97
+ 9. **Dependencies**: "What other systems or features does this depend on?"
98
+ 10. **Validation Strategy**: "How will we test and validate the implementation?"
156
99
 
157
100
  ### Discussion Tips:
158
101
  - **Clarify ambiguity**: If something isn't clear, ask follow-up questions until you understand
@@ -62,11 +62,21 @@ Complete the PRD implementation workflow including branch management, pull reque
62
62
  - Look for actionable suggestions about code quality, security, performance, or maintainability
63
63
  - Check for recommendations about test coverage, error handling, or architectural improvements
64
64
  - Review suggestions for refactoring, type safety, or code organization
65
+ - [ ] **Present code review findings**: ALWAYS summarize automated review feedback for the user (unless there are no findings)
66
+ - **Categorize findings**: Critical, Important, Optional based on impact
67
+ - **Provide specific examples**: Quote actual suggestions and their locations
68
+ - **Explain assessment**: Why each category was assigned and which items should be addressed
69
+ - **User decision**: Let user decide which optional improvements to implement before merge
65
70
  - [ ] **Assess feedback priority**: Categorize review feedback
66
71
  - **Critical**: Security issues, breaking changes, test failures - MUST address before merge
67
72
  - **Important**: Code quality, maintainability, performance - SHOULD address for production readiness
68
73
  - **Optional**: Style preferences, minor optimizations - MAY address based on project standards
69
- - [ ] **Wait for completion**: Do NOT merge if checks show pending processes or PR comments indicate reviews still in progress
74
+ - [ ] **Wait for ALL reviews to complete**: Do NOT merge if any reviews are pending or in progress, including:
75
+ - **Automated code reviews** (CodeRabbit, CodeQL, etc.) - Must wait until complete even if CI passes
76
+ - **Security analysis** - Must complete and pass
77
+ - **CI/CD processes** - All builds and tests must pass
78
+ - **Human reviews** - If requested reviewers haven't approved
79
+ - **CRITICAL**: Never skip automated code reviews - they provide valuable feedback even when CI passes
70
80
  - [ ] **Address review feedback**: Make required changes from code review (both automated and human)
71
81
  - Create additional commits on the feature branch to address feedback
72
82
  - Update tests if needed to cover suggested improvements